:root {
  --bg: #FAF8F3;
  --bg-2: #F3EFE6;
  --surface: #FFFFFF;
  --ink: #0F2A33;
  --ink-2: #2B444C;
  --muted: #5F7176;
  --line: rgba(15, 42, 51, .10);

  --ocean: #0E6A78;
  --ocean-2: #1B8A9A;
  --ocean-soft: #DDF0EF;
  --leaf: #2F8F6B;
  --earth: #C98B3A;
  --clay: #B5653A;

  --grad: linear-gradient(120deg, #2F8F6B 0%, #0E7C86 50%, #C98B3A 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 51, .06);
  --shadow: 0 18px 40px -18px rgba(15, 42, 51, .25);
  --shadow-lg: 0 30px 70px -30px rgba(15, 42, 51, .35);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[data-lucide], svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; flex: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-head);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}

.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .95rem/1 var(--font-head);
  padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--leaf), var(--ocean));
  box-shadow: 0 10px 24px -10px rgba(14, 106, 120, .65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(14, 106, 120, .7); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ocean); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn--block { width: 100%; }


.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,42,51,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.bm { transform-origin: 20px 20px; animation: bmJoin 1.6s var(--ease) both; stroke: var(--bg); stroke-width: .8; }
.bm1 { fill: #2F8F6B; --x: 4px;  --y: -5px; }
.bm2 { fill: #0E7C86; --x: 6px;  --y: 3px;  animation-delay: .08s; }
.bm3 { fill: #C98B3A; --x: -2px; --y: 6px;  animation-delay: .16s; }
.bm4 { fill: #1F6F8B; --x: -6px; --y: -2px; animation-delay: .24s; }
@keyframes bmJoin {
  from { transform: translate(var(--x), var(--y)) rotate(-12deg) scale(.85); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.brand:hover .bm { animation: bmPulse 1.2s var(--ease); }
@keyframes bmPulse {
  40% { transform: translate(var(--x), var(--y)); }
  100% { transform: none; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font: 800 1.25rem/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.brand__text small { font: 500 .7rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 12px; font-weight: 500; font-size: .93rem; color: var(--ink-2);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }

.header__tools { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-left: 14px; }
.lang__btn { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font: 600 .74rem/1 var(--font-head); letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-radius: 999px; transition: color .3s; }
.lang__btn[aria-pressed="true"] { color: #fff; }
.lang__btn:focus-visible { outline: 2px solid var(--ocean-2); outline-offset: 1px; }
.lang__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: linear-gradient(120deg, var(--leaf), var(--ocean)); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--ease); }
main, .nav { transition: opacity .2s; }
body.is-switching main, body.is-switching .nav { opacity: .3; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 20px 0 76px;
  background: var(--bg);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2rem, min(4.6vw, 7.2svh), 3.8rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .4em; }
.hero__title .text-grad { display: block; }
.hero .eyebrow { margin-bottom: 14px; }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 34em; color: var(--muted); margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { color: var(--leaf); }

.hero__visual { position: relative; aspect-ratio: 1; max-width: min(560px, calc(100svh - var(--header-h) - 110px)); justify-self: center; width: 100%; }
.pangea-stage { width: 100%; height: 100%; }
.pangea-stage svg { width: 100%; height: 100%; overflow: visible; }
.hero__visual .pangea-stage { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-12px); } }

.pg-ripple { fill: none; stroke: var(--ocean-2); stroke-opacity: .16; stroke-width: 1.2; stroke-dasharray: 3 7; transform-origin: 250px 255px; animation: ripple 18s linear infinite; animation-delay: var(--d); }
.pg-ripple:nth-child(2) { animation-direction: reverse; animation-duration: 26s; }
@keyframes ripple { to { transform: rotate(360deg); } }
.pg-pulse { fill: none; stroke: var(--leaf); stroke-width: 3; opacity: 0; transform-origin: 250px 255px; }
.pg-pulse.go { animation: pulseRing 1.6s var(--ease) forwards; }
@keyframes pulseRing {
  0% { opacity: .7; transform: scale(.9); stroke-width: 6; }
  100% { opacity: 0; transform: scale(1.45); stroke-width: .5; }
}
.pg-seams polyline { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.pg-overlay { pointer-events: none; }
.pg-coast { stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-linejoin: round; }
.pg-plate { transition: filter .3s; }
.pg-label rect { fill: #fff; stroke: rgba(15,42,51,.08); filter: drop-shadow(0 6px 10px rgba(15,42,51,.15)); }
.pg-label text { font: 600 16px var(--font-head); fill: var(--ink); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(8px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  font: 600 .85rem/1 var(--font-head); color: var(--ink);
  opacity: 0; z-index: 2;
  translate: var(--ox, 0) var(--oy, 0);
  transition: border-color .4s, box-shadow .4s;
  animation: floatY 6s ease-in-out infinite;
}
.float-chip svg { color: var(--ocean); }
.chip--a { top: 19%; left: 13%; animation-delay: .2s; }
.chip--b { top: 33%; right: 8%; animation-delay: .9s; }
.chip--c { bottom: 30%; left: 9%; animation-delay: 1.6s; }
.float-chip.is-joined { border-color: rgba(47,143,107,.45); box-shadow: 0 0 0 5px rgba(47,143,107,.12), var(--shadow); }

.union-badge {
  position: absolute; left: 50%; top: 50.7%; z-index: 3;
  text-align: center; white-space: nowrap;
  background: linear-gradient(135deg, #E0A458 0%, #C98B3A 55%, #B5653A 100%);
  color: #fff; border-radius: 18px; padding: 14px 22px;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 8px rgba(201,139,58,.18), 0 20px 40px -16px rgba(120,60,20,.55);
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  animation: badgeFloat 7s ease-in-out infinite;
  pointer-events: none;
}
.union-badge.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.union-badge strong { display: block; font: 800 1.15rem/1.1 var(--font-head); color: #fff; letter-spacing: -.01em; }
.union-badge small { display: block; margin-top: 3px; color: rgba(255,255,255,.92); font-size: .8rem; font-weight: 500; }
@keyframes badgeFloat { 50% { translate: 0 -12px; } }

.scroll-hint { position: absolute; left: 50%; bottom: 18px; z-index: 2; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(15,42,51,.25); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ocean); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 600 1.05rem/1 var(--font-head); white-space: nowrap; letter-spacing: -.01em; }
.marquee__track b { color: var(--earth); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(48px, 6vw, 80px) 0; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; flex-wrap: wrap; }
.section__lead { color: var(--muted); font-size: 1.1rem; }

.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__copy > p { color: var(--muted); font-size: 1.05rem; }
.about__copy strong { color: var(--ink); }

.drift { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--ocean-soft), rgba(221,240,239,0) 70%); }
.drift::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(14,106,120,.22); animation: ripple 40s linear infinite; }
.drift__piece { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; margin: -17% 0 0 -17%;
  border-radius: 42% 58% 61% 39% / 45% 41% 59% 55%; box-shadow: var(--shadow); animation: driftJoin 7s var(--ease) infinite; }
.drift__piece--1 { background: linear-gradient(135deg, #6CC59A, #2F8F6B); --sx: -95%; --sy: -70%; --r: -30deg; }
.drift__piece--2 { background: linear-gradient(135deg, #EBBE77, #C98B3A); --sx: 95%; --sy: -40%; --r: 25deg; animation-delay: .15s; border-radius: 58% 42% 39% 61% / 55% 59% 41% 45%; }
.drift__piece--3 { background: linear-gradient(135deg, #5EA9C7, #1F6F8B); --sx: 0%; --sy: 105%; --r: 40deg; animation-delay: .3s; border-radius: 50% 50% 38% 62% / 62% 44% 56% 38%; }
@keyframes driftJoin {
  0%, 12% { transform: translate(var(--sx), var(--sy)) rotate(var(--r)); opacity: 1; }
  48%, 78% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 0; }
  100% { transform: translate(var(--sx), var(--sy)) rotate(var(--r)); opacity: 1; }
}
.drift__core { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: linear-gradient(135deg, #2F8F6B, #0E7C86 55%, #1F5F78);
  display: grid; place-content: center; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
  animation: coreForm 7s var(--ease) infinite; }
.drift__core span { font: 800 3.4rem/1 var(--font-head); }
.drift__core small { font: 500 .8rem/1.3 var(--font-body); opacity: .9; max-width: 9em; }
@keyframes coreForm {
  0%, 30% { transform: scale(.3); opacity: 0; }
  45% { transform: scale(1.08); opacity: 1; }
  52%, 80% { transform: scale(1); opacity: 1; }
  92%, 100% { transform: scale(.3); opacity: 0; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 26px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }
.value__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ocean-soft); color: var(--ocean); }

.story { position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.story__sticky { position: sticky; top: var(--header-h); padding: 28px 0; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.story__steps { list-style: none; padding: 0; margin: 20px 0 20px; display: grid; gap: 8px; }
.story__steps li { display: flex; gap: 18px; padding: 16px 18px; border-radius: var(--radius); opacity: .38; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .5s, box-shadow .5s; }
.story__steps li.is-active { opacity: 1; transform: none; background: var(--surface); box-shadow: var(--shadow); }
.story__steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.story__steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.story__num { font: 700 .85rem/1 var(--font-head); color: var(--ocean); padding-top: 5px; }
.story__progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; max-width: 380px; }
.story__progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.story__visual { width: 100%; max-width: min(600px, calc(100vh - var(--header-h) - 60px)); aspect-ratio: 1; justify-self: center; }
.pangea-stage--story { height: 100%; }

.services { background: var(--surface); position: relative; overflow-x: clip; }

.merge-line { display: flex; align-items: center; justify-content: center; max-width: 420px; margin: -10px auto 32px; }
.merge-line span { height: 2px; flex: 1; background: var(--grad); transform: scaleX(0); transition: transform 1.1s var(--ease); }
.merge-line span:first-child { transform-origin: left; }
.merge-line span:last-child { transform-origin: right; }
.merge-line i { width: 14px; height: 14px; border-radius: 50%; background: var(--leaf); transform: scale(0); transition: transform .6s var(--ease) 1s; box-shadow: 0 0 0 6px rgba(47,143,107,.15); }
.merge-line.in span { transform: scaleX(1); }
.merge-line.in i { transform: scale(1); }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s;
}
.card::before {
  content: ''; position: absolute; top: 50%; right: -9px; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: inherit; border: 1px solid var(--line); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(45deg); opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(14,106,120,.25); background: #fff; }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.card p { font-size: .92rem; color: var(--muted); flex: 1; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--leaf), var(--ocean)); box-shadow: 0 10px 20px -10px rgba(14,106,120,.7);
  transition: transform .5s var(--ease); }
.card:nth-child(3n+2) .card__icon { background: linear-gradient(135deg, #EBBE77, var(--earth)); box-shadow: 0 10px 20px -10px rgba(201,139,58,.7); }
.card:nth-child(3n+3) .card__icon { background: linear-gradient(135deg, #5EA9C7, #1F6F8B); box-shadow: 0 10px 20px -10px rgba(31,111,139,.7); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card__icon svg { width: 22px; height: 22px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; font: 600 .88rem/1 var(--font-head); color: var(--ocean); margin-top: 6px; }
.card__link svg { transition: transform .3s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

.consular {
  position: relative; overflow: hidden; color: rgba(255,255,255,.82);
  background: radial-gradient(900px 420px at 85% 0%, rgba(72,181,189,.18), transparent 60%), linear-gradient(160deg, #0F2A33 0%, #0E4552 60%, #0E5A6B 100%);
}
.consular .eyebrow { color: #8ED6CF; }
.consular .section__title { color: #fff; }
.consular .section__lead { color: rgba(255,255,255,.75); margin-bottom: 26px; }
.consular .text-grad { background-image: linear-gradient(120deg, #8ED6CF 0%, #6CC59A 45%, #EBBE77 100%); }
.consular__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: 40px; }

.bridge { position: relative; }
.bridge svg { width: 100%; height: auto; overflow: visible; }
.bridge__track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-dasharray: 4 8; }
.bridge__line { fill: none; stroke: url(#bridgeGrad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.bridge.in .bridge__line { stroke-dashoffset: 0; }
.bridge__runner { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); opacity: 0; transition: opacity .6s 2s; }
.bridge__runner--back { fill: #EBBE77; filter: drop-shadow(0 0 6px rgba(235,190,119,.9)); }
.bridge.in .bridge__runner { opacity: 1; }
.bridge__node circle { stroke: rgba(255,255,255,.9); stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s; }
.bridge__node--br circle { fill: #2F8F6B; }
.bridge__node--us circle { fill: #1F6F8B; transition-delay: .2s; }
.bridge__node text { font: 800 20px var(--font-head); fill: #fff; text-anchor: middle; opacity: 0; transition: opacity .5s .5s; }
.bridge.in .bridge__node circle { transform: scale(1); opacity: 1; }
.bridge.in .bridge__node text { opacity: 1; }
.bridge.in .bridge__node circle { animation: nodePulse 3.2s ease-in-out 2s infinite; }
.bridge.in .bridge__node--us circle { animation-delay: 3.6s; }
@keyframes nodePulse { 0%, 100% { stroke-width: 3; } 50% { stroke-width: 8; stroke: rgba(255,255,255,.35); } }
.bridge__labels { display: flex; justify-content: space-between; align-items: center; margin-top: -2px; padding: 0 4%; font: 600 .9rem/1 var(--font-head); color: rgba(255,255,255,.85); }
.bridge__labels span { min-width: 22%; text-align: center; }
.bridge__hub { opacity: 0; transform: translateY(8px); transition: opacity .6s 1.4s, transform .6s var(--ease) 1.4s; }
.bridge.in .bridge__hub { opacity: 1; transform: none; }
.bridge__hub rect { fill: #C98B3A; stroke: rgba(255,255,255,.9); stroke-width: 2; }
.bridge__hub text { font: 700 15px var(--font-head); fill: #fff; text-anchor: middle; }

.consular__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cservice { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 20px; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.cservice:hover { background: rgba(255,255,255,.1); border-color: rgba(142,214,207,.45); transform: translateY(-5px); }
.cservice h3 { color: #fff; font-size: 1.02rem; margin: 14px 0 6px; }
.cservice p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.7); }
.cservice__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #0F2A33; background: linear-gradient(135deg, #8ED6CF, #6CC59A); }
.cservice:nth-child(even) .cservice__icon { background: linear-gradient(135deg, #F3D19B, #EBBE77); }
.cservice__icon svg { width: 21px; height: 21px; }
.consular__more { margin: 26px 0 0; text-align: center; color: rgba(255,255,255,.7); font-weight: 500; }

.piece { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 40px)) rotate(var(--fr, 0deg)) scale(.94); }
.piece.in { animation: snap .9s var(--ease) forwards; animation-delay: var(--delay, 0s); }
@keyframes snap {
  0% { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 40px)) rotate(var(--fr, 0deg)) scale(.94); }
  70% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1.015); }
  100% { opacity: 1; transform: none; }
}

.process { background: var(--bg); }
.process__track { position: relative; }
.process__line { position: absolute; left: 12.5%; right: 12.5%; top: 18px; width: 75%; height: 40px; overflow: visible; }
.process__line path { fill: none; stroke: var(--ocean-2); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 8px; }
.step__dot { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--surface); color: var(--ocean); border: 2px solid var(--line); box-shadow: var(--shadow-sm);
  transform: scale(.6); opacity: .4; transition: transform .7s var(--ease), opacity .5s, background .5s, color .5s, border-color .5s; }
.step__dot svg { width: 28px; height: 28px; }
.step.on .step__dot { transform: scale(1); opacity: 1; background: linear-gradient(135deg, var(--leaf), var(--ocean)); color: #fff; border-color: transparent; box-shadow: 0 0 0 8px rgba(47,143,107,.12), var(--shadow); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }

.cta { padding: 8px 0 clamp(48px, 6vw, 80px); }
.cta__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
  background: linear-gradient(130deg, #0F2A33 0%, #0E5A6B 55%, #2F8F6B 120%); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta__inner::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 130px rgba(255,255,255,.02); }
.cta__copy h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta__copy p { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 32em; margin-bottom: 28px; }

.venn { position: relative; height: 230px; max-width: 380px; width: 100%; margin: 0 auto; }
.venn__circle { position: absolute; top: 15px; width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1rem/1.2 var(--font-head); text-align: center; transition: transform 1.4s var(--ease); mix-blend-mode: screen; }
.venn__circle span { max-width: 6em; transition: opacity .6s; }
.venn__circle--you { left: 50%; margin-left: -100px; background: rgba(201,139,58,.75); transform: translateX(-120px); }
.venn__circle--us { left: 50%; margin-left: -100px; background: rgba(27,138,154,.85); transform: translateX(120px); }
.venn__circle--you span { transform: translateX(-30px); }
.venn__circle--us span { transform: translateX(30px); }
.venn.in .venn__circle--you { transform: translateX(-55px); }
.venn.in .venn__circle--us { transform: translateX(55px); }
.venn__spark { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--leaf);
  display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .7s var(--ease) 1.2s; box-shadow: 0 0 0 10px rgba(255,255,255,.15); }
.venn__spark svg { width: 26px; height: 26px; stroke-width: 3; }
.venn.in .venn__spark { transform: scale(1) rotate(0); }

.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.contact__list li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ocean-soft); color: var(--ocean); flex: none; }
.contact__list small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a, .contact__list p { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact__list a:hover { color: var(--ocean); }

.form { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font: 600 .88rem/1.2 var(--font-head); color: var(--ink); }
.form input, .form textarea {
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ocean-2); background: #fff; box-shadow: 0 0 0 4px rgba(27,138,154,.14); }
.form .is-invalid { border-color: #C2513A; box-shadow: 0 0 0 4px rgba(194,81,58,.12); }
.form__status { margin: 0; min-height: 1.4em; font-size: .92rem; font-weight: 500; text-align: center; }
.form__status.ok { color: var(--leaf); }
.form__status.err { color: #C2513A; }

.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.6); }
.brand--footer .bm { stroke: var(--ink); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a:hover, .footer__social a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); transition: background .2s, color .2s; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.footer__bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

.nav a, .brand__text strong, .brand__text small { white-space: nowrap; }
@media (max-width: 1280px) {
  .nav a:not(.btn) { padding: 10px 9px; font-size: .9rem; }
  .nav__cta { margin-left: 6px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .header__tools { margin-left: auto; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .hero__grid, .about__grid, .contact__grid, .cta__inner { grid-template-columns: 1fr; }
  .hero { align-items: flex-start; padding: 12px 0 72px; }
  .hero__grid { gap: 8px; }
  .hero__visual { max-width: min(400px, 36svh); order: -1; }
  .hero__lead { margin-bottom: 18px; }
  .hero__actions { margin-bottom: 16px; }
  .about__visual { max-width: 360px; margin: 0 auto; width: 100%; }
  .values { grid-template-columns: 1fr; }

  .story { --story-scroll: .5; }
  .story__sticky { padding: 16px 0; }
  .lang { margin-left: 0; }
  .lang__btn { padding: 8px 8px; }
  .story__grid { grid-template-columns: 1fr; gap: 10px; }
  .story__visual { order: -1; max-width: 340px; max-height: 42vh; }
  .story__copy .section__title { font-size: 1.6rem; margin-bottom: 0; }
  .story__copy .eyebrow { display: none; }
  .story__steps { margin: 14px 0; gap: 4px; }
  .story__steps li { padding: 10px 12px; }
  .story__steps li:not(.is-active) { display: none; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .consular__top { grid-template-columns: 1fr; margin-bottom: 28px; }
  .bridge { max-width: 460px; margin: 0 auto; width: 100%; }
  .consular__grid { grid-template-columns: repeat(2, 1fr); }
  .process__line { display: none; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text strong { font-size: 1.1rem; }
  .brand__text small { font-size: .56rem; letter-spacing: .1em; white-space: nowrap; }
  .lang__btn { padding: 7px 7px; font-size: .7rem; }
  .header__tools { gap: 2px; }
  .union-badge { padding: 7px 12px; border-radius: 12px; box-shadow: 0 0 0 5px rgba(201,139,58,.18), 0 12px 24px -12px rgba(120,60,20,.55); }
  .union-badge strong { font-size: .85rem; }
  .union-badge small { font-size: .64rem; margin-top: 1px; }
  .services__grid { grid-template-columns: 1fr; }
  .consular__grid { grid-template-columns: 1fr; gap: 12px; }
  .process__steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding: 8px 0 64px; }
  .hero__visual { max-width: min(260px, 24svh); }
  .float-chip, .hero__badges { display: none; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .08em; margin-bottom: 10px; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .hero__lead { font-size: .95rem; line-height: 1.55; margin-bottom: 16px; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-bottom: 0; }
  .hero__actions .btn--lg { flex: 1 1 auto; padding: 14px 14px; font-size: .88rem; }
  .scroll-hint { bottom: 14px; }
  .venn { transform: scale(.82); }
  .section__head--row { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .piece, .float-chip { opacity: 1 !important; transform: none !important; translate: none !important; }
  .story { height: auto !important; }
  .story__sticky { position: relative; padding: 48px 0; }
  .story__steps li { opacity: 1; transform: none; display: flex !important; }
}

@media (min-width: 961px) {
  .section--screen {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex; align-items: center;
    padding: clamp(10px, 2svh, 40px) 0;
  }
  .section--screen > .container { width: min(1200px, 100% - 40px); }
  .section--screen .section__title { font-size: clamp(1.7rem, min(3vw, 5.4svh), 2.6rem); }
  .section--screen .eyebrow { margin-bottom: 12px; }
  .section--screen .section__head { margin-bottom: clamp(16px, 3svh, 32px); }

  .about__grid { gap: clamp(32px, 5vw, 70px); }
  .drift { max-width: min(400px, 58svh); }
  .about__copy > p { font-size: .96rem; line-height: 1.55; margin-bottom: .7em; }
  .values { gap: 12px; margin: 16px 0 20px; }
  .value { padding: 14px 16px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; }
  .value__icon { width: 34px; height: 34px; border-radius: 10px; }
  .value h3 { margin: 0; font-size: 1rem; }
  .value p { grid-column: 1 / -1; margin-top: 8px; font-size: .86rem; line-height: 1.5; }

  .consular__top { margin-bottom: clamp(18px, 3svh, 30px); gap: clamp(24px, 4vw, 60px); }
  .consular .section__lead { font-size: 1rem; margin-bottom: 18px; }
  .bridge { max-width: min(460px, 52svh); justify-self: center; width: 100%; }
  .consular__grid { gap: 12px; }
  .cservice { padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; }
  .cservice__icon { width: 36px; height: 36px; border-radius: 10px; }
  .cservice__icon svg { width: 18px; height: 18px; }
  .cservice h3 { margin: 0; font-size: .95rem; line-height: 1.25; }
  .cservice p { grid-column: 1 / -1; margin-top: 6px; font-size: .84rem; line-height: 1.45; }
  .consular__more { margin-top: clamp(12px, 2.4svh, 22px); }

  .step__dot { width: 68px; height: 68px; margin-bottom: 14px; }

  .contact__grid { align-items: center; }
  .contact__info > p { margin-bottom: 0; }
  .contact__list { margin-top: 18px; gap: 10px; }
  .contact__list li { padding: 10px 14px; }
  .contact__list li > span { width: 38px; height: 38px; }
  .form { gap: 14px; padding: clamp(20px, 3svh, 32px); }
  .form input, .form textarea { padding: 11px 14px; }
}

:root {
  /* ===== Pangea brand palette (official) ===== */
  --navy: #052638;       /* Deep Navy — trust, stability */
  --teal: #006B70;       /* Petroleum Teal — modernity, growth */
  --gold: #C99B36;       /* Premium Gold — excellence */
  --ivory: #F5F1EB;      /* Ivory White — clarity, elegance */

  --navy-2: #0B3A52;
  --teal-2: #0A8A8F;
  --teal-3: #3FB3AE;
  --gold-2: #E2C276;
  --gold-text: #8A6516;  /* gold for small text on light backgrounds (AA contrast) */
  --teal-soft: #DCEBEA;
  --gold-soft: #F3E9D2;
  --navy-soft: #DFE6EB;

  --bg: var(--ivory);
  --bg-2: #ECE6DB;
  --surface: #FFFFFF;
  --ink: var(--navy);
  --ink-2: #1D3B4C;
  --muted: #55676F;
  --line: rgba(5, 38, 56, .11);

  --ocean: var(--teal);
  --ocean-2: var(--teal-2);
  --ocean-soft: var(--teal-soft);
  --leaf: var(--teal);
  --earth: var(--gold);

  --grad: linear-gradient(120deg, #006B70 0%, #0B4F63 45%, #C99B36 100%);
  --grad-teal: linear-gradient(120deg, #0A8A8F 0%, #006B70 50%, #0B4F63 100%);
  --grad-gold: linear-gradient(135deg, #E2C276 0%, #C99B36 55%, #A97F24 100%);
  --shadow-sm: 0 2px 8px rgba(5, 38, 56, .06);
  --shadow: 0 18px 40px -18px rgba(5, 38, 56, .28);
  --shadow-lg: 0 30px 70px -30px rgba(5, 38, 56, .4);
}

body { background: var(--bg); }
.header { background: rgba(245, 241, 235, .8); }
.header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(5,38,56,.45); }

/* brand mark */
.bm1 { fill: var(--teal); }
.bm2 { fill: var(--navy); }
.bm3 { fill: var(--gold); }
.bm4 { fill: var(--teal-2); }
.brand--footer .bm2 { fill: #2A5873; }

/* buttons */
.btn--primary { background: var(--grad-teal); box-shadow: 0 10px 24px -10px rgba(0,107,112,.6); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgba(0,107,112,.7); }
.btn--ghost { background: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light svg { color: var(--gold); }
.lang__pill { background: var(--grad-teal); }

.eyebrow { color: var(--teal); }
.eyebrow::before { background: var(--gold); }

/* hero */
.hero__badges svg { color: var(--gold); }
.chip--a svg { color: var(--teal); }
.chip--b svg { color: var(--navy); }
.chip--c svg { color: var(--gold); }
.float-chip.is-joined { border-color: rgba(201,155,54,.55); box-shadow: 0 0 0 5px rgba(201,155,54,.14), var(--shadow); }
.union-badge { background: linear-gradient(135deg, #0B3A52 0%, #052638 100%); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(201,155,54,.18), 0 20px 40px -16px rgba(5,38,56,.6); }
.union-badge strong { color: var(--gold-2); }
.pg-pulse { stroke: var(--gold); }
.scroll-hint { border-color: rgba(5,38,56,.25); }
.scroll-hint span { background: var(--gold); }

.marquee { background: var(--navy); }
.marquee::before { background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee__track b { color: var(--gold); }

/* about */
.drift { background: radial-gradient(circle at 50% 45%, var(--teal-soft), rgba(220,235,234,0) 70%); }
.drift::before { border-color: rgba(0,107,112,.25); }
.drift__piece--1 { background: linear-gradient(135deg, #3FA5A3, #006B70); }
.drift__piece--2 { background: linear-gradient(135deg, #E6C77E, #C99B36); }
.drift__piece--3 { background: linear-gradient(135deg, #2A5873, #052638); }
.drift__core { background: linear-gradient(135deg, #006B70 0%, #0B4F63 55%, #052638 100%); }
.drift__core span { color: var(--gold-2); }
.value:nth-child(n) .value__icon { background: var(--teal-soft); color: var(--teal); }
.value:nth-child(2) .value__icon { background: var(--navy-soft); color: var(--navy); }
.value:nth-child(3) .value__icon { background: var(--gold-soft); color: var(--gold-text); }

/* story */
.story { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.story__num { color: var(--gold-text); }
.story__steps li.is-active { box-shadow: inset 4px 0 0 var(--gold), var(--shadow); }

/* services — grouped categories */
.merge-line i { background: var(--gold); box-shadow: 0 0 0 6px rgba(201,155,54,.18); }
.card { padding: 24px 22px 22px; }
.card:hover { border-color: rgba(0,107,112,.3); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__num { font: 800 1.6rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.2px rgba(201,155,54,.8); letter-spacing: -.02em; }
.card:nth-child(n) .card__icon { background: var(--grad-teal); box-shadow: 0 10px 20px -10px rgba(0,107,112,.7); }
.card:nth-child(3n+2) .card__icon { background: linear-gradient(135deg, #2A5873, #052638); box-shadow: 0 10px 20px -10px rgba(5,38,56,.7); }
.card:nth-child(3n+3) .card__icon { background: var(--grad-gold); box-shadow: 0 10px 20px -10px rgba(201,155,54,.7); }
.card h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.card > p { flex: 0 0 auto; margin-bottom: 12px; }
.card__list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; flex: 1; align-content: start; }
.card__list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.card__list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.card > .card__note { flex: 0 0 auto; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-text); font-size: .82rem; line-height: 1.45; }
.card--cta, .card--cta:hover { background: linear-gradient(150deg, #0B3A52 0%, #052638 70%); border-color: transparent; color: rgba(255,255,255,.8); justify-content: center; }
.card--cta::before { display: none; }
.card--cta h3 { color: #fff; font-size: 1.3rem; }
.card--cta > p { color: rgba(255,255,255,.78); margin-bottom: 20px; }
.card.card--cta .card__icon { background: var(--grad-gold); }
.card--cta .btn { align-self: flex-start; }
.services__also { margin: 28px 0 0; text-align: center; color: var(--muted); font-weight: 500; }
.services__also a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--teal); font-family: var(--font-head); font-weight: 600; }
.services__also a:hover { color: var(--navy); }

/* why pangea */
.why { background: var(--bg); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease); }
.why__card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why__card.in:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why__card:hover::after { transform: scaleX(1); }
.why__card h3 { font-size: 1.08rem; margin: 16px 0 6px; }
.why__card p { margin: 0; font-size: .92rem; color: var(--muted); }
.why__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); }
.why__card:nth-child(2) .why__icon, .why__card:nth-child(4) .why__icon { background: var(--gold-soft); color: var(--gold-text); }
.why__card:nth-child(3) .why__icon { background: var(--navy-soft); color: var(--navy); }
.why__icon svg { width: 22px; height: 22px; }
.who { margin-top: 30px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; }
.who__title { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.who__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.who__list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 .86rem/1.2 var(--font-head); color: var(--ink); }
.who__list svg { color: var(--teal); }

/* founder (hidden until the photo is ready) */
.founder[hidden] { display: none; }
.founder { background: var(--surface); }
.founder__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder__photo { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.founder__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); border: 2px solid var(--gold); }
.founder__photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-2); }
.founder__role { font: 600 .95rem/1.3 var(--font-head); color: var(--gold-text); margin-top: -6px; }
.founder__copy > p { color: var(--muted); }
.founder__creds { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.founder__creds li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.founder__creds svg { color: var(--teal); }

/* business journey (5 steps) */
.process { background: var(--surface); }
.process__line { left: 10%; right: 10%; width: 80%; }
.process__steps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process__line path { stroke: url(#processGrad); }
.step.on .step__dot { background: var(--grad-teal); box-shadow: 0 0 0 8px rgba(0,107,112,.12), var(--shadow); }
.step:nth-child(2).on .step__dot, .step:nth-child(4).on .step__dot { background: linear-gradient(135deg, #2A5873, #052638); box-shadow: 0 0 0 8px rgba(5,38,56,.1), var(--shadow); }
.step:nth-child(5).on .step__dot { background: var(--grad-gold); box-shadow: 0 0 0 8px rgba(201,155,54,.16), var(--shadow); }

/* brazilian consular */
.consular { background: radial-gradient(900px 420px at 85% 0%, rgba(201,155,54,.14), transparent 60%), linear-gradient(160deg, #052638 0%, #08344A 55%, #00575B 110%); }
.consular .eyebrow { color: var(--gold-2); }
.consular .eyebrow::before { background: var(--gold-2); }
.consular .text-grad { background-image: linear-gradient(120deg, #7FD0CB 0%, #E2C276 100%); }
.bridge__node--br circle { fill: var(--teal); }
.bridge__node--us circle { fill: #0B3A52; }
.bridge__runner--back { fill: var(--gold-2); filter: drop-shadow(0 0 6px rgba(226,194,118,.9)); }
.bridge__hub rect { fill: var(--gold); }
.cservice:nth-child(n) .cservice__icon { background: linear-gradient(135deg, #7FD0CB, #3FA5A3); color: var(--navy); }
.cservice:nth-child(even) .cservice__icon { background: linear-gradient(135deg, #F0DBA4, #E2C276); }
.cservice:hover { border-color: rgba(226,194,118,.45); }
.consular__more { font-size: .86rem; color: rgba(255,255,255,.6); font-weight: 400; max-width: 46em; margin-inline: auto; }

/* cta */
.cta { background: var(--bg); padding-top: clamp(40px, 5vw, 64px); }
.cta__inner { background: linear-gradient(130deg, #052638 0%, #0B3A52 55%, #006B70 120%); }
.cta__inner::after { border-color: rgba(201,155,54,.25); }
.venn__circle--you { background: rgba(201,155,54,.8); }
.venn__circle--us { background: rgba(0,138,143,.85); }
.venn__spark { color: var(--teal); }

/* contact / booking */
.contact__steps { list-style: none; counter-reset: st; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.contact__steps li { counter-increment: st; display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.contact__steps li::before { content: counter(st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font: 700 .8rem/1 var(--font-head); flex: none; }
.contact__list li:nth-child(n) > span { background: var(--teal-soft); color: var(--teal); }
.contact__list li:nth-child(2) > span { background: var(--gold-soft); color: var(--gold-text); }
.contact__list li:nth-child(3) > span { background: var(--navy-soft); color: var(--navy); }
.form select {
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); width: 100%;
  padding: 14px 40px 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background-color: var(--bg);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23006B70' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(0,107,112,.14); }
.form__privacy { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.form__privacy svg { color: var(--gold-text); margin-top: 2px; }
.form__status.ok { color: var(--teal); }

/* footer */
.footer { background: var(--navy); }
.brand--footer .bm { stroke: var(--navy); }
.footer__tagline { margin: 0; font: 600 1rem/1.3 var(--font-head); color: rgba(255,255,255,.85); }
.footer__tagline em { font-style: normal; color: var(--gold-2); }
.footer__legal { padding-top: 22px; }
.footer__legal p { margin: 0; font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 70em; }

@media (min-width: 961px) {
  .about__copy > p { font-size: .94rem; }
  .why__card { padding: 22px 20px; }
  .contact__steps { margin-top: 14px; }
  .form select { padding: 11px 40px 11px 14px; }
}
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { max-width: 300px; }
}
@media (max-width: 600px) {
  .why__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .who, .who__list { justify-content: flex-start; }
}

/* ===== Official logo ===== */
.brand__mark { width: auto; height: 46px; flex: none; }
.brand__mark img { height: 100%; width: auto; animation: markIn 1.1s var(--ease) both; transition: transform .5s var(--ease); }
.brand:hover .brand__mark img { transform: rotate(-4deg) scale(1.05); }
@keyframes markIn { from { opacity: 0; transform: scale(.85) rotate(-8deg); } to { opacity: 1; transform: none; } }
.brand--footer .brand__mark { height: 54px; padding: 6px 8px; border-radius: 14px; background: var(--ivory); box-sizing: content-box; }

.about__logo { position: relative; max-width: 460px; margin: 0 auto; padding: clamp(18px, 3vw, 36px); }
.about__logo::before { content: ''; position: absolute; inset: 4% 2%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(0,107,112,.13), rgba(201,155,54,.08) 45%, transparent 70%); }
.about__logo img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(5,38,56,.14)); }

/* ===== Founder ===== */
.founder { background: var(--surface); }
.founder__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.founder__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.founder__photo { position: relative; aspect-ratio: 4 / 5; max-width: 400px; margin: 0 auto; }
.founder__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); border: 2px solid var(--gold); }
.founder__photo img, .founder__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.founder__photo img { object-fit: cover; object-position: center 20%; }
.founder__placeholder { display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(201,155,54,.25), transparent 55%), linear-gradient(150deg, #0B3A52 0%, #052638 60%, #00575B 130%); }
.founder__placeholder span { font: 800 clamp(3rem, 7vw, 5rem)/1 var(--font-head); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px var(--gold-2); }
.founder__photo.has-photo .founder__placeholder { display: none; }

.founder__stats { list-style: none; padding: 0; margin: 40px auto 0; max-width: 400px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.founder__stats li { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; }
.founder__stats strong { display: block; font: 800 1.35rem/1.1 var(--font-head); color: var(--teal); }
.founder__stats span { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.35; color: var(--muted); }

.founder__role { font: 600 .95rem/1.3 var(--font-head); color: var(--gold-text); margin: -4px 0 16px; letter-spacing: .02em; }
.founder__copy > p { color: var(--muted); font-size: 1.02rem; }
.founder__block { margin-top: 22px; }
.founder__block h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.founder__creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.founder__creds li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.founder__creds svg { color: var(--gold); }
.founder__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.founder__tags li { padding: 7px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--navy); font: 600 .8rem/1.2 var(--font-head); }
.founder__tags li:nth-child(3n+2) { background: var(--gold-soft); }
.founder__tags li:nth-child(3n+3) { background: var(--navy-soft); }

.founder__story { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.founder__story summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; font: 600 .98rem/1.2 var(--font-head); color: var(--ink); }
.founder__story summary::-webkit-details-marker { display: none; }
.founder__story summary svg { color: var(--gold); transition: transform .35s var(--ease); }
.founder__story[open] summary svg { transform: rotate(180deg); }
.founder__story summary:hover { color: var(--teal); }
.founder__story-body { padding: 0 20px 18px; }
.founder__story-body h4 { font: 700 1rem/1.3 var(--font-head); color: var(--navy); margin: 14px 0 6px; }
.founder__story-body p { color: var(--muted); font-size: .95rem; margin: 0; }

.founder__credo { margin: 26px 0 0; padding: 18px 22px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(120deg, #052638, #0B3A52); color: rgba(255,255,255,.88); font: 500 1.02rem/1.6 var(--font-head); }
.founder__credo em { font-style: normal; color: var(--gold-2); }

@media (max-width: 960px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__aside { position: static; }
  .founder__photo { max-width: 300px; }
  .about__logo { max-width: 340px; }
}
@media (max-width: 600px) {
  .brand__mark { height: 38px; }
  .founder__stats { gap: 6px; }
  .founder__stats strong { font-size: 1.1rem; }
}

/* ===== Custom select (brand dropdown) ===== */
.cselect { position: relative; font-family: var(--font-body); }
.cselect select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cselect__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; min-height: 52px; text-align: left; cursor: pointer;
  font: 500 1rem/1.3 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.cselect__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect.is-placeholder .cselect__value { color: var(--muted); font-weight: 400; }
.cselect__chev {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--teal-soft); color: var(--teal);
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.cselect__btn:hover { border-color: rgba(0,107,112,.35); background-color: #fff; }
.cselect__btn:focus-visible, .cselect.is-open .cselect__btn {
  outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(0,107,112,.14);
}
.cselect.is-open .cselect__chev { transform: rotate(180deg); background: var(--navy); color: var(--gold-2); }
.cselect.is-invalid .cselect__btn { border-color: #C2513A; box-shadow: 0 0 0 4px rgba(194,81,58,.12); }

.cselect__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none;
  max-height: 290px; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(5,38,56,.35), 0 2px 6px rgba(5,38,56,.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  scrollbar-width: thin; scrollbar-color: var(--teal-soft) transparent;
}
.cselect__list::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 2px; background: var(--grad); opacity: .7; }
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
.cselect__list:focus { outline: none; }
.cselect__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  font: 500 .95rem/1.3 var(--font-body); color: var(--ink-2);
  transition: background .15s, color .15s;
}
.cselect__list li.is-active { background: var(--teal-soft); color: var(--navy); }
.cselect__list li[aria-selected="true"] { color: var(--teal); font-weight: 600; }
.cselect__check { flex: none; color: var(--gold); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.cselect__list li[aria-selected="true"] .cselect__check { opacity: 1; transform: none; }

@media (min-width: 961px) {
  .cselect__btn { min-height: 46px; padding: 7px 8px 7px 14px; }
  .cselect__chev { width: 28px; height: 28px; }
}
.cselect__list li, .cselect__list li * { transition-property: background-color, color, opacity, transform; }
.cselect__list { right: auto; min-width: 100%; width: max-content; max-width: min(380px, calc(100vw - 48px)); }

/* ===== Hero: 50 states → P ===== */
.statesp-svg { width: 100%; height: 100%; overflow: visible; }
.sp-ripple { fill: none; stroke: var(--teal-2); stroke-opacity: .16; stroke-width: 1.2; stroke-dasharray: 3 7; transform-box: fill-box; transform-origin: center; animation: ripple 18s linear infinite; animation-delay: var(--d); }
.sp-ripple:nth-child(2) { animation-direction: reverse; animation-duration: 26s; }
.sp-pulse { fill: none; stroke: var(--gold); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sp-pulse.go { animation: pulseRing 1.6s var(--ease) forwards; }
.sp-state { cursor: default; }
.sp-emblem { filter: drop-shadow(0 18px 26px rgba(5,38,56,.22)); }
.hero .union-badge { top: auto; bottom: -2%; transform: translate(-50%, 0) scale(.6); }
.hero .union-badge.is-on { transform: translate(-50%, 0) scale(1); }
.chip--a { top: 12%; left: 2%; }
.chip--b { top: 30%; right: 0; }
.chip--c { bottom: 24%; left: 0; }

/* ===== About: mission/vision + values signature ===== */
.values { grid-template-columns: repeat(2, 1fr); }
.signature {
  position: relative; margin: 4px 0 26px; padding: 18px 24px 18px 26px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #052638 0%, #0B3A52 60%, #00575B 130%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.signature::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-gold); }
.signature::after { content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(226,194,118,.22); box-shadow: 0 0 0 26px rgba(226,194,118,.05); }
.signature__label { display: block; font: 600 .72rem/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.signature__words { position: relative; z-index: 1; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  font: 600 clamp(1rem, 1.35vw, 1.15rem)/1.4 var(--font-head); letter-spacing: .01em; color: #fff; }
.signature__words i { font-style: normal; font-size: .55em; color: var(--gold); }
@media (max-width: 600px) {
  .values { grid-template-columns: 1fr; }
  .signature { padding: 16px 18px 16px 22px; }
}

.hero .union-badge { bottom: -7%; }
.signature__words { font-size: clamp(.92rem, 1.15vw, 1.02rem); gap: 4px 10px; }
@media (max-width: 960px) { .hero .union-badge { display: none; } }

/* ===== Page-wide logo ribbons (assets/js/ribbons.js) =====
   One layer for the whole page: above section backgrounds, below content,
   so the swooshes flow from one section into the next. */
body { position: relative; }
.ribbons { position: absolute; top: 0; left: 0; width: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.ribbons svg { display: block; }
.ribbon__band { opacity: .92; }
main > section > .container, .hero > .scroll-hint, .marquee, .footer > .container { position: relative; z-index: 1; }
.story__sticky { z-index: 1; }
@media (max-width: 960px) { .ribbons { opacity: .55; } }
@media (max-width: 600px) { .ribbons { opacity: .38; } }
.ribbons svg { position: absolute; left: 0; overflow: visible; }
.ribbon__band { opacity: 1; }
.ribbons svg path { shape-rendering: geometricPrecision; }
.sp-ring { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; opacity: .85; }
.sp-state.is-home path { filter: drop-shadow(0 0 4px rgba(201,155,54,.6)); }
.hero .union-badge { bottom: 6%; }

/* ===== Cookie consent ===== */
.cookie {
  position: fixed; z-index: 90; left: 50%; bottom: 18px;
  width: min(820px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start;
  padding: 20px 22px; border-radius: 20px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(5,38,56,.45), 0 2px 8px rgba(5,38,56,.06);
  transform: translate(-50%, 24px); opacity: 0;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookie::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.cookie__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-text); grid-row: span 2; }
.cookie__icon svg { width: 22px; height: 22px; }
.cookie__title { font-size: 1.05rem; margin: 2px 0 4px; }
.cookie__text { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.cookie__actions { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.cookie__actions .btn--ghost { background: var(--bg); }

.cookie__prefs { display: grid; gap: 8px; margin-top: 14px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.cookie__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie__opt strong { display: block; font: 600 .9rem/1.3 var(--font-head); color: var(--ink); }
.cookie__opt small { display: block; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.cookie__switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #CBD5D8; transition: background .25s; }
.cookie__switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(5,38,56,.3); transition: transform .3s var(--ease); }
.cookie__opt input:checked + .cookie__switch { background: var(--teal); }
.cookie__opt input:checked + .cookie__switch::after { transform: translateX(18px); }
.cookie__opt input:disabled + .cookie__switch { background: var(--gold); opacity: .75; }
.cookie__opt input:focus-visible + .cookie__switch { outline: 2px solid var(--teal); outline-offset: 2px; }
.cookie.is-expanded { max-height: calc(100vh - 36px); overflow-y: auto; }

.footer__cookie { background: none; border: 0; padding: 0; margin-left: 10px; font: inherit; color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookie:hover { color: var(--gold-2); }

@media (max-width: 600px) {
  .cookie { grid-template-columns: 1fr; bottom: 12px; padding: 18px 16px 16px; }
  .cookie__icon { display: none; }
  .cookie__actions { grid-column: 1; justify-content: stretch; }
  .cookie__actions .btn { flex: 1 1 auto; }
  .footer__cookie { margin: 6px 0 0; display: block; }
}
.cookie [hidden] { display: none !important; }
a.lang__btn { display: block; text-align: center; text-decoration: none; }
.lang__btn[aria-current="page"] { color: #fff; }
