/* Layout: single-page landing; hero pairs the pitch with an Italian birth-act mock, then trust bar, services, process, about, FAQ, contact. Light-only by choice: the logo is navy on white. */
:root {
  --navy: #13233a;
  --navy-soft: #2b3d58;
  --green: #097a41;
  --green-tint: #e6f3ec;
  --red: #d3242f;
  --bg: #edf1f6;
  --surface: #ffffff;
  --doc: #fbf8f0;
  --line: #dce3eb;
  --muted: #586579;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-doc: "EB Garamond", Garamond, Georgia, serif;
  --wrap: 1160px;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.tricolor { display: flex; gap: 6px; align-items: center; }
.tricolor span { height: 3px; width: 28px; border-radius: 2px; }
.tricolor span:nth-child(1) { background: var(--green); }
.tricolor span:nth-child(2) { background: var(--line); }
.tricolor span:nth-child(3) { background: var(--red); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.section-head { display: grid; gap: 14px; max-width: 660px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #06693a; transform: translateY(-1px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .icon { height: 46px; width: auto; }
.brand .word { height: 34px; width: auto; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--navy-soft); white-space: nowrap; }
.main-nav a:hover { color: var(--green); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface);
}
.lang button {
  border: 0; background: transparent; font: 600 13px/1 var(--font-body); letter-spacing: .06em;
  color: var(--muted); min-height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; display: block; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding-block: 72px 80px;
}
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; max-width: 19ch; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn-text { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; padding: 12px 0; }
.btn-text:hover { color: var(--green); }
.btn:active { transform: translateY(1px); }
.hero-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }

