/* ==========================================================
   Salero Digital - Hablamos
   CSS específico de página. No añadir a main.css.
   v1: página de contacto final con cata digital y formulario WhatsApp.
   ========================================================== */

:root {
  --hb-ink: #1f2418;
  --hb-ink-soft: #343b2d;
  --hb-olive: #53612f;
  --hb-olive-dark: #2f381d;
  --hb-lime: #c8ff4d;
  --hb-cream: #f6efd8;
  --hb-cream-soft: #fbf7eb;
  --hb-cream-muted: #ebe3ca;
  --hb-border: rgba(31, 36, 24, 0.16);
  --hb-border-light: rgba(246, 239, 216, 0.24);
  --hb-shadow: 0 26px 70px rgba(31, 36, 24, 0.18);
}

.hablamos-page {
  background: var(--hb-cream-soft);
}

.site-header {
  background: rgba(246, 239, 216, 0.78) !important;
  border-bottom: 1px solid rgba(31, 36, 24, 0.12) !important;
  box-shadow: 0 18px 55px rgba(7, 17, 9, 0.14) !important;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.site-header .logo,
.site-header .logo span,
.site-header .nav a,
.site-header .nav-contact,
.site-header .menu-toggle {
  color: var(--hb-ink) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.site-header .nav a {
  font-weight: 800;
}

.site-header .nav a.is-active,
.site-header .nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--hb-olive-dark) !important;
}

.site-header .nav a.is-active::after,
.site-header .nav-dropdown.is-active .nav-dropdown-toggle::after {
  background: var(--hb-lime) !important;
  opacity: 1 !important;
}

.site-header .btn-primary {
  background: #0d1b12 !important;
  color: var(--hb-cream-soft) !important;
  box-shadow: 0 16px 36px rgba(7, 17, 9, 0.18);
}

.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible {
  background: var(--hb-lime) !important;
  color: var(--hb-ink) !important;
}

.contact-hero {
  position: relative;
  min-height: clamp(680px, 86vh, 930px);
  overflow: hidden;
  padding: clamp(150px, 15vw, 220px) 20px clamp(92px, 10vw, 150px);
  background: var(--hb-ink);
  color: var(--hb-cream-soft);
  isolation: isolate;
}

.contact-hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: var(--hb-ink) url("/assets/img/hero-poster-desktop.webp") center/cover no-repeat;
}

.contact-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(31, 36, 24, 0.96) 0%, rgba(31, 36, 24, 0.82) 46%, rgba(31, 36, 24, 0.46) 100%),
    linear-gradient(180deg, rgba(31, 36, 24, 0.48) 0%, rgba(31, 36, 24, 0.18) 44%, rgba(31, 36, 24, 0.72) 100%);
  pointer-events: none;
}

.contact-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.92) contrast(1.05);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 22%, rgba(200, 255, 77, 0.18), transparent 27%),
    radial-gradient(circle at 88% 20%, rgba(246, 239, 216, 0.14), transparent 25%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
}

.contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(to bottom, transparent, var(--hb-cream-soft));
  opacity: 0.18;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}

.contact-hero-copy {
  max-width: 840px;
}

.contact-hero .eyebrow,
.contact-intro .eyebrow,
.contact-form-copy .eyebrow,
.contact-process-section .eyebrow,
.contact-final-cta .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(200, 255, 77, 0.42);
  background: rgba(200, 255, 77, 0.08);
  color: var(--hb-lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-intro .eyebrow,
.contact-form-copy .eyebrow {
  color: var(--hb-olive-dark);
  border-color: rgba(83, 97, 47, 0.24);
  background: rgba(83, 97, 47, 0.08);
}

.contact-hero h1 {
  max-width: 820px;
  margin: 28px 0 24px;
  color: var(--hb-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.55rem, 8vw, 8.4rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.contact-hero .lead {
  max-width: 680px;
  margin: 0;
  color: rgba(251, 247, 235, 0.82);
  font-size: clamp(1.04rem, 1.25vw, 1.28rem);
  line-height: 1.72;
}

.contact-hero .hero-actions,
.contact-final-cta .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.contact-hero-card {
  max-width: 430px;
  justify-self: end;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(246, 239, 216, 0.22);
  border-radius: 30px;
  background: rgba(246, 239, 216, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.contact-hero-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(200, 255, 77, 0.38);
  border-radius: 999px;
  color: var(--hb-lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-card p {
  margin: 0 0 22px;
  color: var(--hb-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.contact-hero-card ul,
.contact-check-list,
.contact-card-list,
.contact-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-hero-card li {
  position: relative;
  padding-left: 24px;
  color: rgba(251, 247, 235, 0.78);
  font-size: 0.96rem;
  line-height: 1.48;
}

.contact-hero-card li + li {
  margin-top: 10px;
}

.contact-hero-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--hb-lime);
  box-shadow: 0 0 0 5px rgba(200, 255, 77, 0.12);
}

.contact-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 20px;
  background: var(--hb-cream-soft);
  color: var(--hb-ink);
}

.contact-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 255, 77, 0.20), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(83, 97, 47, 0.12), transparent 28%);
  pointer-events: none;
}

.contact-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.contact-intro h2 {
  margin: 22px 0 0;
  max-width: 820px;
  color: var(--hb-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-intro-copy p,
.contact-form-copy p,
.contact-card p,
.contact-process-list p,
.contact-final-cta p {
  color: rgba(31, 36, 24, 0.72);
  line-height: 1.74;
}

.contact-intro-copy p {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
}

.contact-check-list {
  display: grid;
  gap: 14px;
}

.contact-check-list li {
  position: relative;
  padding: 20px 22px 20px 52px;
  border: 1px solid var(--hb-border);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 14px 40px rgba(31, 36, 24, 0.07);
  color: rgba(31, 36, 24, 0.78);
  font-weight: 800;
}

.contact-check-list li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 24px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--hb-olive);
  box-shadow: 0 0 0 6px rgba(83, 97, 47, 0.12);
}

.contact-form-section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 140px) 20px;
  background: var(--hb-ink);
  color: var(--hb-cream-soft);
  isolation: isolate;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 16%, rgba(200, 255, 77, 0.18), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(246, 239, 216, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(31, 36, 24, 0.92), rgba(47, 56, 29, 0.96));
}

