/* ==========================================================
   Consultoría Jesfram — estilos
   Paleta tomada del logo: azul marino + verde
   ========================================================== */
:root {
  --navy-950: #041330;
  --navy-900: #06204a;
  --navy: #0a2c5e;
  --navy-700: #16407f;
  --navy-100: #e6ecf5;
  --navy-50: #f3f6fb;
  --green: #0b7a1a;
  --green-600: #0e8f22;
  --green-400: #3fb24f;
  --green-50: #eaf6ec;
  --ink: #0f1b2d;
  --ink-2: #3d4a5c;
  --muted: #667085;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --white: #ffffff;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 44, 94, .06), 0 1px 3px rgba(10, 44, 94, .08);
  --shadow: 0 10px 30px -12px rgba(10, 44, 94, .25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 32, 74, .35);
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.ico { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow { justify-content: center; }
.eyebrow-light { color: var(--green-400); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1.03rem; }
.btn-accent { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 122, 26, .6); }
.btn-accent:hover { background: var(--green-600); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font-family: var(--serif); font-size: .86rem; color: var(--navy); font-weight: 600; }
.brand-text strong { font-family: var(--serif); font-size: 1.38rem; color: var(--green); font-weight: 700; letter-spacing: -.01em; }
.brand-light small { color: #fff; }
.brand-light strong { color: var(--green-400); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: .96rem; text-decoration: none;
}
.main-nav ul a:hover { color: var(--navy); background: var(--navy-50); }
.main-nav ul a[aria-current="page"] { color: var(--navy); background: var(--navy-100); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-cta { padding: 10px 18px; font-size: .92rem; }
.nav-cta.btn-outline { border-width: 1.5px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 10px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { padding: 13px 20px; font-size: 1rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(63,178,79,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(22,64,127,.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--navy-50) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--green); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ico { color: var(--green); }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-card {
  position: absolute; left: -28px; bottom: 28px; max-width: 280px;
  background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg);
  display: flex; gap: 14px; align-items: flex-start;
}
.hero-card .badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.hero-card strong { display: block; color: var(--navy-900); font-size: 1rem; line-height: 1.25; }
.hero-card span { font-size: .87rem; color: var(--muted); }
.hero-tag {
  position: absolute; right: -14px; top: 26px; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.hero-tag .ico { color: var(--green-400); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-card { left: 12px; bottom: 12px; }
  .hero-tag { right: 12px; top: 12px; }
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--navy-900); color: #cfd9ea; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.trust-item:first-child { border-left: 0; }
.trust-item .ico { color: var(--green-400); }
.trust-item strong { display: block; color: #fff; font-size: 1rem; line-height: 1.3; }
.trust-item span { font-size: .86rem; }
@media (max-width: 920px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid rgba(255,255,255,.08); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; }
  .trust-item:nth-child(2) { border-top: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .s-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy-50); color: var(--navy);
}
.service-card:nth-child(2n) .s-ico { background: var(--green-50); color: var(--green); }
.service-card p { color: var(--ink-2); font-size: 1rem; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.service-card li { display: flex; gap: 10px; font-size: .96rem; color: var(--ink-2); margin-bottom: 8px; }
.service-card li .ico { color: var(--green); margin-top: 3px; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Nosotros (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.split-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-50), var(--navy-100)); z-index: -1;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-media::before { inset: 24px 24px -24px -24px; }
.values { display: grid; gap: 14px; margin: 28px 0 32px; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); }
.value .v-ico { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.value strong { display: block; color: var(--navy-900); }
.value span { font-size: .95rem; color: var(--muted); }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 560px; margin-right: 24px; }
}

/* ---------- Beneficios ---------- */
.benefits { background: linear-gradient(160deg, var(--navy-900), var(--navy) 70%, var(--navy-700)); color: #cfd9ea; position: relative; overflow: hidden; }
.benefits::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px;
  background: url("../img/logo.webp") center/contain no-repeat; opacity: .05; pointer-events: none;
}
.benefits h2, .benefits h3 { color: #fff; }
.benefits .lead { color: #b8c6dc; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1; }
.benefit {
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.benefit-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--green-400); line-height: 1; margin-bottom: 18px; display: block; }
.benefit p { margin: 0; }
.benefits-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.benefits-head .section-head { margin-bottom: 0; }
@media (max-width: 920px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- Oferta diagnóstico ---------- */
.offer { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.offer-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 440px; }
.offer-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.offer-list li .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
@media (max-width: 920px) { .offer { grid-template-columns: 1fr; } .offer-img { max-width: 380px; } }

/* ---------- Blog ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-meta .tag { color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; }

/* ---------- Artículo ---------- */
.article-hero { background: var(--navy-50); padding: clamp(40px, 6vw, 72px) 0 0; }
.article-hero .container { max-width: 860px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.article-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.byline { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .95rem; margin-bottom: 32px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: var(--shadow-sm); }
.article-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-bottom: -60px; position: relative; }
.article { max-width: 760px; margin: 0 auto; padding: 110px 20px 40px; }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article h3 { font-size: 1.18rem; margin-top: 1.4em; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--green); }
.article strong { color: var(--ink); }
.callout {
  border-left: 4px solid var(--green); background: var(--green-50); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6em 0; color: var(--navy-900); font-weight: 600;
}
.callout-navy { border-color: var(--navy); background: var(--navy-50); }
.case { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 14px; }
.case p { margin: 0; }
.status-ok { color: var(--green); font-weight: 700; }
.status-no { color: #b42318; font-weight: 700; }
.article-cta {
  max-width: 760px; margin: 0 auto 80px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--navy); color: #cfd9ea; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.article-cta h3 { color: #fff; margin-bottom: 6px; }
.article-cta p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); }

/* ---------- Page hero (internas) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(63,178,79,.14), transparent 60%),
    linear-gradient(180deg, #fff, var(--navy-50));
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 820px; }
.page-hero .lead { max-width: 680px; margin: 0; }

/* ---------- Detalle de servicios ---------- */
.service-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 64px); padding: 48px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .s-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 18px; }
.service-detail:nth-child(2n) .s-ico { background: var(--green-50); color: var(--green); }
.service-detail h2 { font-size: 1.6rem; }
.check-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-grid li { display: flex; gap: 10px; color: var(--ink-2); }
.check-grid .ico { color: var(--green); margin-top: 3px; }
@media (max-width: 760px) { .service-detail, .check-grid { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.step:nth-child(2n)::before { background: var(--green); }
.step p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > *, .split > *, .hero-grid > *, .offer > *, .service-detail > * { min-width: 0; }
.contact-cards { display: grid; gap: 14px; margin: 28px 0; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s;
}
a.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.contact-card .c-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.contact-card.wa .c-ico { background: #e7f8ed; color: #1a9e48; }
.contact-card small { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; }
.contact-card { min-width: 0; }
@media (max-width: 420px) { .contact-card { padding: 14px 16px; gap: 12px; } .contact-card strong { font-size: .94rem; } }
.contact-card strong { color: var(--navy-900); overflow-wrap: anywhere; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(22,64,127,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-ok { background: var(--green-50); color: #075e14; border: 1px solid #b7e2bf; }
.alert-err { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

/* ---------- Legal ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Banda CTA + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, #0a6a17 45%, var(--navy) 100%); color: #e5eefb; padding: clamp(44px, 6vw, 68px) 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band .eyebrow-light { color: #c9f0cf; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: #fff; color: var(--green); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--green-50); color: var(--green); }

.site-footer { background: var(--navy-950); color: #a9b7cc; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #cdd7e6; text-decoration: none; }
.site-footer a:hover { color: var(--green-400); }
.footer-brand p { margin: 18px 0 20px; max-width: 340px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { color: var(--green-400); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px 20px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 920px) { .footer-bottom { padding-bottom: 96px; } }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