/* Birth-act mock */
.doc-stage { position: relative; justify-self: center; width: min(100%, 440px); padding: 24px 10px 30px; }
.sheet {
  background: var(--doc); border: 1px solid #e6dfcd; border-radius: 6px;
  box-shadow: 0 1px 0 rgba(19,35,58,.04), 0 18px 40px -18px rgba(19,35,58,.35);
}
.sheet.back {
  position: absolute; inset: 8px 0 44px 34px; transform: rotate(5deg);
  display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px;
}
.sheet.back span {
  font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-soft); border: 1px solid var(--line); background: var(--surface); padding: 6px 10px; border-radius: 999px;
}
.sheet.front { position: relative; padding: 28px 28px 24px; transform: rotate(-1.5deg); font-family: var(--font-doc); color: #2d2a24; }
.doc-head { text-align: center; display: grid; gap: 2px; border-bottom: 1px solid #ddd3bd; padding-bottom: 14px; }
.doc-head .crest { width: 34px; height: 34px; margin: 0 auto 6px; }
.doc-head strong { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.doc-head .title { font-size: 22px; font-style: italic; }
.doc-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; letter-spacing: .04em; padding: 10px 0; border-bottom: 1px dashed #ddd3bd; flex-wrap: wrap; }
.doc-body { font-size: 15.5px; line-height: 1.55; padding-top: 12px; font-style: italic; }
.doc-body b { font-style: normal; font-weight: 400; text-decoration: underline; text-decoration-color: #b9ad92; text-underline-offset: 3px; }
.doc-fields { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 14px; font-size: 14.5px; }
.doc-fields dt { color: #7a705c; }
.doc-fields dd { margin: 0; border-bottom: 1px solid #e3dac6; }
.stamp {
  position: absolute; right: 18px; bottom: 26px; transform: rotate(-12deg);
  border: 2.5px solid var(--green); color: var(--green); border-radius: 8px;
  padding: 6px 12px; font: 700 13px/1.15 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  text-align: center; background: rgba(251,248,240,.85);
}
.stamp small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 600; }
.doc-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp .5s cubic-bezier(.2,1.6,.4,1) .5s both; }
  @keyframes stamp { from { transform: rotate(-12deg) scale(1.6); opacity: .2; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
}

/* Trust bar */
.trust { --line: #cfe3d7; border-bottom: 1px solid var(--line); background: #e9f4ee; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 0; }
.trust-item { display: grid; gap: 4px; padding: 28px 24px; border-left: 1px solid var(--line); min-width: 0; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.15; }
.trust-item span { color: var(--muted); font-size: 15px; }

/* Services */
.section { padding-block: 80px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0;
}
.service .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
}
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.service p { color: var(--muted); font-size: 16px; }
.service.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.service.featured p { color: #c6d0de; }
.service.featured .ico { background: rgba(255,255,255,.1); color: #fff; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service .tag {
  justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 4px 10px; border-radius: 999px;
}

.service.wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: center; padding: 32px; border-color: var(--green); }
.wide-head { display: grid; gap: 12px; min-width: 0; }
.service .tag-soft { background: var(--green-tint); color: #05633a; }
.wide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.wide-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; padding: 14px 16px; background: var(--bg); border-radius: 10px; }
.wide-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--green); }

/* Process */
.process { background: var(--navy); color: #fff; }
.process .eyebrow { color: #7fd1a4; }
.process .section-head p { color: #c6d0de; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font: 400 22px/1 var(--font-display); background: var(--surface); border: 1.5px solid var(--navy); position: relative; z-index: 1;
}
.process .step .num { background: var(--navy); border-color: rgba(127,209,164,.7); color: #7fd1a4; }
.process .step:last-child .num { background: var(--green); border-color: var(--green); color: #fff; }
.step::before { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 1.5px; background: rgba(255,255,255,.18); }
.step:last-child::before { display: none; }
.step h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.step p { color: #c6d0de; font-size: 15.5px; }

/* Coverage + interactive map */
.coverage { background: var(--surface); }
.coverage-head { display: grid; gap: 16px; max-width: 820px; }
.coverage-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.coverage-head > p { color: var(--muted); font-size: 18px; max-width: 640px; }
.checks.inline { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin-top: 4px; }
.explorer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; margin-top: 48px; }
.map { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.map svg { width: 100%; max-width: 440px; height: auto; display: block; }
.region { fill: var(--green-tint); stroke: var(--surface); stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .2s; }
.region:hover { fill: #bfe0cc; }
.region:focus { outline: none; }
.region:focus-visible { fill: #bfe0cc; stroke: var(--navy); stroke-width: 2.5; }
.region.active { fill: var(--green); }
.map figcaption { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.map figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.region-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; box-shadow: 0 24px 48px -32px rgba(19,35,58,.45); }
.region-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: linear-gradient(135deg, #e9f4ee 0%, #edf1f6 100%); }
.region-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-fallback { position: absolute; inset: 0; }
.photo-credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 8px; background: linear-gradient(transparent, rgba(10,18,30,.6)); color: #fff; font-size: 12.5px; line-height: 1.4; text-align: right; }
.photo-credit a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.region-fallback svg { position: absolute; inset: 10%; width: 80%; height: 80%; }
.region-fallback path { fill: var(--green); stroke: var(--surface); stroke-width: 2; vector-effect: non-scaling-stroke; }
.region-body { padding: 26px 28px 28px; display: grid; gap: 10px; }
.region-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-variant-numeric: tabular-nums; }
.region-body h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.region-capital { color: var(--muted); font-size: 15px; }
.region-capital strong { color: var(--navy); font-weight: 600; }
.region-desc { color: var(--navy-soft); font-size: 17px; line-height: 1.6; min-height: 3.2em; }
.region-nav { display: flex; gap: 10px; margin-top: 6px; }
.region-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.region-nav button:hover { border-color: var(--navy); }
.region-nav svg { width: 20px; height: 20px; }
.map-credit { margin-top: 20px; font-size: 12px; color: var(--muted); text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .region-card.swap .region-photo, .region-card.swap .region-body { animation: regionIn .35s ease both; }
  @keyframes regionIn { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.card-quote { margin: 4px 0 0; display: grid; gap: 6px; }
.card-quote::before { content: "\201C"; font-family: var(--font-display); font-size: 64px; line-height: .6; color: var(--green); height: 28px; }
.card-quote p { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--navy); }
.signature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: grid; gap: 22px; justify-items: start;
}
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head img { width: 64px; }
.card-head p { font-family: var(--font-display); font-size: 24px; line-height: 1.15; }
.facts { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); line-height: 1.12; }
.about-copy p { color: var(--muted); font-size: 18px; max-width: 620px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 2px; }

/* FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; border-top: 1px solid var(--line); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 18px; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 44px 24px 0; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact .section-head p { color: #c6d0de; }
.contact .eyebrow { color: #7fd1a4; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.contact-card.featured { grid-column: 1 / -1; background: rgba(9,122,65,.16); border-color: #2f9a63; padding: 32px; }
.contact-card.featured h3 { font-size: 24px; }
.contact-card.featured .btn { min-height: 52px; font-size: 16px; padding: 0 26px; }
#copy-mail { min-width: 160px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0;
}
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--navy); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 20px; font-weight: 700; }
.contact-card p { color: #c6d0de; font-size: 15.5px; }
.contact-card .value { font-size: 18px; font-weight: 600; color: #fff; overflow-wrap: anywhere; user-select: all; }
.contact-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.contact-card .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eef4; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }

.contact-privacy { margin-top: 28px; font-size: 14px; color: #c6d0de; max-width: 680px; }
.contact-privacy a { color: #fff; }

/* Skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
main:focus { outline: none; }

/* Carpeta consular */
.service.carpeta { grid-column: 1 / -1; grid-template-columns: .8fr 1.2fr; gap: 16px 48px; align-items: start; padding: 32px; }
.carpeta-head { display: grid; gap: 10px; }
.carpeta-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.carpeta-list { grid-template-columns: 1fr 1fr; margin: 0; gap: 12px 24px; }
.carpeta-list li { font-weight: 500; font-size: 15.5px; }
.carpeta-note { grid-column: 2; font-size: 14px; color: var(--muted); }
.carpeta-cta { grid-column: 2; justify-self: start; }

/* Para empezar */
.start { background: var(--surface); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-top: 32px; }
.start-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; align-content: start; min-width: 0; }
.start-card .ico { grid-row: span 2; }
.start-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--green); border: 1px solid var(--line); }
.start-card .ico svg { width: 22px; height: 22px; }
.start-card h3 { font-size: 18px; font-weight: 700; }
.start-card p { color: var(--muted); font-size: 15.5px; }
.start-cta { margin-top: 32px; }

/* Glosario */
.gloss-toggle { margin-top: 28px; }
.gloss-toggle summary { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; cursor: pointer; list-style: none; }
.gloss-toggle summary::-webkit-details-marker { display: none; }
.gloss-toggle summary:hover { background: var(--navy); color: #fff; }
.gloss-toggle[open] summary { margin-bottom: 8px; }
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 40px 0 0; }
.gloss-item { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.gloss-item dt { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.gloss-item dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.contact-book { margin-top: 24px; }
.contact-book:has(.js-cal[hidden]) { display: none; }

/* Pulido: aparición al bajar, hover y carga de fotos */
.reveal { transition: opacity .3s ease; }
.reveal.pre { opacity: 0; }
.service, .start-card, .contact-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.region-photo img { opacity: 0; transition: opacity .35s ease; }
.region-photo img.in { opacity: 1; }
.region-photo.loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 220% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .region-photo.loading::after { animation: shimmer 1.2s linear infinite; }
  @keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
}
@media (prefers-reduced-motion: reduce) { .reveal.pre { opacity: 1; transform: none; } }

/* Footer */
.site-footer { background: var(--surface); padding-block: 48px 40px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; }
.footer-grid img { width: 200px; }
.footer-text { display: grid; gap: 8px; color: var(--muted); font-size: 15px; min-width: 0; }
.footer-text strong { color: var(--navy); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { color: var(--navy-soft); display: inline-block; padding-block: 11px; }
.footer-links a:hover { color: var(--green); }
.seller-line { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; color: var(--muted); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 16px/1 var(--font-body);
  box-shadow: 0 10px 24px -8px rgba(19,35,58,.5);
  transition: opacity .2s, transform .2s, bottom .25s;
}
.wa-float:hover { background: #06693a; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
  }
  .main-nav.open a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0; }
  .step .num { grid-row: span 2; }
  .step h3 { margin-top: 10px; }
  .step::before { top: 48px; bottom: -28px; left: 23px; right: auto; width: 1.5px; height: auto; }
  .about-grid, .faq-grid, .explorer { grid-template-columns: 1fr; gap: 40px; }
  .start-grid { grid-template-columns: 1fr 1fr; }
  .service.carpeta { grid-template-columns: 1fr; }
  .carpeta-note { grid-column: 1; }
  .gloss-grid { grid-template-columns: 1fr; }
  .checks.inline { grid-template-columns: 1fr; }
  .map svg { max-width: 340px; }
  .map-credit { text-align: left; }
  .section { padding-block: 64px; }
  .carpeta-cta { grid-column: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .brand .word { height: 26px; }
  .brand .icon { height: 38px; }
  .header-row { gap: 12px; }
  .services-grid, .contact-grid, .checks, .service.wide, .start-grid, .carpeta-list { grid-template-columns: 1fr; }
  .section { padding-block: 52px; }
  .services-grid, .contact-grid { margin-top: 28px; gap: 16px; }
  .contact-card.featured { padding: 24px; }
  .contact-card.featured .btn { width: 100%; }
  .gloss-item { grid-template-columns: 1fr; gap: 4px; }
  .start-cta { width: 100%; }
  .service.wide { padding: 28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .trust-item:first-child { border-top: 0; }
  .sheet.front { padding: 22px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand .icon { display: none; }
  .lang button { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Versión compacta: mismo contenido con menos aire, para scrollear menos */
body { font-size: 16px; }
.section { padding-block: 56px; }
.section-head { gap: 10px; }
.section-head h2, .coverage-head h2, .about-copy h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p, .coverage-head > p, .about-copy p { font-size: 17px; }
.hero-grid { gap: 40px; padding-block: 44px 52px; }
.hero-copy { gap: 16px; }
.hero .lead { font-size: 18px; }
.doc-stage { width: min(100%, 390px); padding-block: 16px 26px; }
.trust-item { padding: 18px 20px; }
.trust-item strong { font-size: 22px; }
.services-grid { margin-top: 28px; gap: 16px; }
.service { padding: 22px; gap: 8px; }
.service .ico { width: 40px; height: 40px; border-radius: 10px; }
.service .ico svg { width: 22px; height: 22px; }
.service h3 { font-size: 19px; }
.service p { font-size: 15.5px; }
.service.carpeta, .service.wide { padding: 26px; }
.wide-list { gap: 8px; }
.wide-list li { padding: 10px 14px; }
.wide-list li::before { margin-top: 8px; }
.steps { margin-top: 36px; }
.about-grid, .faq-grid { gap: 48px; }
.signature-card { padding: 26px; gap: 16px; }
.about-copy { gap: 14px; }
.checks { gap: 10px 24px; }
.coverage-head { gap: 12px; }
.explorer { margin-top: 32px; gap: 40px; }
.map svg { max-width: 360px; }
.region-body { padding: 20px 22px 22px; gap: 8px; }
.region-desc { font-size: 16px; }
.faq-list summary { padding-block: 16px; font-size: 17px; }
.faq-list details p { padding-bottom: 18px; }
.gloss-toggle { margin-top: 20px; }
.start-grid { margin-top: 24px; gap: 18px 40px; }
.start-cta { margin-top: 24px; }
.contact-grid { margin-top: 28px; gap: 16px; }
.contact-card { padding: 22px; gap: 10px; }
.contact-card.featured { padding: 24px; }
.contact-privacy { margin-top: 20px; }
.site-footer { padding-block: 36px 28px; }
.seller-line { margin-top: 18px; }
.footer-bottom { margin-top: 20px; padding-top: 14px; }
@media (max-width: 1020px) {
  .section { padding-block: 48px; }
  .hero-grid { gap: 28px; padding-block: 36px 44px; }
  .about-grid, .faq-grid, .explorer { gap: 28px; }
  .steps { gap: 20px; }
  .step::before { bottom: -20px; }
  .map svg { max-width: 280px; }
}
@media (max-width: 640px) {
  .section { padding-block: 40px; }
  .hero-grid { padding-block: 28px 36px; }
  .doc-stage { width: min(100%, 320px); }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .trust-item, .trust-item:first-child { padding: 14px 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item strong { font-size: 19px; }
  .trust-item span { font-size: 14px; }
  .services-grid, .contact-grid { margin-top: 22px; gap: 12px; }
  .service, .service.carpeta, .service.wide { padding: 20px; }
  .signature-card { padding: 22px; }
  .map svg { max-width: 240px; }
  .region-body { padding: 18px; }
  .faq-list summary { padding-block: 14px; font-size: 16px; }
  .contact-card, .contact-card.featured { padding: 20px; }
  .site-footer { padding-block: 28px 24px; }
  .footer-grid { gap: 16px; }
  .footer-grid img { width: 160px; }
}
/* Compacto, segunda pasada: contacto en una fila, cobertura y glosario más bajos */
@media (min-width: 1021px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .contact-card.featured { grid-column: auto; }
  .contact-card.featured h3 { font-size: 20px; }
}
.region-photo { aspect-ratio: 2 / 1; }
@media (min-width: 1021px) { .map svg { max-width: 320px; } }
.gloss { padding-block: 40px; }
.contact-book { margin-top: 16px; }
@media (max-width: 640px) {
  /* Tarjetas de servicio simples: ícono al costado del título para ganar alto */
  .service:not(.featured):not(.carpeta):not(.wide) { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; }
  .service:not(.featured):not(.carpeta):not(.wide) .ico { grid-row: span 2; }
  .hero-grid { gap: 20px; }
  .doc-stage { width: min(100%, 290px); }
  .checks { gap: 8px; }
}
