/* ==========================================================================
   ECTN Services theme
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107%;
	ascent-override: 90%;
	descent-override: 22%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Jakarta Fallback";
	src: local("Arial");
	size-adjust: 104%;
	ascent-override: 94%;
	descent-override: 24%;
	line-gap-override: 0%;
}

/* Tokens ----------------------------------------------------------------- */
:root {
	--sea: #07232b;
	--sea-2: #0b3540;
	--teal: #0e5e63;
	--teal-2: #12777d;
	--teal-soft: #e6f1f1;
	--mint: #7fd0d3;
	--amber: #f2a93b;
	--amber-2: #e4972a;
	--amber-soft: #fdf1dd;
	--sand: #f5f1ea;
	--paper: #fbfaf7;
	--text: #10242b;
	--muted: #3d5258;
	--border: #ece8e1;
	--border-2: #dcd6cc;
	--white: #fff;
	--on-dark: #cfe0e3;
	--danger: #a5281f;

	--font-head: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;
	--font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-sm: 12px;
	--radius: 16px;
	--radius-lg: 22px;
	--radius-xl: 28px;

	--shadow-sm: 0 1px 2px rgba(7, 35, 43, .05), 0 2px 8px rgba(7, 35, 43, .04);
	--shadow-md: 0 2px 4px rgba(7, 35, 43, .04), 0 10px 28px rgba(7, 35, 43, .08);
	--shadow-lg: 0 4px 10px rgba(7, 35, 43, .05), 0 28px 64px rgba(7, 35, 43, .14);
	--shadow-amber: 0 8px 24px rgba(242, 169, 59, .35);

	--max: 1240px;
	--gutter: 20px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --header-h: 80px; } }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }

img, svg, video { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--sea);
	line-height: 1.12;
	letter-spacing: -.022em;
	margin: 0 0 .5em;
	font-weight: 750;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sea); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible,
