/* FindMyBase — bright, modern design system */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --ink: #161616;
  --ink-2: #626971;
  --violet: #0062e3;
  --violet-dark: #024daf;
  --coral: #f55d42;
  --orange: #ff7b59;
  --pink: #0062e3;
  --sun: #feb543;
  --aqua: #00a698;
  --sky: #3fa9f5;
  --night: #05203c;
  --night-2: #0b3a66;
  --tint: #e3f0ff;
  --tint-pink: #e3f0ff;
  --tint-sun: #fff4e0;
  --tint-aqua: #e0f5f3;
  --tint-coral: #ffeee9;
  --paper: #ffffff;
  --surface: #eff3f8;
  --warm: #eff3f8;
  --white: #fff;
  --line: #e0e4e9;
  --line-2: #c1c7cf;
  --on-dark: #c2cbd6;
  --on-dark-line: rgba(255,255,255,.14);
  --amber: #7a4a00;
  --amber-bg: #fff4e0;
  --red: #c0233f;
  --grad: #0062e3;
  --dark-bg: var(--night);
  --grad-soft: #ffffff;
  --shadow-sm: 0 1px 3px rgba(5,32,60,.08), 0 4px 14px rgba(5,32,60,.06);
  --shadow-lg: 0 12px 32px rgba(5,32,60,.14);
  --shadow-pop: 0 4px 14px rgba(0,98,227,.25);
  --radius-sm: .5rem;
  --radius: .75rem;
  --radius-lg: 1rem;
  --max: 78.75rem;
  --reading: 47rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 2.85rem; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 1rem; }
