/* ==========================================================================
   FyrlysWeb — design system
   Concept: "digital architecture". Blueprint grids, dimension lines and a
   north-star accent. Midnight fjord ink, warm paper, star gold, aurora green.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 700;
	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;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0a1b26;
	--ink-2: #102838;
	--ink-3: #1b3a4d;
	--paper: #f7f5f0;
	--white: #ffffff;
	--mist: #edf1f2;
	--line: rgba(10, 27, 38, 0.12);
	--line-strong: rgba(10, 27, 38, 0.22);
	--text: #0a1b26;
	--muted: #4a5d69;
	--gold: #f2b544;
	--gold-d: #d9962a;
	--aurora: #3ddbb0;
	--aurora-ink: #0b7a60;
	--danger: #b42318;
	--success: #0b7a60;

	--font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(10, 27, 38, 0.06), 0 12px 32px -12px rgba(10, 27, 38, 0.18);
	--shadow-lg: 0 30px 60px -24px rgba(10, 27, 38, 0.35);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 1.0625rem/1.65 var(--font-body);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--aurora-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }
.site-main:focus { outline: none; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.display { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 0.4em; }
.display--md { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.display em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, rgba(242, 181, 68, 0.55) 62%, rgba(242, 181, 68, 0.55) 92%, transparent 92%); padding: 0 0.06em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.h4 { font-size: 1.2rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 56ch; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 0.78rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--aurora-ink); margin-bottom: 18px;
}
.eyebrow--light { color: var(--aurora); }
.eyebrow__dot { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.22); }

/* ---------- Blueprint grid ---------- */
.blueprint {
	position: relative;
	background-color: var(--paper);
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px),
		linear-gradient(rgba(10, 27, 38, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 27, 38, 0.05) 1px, transparent 1px);
	background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
	background-position: -1px -1px;
}
.blueprint::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse at 70% 30%, transparent 30%, var(--paper) 85%);
}
.blueprint > * { position: relative; z-index: 1; }
.blueprint--dark {
	background-color: var(--ink);
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
.blueprint--dark::after { background: radial-gradient(ellipse at 20% 0%, rgba(61, 219, 176, 0.10), transparent 50%), radial-gradient(ellipse at 50% 50%, transparent 40%, var(--ink) 95%); }

/* ---------- Buttons ---------- */
.btn {
	--b-bg: transparent; --b-fg: var(--ink); --b-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
	font: 600 1rem/1 var(--font-display); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --b-bg: var(--gold); --b-fg: var(--ink); box-shadow: 0 8px 20px -10px rgba(217, 150, 42, 0.8); }
.btn--primary:hover { --b-bg: #f6c463; }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--white); }
.btn--dark:hover { --b-bg: var(--ink-3); }
.btn--ghost { --b-bd: var(--line-strong); --b-bg: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { --b-bd: var(--ink); }
.btn--outline { --b-bd: var(--ink); }
.btn--outline:hover { --b-bg: var(--ink); --b-fg: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.92rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 0.98rem var(--font-display); text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(247, 245, 240, 0.82);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10, 27, 38, 0.4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img, .custom-logo { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 6px; list-style: none; }
.site-nav .menu a {
	position: relative; display: block; padding: 10px 14px; text-decoration: none;
	font: 500 0.98rem var(--font-display); color: var(--ink);
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav .menu a:hover::after, .site-nav .menu .is-active > a::after, .site-nav .menu .current-menu-item > a::after { transform: scaleX(1); }

.lang-switch ul { display: flex; list-style: none; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch a {
	display: block; padding: 5px 11px; border-radius: 999px; text-decoration: none;
	font: 600 0.78rem/1.2 var(--font-display); letter-spacing: 0.06em; color: var(--muted);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--ink); color: var(--white); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon--close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 18px;
		padding: 20px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav .lang-switch ul { width: max-content; }
	.site-nav .btn { width: 100%; }
	.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
	.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 48px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: var(--muted); font-size: 0.95rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { width: 18px; height: 18px; color: var(--aurora-ink); }

.hero__visual { margin: 0; }
.plan {
	position: relative; padding: 28px; border-radius: var(--radius-lg);
	background: linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: var(--shadow-lg);
	animation: rise 0.9s var(--ease) both;
}
.plan__coord { position: absolute; font: 500 0.7rem/1 var(--font-display); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.45); }
.plan__coord--tl { top: 12px; left: 18px; }
.plan__coord--br { bottom: 12px; right: 18px; }
.plan__svg { width: 100%; }
.plan__dim path { stroke: rgba(61, 219, 176, 0.6); stroke-width: 1; }
.plan__dim text { fill: rgba(61, 219, 176, 0.85); font: 500 10px var(--font-display); letter-spacing: 0.1em; }
.plan__frame { stroke: rgba(255, 255, 255, 0.28); fill: rgba(255, 255, 255, 0.03); }
.plan__line { stroke: rgba(255, 255, 255, 0.18); }
.plan__dot { fill: rgba(255, 255, 255, 0.28); }
.plan__block { fill: rgba(255, 255, 255, 0.16); }
.plan__block--accent { fill: rgba(255, 255, 255, 0.85); }
.plan__btn { fill: var(--gold); }
.plan__img { fill: rgba(61, 219, 176, 0.10); stroke: rgba(61, 219, 176, 0.5); stroke-dasharray: 4 4; }
.plan__star { fill: var(--gold); }
.plan__card { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.16); }
.plan__trend { stroke: var(--aurora); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.4s 0.5s var(--ease) forwards; }

.chip {
	position: absolute; display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow);
	font-size: 0.85rem; color: var(--muted); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip strong { font: 700 1.05rem var(--font-display); color: var(--ink); margin-right: 4px; }
.chip .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--mist); color: var(--aurora-ink); }
.chip--a { top: -18px; right: 28px; }
.chip--b { left: -26px; top: 46%; animation-delay: -2s; }
.chip--c { right: -18px; bottom: 36px; animation-delay: -4s; }
.chip--c .icon { color: var(--gold-d); }

.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px dashed var(--line-strong); }
.stack li { font: 600 1rem var(--font-display); color: rgba(10, 27, 38, 0.45); letter-spacing: -0.01em; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin-inline: auto; width: 100%; padding: 16px 12px 0; }
	.chip--b { left: -6px; }
	.chip--c { right: -6px; }
}
@media (max-width: 520px) { .chip { font-size: 0.75rem; padding: 8px 10px; } .chip .icon { width: 24px; height: 24px; padding: 4px; } }

