/* ==========================================================================
   Cristian Padilla · Contador en Tijuana
   Mobile-first. Paleta: azul marino + verde profundo + acento ámbar.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --green-700: #0d5c4e;
  --green-600: #0f6e5d;
  --green-100: #e3f2ee;
  --accent: #f2b544;
  --accent-600: #d9982a;
  --accent-100: #fdf3de;
  --ink: #142033;
  --ink-soft: #4a5568;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --wa: #1fa855;
  --wa-dark: #0f7a3b;
  --danger: #b42318;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .08);
  --shadow-lg: 0 2px 4px rgba(11, 31, 58, .06), 0 20px 48px rgba(11, 31, 58, .14);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy-800); }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 80px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.sprite { display: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 6px 18px rgba(242, 181, 68, .35); }
.btn-primary:hover { background: var(--accent-600); color: var(--navy-900); }
.btn-whatsapp { background: var(--wa-dark); color: #fff; }
.btn-whatsapp:hover { background: #0c6630; color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--accent-100); color: var(--navy-800); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(11, 31, 58, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--green-700));
  color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.brand-text small { font-weight: 600; font-size: .75rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer; color: var(--navy-800);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease; content: ""; position: relative;
}
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 68px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  display: none;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.site-nav a:not(.btn) { display: block; padding: 12px 8px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 8px; }
.site-nav a:not(.btn):hover { background: var(--bg-alt); color: var(--navy-800); }
.site-nav .btn { margin-top: 8px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 4px; }
  .site-nav a:not(.btn) { padding: 8px 12px; font-size: .95rem; }
  .site-nav .btn { margin: 0 0 0 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(15, 110, 93, .14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(242, 181, 68, .14), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: 40px 0 64px;
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-copy h1 { position: relative; z-index: 0; }
.eyebrow {
  display: inline-block; margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700);
}
.hl { position: relative; white-space: nowrap; color: var(--green-700); }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; z-index: -1;
  background: var(--accent); opacity: .55; border-radius: 4px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.trust li { position: relative; padding-left: 18px; }
.trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); }
.trust strong { color: var(--navy-800); }

.hero-visual { display: none; }
.vcard {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px 24px 26px;
  border: 1px solid var(--line); max-width: 420px; margin-left: auto;
  animation: float 6s ease-in-out infinite;
}
.vcard-head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.vcard-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.vcard-head .dot:nth-child(1) { background: #f87171; }
.vcard-head .dot:nth-child(2) { background: var(--accent); }
.vcard-head .dot:nth-child(3) { background: #34d399; }
.vcard-title { margin-left: 10px; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.vcheck { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.vcheck li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); padding: 10px 12px; background: var(--bg-alt); border-radius: 12px; }
.vcheck svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green-100); color: var(--green-700); flex: none; }
.vbars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 10px 12px 0; border-top: 1px dashed var(--line); }
.vbars span { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--green-600), var(--navy-700)); }
.vbars span:nth-child(1) { height: 30%; } .vbars span:nth-child(2) { height: 45%; }
.vbars span:nth-child(3) { height: 40%; } .vbars span:nth-child(4) { height: 62%; }
.vbars span:nth-child(5) { height: 75%; } .vbars span:nth-child(6) { height: 92%; background: linear-gradient(180deg, var(--accent), var(--accent-600)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 600px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .trust { grid-template-columns: repeat(3, auto); gap: 18px; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-visual { display: block; }
  .trust { grid-template-columns: 1fr; gap: 10px; }
}
@media (min-width: 1200px) { .trust { grid-template-columns: repeat(3, auto); } }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: radial-gradient(800px 400px at 100% 0%, rgba(15, 110, 93, .55), transparent 60%), var(--navy-800);
  color: #e6edf7;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p:last-child { color: #c8d3e3; }
@media (min-width: 768px) { .section { padding: 96px 0; } .section-head { margin-bottom: 56px; } }

.grid-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Servicios ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card > p { color: var(--ink-soft); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; background: #e7eef9; color: var(--navy-700); }
.service-icon svg { width: 28px; height: 28px; }
.service-icon.green { background: var(--green-100); color: var(--green-700); }
.service-icon.accent { background: var(--accent-100); color: #9a6410; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230d5c4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks strong { color: var(--navy-800); }

/* ---------- Precios ---------- */
.pricing-tabs {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 28px; max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow-x: auto;
}
.pricing-tabs[hidden] { display: none; }
.pricing-tabs button {
  flex: 1; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-soft); background: transparent; white-space: nowrap;
}
.pricing-tabs button[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.pricing-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  animation: fadeUp .35s ease both;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.price-from { font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em; margin: 2px 0 18px; }
.price-amount strong { font-size: 2.1rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.price-amount span { color: var(--ink-soft); font-weight: 600; }
.price-card .ticks { margin-bottom: 22px; flex: 1; }
.price-card .btn { width: 100%; }
.price-card.skeleton { min-height: 340px; background: #eef2f7; animation: pulse 1.4s ease-in-out infinite; box-shadow: none; border-color: transparent; }
.price-fallback { grid-column: 1 / -1; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px 20px; }
.price-fallback .btn { margin-top: 12px; }
.price-note { display: flex; align-items: center; justify-content: center; gap: .5em; margin: 28px 0 0; color: var(--ink-soft); font-size: .95rem; text-align: center; }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); }
.step p { color: var(--ink-soft); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step:nth-child(2) .step-num { background: var(--navy-700); }
.step:nth-child(3) .step-num { background: var(--green-700); }
.step:nth-child(4) .step-num { background: var(--accent); color: var(--navy-900); }

/* ---------- Casos ---------- */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.case-tag { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: #e7eef9; color: var(--navy-700); }
.case-tag.green { background: var(--green-100); color: var(--green-700); }
.case-tag.accent { background: var(--accent-100); color: #8a5a0e; }
.case-card dl { margin: 0; }
.case-card dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-700); margin-top: 14px; }
.case-card dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- Sobre mí ---------- */
.about { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 360px 1fr; gap: 64px; } }
.about-photo { display: flex; justify-content: center; position: relative; z-index: 0; }
.monogram {
  display: grid; place-items: center; width: 220px; aspect-ratio: 1; border-radius: 32px;
  background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-700) 45%, var(--green-700) 100%);
  color: #fff; font-size: 5rem; font-weight: 800; letter-spacing: -.02em; box-shadow: var(--shadow-lg);
  position: relative;
}
.monogram::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 64px; height: 64px; border-radius: 18px; background: var(--accent); z-index: -1; }
@media (min-width: 900px) { .monogram { width: 300px; font-size: 6.5rem; } }
.about-copy p { color: var(--ink-soft); }
.about-copy p strong { color: var(--ink); }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--green-100); color: var(--green-700); }