.page-hero :focus-visible, .topbar :focus-visible, .quote-teaser :focus-visible,
.cta-card :focus-visible, .contact-panel :focus-visible, .summary-card :focus-visible,
.aside-card-dark :focus-visible { outline-color: var(--amber); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-mid { max-width: calc(920px + var(--gutter) * 2); }
.container-text { max-width: calc(780px + var(--gutter) * 2); }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	padding: 10px 16px; background: var(--amber); color: var(--sea);
	font-weight: 700; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Sections --------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.section-light {
	background:
		radial-gradient(900px 400px at 100% 0, rgba(14, 94, 99, .05), transparent 70%),
		radial-gradient(700px 360px at 0 100%, rgba(242, 169, 59, .06), transparent 70%),
		var(--white);
}
.section-sand { background: var(--sand); }
.section-dark { background: var(--sea); color: var(--on-dark); overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.bg-dots { background-image: radial-gradient(rgba(14, 94, 99, .14) 1px, transparent 1.2px); background-size: 22px 22px; background-color: var(--sand); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.section-head-split h2 { margin-bottom: 0; max-width: 640px; }
.section-more { margin: 40px 0 0; text-align: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 14px;
	font: 700 .75rem/1.2 var(--font-body);
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--teal);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow:has(.icon)::before, .eyebrow:has(.pulse-dot)::before { display: none; }
.eyebrow-light { color: var(--mint); }

/* Buttons ---------------------------------------------------------------- */
.btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	font: 650 .975rem/1.2 var(--font-body);
	text-decoration: none; text-align: center;
	border: 1.5px solid transparent; border-radius: 12px;
	cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon.flip { transform: scaleX(-1); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.03rem; }
.btn-block { width: 100%; }

.btn-amber { background: var(--amber); color: var(--sea); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 6px 16px rgba(242, 169, 59, .28); }
.btn-amber:hover { color: var(--sea); background: #f5b44f; }
.btn-amber::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
	transform: translateX(-130%);
	pointer-events: none;
}
.btn-outline { border-color: var(--border-2); color: var(--sea); background: var(--white); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn-ghost-dark { border-color: var(--border-2); color: var(--sea); background: transparent; }
.btn-ghost-dark:hover { background: var(--sand); color: var(--sea); }
.btn-whatsapp { background: #25d366; color: var(--sea); }
.btn-whatsapp:hover { background: #3ee07b; color: var(--sea); }
.btn[hidden] { display: none; }
@media (max-width: 520px) { .btn { white-space: normal; } }

/* Icons, tiles, badges, flags ------------------------------------------- */
.icon { width: 22px; height: 22px; }
.icon-tile {
	display: inline-grid; place-items: center; flex-shrink: 0;
	width: 48px; height: 48px; border-radius: 14px;
	color: var(--teal);
	background: linear-gradient(145deg, #eef7f6, #ddeeed);
	box-shadow: inset 0 0 0 1px rgba(14, 94, 99, .1);
}
.icon-tile .icon { width: 23px; height: 23px; }
.icon-tile-sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-tile-sm .icon { width: 20px; height: 20px; }
.icon-tile-amber { color: var(--sea); background: linear-gradient(145deg, #ffd189, var(--amber)); box-shadow: 0 6px 18px rgba(242, 169, 59, .3); }
.icon-tile-glass { color: var(--amber); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.icon-tile-warn { color: #9a3d14; background: linear-gradient(145deg, #fff1e3, #fde1c6); }

.badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px; border-radius: 999px;
	font: 700 .78rem/1.3 var(--font-body); letter-spacing: .04em;
	color: var(--teal); background: var(--teal-soft);
	box-shadow: inset 0 0 0 1px rgba(14, 94, 99, .14);
}
.badge-amber { color: var(--sea); background: var(--amber); box-shadow: none; }

.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(7, 35, 43, .12); vertical-align: middle; }
.flag-lg { width: 40px; height: 30px; border-radius: 5px; }
.flag-xl { width: 56px; height: 42px; border-radius: 7px; box-shadow: 0 4px 12px rgba(7, 35, 43, .15); }
.flag-hero { width: 84px; height: 63px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .2); }
.flag-globe { display: inline-grid; place-items: center; width: 24px; height: 18px; color: var(--teal); box-shadow: none; }
.flag-globe .icon { width: 18px; height: 18px; }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .95rem; color: var(--teal); text-decoration: none; }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }

.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: .35em;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list-light li { color: var(--on-dark); }
.check-list-light li::before { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307232B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--sea); color: var(--on-dark); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 40px; }
.topbar-note { display: none; margin: 0; align-items: center; gap: 8px; }
.topbar-note .icon { width: 16px; height: 16px; color: var(--amber); }
.topbar-links { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 16px; height: 16px; }
@media (min-width: 900px) {
	.topbar-inner { justify-content: space-between; }
	.topbar-note { display: inline-flex; }
}

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(236, 232, 225, .9);
	transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(7, 35, 43, .08); background: rgba(255, 255, 255, .86); }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: calc(var(--header-h) - 12px); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 40px; height: 40px; transition: transform .4s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 800 1.12rem/1.1 var(--font-head); color: var(--sea); letter-spacing: -.02em; }
.brand-tagline { font-size: .74rem; color: var(--muted); font-weight: 500; }
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-tagline { color: var(--on-dark); }
.custom-logo { max-height: 44px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.nav-toggle {
	display: inline-grid; place-items: center;
	width: 46px; height: 46px; padding: 0;
	color: var(--sea); background: var(--white);
	border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

/* Mobile navigation */
.site-nav {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 90;
	height: calc(100vh - var(--nav-top, 112px)); height: calc(100dvh - var(--nav-top, 112px));
	border-top: 1px solid var(--border);
	padding: 16px var(--gutter) 32px;
	background: var(--white);
	overflow-y: auto;
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
.nav-open { overflow: hidden; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--border); }
.nav-link {
	display: flex; align-items: center; justify-content: space-between; gap: 6px;
	width: 100%; padding: 16px 4px;
	font: 650 1.05rem/1.2 var(--font-body); color: var(--sea);
	text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-link .chev { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.mega { display: none; padding-bottom: 16px; }
.nav-item.is-open > .mega { display: block; }
.nav-mobile-cta { padding-top: 20px; }

.mega-grid, .mega-countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background-color .2s; }
.mega-link:hover { background: var(--sand); color: var(--text); }
.mega-link strong { display: block; font: 700 .97rem/1.3 var(--font-head); color: var(--sea); }
.mega-link small { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-countries a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--sea); font-weight: 600; font-size: .95rem; }
.mega-countries a:hover { background: var(--sand); }
.mega-cert { color: var(--muted); font-weight: 500; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 10px; font-weight: 700; text-decoration: none; }
.mega-all .icon { width: 16px; height: 16px; }
.mega-aside { margin-top: 12px; padding: 20px; border-radius: 16px; background: linear-gradient(140deg, var(--sea), var(--teal)); color: var(--on-dark); }
.mega-aside .eyebrow { color: var(--mint); }
.mega-aside-title { font: 750 1.1rem/1.3 var(--font-head); color: var(--white); margin-bottom: 16px; }

@media (min-width: 640px) {
	.mega-countries { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop navigation */
@media (min-width: 1100px) {
	.nav-toggle, .nav-mobile-cta { display: none; }
	.site-nav {
		position: static; inset: auto; height: auto; padding: 0; background: none; overflow: visible; border-top: 0;
		visibility: visible; opacity: 1; transform: none; transition: none;
	}
	.nav-list { display: flex; align-items: center; gap: 2px; }
	.nav-item { border: 0; }
	.nav-link {
		position: relative; width: auto; padding: 10px 14px; border-radius: 10px;
		font-size: .95rem; font-weight: 600;
		transition: color .2s, background-color .2s;
	}
	.nav-link::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
		background: var(--amber); border-radius: 2px;
		transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
	}
	.nav-link:hover::after, .nav-link[aria-current]::after, .nav-item.is-open > .nav-link::after,
	.has-mega:hover > .nav-link::after { transform: scaleX(1); }
	.nav-link:hover { color: var(--teal); }

	.mega {
		display: block;
		position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
		padding-top: 10px;
		visibility: hidden; opacity: 0; transform: translateY(10px);
		transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
		pointer-events: none;
	}
	.mega-narrow { left: 50%; right: auto; width: 680px; margin-left: -240px; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega, .nav-item.is-open > .mega {
		visibility: visible; opacity: 1; transform: none; pointer-events: auto;
		transition: opacity .22s var(--ease), transform .22s var(--ease);
	}
	.has-mega.is-closed > .mega { visibility: hidden; opacity: 0; pointer-events: none; }
	.mega-inner {
		padding: 22px; border-radius: 20px;
		background: var(--white);
		border: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
	}
	.mega-split { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
	.mega-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
	.mega-countries { grid-template-columns: repeat(3, 1fr); gap: 2px 14px; }
	.mega-aside { margin: 0; display: flex; flex-direction: column; justify-content: center; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(48px, 7vw, 88px) 0 clamp(150px, 15vw, 190px);
	color: var(--on-dark);
	background:
		radial-gradient(1100px 620px at 85% -10%, rgba(18, 119, 125, .55), transparent 62%),
		radial-gradient(700px 480px at -5% 105%, rgba(242, 169, 59, .14), transparent 60%),
		linear-gradient(180deg, #06202a 0%, var(--sea) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-floor {
	position: absolute; left: -50%; right: -50%; bottom: -2px; height: 62%;
	background-image:
		linear-gradient(rgba(127, 208, 211, .16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(127, 208, 211, .16) 1px, transparent 1px);
	background-size: 64px 64px;
	transform: perspective(520px) rotateX(64deg);
	transform-origin: bottom center;
	-webkit-mask-image: linear-gradient(to top, #000 15%, transparent 85%);
	mask-image: linear-gradient(to top, #000 15%, transparent 85%);
}
.hero-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(127, 208, 211, .18), transparent 65%); filter: blur(10px); }
.hero-cursor-glow {
	position: absolute; left: var(--mx, 70%); top: var(--my, 40%);
	width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 169, 59, .16), rgba(127, 208, 211, .08) 40%, transparent 68%);
	opacity: 0; transition: opacity .6s;
}
.hero.glow-on .hero-cursor-glow { opacity: 1; }

.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-intro { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--on-dark); max-width: 580px; margin-bottom: 30px; }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; }

.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 22px 0 0; padding: 0; font-size: .93rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.hero-ticks .icon { width: 19px; height: 19px; color: var(--amber); }

.hero-visual { position: relative; display: none; }
.route-card {
	position: relative; padding: 14px; border-radius: 28px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
	backdrop-filter: blur(10px);
}
.route-map { display: block; width: 100%; height: auto; }
.route-map text { fill: #e7f1f2; font: 600 13px var(--font-body); }
.route { fill: none; stroke: var(--mint); stroke-width: 2; stroke-dasharray: 6 9; stroke-linecap: round; opacity: .85; }
.ship-dot { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(242, 169, 59, .9)); }
.node .core { fill: var(--amber); }
.node .pulse { fill: none; stroke: var(--amber); stroke-width: 2; opacity: .55; transform-box: fill-box; transform-origin: center; }
.node.origin .core { fill: var(--white); }
.node.origin .pulse { stroke: var(--mint); }

.float-card, .float-chip {
	position: absolute; display: flex; align-items: center; gap: 12px;
	border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--sea);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.float-card { top: 6%; right: -18px; padding: 12px 18px 12px 12px; }
.float-card strong { display: block; font: 750 .95rem/1.2 var(--font-head); }
.float-card small { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.float-card .flag { width: 18px; height: 13px; }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #16a34a; color: var(--white); }
.float-icon .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.float-chip { bottom: 8%; left: -22px; padding: 10px 16px; font-size: .88rem; font-weight: 650; border-radius: 999px; }
.float-chip .icon { width: 18px; height: 18px; color: var(--amber-2); }

@media (min-width: 1024px) {
	.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
	.hero-visual { display: block; }
}

/* Check bar (hero and checker page) */
.check-bar {
	display: grid; gap: 8px;
	padding: 8px; border-radius: 20px;
	background: var(--white);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .08);
}
.check-field { position: relative; padding: 8px 10px 6px; border-radius: 14px; transition: background-color .2s; }
.check-field:hover, .check-field:focus-within { background: var(--paper); }
.check-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.check-sep { display: none; place-items: center; width: 34px; height: 34px; margin: auto; border-radius: 50%; background: var(--sand); color: var(--teal); }
.check-sep .icon { width: 16px; height: 16px; }
.check-submit { min-height: 56px; border-radius: 14px; }
.check-submit .icon { width: 19px; height: 19px; }
@media (min-width: 640px) {
	.check-bar { grid-template-columns: 1fr auto 1fr; align-items: center; }
	.check-sep { display: grid; }
	.check-submit { grid-column: 1 / -1; }
}
@media (min-width: 1240px) {
	.check-bar-hero { grid-template-columns: 1fr auto 1fr auto; }
	.check-bar-hero .check-submit { grid-column: auto; }
}
@media (min-width: 860px) {
	.check-bar-page { grid-template-columns: 1fr auto 1fr auto; }
	.check-bar-page .check-submit { grid-column: auto; }
}
.check-bar-page { box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.check-result:empty { display: none; }
.check-result { margin-top: 18px; }

/* Native select used before the picker loads, and for plain lists */
select {
	width: 100%; padding: 13px 40px 13px 14px;
	font: inherit; font-size: 1rem; color: var(--text);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5E63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
	border: 1.5px solid var(--border-2); border-radius: 12px;
	-webkit-appearance: none; appearance: none;
}
.check-field select { border: 0; padding: 4px 32px 4px 0; background-position: right 2px center; background-color: transparent; font-weight: 650; color: var(--sea); }

/* Searchable country picker */
.combo { position: relative; }
.combo-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.combo-btn {
	display: flex; align-items: center; gap: 10px; width: 100%;
	min-height: 52px; padding: 12px 14px;
	font: 600 1rem/1.3 var(--font-body); color: var(--sea); text-align: left;
	background: var(--white); border: 1.5px solid var(--border-2); border-radius: 12px; cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.combo-btn:hover { border-color: #bfb7a9; }
.combo-btn[aria-expanded="true"], .combo-btn:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 94, 99, .14); outline: none; }
.combo-btn .combo-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-btn.is-empty .combo-text { color: var(--muted); font-weight: 500; }
.combo-btn .chev { width: 18px; height: 18px; color: var(--teal); transition: transform .2s; }
.combo-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.combo-btn[aria-invalid="true"] { border-color: var(--danger); }
.check-field .combo-btn { min-height: 34px; padding: 2px 0; border: 0; background: transparent; box-shadow: none; }
.check-field .combo-btn:focus-visible { box-shadow: none; outline: 3px solid var(--teal); outline-offset: 6px; }
.combo-pop {
	position: absolute; z-index: 80; top: calc(100% + 8px); left: 0;
	width: max(100%, 300px); max-width: calc(100vw - 32px);
	padding: 8px; border-radius: 16px;
	background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
	animation: pop-in .18s var(--ease);
}
.combo-pop[hidden] { display: none; }
.combo-search {
	width: 100%; padding: 10px 12px 10px 38px; margin-bottom: 6px;
	font: inherit; font-size: .95rem; border: 1.5px solid var(--border); border-radius: 10px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5258' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 12px center / 17px no-repeat;
}
.combo-search:focus { outline: none; border-color: var(--teal); background-color: var(--white); }
.combo-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.combo-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: .96rem; color: var(--text); }
.combo-list li.is-active { background: var(--teal-soft); }
.combo-list li[aria-selected="true"] { font-weight: 700; color: var(--teal); }
.combo-list li[aria-selected="true"]::after { content: ""; margin-left: auto; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5E63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.combo-list li[hidden] { display: none; }
.combo-raised { position: relative; z-index: 30; }
.hero-check { position: relative; z-index: 6; }
.combo-empty { padding: 12px; color: var(--muted); font-size: .93rem; }

/* Result card */
.result-card {
	padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg);
	background: var(--white); color: var(--text);
	border: 1px solid var(--border); box-shadow: var(--shadow-lg);
	border-top: 4px solid var(--amber);
	animation: result-in .5s var(--ease) both;
}
.result-empty { border-top-color: var(--border-2); }
.result-empty p { margin: 0; }
.result-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.result-head > div { flex: 1; min-width: 180px; }
.result-head h3 { margin: 0; font-size: 1.45rem; }
.result-route { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.result-route .icon { width: 14px; height: 14px; }
.result-route .flag { width: 18px; height: 13px; }
.result-full { font-weight: 650; color: var(--teal); margin-bottom: 6px; }
.result-facts { display: grid; gap: 10px; margin: 16px 0 20px; }
.result-facts div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--border); }
.result-facts dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.result-facts dt .icon { width: 16px; height: 16px; color: var(--teal); }
.result-facts dd { margin: 0; font-size: .95rem; color: var(--sea); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 720px) { .result-facts { grid-template-columns: 1fr 1fr; } }

/* Stats ------------------------------------------------------------------ */
.stats-wrap { position: relative; z-index: 3; margin-top: -96px; }
.stats-card {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
	margin: 0; padding: 8px; border-radius: var(--radius-xl);
	background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.stat { display: flex; align-items: center; gap: 14px; padding: 18px 16px; }
.stat > div { display: flex; flex-direction: column-reverse; }
.stat-value { margin: 0; font: 800 clamp(1.8rem, 3.2vw, 2.5rem)/1 var(--font-head); color: var(--sea); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 639px) { .stat .icon-tile { display: none; } }
@media (min-width: 1000px) {
	.stats-card { grid-template-columns: repeat(4, 1fr); }
	.stat { padding: 26px 24px; }
	.stat + .stat { border-left: 1px solid var(--border); }
}

/* Carriers --------------------------------------------------------------- */
.carriers { padding: 56px 0 64px; background: var(--paper); }
.carriers-title { margin: 0 0 26px; text-align: center; font: 700 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); margin: 0; padding: 0 clamp(20px, 3vw, 40px); list-style: none; }
.marquee-list img { display: block; height: 30px; width: auto; max-width: 150px; filter: brightness(0) saturate(0); opacity: .5; transition: opacity .25s; }
.marquee-list img:hover { opacity: .85; }
.marquee-list .carrier-msc { height: 40px; }
.marquee-list .carrier-cma-cgm, .marquee-list .carrier-cosco { height: 40px; }
.marquee-list .carrier-one { height: 34px; }

/* How it works ----------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps-line { display: none; }
.step {
	position: relative; padding: 30px 24px 26px; border-radius: var(--radius-lg);
	background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.step-num {
	position: absolute; top: -14px; left: 24px;
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	font: 800 .86rem/1 var(--font-head); color: var(--sea); background: var(--amber);
	box-shadow: 0 0 0 5px var(--white), var(--shadow-amber);
}
.step .icon-tile { margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.steps { grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 34px; }
	.steps-line { display: block; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--border); border-radius: 2px; }
	.steps-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 2px; transform-origin: left; }
	.step { text-align: center; padding-top: 44px; }
	.step-num { left: 50%; top: -15px; margin-left: -15px; }
	.step .icon-tile { margin-inline: auto; }
}

/* Country cards ---------------------------------------------------------- */
.country-grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .country-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .country-grid { grid-template-columns: repeat(4, 1fr); } .country-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.country-card {
	position: relative; display: flex; flex-direction: column;
	padding: 22px; border-radius: 20px; overflow: hidden;
	background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.country-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--amber), #ffcf80); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.country-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.country-card h3 { margin-bottom: 6px; font-size: 1.18rem; }
.country-card h3 a { color: var(--sea); text-decoration: none; }
.country-card h3 a::after { content: ""; position: absolute; inset: 0; }
.country-card p { color: var(--muted); font-size: .93rem; line-height: 1.55; margin-bottom: 16px; }
.country-card .card-link { margin-top: auto; }
.country-card:hover { border-color: #e2dccf; box-shadow: var(--shadow-md); }
.country-card:hover::before { transform: scaleX(1); }
.country-card:hover .card-link .icon { transform: translateX(4px); }

/* Bento ------------------------------------------------------------------ */
.bento { display: grid; gap: 18px; }
.bento-feature, .bento-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.bento-feature {
	padding: clamp(28px, 4vw, 44px);
	background: linear-gradient(155deg, var(--sea-2), var(--sea) 70%);
	color: var(--on-dark);
	box-shadow: var(--shadow-lg);
}
.bento-feature h3 { color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 22px 0 14px; max-width: 460px; }
.bento-feature p { max-width: 520px; }
.bento-feature-glow { position: absolute; width: 420px; height: 420px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .28), transparent 65%); }
.bento-feature > *:not(.bento-feature-glow) { position: relative; }
.bento-doc { position: absolute !important; right: 28px; top: 28px; width: 120px; padding: 16px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); display: none; }
.doc-line { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .22); margin-bottom: 9px; }
.w-60 { width: 60%; } .w-80 { width: 80%; } .w-90 { width: 90%; }
.doc-stamp { position: absolute; right: -12px; bottom: -12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--sea); box-shadow: var(--shadow-amber); }
.doc-stamp .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.bento-card {
	padding: 28px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-card h3 { margin: 18px 0 8px; }
.bento-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.bento-card:hover { box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-feature { grid-column: 1 / -1; } .bento-doc { display: block; } }
@media (min-width: 1100px) {
	.bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; }
	.bento-feature { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; }
}

/* Tools band and calculator --------------------------------------------- */
.tools-band { background: radial-gradient(900px 500px at 0 0, rgba(18, 119, 125, .45), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(242, 169, 59, .12), transparent 60%), var(--sea); }
.band-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(127, 208, 211, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 208, 211, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.tools-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.tools-copy p { color: var(--on-dark); font-size: 1.05rem; }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.tool-links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.tool-links a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--white); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.tool-links a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.tool-links strong { display: block; font: 700 1rem/1.3 var(--font-head); }
.tool-links small { display: block; color: var(--on-dark); font-size: .87rem; }
.tool-links > li > a > span:nth-child(2) { flex: 1; }
.tool-arrow { width: 18px; height: 18px; color: var(--amber); transition: transform .2s var(--ease); }
.tool-links a:hover .tool-arrow { transform: translateX(4px); }

.calc-card {
	position: relative; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl);
	background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 40px 80px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	color: var(--on-dark);
}
.calc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.calc-title { margin: 0; font: 750 1.15rem/1.2 var(--font-head); color: var(--white); }
.calc-sub { margin: 2px 0 0; font-size: .85rem; color: var(--on-dark); }
.calc-label { display: block; margin: 0 0 8px; padding: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.calc-row { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.calc-steppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stepper { display: flex; align-items: center; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.stepper button { display: grid; place-items: center; width: 36px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; transition: background-color .2s; }
.stepper button:hover { background: rgba(255, 255, 255, .1); }
.stepper button .icon { width: 16px; height: 16px; }
.stepper input { width: 100%; min-width: 0; padding: 0; text-align: center; font: 700 1.1rem var(--font-head); color: var(--white); background: transparent; border: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 560px) {
	.calc-steppers { grid-template-columns: 1fr; gap: 10px; }
	.calc-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.calc-stepper .calc-label { margin: 0; }
	.calc-stepper .stepper { width: 150px; }
}
.calc-rate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.calc-rate-head .calc-label { margin: 0; }
.rate-input { width: 96px; padding: 8px 10px; text-align: right; font: 700 1.05rem var(--font-head); color: var(--white); background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; }
input[type="range"] { width: 100%; height: 28px; background: transparent; accent-color: var(--amber); -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--amber) var(--fill, 17%), rgba(255, 255, 255, .18) var(--fill, 17%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 4px solid var(--amber); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--amber); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--amber); }
.calc-bar-wrap { margin: 6px 0 18px; }
.calc-bar { display: flex; height: 12px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.bar-free { background: linear-gradient(90deg, #4fb8bc, var(--mint)); transition: width .4s var(--ease); }
.bar-charged { background: linear-gradient(90deg, var(--amber), #ff8a3d); transition: width .4s var(--ease); }
.calc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .85rem; color: var(--on-dark); }
.legend-free, .legend-charged { width: 10px; height: 10px; border-radius: 3px; background: var(--mint); }
.legend-charged { background: var(--amber); margin-left: 14px; }
.calc-total { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; padding: 18px 20px; margin-bottom: 18px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.calc-total .calc-label { margin-bottom: 4px; }
.calc-amount { margin: 0; font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--font-head); color: var(--amber); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-per { margin: 0; font-size: .9rem; color: var(--on-dark); }
.calc-per span { color: var(--white); font-weight: 700; }
.calc-quote { display: grid; gap: 12px; }
.calc-quote .combo-btn { background: rgba(255, 255, 255, .96); }
.calc-note { margin: 14px 0 0; font-size: .8rem; color: rgba(207, 224, 227, .8); }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sand); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 8px 14px; border-radius: 9px; font-weight: 650; font-size: .92rem; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented input:checked + span { background: var(--white); color: var(--sea); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 1px; }
.segmented-dark { background: rgba(0, 0, 0, .25); }
.segmented-dark span { color: var(--on-dark); }
.segmented-dark input:checked + span { background: var(--amber); color: var(--sea); }
.segmented-dark input:focus-visible + span { outline-color: var(--amber); }

/* Quote teaser ----------------------------------------------------------- */
.quote-teaser {
	position: relative; overflow: hidden; display: grid; gap: 36px; align-items: center;
	padding: clamp(32px, 5vw, 64px); border-radius: 32px;
	background: linear-gradient(135deg, var(--teal) 0%, var(--sea) 75%);
	color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.quote-teaser-glow { position: absolute; width: 500px; height: 500px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .35), transparent 65%); }
.quote-teaser > *:not(.quote-teaser-glow) { position: relative; }
.quote-teaser h2 { color: var(--white); }
.quote-teaser .eyebrow { color: var(--mint); }
.quote-teaser p { font-size: 1.05rem; margin-bottom: 26px; }
.quote-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.quote-steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.quote-steps .icon-tile { background: rgba(255, 255, 255, .1); color: var(--amber); box-shadow: none; }
.quote-steps strong { display: block; color: var(--white); font: 700 1.05rem/1.3 var(--font-head); }
.quote-steps small { color: var(--on-dark); font-size: .9rem; }
.quote-step-num { position: absolute; top: 10px; right: 14px; font: 800 .8rem var(--font-head); color: rgba(255, 255, 255, .4); }
@media (min-width: 960px) { .quote-teaser { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

/* Cards and grids -------------------------------------------------------- */
.card-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

.post-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card-art {
	position: relative; height: 128px; display: flex; align-items: flex-end; padding: 20px;
	background:
		radial-gradient(300px 160px at 90% 0, rgba(242, 169, 59, .35), transparent 70%),
		linear-gradient(rgba(127, 208, 211, .12) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(127, 208, 211, .12) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(140deg, var(--teal), var(--sea));
}
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-meta { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.post-card-title { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.post-card-title a { color: var(--sea); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.post-card .card-link { margin-top: auto; }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card:hover .card-link .icon { transform: translateX(4px); }

/* FAQ -------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-layout .section-head { position: sticky; top: 120px; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: #d7e8e7; box-shadow: var(--shadow-md); }
.faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px; cursor: pointer; list-style: none;
	font: 700 1.04rem/1.4 var(--font-head); color: var(--sea);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--teal); transition: transform .3s var(--ease), background-color .3s; }
.faq-toggle .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--amber); color: var(--sea); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); overflow: hidden; }
.faq-answer p { margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-section { padding-block: clamp(56px, 7vw, 96px); }
.cta-card {
	position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
	padding: clamp(32px, 5vw, 56px); border-radius: 32px;
	background: linear-gradient(130deg, var(--sea) 0%, var(--sea-2) 55%, var(--teal) 100%);
	color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.cta-card-glow { position: absolute; width: 460px; height: 460px; left: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .3), transparent 65%); }
.cta-card > *:not(.cta-card-glow) { position: relative; }
.cta-card h2 { color: var(--white); margin-bottom: 10px; }
.cta-card p { margin: 0; font-size: 1.05rem; }
.cta-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta-card { grid-template-columns: 1.3fr auto; gap: 40px; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--sea); color: var(--on-dark); font-size: .95rem; padding-top: 72px; }
.footer-glow { position: absolute; width: 900px; height: 500px; left: 50%; top: -250px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 119, 125, .45), transparent 65%); pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-cta {
	display: grid; gap: 22px; align-items: center;
	padding: clamp(26px, 4vw, 40px); margin-bottom: 64px; border-radius: 24px;
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
	backdrop-filter: blur(10px);
}
.footer-cta-title { margin: 0; color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 560px; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn-amber, .site-footer .btn-amber:hover { color: var(--sea); }
.site-footer .btn-ghost:hover { color: var(--white); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-about p { max-width: 360px; margin: 18px 0; color: var(--on-dark); }
.footer-contact { list-style: none; margin: 0 0 18px; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--amber); }
.footer-heading { margin: 0 0 16px; font: 700 .8rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { position: relative; transition: color .2s; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-links a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: .85rem; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.footer-bar p { margin: 0; }
.footer-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-flags a { display: inline-flex; opacity: .8; transition: opacity .2s, transform .2s var(--ease); }
.footer-flags a:hover { opacity: 1; transform: translateY(-2px); }
.footer-flags .flag { width: 22px; height: 16px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-about { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; } .footer-about { grid-column: auto; } }

/* Inner page hero -------------------------------------------------------- */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(40px, 6vw, 72px) 0 clamp(52px, 7vw, 88px);
	color: var(--on-dark);
	background:
		radial-gradient(900px 460px at 90% -20%, rgba(18, 119, 125, .55), transparent 62%),
		radial-gradient(600px 360px at 0 120%, rgba(242, 169, 59, .14), transparent 60%),
		var(--sea);
}
.page-hero-bg {
	position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(127, 208, 211, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 208, 211, .08) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
	mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.page-hero h1 { color: var(--white); max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 16px; }
.page-intro { max-width: 720px; margin: 0; color: var(--on-dark); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.page-hero .byline { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--on-dark); font-size: .92rem; }
.page-hero .byline .icon { width: 16px; height: 16px; color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.breadcrumbs { margin-bottom: 22px; font-size: .86rem; color: var(--on-dark); }
.breadcrumbs p { margin: 0; }
.breadcrumbs a { color: var(--mint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }

/* Country page ----------------------------------------------------------- */
.country-hero-head { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; }
.country-hero-head h1 { margin-bottom: 0; }
.country-hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.country-hero-full { font-size: .9rem; color: var(--on-dark); }
.country-hero .page-intro { margin-top: 16px; }
@media (max-width: 560px) { .country-hero-head { flex-direction: column; align-items: flex-start; } .flag-hero { width: 64px; height: 48px; } }

.country-body { padding-top: clamp(48px, 6vw, 80px); }
.country-layout { display: grid; gap: 28px; }
.country-aside { display: grid; gap: 18px; align-content: start; }
.facts-card, .toc-card { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.facts-card h2, .toc-card h2 { font-size: 1.1rem; margin-bottom: 14px; }
.facts-card dl { margin: 0 0 18px; }
.facts-card dl div { padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts-card dl div:last-child { border-bottom: 0; }
.facts-card dt { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.facts-card dt .icon { width: 16px; height: 16px; color: var(--teal); }
.facts-card dd { margin: 4px 0 0; font-weight: 600; color: var(--sea); font-size: .95rem; line-height: 1.5; }
.toc-card ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc-card li { counter-increment: toc; }
.toc-card a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: .95rem; transition: background-color .2s, color .2s; }
.toc-card a::before { content: counter(toc, decimal-leading-zero); font: 700 .8rem/1.9 var(--font-head); color: var(--amber-2); }
.toc-card a:hover, .toc-card a.is-current { background: var(--sand); color: var(--sea); }
.country-main { display: grid; gap: 22px; min-width: 0; }
.country-section { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.country-section > h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 20px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--border); }
.doc-list .icon { width: 20px; height: 20px; color: var(--white); background: var(--teal); border-radius: 50%; padding: 3px; stroke-width: 3; margin-top: 2px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline li { position: relative; counter-increment: tl; padding: 0 0 22px 56px; min-height: 40px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 800 .95rem var(--font-head); color: var(--white); background: linear-gradient(145deg, var(--teal-2), var(--teal)); box-shadow: 0 0 0 5px var(--teal-soft); }
.timeline li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: linear-gradient(var(--teal-soft), var(--border)); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.warn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.warn-list li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: #fff8ef; border: 1px solid #f6e3c8; }
.warn-list li::before { content: "!"; position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 800 .78rem var(--font-head); color: var(--white); background: #c2410c; }
.cost-card { padding: 22px; border-radius: 16px; background: linear-gradient(145deg, var(--paper), var(--sand)); border: 1px solid var(--border); }
.cost-note { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--teal); font-size: .95rem; }
.cost-note .icon { width: 18px; height: 18px; }
@media (min-width: 1024px) {
	.country-layout { grid-template-columns: 330px 1fr; gap: 36px; align-items: start; }
	.country-aside { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; padding: 2px; margin: -2px; }
}

/* Forms ------------------------------------------------------------------ */
.form-section { padding-top: clamp(48px, 6vw, 80px); }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.form-title { font-size: 1.5rem; margin-bottom: 22px; }
.ectn-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ectn-form legend { padding: 0; }
.form-step > legend { margin-bottom: 22px; font: 750 clamp(1.3rem, 2.4vw, 1.6rem)/1.25 var(--font-head); color: var(--sea); letter-spacing: -.015em; }
.field { position: relative; margin-bottom: 16px; }
.field-label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 650; color: var(--sea); }
.opt { font-weight: 450; color: var(--muted); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row-weight { grid-template-columns: 1fr auto; align-items: start; } }

.float { position: relative; }
.float input, .float textarea {
	display: block; width: 100%;
	padding: 24px 16px 9px;
	font: inherit; font-size: 1rem; color: var(--text);
	background: var(--white); border: 1.5px solid var(--border-2); border-radius: 12px;
	transition: border-color .2s, box-shadow .25s;
}
.float textarea { min-height: 120px; resize: vertical; }
.float label {
	position: absolute; left: 17px; top: 16px;
	font-size: 1rem; color: var(--muted); pointer-events: none;
	transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.float input:focus + label, .float textarea:focus + label,
.float input:not(:placeholder-shown) + label, .float textarea:not(:placeholder-shown) + label,
.float.is-static label { transform: translateY(-9px) scale(.76); color: var(--teal); font-weight: 650; }
.float input:focus, .float textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 94, 99, .14); }
.float input[aria-invalid="true"], .float textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .87rem; font-weight: 550; }
.field-error[hidden] { display: none; }

.tiles { margin-bottom: 20px; }
.tiles > legend { margin-bottom: 10px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .field-shipping_mode .tile-grid, .tiles:has(input[name="shipping_mode"]) .tile-grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.tile-body {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 16px 8px; border-radius: 14px; text-align: center;
	font-size: .9rem; font-weight: 650; color: var(--sea);
	background: var(--white); border: 1.5px solid var(--border-2);
	transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tile-body .icon { width: 28px; height: 28px; color: var(--teal); }
.tile:hover .tile-body { border-color: #bfb7a9; transform: translateY(-2px); }
.tile input:checked + .tile-body { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px rgba(14, 94, 99, .16); color: var(--teal); }
.tile input:checked + .tile-body::after { content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tile input[aria-invalid="true"] + .tile-body { border-color: var(--danger); }
.tile input:checked + .tile-body .icon { color: var(--sea); }
.tile input:focus-visible + .tile-body { outline: 3px solid var(--amber); outline-offset: 2px; }

.phone-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .phone-row { grid-template-columns: 230px 1fr; } }
.segmented-field { margin-top: 0; }
@media (min-width: 640px) { .segmented-field { margin-top: 4px; } }

.more { margin: 6px 0 4px; border-radius: 14px; border: 1.5px dashed var(--border-2); }
.more summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 650; color: var(--teal); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more[open] summary .icon { transform: rotate(45deg); }
.more-body { padding: 4px 16px 4px; }

.form-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.form-note .icon { width: 17px; height: 17px; color: var(--teal); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.form-actions [data-next], .form-actions [data-submit] { margin-left: auto; }
.form-status { min-height: 1.5rem; margin-top: 14px; font-weight: 650; color: var(--sea); }
.form-status:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Progress */
.progress { margin-bottom: 30px; }
.progress-steps { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.progress-steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 650; color: var(--muted); transition: color .3s; }
.progress-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 800 .85rem var(--font-head); color: var(--muted); background: var(--sand); border: 1.5px solid var(--border-2); transition: all .3s var(--ease); }
.progress-steps li.is-active { color: var(--sea); }
.progress-steps li.is-active .progress-num { color: var(--sea); background: var(--amber); border-color: var(--amber); box-shadow: var(--shadow-amber); }
.progress-steps li.is-done .progress-num { color: var(--white); background: var(--teal); border-color: var(--teal); }
.progress-bar { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.progress-bar span { display: block; width: 33.33%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width .5s var(--ease); }
@media (max-width: 479px) { .progress-label { display: none; } }

.steps-viewport { position: relative; }
.js .quote-form .form-step:not(.is-active) { display: none; }

/* Quote layout and summary */
.quote-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .quote-layout { grid-template-columns: 1fr 360px; gap: 32px; align-items: start; } .quote-summary { position: sticky; top: 110px; } }
.summary-card {
	position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius-xl);
	background: radial-gradient(400px 220px at 100% 0, rgba(242, 169, 59, .28), transparent 70%), linear-gradient(155deg, var(--sea-2), var(--sea));
	color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.summary-route { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.summary-route > div { flex: 1; min-width: 0; }
.summary-route small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.summary-route strong { display: flex; align-items: center; gap: 8px; margin-top: 4px; font: 700 1rem/1.3 var(--font-head); color: var(--white); }
.summary-route .flag { width: 22px; height: 16px; }
.summary-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--sea); }
.summary-arrow .icon { width: 15px; height: 15px; }
.summary-list { margin: 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.summary-list div:last-child { border-bottom: 0; }
.summary-list dt { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--on-dark); }
.summary-list dt .icon { width: 17px; height: 17px; color: var(--mint); }
.summary-list dd { margin: 0; font-weight: 650; color: var(--white); text-align: right; font-size: .93rem; }
.summary-cert { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(242, 169, 59, .14); color: var(--white); font-size: .92rem; animation: pop-in .35s var(--ease); }
.summary-cert[hidden] { display: none; }
.summary-cert .icon { width: 20px; height: 20px; color: var(--amber); }
.summary-trust { list-style: none; margin: 16px 0 0; padding: 0 6px; }
.summary-trust li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .92rem; color: var(--muted); }
.summary-trust .icon { width: 18px; height: 18px; color: var(--teal); }
.js-motion .is-updated { animation: flash .6s var(--ease); }

/* Success */
.form-success { padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-lg); text-align: center; }
.form-success:focus { outline: none; }
.success-tick { width: 76px; height: 76px; color: #16a34a; margin-bottom: 18px; }
.success-tick circle { stroke-dasharray: 190; stroke-dashoffset: 0; }
.success-tick path { stroke-dasharray: 50; stroke-dashoffset: 0; }
.form-success h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-success h3 { margin-top: 28px; font-size: 1.05rem; }
.next-steps { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; padding: 0; list-style: none; counter-reset: ns; text-align: left; }
.next-steps li { counter-increment: ns; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px; background: var(--paper); border: 1px solid var(--border); }
.next-steps li::before { content: counter(ns); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 800 .82rem var(--font-head); background: var(--amber); color: var(--sea); }

/* Tool pages ------------------------------------------------------------- */
.tool-panel { padding: clamp(10px, 2vw, 16px); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .6); border: 1px solid var(--border); box-shadow: var(--shadow-md); backdrop-filter: blur(6px); }
.mini-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; list-style: none; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: .93rem; font-weight: 550; }
.mini-features li { display: flex; align-items: center; gap: 8px; }
.mini-features .icon { width: 18px; height: 18px; color: var(--teal); }

.finder-search { max-width: 460px; margin-bottom: 18px; }
.table-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.finder-table { width: 100%; border-collapse: collapse; }
.finder-table th, .finder-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.finder-table thead th { background: var(--sand); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finder-table tbody tr { transition: background-color .2s; }
.finder-table tbody tr:hover { background: var(--paper); }
.finder-table tbody tr:last-child th, .finder-table tbody tr:last-child td { border-bottom: 0; }
.finder-country { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--sea); }
.finder-deadline { color: var(--muted); font-size: .93rem; }
.finder-table tr[hidden] { display: none; }
@media (max-width: 760px) {
	.finder-table thead { display: none; }
	.finder-table, .finder-table tbody, .finder-table tr, .finder-table th, .finder-table td { display: block; }
	.finder-table tr { padding: 16px 18px; border-bottom: 1px solid var(--border); }
	.finder-table th, .finder-table td { padding: 4px 0; border: 0; }
}
.finder-head { margin-top: 64px; margin-bottom: 28px; }
.acronym-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .acronym-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .acronym-grid { grid-template-columns: repeat(3, 1fr); } }
.acronym-card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.acronym-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.acronym { font: 800 1.6rem/1.1 var(--font-head); color: var(--teal); letter-spacing: -.02em; margin-bottom: 10px; }
.acronym-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.acronym-card .card-link { margin-top: auto; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 400px 1fr; gap: 32px; align-items: start; } }
.contact-panel {
	position: relative; overflow: hidden; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-xl);
	background: linear-gradient(160deg, var(--teal) 0%, var(--sea) 70%); color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.contact-panel-glow { position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .32), transparent 65%); }
.contact-panel > *:not(.contact-panel-glow) { position: relative; }
.contact-panel h2 { color: var(--white); font-size: 1.7rem; }
.contact-list { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.contact-list a { color: var(--white); font-weight: 650; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--amber); }
.contact-tips { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-tips-title { font-weight: 700; color: var(--white); }

/* Services, about -------------------------------------------------------- */
.service-grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } .service-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.service-card { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); scroll-margin-top: 120px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card h2 { font-size: 1.25rem; margin: 18px 0 8px; }
.service-card h2 a { color: var(--sea); text-decoration: none; }
.service-card h2 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--muted); margin-bottom: 14px; }
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card:target { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242, 169, 59, .25), var(--shadow-md); }
.lead-content { margin-bottom: 36px; }
.about-grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-card { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: var(--sand); border: 1px solid var(--border); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Articles --------------------------------------------------------------- */
.article-layout { display: grid; gap: 36px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; } .article-aside { position: sticky; top: 110px; } }
.article-main { min-width: 0; max-width: 780px; }
.article-aside { display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.aside-card-dark { background: linear-gradient(155deg, var(--teal), var(--sea)); color: var(--on-dark); border: 0; box-shadow: var(--shadow-md); }
.aside-title { margin: 14px 0 6px; font: 750 1.12rem/1.3 var(--font-head); color: var(--sea); }
.aside-card-dark .aside-title { color: var(--white); }
.aside-card > .aside-title:first-child { margin-top: 0; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-weight: 600; text-decoration: none; color: var(--sea); }
.aside-links a:hover { color: var(--teal); }
.aside-links .icon { width: 18px; height: 18px; color: var(--teal); }

.entry-content { font-size: 1.0625rem; line-height: 1.78; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 1.9em 0 .6em; }
.entry-content h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--teal); }
.entry-content a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(14, 94, 99, .35); }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content table { width: 100%; margin: 1.4em 0; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.entry-content thead th { background: var(--sand); color: var(--sea); font-weight: 700; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content strong { color: var(--sea); }
.entry-image { margin-bottom: 28px; }
.entry-image img { border-radius: 20px; }

/* Lists, pagination, search --------------------------------------------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; padding: 10px 14px; text-align: center; text-decoration: none; color: var(--sea); background: var(--white); border: 1px solid var(--border); border-radius: 12px; font-weight: 650; }
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: var(--white); }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.search-form label { flex: 1 1 260px; }
.search-field, .search-form input[type="search"] { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; border: 1.5px solid var(--border-2); border-radius: 12px; }
.search-submit { min-height: 52px; padding: 12px 22px; font: 650 1rem var(--font-body); color: var(--sea); background: var(--amber); border: 0; border-radius: 12px; cursor: pointer; }
.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; gap: 12px; }
.post-navigation a { display: block; padding: 18px; border-radius: 16px; background: var(--sand); text-decoration: none; color: var(--sea); font-weight: 650; }

/* Ship cursor ------------------------------------------------------------ */
.cursor-ship { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; filter: drop-shadow(0 6px 10px rgba(7, 35, 43, .25)); }
.cursor-ship.is-on { opacity: 1; }
.cursor-ship svg { display: block; width: 42px; height: 28px; transition: transform .25s var(--ease); }
.cursor-ship.is-left svg { transform: scaleX(-1); }

/* ==========================================================================
   Motion. Runs only when the script adds .js-motion, which it never does
   for visitors who ask for reduced motion.
   ========================================================================== */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes result-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dash-flow { to { stroke-dashoffset: -60; } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes dot-ring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floor-move { to { background-position: 0 64px, 0 0; } }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-left { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes tick-circle { from { stroke-dashoffset: 190; } }
@keyframes tick-path { from { stroke-dashoffset: 50; } }
@keyframes flash { 0% { background-color: rgba(242, 169, 59, .3); } 100% { background-color: transparent; } }
@keyframes ring-in { from { box-shadow: 0 0 0 0 rgba(14, 94, 99, .35); } to { box-shadow: 0 0 0 4px rgba(14, 94, 99, .14); } }

.js-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }
.js-motion .tilt.is-in { transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); transition-delay: 0s; }

.js-motion .hero-in { animation: fade-up .9s var(--ease) both; }
.js-motion .hero-copy > .hero-in:nth-child(2) { animation-delay: .1s; }
.js-motion .hero-copy > .hero-in:nth-child(3) { animation-delay: .2s; }
.js-motion .hero-copy > .hero-in:nth-child(4) { animation-delay: .3s; }
.js-motion .hero-copy > .hero-in:nth-child(5) { animation-delay: .4s; }
.js-motion .hero-visual { animation: fade-up 1.1s .25s var(--ease) both; }
.js-motion .page-hero-inner > * { animation: fade-up .8s var(--ease) both; }
.js-motion .page-hero-inner > *:nth-child(2) { animation-delay: .06s; }
.js-motion .page-hero-inner > *:nth-child(3) { animation-delay: .12s; }
.js-motion .page-hero-inner > *:nth-child(n+4) { animation-delay: .18s; }

.js-motion .hero-floor { animation: floor-move 4s linear infinite; }
.js-motion .route { animation: dash-flow 2.4s linear infinite; }
.js-motion .route-2 { animation-duration: 3s; }
.js-motion .route-3 { animation-duration: 2.7s; }
.js-motion .route-4 { animation-duration: 3.3s; }
.js-motion .node .pulse { animation: pulse-ring 2.4s ease-out infinite; }
.js-motion .d2 .pulse { animation-delay: .6s; }
.js-motion .d3 .pulse { animation-delay: 1.2s; }
.js-motion .d4 .pulse { animation-delay: 1.8s; }
.js-motion .pulse-dot::after { animation: dot-ring 1.8s ease-out infinite; }
.js-motion .float-card { animation: float-y 6s ease-in-out infinite; }
.js-motion .float-chip { animation: float-y 7s ease-in-out 1s infinite; }
.js-motion .marquee-track { animation: marquee 42s linear infinite; }
.js-motion .marquee:hover .marquee-track { animation-play-state: paused; }

.js-motion .steps-line span { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js-motion .steps.is-drawn .steps-line span { transform: scaleX(1); }

.js-motion .btn:hover { transform: translateY(-2px); }
.js-motion .btn-amber:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 12px 26px rgba(242, 169, 59, .4); }
.js-motion .btn-amber:hover::after { transform: translateX(130%); transition: transform .8s var(--ease); }
.js-motion .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
.js-motion .tilt:hover { --ty: -6px; }
.js-motion .country-card:hover, .js-motion .post-card:hover, .js-motion .service-card:hover, .js-motion .bento-card:hover { --ty: -6px; }
.js-motion .float input:focus, .js-motion .float textarea:focus, .js-motion select:focus, .js-motion .combo-btn[aria-expanded="true"] { animation: ring-in .35s var(--ease); }

.js-motion .form-step.is-active.from-right { animation: slide-in-right .45s var(--ease) both; }
.js-motion .form-step.is-active.from-left { animation: slide-in-left .45s var(--ease) both; }
.js-motion .success-tick circle { animation: tick-circle .7s var(--ease) both; }
.js-motion .success-tick path { animation: tick-path .45s .5s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
	.ship-dot, .cursor-ship, .hero-cursor-glow { display: none !important; }
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee-track { width: auto; justify-content: center; }
	.marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
	.marquee-list[aria-hidden="true"] { display: none; }
}

@media (hover: none), (pointer: coarse) {
	.cursor-ship, .hero-cursor-glow { display: none; }
}

@media print {
	.topbar, .site-header, .site-footer, .cursor-ship, .hero-visual { display: none !important; }
}
