/* ============================================================
   DR. PABLO DE LA GARZA CHALITA — ESTILOS
   ============================================================ */
:root {
  --navy:       #0f2744;
  --navy-mid:   #1a3a5c;
  --blue:       #1e5fa8;
  --blue-lt:    #2d7dd2;
  --blue-pale:  #e8f1fb;
  --teal:       #0a9396;
  --teal-dark:  #087070;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --text:       #1a2332;
  --r:          12px;
  --rlg:        20px;
  --sh:         0 4px 24px rgba(15,39,68,.08);
  --shmd:       0 8px 40px rgba(15,39,68,.13);
  --shlg:       0 20px 60px rgba(15,39,68,.18);
  --tr:         .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.section-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-hd { margin-bottom: 48px; }
.section-hd h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-top: 12px; line-height: 1.2; }
.section-hd.centered { text-align: center; }
.section-sub { font-size: 17px; color: var(--gray-600); max-width: 580px; margin: 14px auto 0; line-height: 1.7; }

/* ── PILL / BADGE ───────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.pill { background: var(--blue-pale); color: var(--blue); border: 1px solid rgba(30,95,168,.2); }
.pill-dark { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.pill-light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff; border: none; cursor: pointer; transition: var(--tr);
  box-shadow: 0 4px 18px rgba(30,95,168,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,95,168,.45); }
.btn-outline-w { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 700; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); cursor: pointer; transition: var(--tr); }
.btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-navy { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 700; background: var(--navy); color: #fff; border: none; cursor: pointer; transition: var(--tr); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-wa-lg { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 50px; font-size: 15px; font-weight: 700; background: #25d366; color: #fff; border: none; cursor: pointer; transition: var(--tr); text-decoration: none; }
.btn-wa-lg:hover { background: #1ebe57; transform: translateY(-2px); }

/* ── PAGES (SPA) ─────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(15,39,68,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.07); transition: var(--tr); }
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }

.nav-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; height: 68px; }

.nav-brand { display: flex; flex-direction: column; text-align: left; flex-shrink: 0; cursor: pointer; background: none; border: none; padding: 0; }
.nav-brand-name { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.nav-brand-sub { font-size: 10px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-tab { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.7); padding: 8px 14px; border-radius: 8px; transition: var(--tr); background: none; border: none; cursor: pointer; white-space: nowrap; }
.nav-tab:hover, .nav-tab.active { color: #fff; background: rgba(255,255,255,.1); }

.nav-wa { display: flex; align-items: center; gap: 7px; margin-left: 16px; background: #25d366; color: #fff; padding: 9px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: var(--tr); flex-shrink: 0; }
.nav-wa:hover { background: #1ebe57; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--tr); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; background: rgba(15,39,68,.99); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu.open { display: flex; }
.mob-tab { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.75); padding: 12px 16px; border-radius: var(--r); text-align: left; background: none; border: none; cursor: pointer; transition: var(--tr); }
.mob-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.mob-wa { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 8px; background: #25d366; color: #fff; padding: 14px; border-radius: 50px; font-size: 15px; font-weight: 700; text-decoration: none; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero { min-height: 100vh; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4a7a 100%); padding-top: 68px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 75% 50%, rgba(30,95,168,.15) 0%, transparent 55%), radial-gradient(circle at 20% 80%, rgba(10,147,150,.08) 0%, transparent 40%); pointer-events: none; }

.hero-inner { max-width: 1160px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; width: 100%; }

.hero-text { position: relative; z-index: 2; }
.hero-text .pill { margin-bottom: 24px; }
.hero-text h1 { font-size: clamp(30px,4vw,52px); font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -.025em; margin-bottom: 22px; }
.hero-text h1 span { color: #7ec8f4; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-creds { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-creds span { font-size: 12px; color: rgba(255,255,255,.45); }
.hero-creds .sep { color: rgba(255,255,255,.2); }

.hero-photo { position: relative; z-index: 2; }
.hero-photo-card { border-radius: var(--rlg); overflow: hidden; position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }
.hero-photo-card img { width: 100%; height: 560px; object-fit: cover; object-position: center top; display: block; border-radius: var(--rlg); }
.hero-photo-label { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(15,39,68,.9); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero-photo-label svg { color: #7ec8f4; flex-shrink: 0; }
.hero-photo-label strong { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.hero-photo-label span { font-size: 11px; color: rgba(255,255,255,.55); }

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.trust-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--gray-600); white-space: nowrap; }
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── AUDIENCES ───────────────────────────────────────────────── */
.audiences { padding: 88px 0; background: var(--gray-50); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card { background: #fff; border-radius: var(--rlg); padding: 40px 36px; border: 1px solid var(--gray-200); transition: var(--tr); }
.audience-card:hover { box-shadow: var(--shmd); border-color: transparent; transform: translateY(-4px); }
.audience-icon { width: 56px; height: 56px; background: var(--blue-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.audience-icon svg { color: var(--blue); }
.dentist-icon { background: #e8f5f5; }
.dentist-icon svg { color: var(--teal); }
.audience-card h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.audience-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 22px; }
.audience-list { margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.audience-list li { font-size: 14px; color: var(--gray-600); display: flex; align-items: center; gap: 8px; }
.audience-list li::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.dentist-card .audience-list li::before { background: var(--teal); }

/* ── STATS ───────────────────────────────────────────────────── */
.stats-section { background: var(--navy); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-item { padding: 24px; }
.stat-num { font-size: 42px; font-weight: 800; color: #7ec8f4; line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-section { padding: 88px 0; background: #fff; }
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track { position: relative; min-height: 300px; }
.testimonial-card { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateX(60px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.testimonial-card.active { opacity: 1; transform: translateX(0); pointer-events: all; position: relative; }
.testimonial-card.out { opacity: 0; transform: translateX(-60px); }

.t-card-inner { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--rlg); padding: 36px 40px; max-width: 760px; margin: 0 auto; position: relative; }
.t-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.t-star { color: #f59e0b; font-size: 18px; }
.t-quote { font-size: 17px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 24px; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--blue), var(--blue-lt)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0; }
.t-name { font-size: 15px; font-weight: 700; color: var(--text); }
.t-meta { font-size: 12px; color: var(--gray-400); }

.testimonials-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.t-prev, .t-next { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-200); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--tr); }
.t-prev:hover, .t-next:hover { border-color: var(--blue); color: var(--blue); }
.t-dots { display: flex; gap: 6px; align-items: center; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); cursor: pointer; transition: var(--tr); border: none; }
.t-dot.active { width: 24px; border-radius: 4px; background: var(--blue); }

.google-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--gray-400); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--blue), var(--navy-mid)); padding: 64px 0; }
.cta-teal { background: linear-gradient(135deg, var(--teal-dark), var(--navy)); }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner-text h2 { font-size: clamp(20px,2.5vw,30px); font-weight: 800; color: #fff; letter-spacing: -.01em; margin-bottom: 8px; }
.cta-banner-text p { font-size: 16px; color: rgba(255,255,255,.75); }
.cta-banner-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── PAGE HEROES ─────────────────────────────────────────────── */
.page-hero { padding: 100px 0 72px; margin-top: 68px; }
.page-hero-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.page-hero-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%); }
.page-hero-teal { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%); }