.contact-form-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.5;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.contact-form-copy {
  position: sticky;
  top: 120px;
}

.contact-form-copy h2 {
  margin: 22px 0 18px;
  max-width: 620px;
  color: var(--hb-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-form-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(251, 247, 235, 0.76);
}

.contact-form-card {
  padding: clamp(24px, 3.8vw, 44px);
  border: 1px solid rgba(246, 239, 216, 0.20);
  border-radius: 34px;
  background: rgba(246, 239, 216, 0.94);
  color: var(--hb-ink);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.22);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-field {
  display: grid;
  gap: 8px;
}

.contact-form-field.is-full {
  grid-column: 1 / -1;
}

.contact-form label {
  color: rgba(31, 36, 24, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(31, 36, 24, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fffdf7;
  color: var(--hb-ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  min-height: 152px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(83, 97, 47, 0.70);
  box-shadow: 0 0 0 5px rgba(83, 97, 47, 0.12);
  background: #fffaf0;
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 230px;
  margin-top: 8px;
}

.contact-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(31, 36, 24, 0.58);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-card-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  padding: 24px;
  border: 1px solid rgba(246, 239, 216, 0.18);
  border-radius: 26px;
  background: rgba(246, 239, 216, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--hb-lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0 0 10px;
  color: var(--hb-cream-soft);
  font-size: clamp(1.26rem, 2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: rgba(251, 247, 235, 0.76);
}

.contact-card a {
  font-weight: 900;
}

.contact-process-section {
  position: relative;
  padding: clamp(84px, 8vw, 126px) 20px;
  background: #e9e1c8;
  color: var(--hb-ink);
}

.contact-process-heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.contact-process-heading h2 {
  margin: 20px 0 0;
  color: var(--hb-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.contact-process-list article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(31, 36, 24, 0.14);
  border-radius: 28px;
  background: rgba(251, 247, 235, 0.78);
  box-shadow: 0 16px 44px rgba(31, 36, 24, 0.08);
}

.contact-process-list article:nth-child(2) {
  border-color: rgba(200, 255, 77, 0.90);
  background: var(--hb-ink);
  color: var(--hb-cream-soft);
  box-shadow: 0 24px 60px rgba(31, 36, 24, 0.18);
}

.contact-process-list span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--hb-ink);
  color: var(--hb-lime);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.contact-process-list article:nth-child(2) span {
  background: var(--hb-lime);
  color: var(--hb-ink);
}

.contact-process-list h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-process-list p {
  margin: 0;
}

.contact-process-list article:nth-child(2) p {
  color: rgba(251, 247, 235, 0.78);
}

.contact-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 9vw, 140px) 20px;
  background: var(--hb-ink);
  color: var(--hb-cream-soft);
}

.contact-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 255, 77, 0.22), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.contact-final-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--hb-border-light);
  border-radius: 36px;
  background: rgba(246, 239, 216, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  text-align: center;
}

.contact-final-card .eyebrow {
  margin-inline: auto;
}

.contact-final-card h2 {
  margin: 22px auto 18px;
  max-width: 800px;
  color: var(--hb-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.contact-final-card p {
  max-width: 690px;
  margin: 0 auto;
  color: rgba(251, 247, 235, 0.78);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.72;
}

.contact-final-card .hero-actions {
  justify-content: center;
}

@media (max-width: 1080px) {
  .contact-hero-grid,
  .contact-intro-grid,
  .contact-form-grid,
  .contact-process-list {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    justify-self: start;
  }

  .contact-form-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(246, 239, 216, 0.88) !important;
  }

  .site-header .menu-toggle {
    border-color: rgba(31, 36, 24, 0.16) !important;
    background: rgba(31, 36, 24, 0.06) !important;
  }

  .contact-hero {
    min-height: auto;
    padding: 132px 16px 82px;
  }

  .contact-hero h1 {
    font-size: clamp(3.05rem, 17vw, 4.9rem);
  }

  .contact-hero .hero-actions,
  .contact-final-cta .hero-actions {
    flex-direction: column;
  }

  .contact-hero .hero-actions .btn,
  .contact-final-cta .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .contact-hero-card,
  .contact-form-card,
  .contact-card,
  .contact-process-list article,
  .contact-final-card {
    border-radius: 24px;
  }

  .contact-intro,
  .contact-form-section,
  .contact-process-section,
  .contact-final-cta {
    padding-inline: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-field.is-full,
  .contact-form .btn,
  .contact-form-note {
    grid-column: auto;
  }

  .contact-hero-media::after {
    background:
      linear-gradient(90deg, rgba(31, 36, 24, 0.94) 0%, rgba(31, 36, 24, 0.82) 100%),
      linear-gradient(180deg, rgba(31, 36, 24, 0.55) 0%, rgba(31, 36, 24, 0.35) 45%, rgba(31, 36, 24, 0.78) 100%);
  }
}