::selection { color: var(--white); background: var(--pink); }
.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 3rem), var(--reading)); margin-inline: auto; }
.section { padding-block: clamp(5rem, 8.5vw, 8.5rem); }
.section-sm { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section-white { background: var(--white); }
.grad-text { color: var(--violet); }
.section-index { display: inline-block; margin: 0 .6rem 1.1rem 0; color: var(--violet); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .9rem; color: var(--violet); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: none; }
.status + .eyebrow { margin-left: .75rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; padding: .45rem .9rem .45rem .7rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 700; }
.lede { max-width: 44rem; color: var(--ink-2); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 200; padding: .75rem 1rem; color: var(--white); background: var(--ink); border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand-mark { width: 2.3rem; height: 2.3rem; flex: 0 0 auto; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.brand-word b { font-weight: 700; color: var(--violet); }
.primary-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-link, .nav-group-label > a { display: inline-block; padding: .55rem .8rem; color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; border-radius: 999px; transition: background .18s, color .18s; }
.nav-link:hover, .nav-group-label > a:hover { background: var(--surface); }
.nav-link[aria-current="page"], .nav-group-label > a[aria-current="page"] { color: var(--violet); background: var(--tint); }
.nav-group { position: relative; }
.nav-group-label { display: flex; align-items: center; }
.nav-group-label > a { padding-right: .2rem; }
.nav-group-label button { display: grid; place-items: center; min-height: 2.2rem; width: 1.8rem; padding: 0; color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.nav-group-label button svg { display: block; transition: transform .18s ease; }
.nav-group[data-open] .nav-group-label button svg { transform: rotate(180deg); }
.subnav { position: absolute; top: calc(100% + .6rem); left: 50%; width: 21rem; padding: .5rem; visibility: hidden; opacity: 0; transform: translate(-50%, -.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: var(--shadow-lg); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-group[data-open] .subnav, .nav-group:focus-within .subnav { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.subnav a { display: block; padding: .7rem .85rem; text-decoration: none; border-radius: .8rem; }
.subnav a:hover, .subnav a:focus-visible { background: var(--surface); }
.subnav strong, .subnav span { display: block; }
.subnav strong { font-size: .92rem; }
.subnav span { margin-top: .1rem; color: var(--ink-2); font-size: .8rem; line-height: 1.35; }
.lang-switch { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .4rem .75rem; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: .5rem; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .18s, color .18s, background .18s; }
.lang-switch:hover { color: var(--violet); border-color: var(--violet); background: var(--tint); }
.lang-switch .lang-full { display: none; }
.nav-toggle { display: none; padding: .6rem; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 1.3rem; height: 2px; margin: .3rem; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(.2rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.2rem) rotate(-45deg); }

/* Buttons and shared content */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .78rem 1.35rem; color: var(--white); background: var(--violet); border: 1.5px solid var(--violet); border-radius: .5rem; font-size: .96rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: color .18s, background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.button:hover { background: var(--violet-dark); border-color: var(--violet-dark); transform: translateY(-2px); box-shadow: none; }
.button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }
.button-grad, .nav-cta { background: var(--violet); border-color: var(--violet); box-shadow: none; }
.button-grad:hover, .nav-cta:hover { background: var(--violet-dark); border-color: var(--violet-dark); box-shadow: none; }
.button-secondary { color: var(--ink); background: var(--white); border-color: var(--line-2); }
.button-secondary:hover { color: var(--ink); background: var(--white); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.button-text { color: var(--ink); background: transparent; border-color: transparent; }
.button-text:hover { color: var(--violet); background: transparent; border-color: transparent; box-shadow: none; }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--ink); background: var(--tint); border-color: var(--tint); box-shadow: none; }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.55); }
.button-outline-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-small { min-height: 2.45rem; padding: .55rem 1rem; font-size: .84rem; }
.nav-cta { min-height: 2.8rem; padding-inline: 1.2rem; font-size: .95rem; }
.button-wide { width: 100%; margin-top: .5rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.text-link { color: var(--violet); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.block-link { display: inline-block; margin-top: 1.75rem; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: .3rem .6rem; color: #00706a; background: var(--tint-aqua); border-radius: 999px; font-size: .75rem; font-weight: 800; line-height: 1.25; }
.status-partner_network, .status-review { color: var(--amber); background: var(--amber-bg); }
.status-light { color: var(--night); background: #84c4ff; }
.live-dot { position: relative; display: inline-block; width: .55rem; height: .55rem; margin-right: .2rem; background: var(--aqua); border-radius: 50%; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--aqua); border-radius: 50%; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.6); } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading > div { max-width: 50rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 33rem; margin: 0; color: var(--ink-2); }
.section-heading .eyebrow { margin-left: 0; }
.breadcrumbs { margin-bottom: 2rem; color: var(--ink-2); font-size: .85rem; }
.breadcrumbs a { color: inherit; text-underline-offset: .2em; }
.notice { padding: 1rem 1.15rem; color: #5c3a00; background: var(--amber-bg); border: 1px solid #f3d27a; border-radius: var(--radius-sm); }

/* Home */
.home-page h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.home-hero { position: relative; padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 6.5rem); overflow: hidden; color: var(--white); background: var(--night); }
.home-hero .lede { color: var(--on-dark); }
.home-hero .grad-text { color: #84c4ff; }
.home-hero .pill { color: var(--white); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); box-shadow: none; }
.home-hero .hero-trust li { color: var(--on-dark); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.home-hero .hero-trust b { color: var(--white); }
.home-hero .button-secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.5); }
.home-hero .button-secondary:hover { color: var(--night); background: var(--white); border-color: var(--white); }
.hero-glow { display: none; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .28; }
.hero-glow i:nth-child(1) { top: -8rem; right: -4rem; width: 32rem; height: 32rem; background: #ff9fc6; }
.hero-glow i:nth-child(2) { bottom: -10rem; right: 22%; width: 26rem; height: 26rem; background: #b9a3ff; }
.hero-glow i:nth-child(3) { display: none; }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.home-hero-copy h1 { max-width: 16ch; font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.12; letter-spacing: -.02em; }
.home-hero-copy h1 .grad-text { display: inline; padding-bottom: .06em; }
.home-hero-copy .lede { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 2rem; }
.hero-primary { min-height: 3.4rem; padding-inline: 1.8rem; font-size: 1.05rem; }
.hero-actions .button-secondary { min-height: 3.4rem; padding-inline: 1.6rem; font-size: 1.05rem; }
.hero-helper { color: var(--ink-2); font-size: .86rem; }
.hero-secondary { color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; color: var(--ink-2); font-size: .9rem; list-style: none; }
.hero-trust li { padding: .45rem .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.hero-trust b { color: var(--ink); }
.trust-line { display: flex; gap: .55rem; align-items: flex-start; max-width: 36rem; color: var(--ink-2); font-size: .84rem; }
.trust-line::before { content: "✓"; color: var(--aqua); font-weight: 800; }
.hero-product { position: relative; min-height: 36rem; }
.hero-photo { position: absolute; inset: 0 2rem 3.5rem 0; overflow: hidden; background: var(--night); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-photo::after { content: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.03); }
.hero-sticker { position: absolute; top: -1rem; right: .5rem; z-index: 2; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem .7rem .8rem; color: var(--ink); background: var(--sun); border-radius: 1.2rem; box-shadow: var(--shadow-lg); }
.hero-sticker strong { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.hero-sticker span { font-size: .72rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; }
@keyframes bob { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
.floating-matches { position: absolute; left: -1.5rem; bottom: 0; z-index: 2; width: min(88%, 24rem); padding: 1.1rem; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.match-head { display: flex; align-items: center; justify-content: space-between; padding: .1rem .2rem .7rem; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.match-head small { padding: .2rem .5rem; color: var(--violet); background: var(--tint); border-radius: 999px; font-size: .62rem; font-weight: 800; }
.match-line { display: grid; grid-template-columns: 2.1rem 1fr auto; gap: .75rem; align-items: center; margin-top: .4rem; padding: .6rem .7rem; background: var(--surface); border-radius: .9rem; }
.match-line i { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: var(--white); background: var(--violet); border-radius: .4rem; font-size: .66rem; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.match-line:nth-of-type(3) i { background: #3fa9f5; }
.match-line:nth-of-type(4) i { background: #00a698; }
.match-line strong, .match-line small { display: block; }
.match-line strong { font-size: .9rem; }
.match-line small { color: var(--ink-2); font-size: .72rem; line-height: 1.35; }
.match-indicator { width: .7rem; height: .7rem; background: var(--sun); border-radius: 50%; box-shadow: 0 0 0 4px rgba(254,181,67,.25); }
.match-positive { background: var(--aqua); box-shadow: 0 0 0 4px rgba(0,166,152,.22); }
.match-review { background: var(--sky); box-shadow: 0 0 0 4px rgba(63,169,245,.22); }
.floating-matches > p { margin: .75rem .2rem 0; color: var(--ink-2); font-size: .74rem; line-height: 1.45; }

.marquee { overflow: hidden; padding: .95rem 0; color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.marquee-star { color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

.home-destinations { padding-top: clamp(6rem, 10vw, 9rem); }
.manifesto-section { padding-block: clamp(5rem, 10vw, 9rem); background: var(--surface); }
.manifesto { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.manifesto h2 { max-width: 22ch; margin-bottom: 1.5rem; font-size: clamp(2rem, 3.8vw, 3.3rem) !important; }
.manifesto mark { color: var(--violet); background: none; }
.manifesto p { max-width: 40rem; color: var(--ink-2); font-size: 1.15rem; }

.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.step-cards li { position: relative; min-height: 18rem; padding: 2rem; overflow: hidden; border-radius: var(--radius-lg); transition: transform .25s; }
.step-cards li:hover { transform: translateY(-6px); }
.step-cards li > span { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 3.5rem; color: var(--white); border-radius: 1rem; font-family: var(--display); font-size: 1.15rem; font-weight: 800; }
.step-cards p { margin: 0; color: var(--ink-2); }
.step-coral { background: var(--tint-coral); }
.step-coral > span { background: var(--coral); }
.step-violet { background: var(--tint); }
.step-violet > span { background: var(--violet); }
.step-aqua { background: var(--tint-aqua); }
.step-aqua > span { background: #00a698; }

.process-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.process-intro { position: sticky; top: 7rem; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--pink); font-weight: 800; }
.process-list p { max-width: 37rem; color: var(--ink-2); }

.residency-feature { color: var(--white); background: var(--surface); }
.feature-label { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; color: var(--ink-2); font-size: .8rem; text-transform: uppercase; }
.residency-feature-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 34rem; overflow: hidden; background: var(--night); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.residency-feature-grid::before { content: none; position: absolute; right: -8rem; bottom: -10rem; width: 30rem; height: 30rem; background: radial-gradient(circle, rgba(0,98,227,.55), transparent 65%); pointer-events: none; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5.5vw, 4.5rem); }
.feature-copy .kicker { margin: 1.4rem 0 .4rem; color: #84c4ff; font-weight: 700; }
.feature-copy h2 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); }
.feature-copy .lede { color: var(--on-dark); }
.feature-copy .actions { margin-top: 1.2rem; }
.network-strip { display: grid; grid-template-columns: .55fr 1.35fr auto; gap: 2rem; align-items: center; margin-top: 1.25rem; padding: 1.4rem 1.75rem; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.network-strip strong { color: var(--ink); }
.network-strip a { color: var(--violet); font-weight: 800; text-decoration: none; white-space: nowrap; }

.services-showcase { background: var(--white); }
.services-editorial { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.25rem; }
.service-primary { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 30rem; padding: clamp(2rem, 4.5vw, 3.5rem); overflow: hidden; color: var(--white); background: var(--night); border-radius: var(--radius-lg); text-decoration: none; transition: transform .25s; }
.service-primary:hover { transform: translateY(-4px); }
.service-primary::before { content: none; position: absolute; top: -5rem; right: -5rem; width: 18rem; height: 18rem; background: rgba(255,255,255,.14); border-radius: 50%; }
.service-primary::after { content: none; position: absolute; top: 4rem; right: 3rem; width: 5rem; height: 5rem; background: var(--sun); border-radius: 50%; opacity: .9; }
.service-primary span { position: relative; margin-bottom: auto; width: fit-content; padding: .35rem .75rem; background: rgba(255,255,255,.2); border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-primary h3 { position: relative; max-width: 12ch; font-family: var(--display); font-size: clamp(2.3rem, 3.8vw, 3.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.service-primary p { position: relative; max-width: 30rem; color: rgba(255,255,255,.88); }
.service-primary strong { position: relative; margin-top: .5rem; }
.service-list { display: flex; flex-direction: column; gap: .75rem; }
.service-list a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; flex: 1; padding: 1.1rem 1.4rem; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, background .2s; }
.service-list a:hover { background: var(--surface); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.service-list > a > span { color: var(--pink); font-weight: 800; }
.service-list strong, .service-list small { display: block; }
.service-list strong { font-size: 1.05rem; }
.service-list small { color: var(--ink-2); }
.service-list em { color: var(--ink-2); font-style: normal; font-size: 1.2rem; transition: color .2s, transform .2s; }
.service-list a:hover em { color: var(--pink); transform: translateX(3px); }
.svc-icon { display: grid !important; place-items: center; width: 3rem; height: 3rem; border-radius: .95rem; font-family: var(--display); font-size: 1.15rem; font-weight: 800; }
.service-list .svc-sun { color: #7a4a00; background: var(--sun); }
.service-list .svc-aqua { color: #00594f; background: #c6efeb; }
.service-list .svc-violet { color: var(--white); background: var(--violet); }
.service-list .svc-pink { color: var(--white); background: var(--pink); }
.service-list .svc-coral { color: var(--white); background: var(--coral); }

.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.country-card { position: relative; display: flex; flex-direction: column; gap: 1rem; min-height: 17rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.country-card:first-child { grid-row: span 2; color: var(--white); background: var(--night); border-color: transparent; overflow: hidden; }
.country-card:first-child::before { content: none; position: absolute; right: -6rem; bottom: -6rem; width: 20rem; height: 20rem; background: radial-gradient(circle, rgba(0,98,227,.6), transparent 65%); }
.country-card:first-child > * { position: relative; }
.country-card:first-child h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.country-card:first-child p { color: var(--on-dark); }
.country-card:first-child .text-link { color: #84c4ff; }
.country-card:first-child .country-code { width: 4.4rem; height: 4.4rem; font-size: 1rem; }
.country-card:first-child .status { color: var(--white); background: var(--aqua); }
.country-card h3 { margin: .6rem 0 .5rem; font-family: var(--display); font-weight: 600; }
.country-card h3 a { text-decoration: none; }
.country-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.country-card p { color: var(--ink-2); }
.country-card .text-link { margin-top: auto; }
.country-code { display: grid; place-items: center; flex: 0 0 auto; width: 3.4rem; height: 3.4rem; color: var(--white); background: var(--grad); border-radius: .5rem; font-family: var(--display); font-size: .85rem; font-weight: 800; letter-spacing: .06em; }
.country-card:nth-child(2) .country-code { background: #feb543; }
.country-card:nth-child(3) .country-code { background: #00a698; }
.country-card:nth-child(4) .country-code { background: #3fa9f5; }
.country-card:nth-child(5) .country-code { background: #0062e3; }
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.blog-preview .article-grid { grid-template-columns: repeat(3, 1fr); }
.blog-preview .article-copy h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
.article-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-media { display: block; overflow: hidden; background: var(--tint); }
.article-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-media img { transform: scale(1.05); }
.article-copy { padding: 1.5rem 1.6rem 1.75rem; }
.article-copy h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.article-copy h3 a { text-decoration: none; }
.article-copy p { color: var(--ink-2); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-bottom: .9rem; color: var(--ink-2); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.article-meta span { padding: .25rem .6rem; color: var(--pink); background: var(--tint-pink); border-radius: 999px; }
.contact-cta { position: relative; padding-block: clamp(4.5rem, 8vw, 7rem); overflow: hidden; color: var(--white); background: var(--violet); }
.contact-cta::before, .contact-cta::after { content: none; }
.contact-cta::before { top: -8rem; right: 8%; width: 22rem; height: 22rem; background: rgba(255,255,255,.12); }
.contact-cta::after { bottom: -4rem; right: -3rem; width: 12rem; height: 12rem; background: var(--sun); opacity: .85; }
.contact-cta-inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.contact-cta h2 { max-width: 15ch; }
.contact-cta p { max-width: 40rem; color: rgba(255,255,255,.9); }
.contact-cta .eyebrow { color: var(--white); }


/* Editorial pages */
.editorial-hero { position: relative; padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6.5rem); overflow: hidden; background: var(--grad-soft); }
.editorial-hero .container > h1 { max-width: 14ch; }
.editorial-hero .lede { margin-bottom: 2rem; }
.editorial-hero-dark, .paraguay-hero, .country-hero-active, .network-section, .verification-panel { color: var(--white); background: var(--dark-bg); }
.editorial-hero-dark .breadcrumbs, .editorial-hero-dark .lede, .paraguay-hero .breadcrumbs, .paraguay-hero .lede, .country-hero-active .breadcrumbs, .country-hero-active .lede, .network-section .lede { color: var(--on-dark); }
.editorial-hero-dark .eyebrow, .paraguay-hero .eyebrow, .country-hero-active .eyebrow, .network-section .eyebrow, .verification-panel .eyebrow { color: #84c4ff; }
.definition-grid, .scope-grid, .audience-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); }
.definition-grid dl { margin: 0; }
.definition-grid dl > div { display: grid; grid-template-columns: .7fr 1fr; gap: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line-2); }
.definition-grid dl > div:last-child { border-bottom: 1px solid var(--line-2); }
.definition-grid dt { font-weight: 800; }
.definition-grid dd { margin: 0; color: var(--ink-2); }
.residency-spotlight, .destination-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.residency-spotlight .status, .destination-feature .status { margin-bottom: 2rem; }
.residency-spotlight img, .destination-feature img { width: 100%; background: var(--tint); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.journey li { min-height: 15rem; padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.journey li:nth-child(5n+1) { border-top: 4px solid var(--coral); }
.journey li:nth-child(5n+2) { border-top: 4px solid var(--night-2); }
.journey li:nth-child(5n+3) { border-top: 4px solid var(--violet); }
.journey li:nth-child(5n+4) { border-top: 4px solid var(--sky); }
.journey li:nth-child(5n+5) { border-top: 4px solid var(--aqua); }
.journey span { display: block; margin-bottom: 3rem; color: var(--pink); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.journey p { color: var(--ink-2); font-size: .94rem; }
.journey-five { grid-template-columns: repeat(5, 1fr); }
.faq-section details { margin-bottom: .75rem; padding: 0 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq-section details[open] { box-shadow: var(--shadow-sm); }
.faq-section summary { position: relative; padding: 1.3rem 3rem 1.3rem 0; font-size: 1.1rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: -1rem; color: var(--violet); background: var(--tint); border-radius: 50%; font-size: 1.3rem; font-weight: 500; line-height: 1; }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { max-width: 42rem; padding-bottom: 1.4rem; color: var(--ink-2); }
.paraguay-hero { padding: clamp(4rem, 8vw, 8rem) 0; }
.paraguay-hero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 5rem; align-items: center; }
.paraguay-hero .status { margin-bottom: 1.5rem; }
.paraguay-hero h1 { font-size: clamp(3.2rem, 6vw, 5.4rem); }
.paraguay-hero img { background: var(--night-2); border-radius: 2rem; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.trust-line-dark { margin-top: 1.2rem; color: var(--on-dark); }
.trust-line-dark::before { color: #84c4ff; }
.fact-band { padding: 2.5rem 0; background: var(--white); border-bottom: 1px solid var(--line); }
.fact-band > .container:first-child { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact-band .container > div { padding: 1.1rem 1.25rem; background: var(--surface); border-radius: var(--radius); }
.fact-band span, .fact-band strong { display: block; }
.fact-band span { color: var(--pink); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fact-band strong { margin-top: .4rem; font-size: 1rem; }
.fact-band > p { margin-top: 1.5rem; }
.scenario-list article { display: grid; grid-template-columns: 3rem 1fr; padding: 1.6rem 0; border-top: 1px solid var(--line-2); }
.scenario-list article:last-child { border-bottom: 1px solid var(--line-2); }
.scenario-list article > span { grid-row: span 2; color: var(--pink); font-size: .78rem; font-weight: 800; }
.scenario-list article p { color: var(--ink-2); }
.checklist-story img { background: var(--tint); border-radius: var(--radius-lg); }
.state-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.state-grid article { min-height: 16rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.state-grid .status { margin-bottom: 2.5rem; }
.state-grid p { color: var(--ink-2); }
.balanced-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.balanced-grid > div { padding: clamp(2rem, 4.5vw, 3.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.business-crosssell { color: var(--white); background: var(--violet); }
.business-crosssell .eyebrow { color: var(--white); }

.business-crosssell .lede { color: rgba(255,255,255,.9); }
.business-crosssell img { background: var(--white); border-radius: var(--radius-lg); }
.business-crosssell .button:not(.button-light):not(.button-outline-light) { color: var(--ink); background: var(--white); border-color: var(--white); }
.business-crosssell .button-secondary { color: var(--white) !important; background: transparent !important; border-color: rgba(255,255,255,.6) !important; }
.requirements-section { background: var(--surface); }

/* Services and countries */
.service-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.service-hero-card { position: relative; display: flex; flex-direction: column; min-height: 32rem; padding: clamp(2rem, 4.5vw, 3.5rem); overflow: hidden; color: var(--white); border-radius: var(--radius-lg); text-decoration: none; transition: transform .25s; }
.service-hero-card:hover { transform: translateY(-5px); }
.service-hero-card > span { margin-bottom: auto; width: fit-content; padding: .35rem .75rem; background: rgba(255,255,255,.2); border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-hero-card h2 { max-width: 14ch; font-size: clamp(2.3rem, 3.8vw, 3.4rem); }
.service-hero-card p { max-width: 32rem; }
.service-hero-residency { background: var(--night); }
.service-hero-business { color: var(--ink); background: #feb543; }
.service-hero-business > span { background: rgba(255,255,255,.55); }
.service-directory { display: grid; gap: .75rem; }
.service-directory > a, .service-directory.compact > div { display: grid; grid-template-columns: 3.5rem 1fr 2rem; gap: 1rem; align-items: center; padding: 1.35rem 1.5rem; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.service-directory > a:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.service-directory span { color: var(--pink); font-size: .78rem; font-weight: 800; }
.service-directory h3 { margin: 0 0 .25rem; font-size: 1.35rem; }
.service-directory p, .service-directory small { display: block; margin: 0; color: var(--ink-2); }
.service-directory.compact > div { grid-template-columns: 3rem 1fr; }
.service-directory.compact small { grid-column: 2; }
.availability-panel { background: var(--surface); }
.country-hero { padding: clamp(4.5rem, 8vw, 8rem) 0; background: var(--grad-soft); }
.country-hero.country-hero-active { background: var(--dark-bg); }
.country-hero-grid { display: grid; grid-template-columns: 1fr .42fr; gap: 4rem; align-items: center; }
.country-hero .status { margin-bottom: 1.5rem; }
.country-monogram { display: grid; place-items: center; aspect-ratio: 1; color: var(--white); background: var(--violet); border-radius: 50%; }
.country-hero-active .country-monogram { background: var(--night-2); }
.country-monogram span { font-family: var(--display); font-size: clamp(4rem, 10vw, 8rem); font-weight: 600; letter-spacing: -.03em; line-height: .9; }
.country-monogram small { margin-top: -30%; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.country-residency-link { display: inline-block; margin-top: 1.4rem; color: #84c4ff; font-weight: 700; }
.verification-panel .clean-list li { border-color: var(--on-dark-line); }
.country-hero-featured { padding-bottom: 0; }
.country-hero-featured .country-hero-grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.country-hero-media { position: relative; min-height: 34rem; margin: 0; overflow: hidden; background: var(--night-2); border-radius: 2rem 2rem 0 0; }
.country-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27,17,69,.7)); }
.country-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.country-hero-media figcaption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; color: rgba(255,255,255,.85); font-size: .7rem; }
.country-hero-points { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--on-dark-line); }
.country-hero-points > div { padding: 1.5rem 2rem; border-right: 1px solid var(--on-dark-line); }
.country-hero-points > div:first-child { padding-left: 0; }
.country-hero-points > div:last-child { border-right: 0; }
.country-hero-points span, .country-hero-points strong { display: block; }
.country-hero-points span { margin-bottom: .35rem; color: #84c4ff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.country-hero-points strong { max-width: 16rem; color: var(--white); font-size: 1rem; }
.country-fact-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.country-fact-strip .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.country-fact-strip .container > div { padding: 1.55rem 1.25rem; border-right: 1px solid var(--line); }
.country-fact-strip .container > div:first-child { padding-left: 0; }
.country-fact-strip .container > div:last-child { border-right: 0; }
.country-fact-strip span, .country-fact-strip strong { display: block; }
.country-fact-strip span { margin-bottom: .3rem; color: var(--pink); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.country-fact-strip strong { font-size: .95rem; }
.country-introduction { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.country-introduction .meta { max-width: 42rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.country-routes { background: var(--surface); }
.route-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.route-cards article { padding: clamp(2rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.route-cards article > span { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 2.5rem; color: var(--white); background: var(--grad); border-radius: .9rem; font-size: .78rem; font-weight: 800; }
.route-cards article:nth-child(2) > span { background: #00a698; }
.route-cards article > small { display: block; margin-bottom: .75rem; color: var(--violet); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.route-cards article > p { color: var(--ink-2); }
.route-cards .compact-list { margin-top: 1.5rem; font-size: .92rem; }
.route-notice { margin-top: 1.5rem; }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.profile-grid article { min-height: 18rem; padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.profile-grid article:nth-child(4n+1) { background: var(--tint-coral); border-color: transparent; }
.profile-grid article:nth-child(4n+2) { background: var(--tint); border-color: transparent; }
.profile-grid article:nth-child(4n+3) { background: var(--tint-aqua); border-color: transparent; }
.profile-grid article:nth-child(4n+4) { background: var(--tint-sun); border-color: transparent; }
.profile-grid article > span { display: block; margin-bottom: 3.5rem; color: var(--pink); font-size: .76rem; font-weight: 800; }
.profile-grid p { color: var(--ink-2); font-size: .94rem; }
.document-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.document-rules > div { padding: 1.5rem; background: var(--tint); border-radius: var(--radius); }
.document-rules strong { color: var(--violet-dark); }
.document-rules p { margin: .5rem 0 0; color: var(--ink-2); font-size: .88rem; }
.source-section { background: var(--warm); }
.source-section h2 { max-width: 15ch; }
.source-list { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.source-list li { padding: .9rem 0; border-bottom: 1px solid var(--line-2); }
.source-list a { color: var(--violet-dark); font-weight: 700; text-underline-offset: .2em; }

/* Blog */
.blog-hero { padding: clamp(4.5rem, 8vw, 8rem) 0 0; background: var(--grad-soft); }
.blog-hero > .container > div:first-child { margin-bottom: 3.5rem; }
.blog-hero h1 { max-width: 13ch; }
.featured-article { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; color: var(--white); background: var(--night); border-radius: var(--radius-lg) var(--radius-lg) 0 0; text-decoration: none; }
.featured-article img { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; }
.featured-article > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); background: radial-gradient(30rem 20rem at 100% 100%, rgba(0,98,227,.4), transparent 70%); }
.featured-article span { color: #84c4ff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured-article h2 { margin-top: 1rem; font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.featured-article p { color: var(--on-dark); }
.featured-article strong { margin-top: 1rem; color: var(--white); }
.topic-nav { position: sticky; top: 4.6rem; z-index: 20; overflow-x: auto; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topic-nav .container { display: flex; gap: .5rem; padding-block: .7rem; }
.topic-nav a { padding: .45rem .95rem; color: var(--ink-2); font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; border-radius: 999px; transition: background .18s; }
.topic-nav a:hover { background: var(--paper); }
.topic-nav a[aria-current="page"] { color: var(--white); background: var(--violet); }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 4rem; }
.filter-status { margin: -1.5rem 0 1.5rem; color: var(--ink-2); font-size: .82rem; }
.filter-empty { padding: 3rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pagination a { display: grid; place-items: center; min-width: 2.8rem; min-height: 2.8rem; padding: .4rem .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.pagination a[aria-current="page"] { color: var(--white); background: var(--grad); border-color: transparent; }
.article-hero { padding: clamp(4.5rem, 8vw, 8rem) 0 4rem; background: var(--grad-soft); }
.article-hero h1 { max-width: 15ch; font-size: clamp(3rem, 5.6vw, 5rem); }
.review-line { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; color: var(--ink-2); font-size: .82rem; }
.article-hero-media { overflow: hidden; max-height: 40rem; background: var(--tint); border-radius: var(--radius-lg); }
.article-hero-media img { width: 100%; max-height: 40rem; object-fit: cover; }
.article-body { padding-block: clamp(4rem, 8vw, 7rem); }
.prose { max-width: var(--reading); }
.prose h2 { margin-top: 3.5rem; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.prose h3 { margin-top: 2.5rem; }
.prose p, .prose li { color: #37334f; }
.prose li::marker { color: var(--pink); }
.prose a:not(.button) { color: var(--violet); font-weight: 600; }
.prose .notice { margin: 2.5rem 0; color: #5c3a00; }
.article-next .article-grid { max-width: 42rem; }

/* Contact */
.contact-hero { padding: clamp(4.5rem, 8vw, 7.5rem) 0; background: var(--grad-soft); }
.contact-hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-hero h1 { max-width: 10ch; }
.contact-promise { margin-top: 3rem; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); }
.contact-promise > span { color: var(--pink); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-promise ol { padding-left: 1.4rem; color: var(--ink-2); }
.contact-form-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-heading { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.form-heading span { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.form-heading strong { color: var(--ink-2); font-size: .74rem; font-weight: 500; }
.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 1.15rem 0; }
.field label:not(.choice) { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 700; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 3.3rem; padding: .72rem .95rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2); border-radius: .9rem; transition: border-color .18s, box-shadow .18s, background .18s; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--violet); box-shadow: 0 0 0 4px rgba(0,98,227,.15); outline: 0; }
.field [aria-invalid="true"] { border-color: var(--red) !important; }
.field-help { display: block; margin-top: .35rem; color: var(--ink-2); font-size: .76rem; }
.field-error { display: block; min-height: 1.2em; margin-top: .25rem; color: var(--red); font-size: .8rem; }
.error-summary { margin: 1.1rem 0; padding: 1rem 1.15rem; color: var(--red); background: #fff0f3; border: 1px solid #f3b3c0; border-radius: var(--radius-sm); }
.error-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.contact-method { margin: 1.3rem 0; padding: 0; border: 0; }
.contact-method legend { margin-bottom: .5rem; font-size: .88rem; font-weight: 700; }
.inline-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.inline-choices label, .consent-row { display: flex; align-items: flex-start; gap: .65rem; }
.inline-choices label { padding: .65rem .9rem; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: border-color .18s, background .18s; }
.inline-choices label:has(input:checked) { background: var(--tint); border-color: var(--violet); }
.inline-choices input, .consent-row input { width: 1.05rem; height: 1.05rem; margin-top: .2rem; accent-color: var(--violet); }
.consent-row { margin: 1rem 0; font-size: .86rem; }
.consent-row a { color: var(--violet); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success-panel { padding: 2rem 1rem; text-align: center; }
.success-panel h2 { margin-top: 1.5rem; font-size: 2.5rem; }
.reference { display: inline-block; margin: 1rem; padding: .7rem 1rem; color: var(--violet-dark); background: var(--tint); border: 1.5px dashed var(--violet); border-radius: .8rem; font: 700 1.05rem ui-monospace, monospace; }
.contact-alternatives { background: var(--surface); }

/* Existing flows */
.page-hero { padding: clamp(4.5rem, 8vw, 7.5rem) 0 3rem; background: var(--grad-soft); }
.page-hero h1 { max-width: 60rem; }
.detail-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.sidebar-card, .info-card, .service-card, .compare-card { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sidebar-card { position: sticky; top: 6rem; }
.clean-list { margin: 0; padding: 0; list-style: none; }
.clean-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.clean-list li::before { content: "✦"; margin-right: .6rem; color: var(--pink); font-size: .8em; }
.card-grid, .service-grid, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; min-height: 15rem; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .text-link { margin-top: auto; }
.info-card p, .service-card p { color: var(--ink-2); }
.wizard-shell { min-height: 65vh; padding: 3rem 0 6rem; background: var(--grad-soft); }
.wizard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.progress-track { height: .5rem; overflow: hidden; background: var(--line); border-radius: 999px; }
.progress-bar { display: block; width: 0; height: 100%; background: var(--grad); border-radius: 999px; transition: width .3s; }
.wizard-card { margin-top: 1rem; padding: clamp(1.5rem, 5vw, 3.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.wizard-card h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.wizard-card fieldset { margin: 0; padding: 0; border: 0; }
.wizard-card legend { margin-bottom: .55rem; font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.choice { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: .8rem 1rem; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 1rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.choice:hover { border-color: var(--pink); transform: translateY(-1px); }
.choice:has(input:checked) { background: var(--tint); border-color: var(--violet); box-shadow: 0 0 0 3px rgba(0,98,227,.12); }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--violet); }
.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.results-head { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.result-summary { color: var(--ink-2); font-size: 1.15rem; }
.checklist { margin: 1.5rem 0; }
.checklist-item { margin: .8rem 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.checklist-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1rem 1.1rem; }
.checklist-index { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: var(--white); background: var(--grad); border-radius: .7rem; font-weight: 800; }
.checklist-item details { padding: .85rem 1.1rem; background: var(--surface); border-top: 1px solid var(--line); }
.checklist-item summary { color: var(--violet); font-weight: 700; cursor: pointer; }
.contact-panel { margin-top: 2rem; padding: 1.6rem; background: var(--surface); border-radius: var(--radius); }
.meta { color: var(--ink-2); font-size: .8rem; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.button-link { padding: 0; color: var(--violet); background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.admin-shell { min-height: 70vh; background: var(--surface); }
.admin-grid { display: grid; grid-template-columns: 14rem 1fr; min-height: 70vh; }
.admin-nav { padding: 1.5rem; color: var(--white); background: var(--night); }
.admin-nav a { display: block; padding: .65rem; color: var(--on-dark); border-radius: .6rem; text-decoration: none; }
.admin-nav a:hover { background: rgba(255,255,255,.1); }
.admin-main { padding: 2rem; overflow-x: auto; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric { padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.metric strong { display: block; font-family: var(--display); font-size: 2rem; }
.table-wrap { margin-top: 1.5rem; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink-2); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }

/* Footer */
.site-footer { position: relative; padding: 5rem 0 2rem; overflow: hidden; color: var(--on-dark); background: var(--night); }
.site-footer::before { content: none; position: absolute; top: -12rem; right: -10rem; width: 36rem; height: 36rem; background: radial-gradient(circle, rgba(0,98,227,.35), transparent 65%); pointer-events: none; }
.site-footer > .container { position: relative; }
.footer-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; padding-bottom: 4rem; border-bottom: 1px solid var(--on-dark-line); }
.brand-footer { color: var(--white); }
.brand-footer .brand-word b { color: #84c4ff; }
.footer-intro h2 { max-width: 13ch; margin-top: 2rem; color: var(--white); font-size: clamp(2.4rem, 4.4vw, 4rem); }
.footer-intro > p { max-width: 35rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, .7fr) 1.4fr; gap: 2rem; padding-block: 3rem; }
.site-footer h3 { color: var(--white); font-family: var(--font); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a:not(.button):not(.brand) { display: block; margin: .5rem 0; color: var(--on-dark); font-size: .92rem; text-decoration: none; }
.site-footer a:not(.button):not(.brand):hover { color: var(--white); text-decoration: underline; }
.footer-action { padding: 1.75rem; background: var(--violet); border-radius: var(--radius-lg); color: var(--white); }
.footer-action .eyebrow { color: var(--white); }

.footer-legal { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--on-dark-line); font-size: .8rem; }
.footer-legal p:first-child { max-width: 55rem; }

@media (max-width: 1100px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + .5rem); right: 1rem; left: 1rem; display: none; max-height: calc(100vh - 6rem); padding: 1rem; overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 1.3rem; box-shadow: var(--shadow-lg); }
  .primary-nav[data-open] { display: block; }
  .nav-list { display: block; }
  .nav-link, .nav-group-label > a { display: block; flex: 1; padding: .8rem .6rem; font-size: 1rem; border-radius: .7rem; }
  .nav-group { border-bottom: 1px solid var(--line); }
  .nav-group-label button { min-width: 3rem; }
  .subnav { position: static; display: none; width: auto; padding: .3rem .4rem .8rem 1rem; visibility: visible; opacity: 1; transform: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav-group[data-open] .subnav { display: block; transform: none; }
  .nav-group:focus-within .subnav { visibility: visible; opacity: 1; }
  .nav-cta { width: 100%; margin-top: 1rem; }
  .lang-switch { width: 100%; justify-content: center; margin-top: 1rem; }
  .lang-switch .lang-full { display: inline; }
  .lang-switch .lang-short { display: none; }
  .home-hero-grid { gap: 2.25rem; }
  .paraguay-hero-grid { gap: 3rem; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .country-card:first-child { grid-row: auto; grid-column: 1 / -1; }
  .journey-five { grid-template-columns: repeat(3, 1fr); }
  .contact-hero-grid { gap: 3rem; }
}

@media (max-width: 820px) {
  .home-hero-grid, .residency-feature-grid, .services-editorial, .process-layout, .definition-grid, .residency-spotlight, .destination-feature, .paraguay-hero-grid, .scope-grid, .audience-grid, .featured-article, .contact-hero-grid, .country-hero-grid, .country-hero-featured .country-hero-grid, .country-introduction, .footer-intro, .split { grid-template-columns: 1fr; }
  .home-hero-copy h1 { max-width: 16ch; font-weight: 800; }
  .hero-product { min-height: 32rem; }
  .process-intro { position: static; }
  .step-cards { grid-template-columns: 1fr; }
  .step-cards li { min-height: auto; }
  .step-cards li > span { margin-bottom: 1.75rem; }
  .network-strip { grid-template-columns: 1fr; gap: .55rem; }
  .section-heading, .contact-cta-inner { display: block; }
  .section-heading > p, .section-heading > a, .contact-cta .actions { margin-top: 1.5rem; }
  .service-hero-grid, .balanced-grid { grid-template-columns: 1fr; }
  .service-hero-card { min-height: 24rem; }
  .service-primary { min-height: 24rem; }
  .journey, .journey-five { grid-template-columns: repeat(2, 1fr); }
  .fact-band > .container:first-child { grid-template-columns: 1fr 1fr; }
  .country-monogram { max-width: 20rem; }
  .country-hero-media { min-height: 26rem; border-radius: 1.5rem 1.5rem 0 0; }
  .country-hero-points { margin-top: 0; }
  .country-fact-strip .container { grid-template-columns: repeat(3, 1fr); }
  .country-fact-strip .container > div:nth-child(3) { border-right: 0; }
  .country-fact-strip .container > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .profile-grid, .document-rules { grid-template-columns: repeat(2, 1fr); }
  .state-grid { grid-template-columns: 1fr; }
  .article-grid { gap: 1rem; }
  .blog-preview .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-action { grid-column: 1 / -1; }
  .footer-legal { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-nav { display: flex; gap: .3rem; overflow-x: auto; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container, .narrow { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .home-page h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .section { padding-block: 4.25rem; }
  .brand-word { font-size: 1.35rem; }
  .brand-mark { width: 2.1rem; height: 2.1rem; }
  .home-hero { padding: 2.5rem 0 3.5rem; }
  .home-hero-copy h1 { font-size: clamp(2.6rem, 11.5vw, 3.3rem); }
  .home-hero-copy .lede { font-size: 1.05rem; }
  .hero-actions .button { width: 100%; }
  .hero-product { min-height: 30rem; margin-top: .5rem; }
  .hero-photo { inset: 0 0 9rem; transform: none; border-radius: 1.5rem; }
  .hero-sticker { top: -.75rem; right: -.25rem; }
  .floating-matches { left: .5rem; right: .5rem; width: auto; }
  .manifesto h2 { font-size: clamp(2rem, 9vw, 2.6rem) !important; }
  .feature-copy { padding: 2rem 1.4rem 2.5rem; }
  .services-editorial { display: flex; flex-direction: column; }
  .service-primary { min-height: 22rem; padding: 1.6rem; }
  .service-list a { grid-template-columns: 2.6rem 1fr auto; padding: 1rem; }
  .svc-icon { width: 2.6rem; height: 2.6rem; }
  .country-grid, .article-grid, .card-grid, .service-grid, .steps, .compare-grid { grid-template-columns: 1fr; }
  .country-card:first-child { grid-column: auto; }
  .blog-preview .article-grid { grid-template-columns: 1fr; }
  .country-card { padding: 1.4rem; min-height: auto; }
  .article-next .article-grid { max-width: none; }
  .journey, .journey-five { grid-template-columns: 1fr; }
  .journey li { min-height: auto; }
  .journey span { margin-bottom: 1.5rem; }
  .fact-band > .container:first-child { grid-template-columns: 1fr; }
  .scenario-list article { grid-template-columns: 2rem 1fr; }
  .service-directory > a { grid-template-columns: 2rem 1fr 1.2rem; padding: 1.1rem 1rem; }
  .service-directory p { font-size: .85rem; }
  .country-monogram { max-width: 15rem; }
  .country-hero-featured h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .country-hero-media { min-height: 20rem; }
  .country-hero-points, .country-fact-strip .container, .route-cards, .profile-grid, .document-rules { grid-template-columns: 1fr; }
  .country-hero-points > div, .country-hero-points > div:first-child { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--on-dark-line); }
  .country-hero-points > div:last-child { border-bottom: 0; }
  .country-fact-strip .container > div, .country-fact-strip .container > div:first-child { padding: 1rem 0; border-top: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-grid article { min-height: auto; }
  .profile-grid article > span { margin-bottom: 1.5rem; }
  .featured-article img { min-height: 16rem; }
  .form-grid.two { grid-template-columns: 1fr; gap: 0; }
  .form-heading { display: block; }
  .form-heading strong { display: block; margin-top: .3rem; }
  .inline-choices { display: grid; grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.2rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .button { flex: 1; }
  .checklist-row { grid-template-columns: auto 1fr; }
  .checklist-row .status { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-action { grid-column: auto; }
  .metric-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .wizard-actions, .contact-panel, [data-print], .contact-cta, .marquee { display: none !important; }
  body { background: #fff; }
  .wizard-shell { padding: 0; background: none; }
  .wizard-card { padding: 0; border: 0; box-shadow: none; }
  .checklist-item { break-inside: avoid; }
}