.page-hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.page-hero-text .pill { margin-bottom: 20px; }
.page-hero-text h1 { font-size: clamp(28px,3.5vw,46px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 20px; }
.page-hero-text p { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 32px; }
.page-hero-photo img { width: 100%; height: 420px; object-fit: cover; object-position: center top; border-radius: var(--rlg); border: 3px solid rgba(255,255,255,.15); }

.page-hero-centered { max-width: 720px; margin: 0 auto; text-align: center; }
.page-hero-centered .pill { margin-bottom: 20px; }
.page-hero-centered h1 { font-size: clamp(28px,4vw,52px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 20px; }
.page-hero-centered p { font-size: 18px; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 36px; }

/* ── CREDENTIALS SECTION ─────────────────────────────────────── */
.credentials-section { padding: 80px 0; background: var(--gray-50); }
.creds-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cred-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--rlg); padding: 32px 28px; transition: var(--tr); }
.cred-card:hover { box-shadow: var(--shmd); border-color: transparent; transform: translateY(-4px); }
.cred-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cred-icon svg { color: var(--blue); }
.cred-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.cred-card ul { display: flex; flex-direction: column; gap: 10px; }
.cred-card li { font-size: 14px; color: var(--gray-600); line-height: 1.5; padding-left: 12px; border-left: 2px solid var(--blue-pale); }
.cred-card li span { font-size: 12px; color: var(--gray-400); }

