/* =====================================================================
   Páginas estáticas de servicios y países: mismo look que la home,
   sin JavaScript (prioridad: velocidad y lectura de buscadores e IAs).
===================================================================== */
:root {
  --bg: #040207; --violet: #7c3aed; --magenta: #c026d3; --pink: #e879f9; --lilac: #f0abfc;
  --white: #ece4f6; --muted: #a596b8; --stroke: rgba(196, 140, 255, .14); --stroke-hi: rgba(232, 121, 249, .38);
  --display: "Sora", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(60vmax 50vmax at 0% 0%, rgba(124, 58, 237, .16), transparent 60%),
              radial-gradient(50vmax 40vmax at 100% 30%, rgba(192, 38, 211, .1), transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--white); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--white); color: #1a0b2b; }
.skip:focus { top: 12px; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(4, 2, 7, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--stroke); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: .05em; font-size: .95rem; }
.brand b { color: var(--pink); }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .88rem; color: var(--muted); }
.top-nav a:hover { color: var(--white); }
.top-nav .cta { color: #fff; background: linear-gradient(135deg, var(--violet), var(--magenta)); font-weight: 600; }
@media (max-width: 620px) { .top-nav a:not(.cta) { display: none; } .brand span { font-size: .85rem; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pink); }

/* hero */
.hero { padding: clamp(28px, 6vh, 64px) 0 clamp(24px, 4vh, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 12px; }
.tag { color: var(--pink); font-weight: 600; margin-bottom: 20px; }
.q { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 700; color: var(--lilac); margin-bottom: 8px; }
.answer { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--white); margin-bottom: 14px; }
.intro { color: var(--muted); margin-bottom: 24px; }
.hero.hub .answer { max-width: 62ch; margin-inline: auto; }
.hero-art { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--stroke); background: #0d0816; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(124, 58, 237, .18); }
.hero-art img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { aspect-ratio: 16 / 11; } }

.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: .92rem; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta)); box-shadow: 0 10px 30px rgba(124, 58, 237, .35); transition: transform 160ms ease-out; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: rgba(124, 58, 237, .1); border: 1px solid var(--stroke-hi); box-shadow: none; }

/* secciones */
.sec { padding: clamp(28px, 6vh, 56px) 0; }
.sec h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.facts div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke); }
.facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--display); font-weight: 700; margin-top: 4px; }
.facts a { color: var(--pink); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.cards li { padding: 20px; border-radius: 20px; background: linear-gradient(160deg, rgba(31, 21, 42, .7), rgba(10, 7, 14, .7)); border: 1px solid var(--stroke); }
.cards h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.cards p { color: var(--muted); font-size: .93rem; }
.chk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--violet), var(--magenta)); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.steps li { padding: 18px; border-radius: 18px; background: rgba(124, 58, 237, .08); border: 1px solid var(--stroke); }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 9px; border: 1px solid var(--stroke-hi); color: var(--pink); font-family: var(--display); font-weight: 800; }
.steps.big b { display: block; font-family: var(--display); margin-bottom: 4px; }
.steps.big small { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: rgba(232, 121, 249, .07); border: 1px solid var(--stroke); }

.faq { display: grid; gap: 8px; }
.faq details { border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 1.3rem; color: var(--pink); transition: rotate 200ms ease-out; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary h3 { font-size: 1rem; font-weight: 700; }
.faq details p { padding: 0 18px 18px; color: var(--muted); }

.others { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.others a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 16px; border-radius: 16px; text-decoration: none; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke); transition: border-color 200ms ease; }
.others a:hover { border-color: var(--stroke-hi); }
.others span { grid-row: span 2; font-size: 1.4rem; }
.others small { color: var(--muted); }

.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.svc-grid a { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; text-decoration: none; background: rgba(255, 255, 255, .03); border: 1px solid var(--stroke); transition: border-color 200ms ease, transform 200ms ease-out; }
.svc-grid a:hover { border-color: var(--stroke-hi); transform: translateY(-3px); }
.svc-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 22%; }
.svc-txt { display: flex; flex-direction: column; gap: 4px; padding: 18px; flex: 1; }
.svc-txt b { font-family: var(--display); font-size: 1.1rem; }
.svc-txt small { color: var(--pink); font-weight: 600; }
.svc-txt span { color: var(--muted); font-size: .92rem; }
.svc-txt em { margin-top: auto; padding-top: 10px; font-style: normal; color: var(--pink); font-weight: 600; font-size: .9rem; }

.cta-band { text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px); border-radius: 30px; border: 1px solid var(--stroke-hi);
  background: radial-gradient(ellipse at 50% 0%, rgba(192, 38, 211, .3), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(124, 58, 237, .35), transparent 60%), #0b0610; }
.cta-band p { color: var(--muted); margin: -8px 0 22px; }
.cta-band .btns { justify-content: center; }

/* pie */
.foot { margin-top: 40px; padding: 40px 0 calc(env(safe-area-inset-bottom, 0px) + 24px); border-top: 1px solid var(--stroke); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot-brand { font-family: var(--display); font-weight: 800; letter-spacing: .05em; margin-bottom: 6px; }
.foot-brand b { color: var(--pink); }
.foot p, .foot address { color: var(--muted); font-style: normal; margin-bottom: 8px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--pink); }
.foot-h { font-family: var(--display); font-weight: 700; color: var(--white) !important; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-legal { margin-top: 24px; font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

.wa { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  color: #fff; background: linear-gradient(145deg, #2fe07a, #1fb457); box-shadow: 0 12px 30px rgba(31, 180, 87, .45); }
.wa svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
