/* ============================================================
   dcodontología — Shared landing styles
   ============================================================ */

:root {
  --navy: #21265C;
  --teal-dark: #125358;
  --teal: #3B878C;
  --mint: #CBDCD4;
  --cream: #F5F0F3;
  --gold: #B69642;
  --gold-light: #D8BE85;
  --white: #FFFFFF;
  --ink: #0F1033;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.h-section {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--navy);
}
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  color: var(--teal-dark);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
em.accent {
  font-style: normal;
  font-weight: 300;
  color: var(--teal);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: rgba(18, 83, 88, 0.08);
  background: rgba(255, 255, 255, 0.85);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.logo .dc { color: var(--navy); }
.logo .odo { color: var(--teal); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.82;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.26s var(--ease), color 0.26s var(--ease), border-color 0.26s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: transparent; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  display: block;
  position: absolute;
  left: 10px;
  height: 1.5px;
  width: 20px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 83, 88, 0.08);
  padding: 24px 32px 32px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 99;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.mobile-menu a {
  color: var(--navy);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mobile-menu .btn { width: 100%; }

/* ---------- Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--teal-dark);
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}

/* ---------- Landing hero (2-column: copy + form) ---------- */
.lp-hero {
  padding: 128px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.lp-hero-title {
  margin-top: 24px;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.lp-hero-subtitle {
  margin-top: 22px;
  max-width: 540px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--teal-dark);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.lp-hero-bullets {
  margin-top: 28px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-hero-bullets li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--teal-dark);
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.lp-hero-bullets .check {
  color: var(--gold);
  font-weight: 600;
  margin-top: 1px;
}
.lp-hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 83, 88, 0.12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--teal-dark);
  letter-spacing: -0.005em;
}
.trust-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 13px;
}

/* ---------- Lead form ---------- */
.lead-form {
  background: var(--cream);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(33, 38, 92, 0.06);
  position: relative;
}
.lead-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.lead-form-tag::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}
.lead-form h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.lead-form p.sub {
  font-size: 14px;
  color: var(--teal-dark);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: none;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(59, 135, 140, 0.12);
}
.field textarea { min-height: 84px; line-height: 1.45; }

/* ---------- reCAPTCHA styled wrapper ---------- */
.captcha-wrap {
  margin: 6px 0 4px;
  display: flex;
  justify-content: center;
  min-height: 78px;
}
/* reCAPTCHA v2 — subtle card matching form */
.captcha-wrap .g-recaptcha {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(33, 38, 92, 0.04);
}
/* Honeypot — hidden anti-spam field */
.field-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Form states */
.lead-form .btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}
.form-error {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(182, 150, 66, 0.12);
  color: var(--teal-dark);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  border-left: 3px solid var(--gold);
}
.form-error.show { display: block; }

.lead-form .btn { width: 100%; margin-top: 8px; }
.lead-form .legal {
  margin-top: 14px;
  font-size: 11px;
  color: var(--teal-dark);
  opacity: 0.75;
  letter-spacing: -0.005em;
  line-height: 1.4;
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success.show { display: block; }
.form-success .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--teal-dark);
  line-height: 1.5;
}

/* ---------- Benefits ---------- */
.lp-benefits {
  background: var(--cream);
  padding: 120px 32px;
}
.lp-benefits-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.lp-benefits-header {
  max-width: 720px;
  margin-bottom: 64px;
}
.lp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  transition: transform 0.4s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.benefit-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}
.benefit-card p {
  font-size: 15px;
  color: var(--teal-dark);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* ---------- Before/After ---------- */
.lp-cases {
  padding: 120px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.lp-cases-header {
  max-width: 720px;
  margin-bottom: 64px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream);
}
.case-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--cream);
}
.case-img {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
  overflow: hidden;
}
.case-img.after {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}
.case-img .placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.08) 0 2px,
    transparent 2px 14px
  );
}
.case-img .stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 980px;
}
.case-meta {
  padding: 20px 24px;
}
.case-meta h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.case-meta p {
  font-size: 13px;
  color: var(--teal-dark);
  letter-spacing: -0.005em;
  line-height: 1.45;
}

/* ---------- FAQ ---------- */
.lp-faq {
  background: var(--white);
  padding: 120px 32px;
}
.lp-faq-inner {
  max-width: 920px;
  margin: 0 auto;
}
.lp-faq-header { text-align: center; margin-bottom: 56px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(18, 83, 88, 0.14);
}
.faq-item {
  border-bottom: 1px solid rgba(18, 83, 88, 0.14);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  text-align: left;
  line-height: 1.3;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--mint);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  font-size: 16px;
  color: var(--teal-dark);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ---------- Location ---------- */
.lp-location {
  background: var(--cream);
  padding: 120px 32px;
}
.lp-location-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.location-info h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--navy);
  margin: 16px 0 20px;
}
.location-info .lede { max-width: 480px; margin-bottom: 32px; }
.location-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(18, 83, 88, 0.14);
}
.meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}
.meta-row .k {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 2px;
}
.meta-row .v {
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
}
.map-frame .placeholder {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(33, 38, 92, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 16px; }
.footer .logo .dc { color: var(--white); }
.footer .logo .odo { color: var(--mint); }
.footer-right {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.005em;
}

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.35;
  animation: wa-pulse 2s var(--ease) infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.45; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hero cascade */
.lp-hero > * {
  opacity: 0;
  transform: translateY(24px);
  animation: cascade 0.68s var(--ease) forwards;
}
.lp-hero > *:nth-child(1) { animation-delay: 0.1s; }
.lp-hero > *:nth-child(2) { animation-delay: 0.28s; }
@keyframes cascade {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-navy { display: none; }
  .hamburger { display: block; }

  .lp-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 104px 24px 56px;
  }
  .lp-hero-title { font-size: 40px; }

  .lead-form { padding: 28px 24px; border-radius: 22px; }
  .lead-form h2 { font-size: 22px; }

  .lp-benefits, .lp-cases, .lp-faq, .lp-location {
    padding: 72px 24px;
  }
  .lp-benefits-grid, .cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-benefits-header, .lp-cases-header { margin-bottom: 40px; }

  .lp-location-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .meta-row { grid-template-columns: 100px 1fr; gap: 12px; }

  .faq-q { font-size: 16px; padding: 20px 0; }
  .faq-a { font-size: 15px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
}
