/* Vista previa landing — Chemical AutoSpa (tema oscuro + dorado) */
:root {
  --gold: #d4af37;
  --gold-mid: #c9a227;
  --gold-dark: #8a7020;
  --bg-dark: #0a0a0b;
  --card-bg: rgba(30, 30, 30, 0.82);
  --text-muted: rgba(255, 255, 255, 0.72);
}

.landing-preview {
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: #fff;
}

.landing-preview a {
  color: inherit;
  text-decoration: none;
}

.landing-preview .gold-gradient {
  background: linear-gradient(135deg, #e8c547 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: #1a1a1a;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-preview .gold-gradient:hover {
  color: #0d0d0d;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.landing-preview .btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 1.25rem;
  transition: border-color 0.2s, background 0.2s;
}

.landing-preview .btn-outline-light-custom:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

/* Nav */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}

.landing-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  order: 1;
}

.landing-nav__logo img {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.landing-nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  order: 3;
  width: 100%;
}

@media (min-width: 900px) {
  .landing-nav__links {
    order: unset;
    width: auto;
    gap: 2rem;
    font-size: 0.95rem;
  }
}

.landing-nav__links a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.landing-nav__links a:hover {
  color: var(--gold);
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  order: 2;
}

.landing-nav__actions .btn {
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .landing-nav {
    flex-wrap: nowrap;
  }

  .landing-nav__logo,
  .landing-nav__actions {
    order: unset;
  }

  .landing-nav__links {
    order: unset;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: auto;
  }
}

/* Hero */
.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  background-color: #111;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 11, 0.56) 0%, rgba(10, 10, 11, 0.74) 100%),
    url("https://storage.googleapis.com/videos-vr/chemical1.jpg");
  background-size: cover;
  background-position: center;
}

.landing-hero__title {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: none;
  margin: 0 auto 0.75rem;
  line-height: 1.15;
  white-space: nowrap;
  text-wrap: nowrap;
}

@media (max-width: 900px) {
  .landing-hero__title {
    font-size: clamp(1.45rem, 4.2vw, 2.2rem);
  }
}

@media (max-width: 640px) {
  .landing-hero__title {
    white-space: normal;
    text-wrap: wrap;
  }
}

.landing-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.landing-hero__cta {
  border-radius: 12px;
  padding: 0.85rem 2.25rem;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.landing-hero__login-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.landing-hero__login-hint a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-hero__login-hint a:hover {
  color: #e8c547;
}

/* Cards grid */
.landing-cards {
  max-width: 1120px;
  margin: -3.1rem auto 0;
  padding: 2.2rem 1.25rem 4rem;
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .landing-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -4rem;
    padding-top: 1.5rem;
  }
}