/* Animated background: lighthouse beam + live design canvas (assets/js/hero.js) */
@property --beam {
	syntax: "<angle>";
	inherits: false;
	initial-value: 20deg;
}
.hero { position: relative; isolation: isolate; }
.hero.blueprint::after { z-index: -1; } /* vignette under the canvas so the animation stays crisp */
.blueprint > .hero__canvas,
.blueprint > .hero__beam { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__canvas { width: 100%; height: 100%; }
.hero__beam {
	background: conic-gradient(from var(--beam) at 6% 112%,
		transparent 0deg,
		rgba(242, 181, 68, 0.06) 5deg,
		rgba(242, 181, 68, 0.26) 8deg,
		rgba(242, 181, 68, 0.06) 11deg,
		transparent 14deg);
	animation: beam-sweep 11s ease-in-out infinite alternate;
	mix-blend-mode: multiply;
}
@keyframes beam-sweep { from { --beam: 4deg; } to { --beam: 78deg; } }
.hero__copy { position: relative; }
.hero__copy::before {
	/* Soft halo keeps the heading crisp above the moving canvas. */
	content: ""; position: absolute; inset: -40px -60px -40px -80px; z-index: -1;
	background: radial-gradient(ellipse at 35% 45%, rgba(247, 245, 240, 0.55) 20%, rgba(247, 245, 240, 0) 65%);
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero__beam { animation: none; --beam: 40deg; } }
@media print { .hero__canvas, .hero__beam { display: none; } }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.jumpnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jumpnav a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
	background: var(--white); border: 1px solid var(--line); text-decoration: none; font: 500 0.92rem var(--font-display);
	transition: border-color 0.2s, transform 0.2s var(--ease);
}
.jumpnav a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.jumpnav .icon { width: 18px; height: 18px; color: var(--aurora-ink); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.section--ink { color: rgba(255, 255, 255, 0.78); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-head--light .section-head__lead { color: rgba(255, 255, 255, 0.7); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.pillar { position: relative; padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); transition: background 0.3s; }
.pillar:last-child { border-right: 0; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width 0.4s var(--ease); }
.pillar:hover::before { width: 100%; }
.pillar:hover { background: #fffdf8; }
.pillar__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.pillar__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--gold); }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar__num { font: 500 0.8rem var(--font-display); letter-spacing: 0.14em; color: var(--muted); }
.pillar__title { font-size: 1.6rem; }
.pillar p { color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line); } .pillar:last-child { border-bottom: 0; } .pillar__top { margin-bottom: 28px; } }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; border-top: 1px dashed rgba(255, 255, 255, 0.25); }
.process__step { position: relative; padding: 0 24px 0 0; }
.process__index {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: 50%;
	background: var(--ink); border: 1.5px solid var(--aurora); color: var(--aurora); font: 600 1rem var(--font-display);
}
.process__step:last-child .process__index { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.process__time { display: inline-flex; align-items: center; gap: 6px; font: 500 0.78rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.process__time .icon { width: 15px; height: 15px; }
.process h3 { font-size: 1.4rem; }
.process p { font-size: 0.98rem; }
@media (max-width: 900px) {
	.process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.process::before { display: none; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Promise / metrics */
.promise { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.promise__intro p:not(.eyebrow) { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.metric { padding: 28px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.metric dt { color: var(--muted); font-size: 0.95rem; }
.metric dd { margin: 0; font: 600 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); }
.metric dd small { font-size: 0.45em; margin-left: 4px; color: var(--aurora-ink); letter-spacing: 0; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .metric { padding: 20px 16px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; background: rgba(61, 219, 176, 0.14); color: var(--aurora-ink); }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 1024px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Services page */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
	position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-lg);
	background: var(--white); border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s;
}
.service::after { content: ""; position: absolute; top: 18px; right: 18px; width: 14px; height: 14px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); }
.service:hover, .service:target { border-color: var(--ink); box-shadow: var(--shadow); }
.service__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.service__num { font: 600 0.8rem var(--font-display); letter-spacing: 0.14em; color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--gold); }
.service__title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.service > p { color: var(--muted); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

.checklist { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.checklist .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(61, 219, 176, 0.18); color: var(--aurora-ink); stroke-width: 2.5; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.package .checklist { margin: 8px 0 30px; flex: 1; }
.package .btn { width: 100%; }
.package--featured { background: var(--ink); color: rgba(255, 255, 255, 0.8); border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.package--featured .package__name, .package--featured .package__price strong { color: var(--white); }
.package--featured .package__for, .package--featured .package__from, .package--featured .package__unit { color: rgba(255, 255, 255, 0.6); }
.package--featured .checklist .icon { background: rgba(61, 219, 176, 0.2); color: var(--aurora); }
.package__badge { position: absolute; top: -14px; left: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 0.78rem var(--font-display); }
.package__badge .icon { width: 14px; height: 14px; fill: currentColor; }
.package__name { font-size: 1.5rem; margin-bottom: 6px; }
.package__for { color: var(--muted); font-size: 0.97rem; min-height: 3.2em; }
.package__price { margin: 6px 0 16px; padding: 18px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.package--featured .package__price { border-color: rgba(255, 255, 255, 0.2); }
.package__price strong { font: 600 2.4rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.package__from, .package__unit { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .package--featured { transform: none; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none;
	font: 600 1.15rem/1.35 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.3s var(--ease), background 0.2s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq__item p { color: var(--muted); padding: 0 48px 22px 0; margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.card { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.card--ink { background: var(--ink); color: rgba(255, 255, 255, 0.8); border-color: var(--ink); }
.card--ink h2 { color: var(--white); }
.contact { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; margin-top: calc(-1 * clamp(24px, 4vw, 48px)); }
.contact__aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__form { box-shadow: var(--shadow); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }

.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--gold); }
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list small { display: block; font: 500 0.75rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 2px; }
.contact-list a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; }

.next-steps { list-style: none; counter-reset: n; display: grid; gap: 18px; margin-top: 18px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 48px; }
.next-steps li::before {
	content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px;
	border-radius: 50%; border: 1.5px solid var(--ink); font: 600 0.9rem var(--font-display);
}
.next-steps strong { display: block; font-family: var(--font-display); }
.next-steps span { color: var(--muted); font-size: 0.95rem; }

/* Form */
.contact-form { margin-top: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 0.95rem var(--font-display); }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper);
	font-size: 1rem; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
	appearance: none; cursor: pointer; padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1b26' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10, 27, 38, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff6f5; }
.field__error { color: var(--danger); font-size: 0.88rem; }
.field__hint { color: var(--muted); font-size: 0.82rem; align-self: flex-end; font-variant-numeric: tabular-nums; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.field--check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.field--check label { flex: 1; font: 400 0.92rem/1.55 var(--font-body); color: var(--muted); cursor: pointer; }
.field--check .field__error { flex-basis: 100%; padding-left: 34px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 0.85rem; }
.form-foot .icon { width: 16px; height: 16px; color: var(--aurora-ink); }
.form-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.form-notice p { margin: 0; }
.form-notice .icon { flex: none; width: 22px; height: 22px; }
.form-notice--success { background: rgba(61, 219, 176, 0.16); color: var(--success); border: 1px solid rgba(11, 122, 96, 0.3); }
.form-notice--error { background: #fff1ef; color: var(--danger); border: 1px solid rgba(180, 35, 24, 0.3); }
.contact-form button[type="submit"] { width: 100%; }
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.68); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 0.97rem; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-cta__title { color: var(--white); font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 18ch; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding: 56px 0; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.footer-title { font: 600 0.78rem var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list--icons .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--aurora); }
.site-footer .lang-switch ul { display: flex; border-color: rgba(255, 255, 255, 0.25); width: max-content; gap: 0; }
.site-footer .lang-switch a { color: rgba(255, 255, 255, 0.7); }
.site-footer .lang-switch a.is-active { background: var(--gold); color: var(--ink); }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Generic content ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose a { color: var(--aurora-ink); }
.entry { padding: 28px 0; border-bottom: 1px solid var(--line); }
.page-hero--404 .display { font-size: clamp(3rem, 9vw, 6rem); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.reveal { opacity: 1; transform: none; }
	.plan__trend { stroke-dashoffset: 0; }
}

@media print {
	.site-header, .site-footer, .hero__visual, .contact-form { display: none; }
	.blueprint { background: none; }
}