/* ── ABOUT STORY ─────────────────────────────────────────────── */
.about-story { padding: 88px 0; background: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-photo img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--rlg); box-shadow: var(--shlg); }
.story-text .pill { margin-bottom: 18px; }
.story-text h2 { font-size: clamp(24px,2.5vw,36px); font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: 18px; }
.story-text p { font-size: 16px; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.story-quote { background: var(--gray-50); border-left: 3px solid var(--blue); padding: 20px 24px; border-radius: 0 var(--r) var(--r) 0; margin: 24px 0 32px; display: flex; gap: 14px; }
.story-quote svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.story-quote p { font-size: 15px; color: var(--gray-600); font-style: italic; line-height: 1.7; margin: 0; }

/* ── BENEFITS ────────────────────────────────────────────────── */
.benefits-section { padding: 88px 0; background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.dent-grid { grid-template-columns: repeat(2,1fr); }
.benefit-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--rlg); padding: 32px 28px; transition: var(--tr); }
.benefit-card:hover { box-shadow: var(--shmd); border-color: transparent; background: #fff; transform: translateY(-4px); }
.benefit-num { font-size: 36px; font-weight: 800; color: var(--blue-pale); line-height: 1; margin-bottom: 14px; }
.dent-grid .benefit-num { color: #c8e6e6; }
.benefit-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ── CUANDO ──────────────────────────────────────────────────── */
.cuando-section { padding: 80px 0; background: #fff; }
.bg-light { background: var(--gray-50) !important; }
.cuando-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cuando-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-600); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--r); padding: 16px; line-height: 1.5; transition: var(--tr); }
.cuando-item:hover { background: var(--blue-pale); border-color: rgba(30,95,168,.2); }
.cuando-item svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* ── PROCESS ─────────────────────────────────────────────────── */
.process-section { padding: 80px 0; background: var(--gray-50); }
.collab-section { padding: 80px 0; background: #fff; }
.process-grid { display: flex; align-items: flex-start; gap: 0; flex-wrap: nowrap; }
.process-step { flex: 1; text-align: center; padding: 0 20px; }
.process-circle { width: 56px; height: 56px; background: linear-gradient(135deg, var(--blue), var(--blue-lt)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #fff; margin: 0 auto 16px; }
.process-step h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.process-arrow { display: flex; align-items: center; justify-content: center; padding-top: 20px; color: var(--gray-400); flex-shrink: 0; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section { padding: 72px 0; background: var(--gray-50); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; }
.faq-item.open { border-color: var(--blue); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; gap: 12px; text-align: left; background: none; border: none; }
.faq-q svg { flex-shrink: 0; color: var(--blue); transition: transform var(--tr); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 22px 18px; font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-section { padding: 64px 0 88px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.contact-info h2 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 28px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.contact-card:last-of-type { border-bottom: none; }
.contact-icon { width: 40px; height: 40px; background: var(--blue-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { color: var(--blue); }
.contact-card strong { display: block; font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-card a, .contact-card span { font-size: 15px; color: var(--text); line-height: 1.5; }
.contact-card a:hover { color: var(--blue); }

.contact-form-wrap form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--rlg); padding: 36px; }
.contact-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; font-size: 14px; border: 1.5px solid var(--gray-200); border-radius: var(--r); background: #fff; color: var(--text); transition: var(--tr); outline: none; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,95,168,.1); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-submit { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-lt)); color: #fff; border: none; border-radius: 50px; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--tr); box-shadow: 0 4px 18px rgba(30,95,168,.35); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(30,95,168,.45); }
.form-note { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 10px; }

.map-wrap { margin-top: 8px; }
.map-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue); transition: var(--tr); }
.map-link:hover { gap: 12px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer { background: var(--navy); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fb-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fb-title { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.fb-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.social-link { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.55); transition: var(--tr); }
.social-link:hover { color: #fff; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col li button, .footer-col li { font-size: 13px; color: rgba(255,255,255,.75); transition: var(--tr); background: none; border: none; cursor: pointer; padding: 0; text-align: left; font-family: inherit; }
.footer-col li a:hover, .footer-col li button:hover { color: #fff; }
.footer-legal { background: rgba(0,0,0,.2); padding: 18px 0; }
.footer-legal p { font-size: 11px; color: rgba(255,255,255,.25); line-height: 1.6; text-align: center; }

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */

/* Base states — elementos comienzan invisibles */
.anim-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.anim-fade-in {
  opacity: 0;
  transition: opacity .7s ease;
}
.anim-fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.anim-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}

/* Visible state */
.anim-fade-up.visible,
.anim-fade-in.visible,
.anim-fade-left.visible,
.anim-fade-right.visible,
.anim-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* ── PAGE TRANSITION ─────────────────────────────────────────── */
.page {
  animation: none;
}
.page.active {
  animation: pageIn .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HOVER LIFT (cards) ──────────────────────────────────────── */
.audience-card,
.benefit-card,
.cred-card,
.cuando-item,
.process-step { transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease, background .28s ease; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: var(--r); box-shadow: var(--shlg); font-size: 14px; font-weight: 500; border-left: 4px solid #25d366; transform: translateY(80px); opacity: 0; transition: var(--tr); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
  .hero-photo { max-width: 400px; margin: 0 auto; }
  .hero-photo-card img { height: 400px; }
  .audience-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .cuando-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-photo img { height: 320px; max-width: 360px; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-photo img { height: 360px; }
  .creds-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .process-step { flex: 0 0 calc(50% - 60px); }
  .process-arrow { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-wa { display: none; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 28px; }
  .hero-photo-card img { height: 320px; }
  .benefits-grid, .dent-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cuando-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-btns { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .t-card-inner { padding: 24px 20px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline-w, .btn-navy, .btn-wa-lg { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .section-container { padding: 0 16px; }
  .trust-inner { gap: 16px; }
  .trust-item { font-size: 12px; }
  .cuando-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .audience-card { padding: 28px 22px; }
  .page-hero { padding: 80px 0 48px; }
  .page-hero-centered h1 { font-size: 26px; }
  .process-step { flex: 0 0 100%; }
  .t-quote { font-size: 15px; }
  .hero-inner { padding: 40px 16px; }
  .hero-photo-card img { height: 280px; }
}