.landing-card {
  background: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.landing-card__icon {
  color: var(--gold);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.landing-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}

.landing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.landing-card li .fa-check {
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.landing-card__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.landing-card__row a:hover {
  color: var(--gold);
}

.landing-card__diamond {
  color: #4a9eff;
  font-size: 0.55rem;
  vertical-align: middle;
}

.landing-card .fa-whatsapp {
  color: #25d366;
}

.landing-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-footer__copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.landing-footer__links {
  font-size: 0.8rem;
}

.landing-footer__links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-footer__links a:hover {
  color: var(--gold);
}

/* Modales sobre la landing */
.landing-preview .modal-content {
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Estilo unificado: iniciar sesion / registrarse */
.auth-modal-dialog {
  max-width: 430px;
}

.auth-modal-content {
  background: #f4f4f6;
  border-radius: 0;
  border: 1px solid #dfe2e7;
  box-shadow: 0 16px 50px rgba(10, 10, 14, 0.25);
  color: #1c1f26;
}

.auth-modal-content .modal-header {
  border-bottom: 1px solid #e2e5ea;
  padding: 1rem 1rem 0.9rem;
}

.auth-modal-content .modal-title {
  font-size: 2.05rem;
  font-weight: 700;
  color: #1a1f29;
}

.auth-modal-content .modal-body {
  padding: 0.8rem 0.9rem 1rem;
}

.auth-modal-content .btn-close {
  background-image: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 0;
  background-color: #141922;
  opacity: 1;
  position: relative;
  margin: 0;
}

.auth-modal-content .btn-close::before {
  content: "\00d7";
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.auth-modal-content .form-label {
  font-weight: 600;
  color: #202634;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.auth-modal-content .form-control {
  border-radius: 7px;
  border: 1px solid #d8dbe2;
  height: 34px;
  box-shadow: none;
  font-size: 0.97rem;
  color: #2a2f3a;
}

.auth-modal-content .form-control:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.auth-modal-content .btn-primary {
  border: 0;
  border-radius: 7px;
  height: 36px;
  font-size: 1.9rem;
  font-weight: 600;
  background: linear-gradient(180deg, #e5bb53 0%, #d5a531 100%);
  color: #fff;
  padding: 0;
  line-height: 1;
}

.auth-modal-content .btn-primary:hover,
.auth-modal-content .btn-primary:focus {
  color: #fff;
  background: linear-gradient(180deg, #e8c15f 0%, #d8ac3e 100%);
}

.auth-avatar-block {
  text-align: center;
  margin: 0 0 0.5rem;
}

.auth-avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid #d8dbe1;
  background: #eceef3;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-avatar-circle .fa-user {
  font-size: 3rem;
  color: #c0c4cf;
}

.auth-input {
  position: relative;
}

.auth-input .form-control {
  padding-top: 0;
  padding-bottom: 0;
}

.auth-input--icon-left .form-control {
  padding-left: 2rem;
}

.auth-input--icon-right .form-control {
  padding-right: 2rem;
}

.auth-input__left-icon,
.auth-input__right-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0ad;
  font-size: 1rem;
  pointer-events: none;
}

.auth-input__left-icon {
  left: 0.65rem;
}

.auth-input__right-icon {
  right: 0.65rem;
}

button.auth-password-toggle.auth-input__right-icon {
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0.25rem;
  margin: 0;
  color: #9aa0ad;
  line-height: 1;
}

button.auth-password-toggle.auth-input__right-icon:focus-visible {
  outline: 2px solid #e1ad3d;
  outline-offset: 2px;
}

.auth-input--phone {
  display: flex;
  align-items: center;
  border: 1px solid #d8dbe2;
  border-radius: 7px;
  background: #fff;
  height: 34px;
}

.auth-input--phone .form-control {
  border: 0;
  height: 32px;
}

.auth-input--phone .form-control:focus {
  box-shadow: none;
}

.auth-prefix {
  font-size: 0.95rem;
  color: #313846;
  border-right: 1px solid #e2e5eb;
  margin-right: 0.45rem;
  padding: 0 0.45rem;
  line-height: 1;
  white-space: nowrap;
}

.auth-pass-rules {
  list-style: none;
  margin: -0.2rem 0 0.45rem;
  padding: 0;
}

.auth-pass-rules li {
  color: #666d79;
  font-size: 0.9rem;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.auth-pass-rules li::before {
  content: "•";
  color: #e1ad3d;
  margin-right: 0.42rem;
}

.auth-bottom-text {
  text-align: center;
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  color: #666d79;
}

.auth-bottom-text a {
  color: #d5a531;
  font-weight: 500;
}

.auth-modal-content .small.text-danger {
  color: #cd2e2e !important;
  margin-bottom: 0.2rem !important;
}

@media (max-width: 576px) {
  .auth-modal-dialog {
    margin: 0.45rem auto;
    max-width: 100%;
  }

  .auth-modal-content .modal-title {
    font-size: 1.8rem;
  }

  .auth-modal-content .modal-header {
    padding: 0.85rem 0.85rem 0.75rem;
  }

  .auth-modal-content .modal-body {
    padding: 0.65rem 0.85rem 0.9rem;
  }
}