/* ---------- Diagnóstico ---------- */
.quiz { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 28px 22px; }
@media (min-width: 768px) { .quiz { padding: 40px; } }
.quiz-progress { height: 6px; background: rgba(255, 255, 255, .15); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.quiz-count { font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: .4rem; }
.quiz-q { font-size: clamp(1.15rem, 3.5vw, 1.4rem); font-weight: 700; color: #fff; min-height: 3.2em; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.quiz-actions .btn { min-width: 120px; }
.quiz-result h3 { font-size: 1.4rem; }
.quiz-result p { color: #d6dfec; }
.quiz-result:focus { outline: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy-800);
  position: relative; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-copy > p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact-item:hover { border-color: var(--green-600); color: var(--ink); }
.contact-item strong { display: block; color: var(--navy-800); }
.ci-sub { color: var(--ink-soft); font-size: .95rem; }
.ci-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e7eef9; color: var(--navy-700); flex: none; }
.ci-icon svg { width: 22px; height: 22px; }
.ci-icon.wa { background: #dcf5e6; color: var(--wa-dark); }

.contact-form { background: #fff; border-radius: 20px; padding: 26px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 768px) { .contact-form { padding: 36px; } }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy-800); font-size: .95rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #cbd5e1; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(15, 110, 93, .15); }
.form-row [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.counter { margin-left: auto; font-size: .82rem; color: var(--ink-soft); padding-top: 6px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green-700); background: var(--green-100); padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.err { color: var(--danger); background: #fdecea; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-legal { font-size: .85rem; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-900); color: #b8c4d6; padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } .copy { grid-column: 1 / -1; } }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text small { color: #9fb0c8; }
.footer-tag { margin: 12px 0 0; max-width: 32em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-links a { display: inline-block; padding: 10px 8px; color: #dbe4f0; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.copy { font-size: .88rem; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa-dark); color: #fff; box-shadow: 0 8px 24px rgba(15, 122, 59, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-hidden { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.reveal-hidden { opacity: 1; transform: none; }
}

/* ---------- Páginas simples (aviso, gracias, 404) ---------- */
.page { min-height: 70vh; padding: 56px 0 72px; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.page p, .page li { color: var(--ink-soft); }
.page-center { text-align: center; display: grid; place-items: center; }
.page-center .btn { margin: 8px; }
