/* Segawa Digital Solutions: site styles
   Concept: a calm, light site framed by the navy "control room" of the brand. The hero is a
   live camera viewfinder; navy returns for the closing call to action and the footer.
   All text colours are checked for WCAG 2.2 AA contrast against the surface they sit on. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("../fonts/michroma.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #070C24;        /* hero, footer */
  --navy: #141C5E;         /* wordmark navy */
  --blue: #1F6BEB;         /* brand blue: buttons, accents (white text 4.9:1) */
  --blue-ink: #1652BD;     /* blue for text on light surfaces (6.6:1 on white) */
  --blue-press: #1858C9;
  --sky: #7CC1FC;          /* accent on navy (8.6:1 on --night) */
  --paper: #F4F6FB;
  --white: #FFFFFF;
  --ink: #0E1430;          /* body text (17:1) */
  --muted: #4A5374;        /* secondary text (7.4:1 on white, 6.9:1 on paper) */
  --line: #DCE1EC;
  --on-night: #EEF2FC;
  --on-night-muted: #AEB9DA; /* 9.6:1 on --night */
  --rec: #FF5D5D;
  --ok: #0F7A55;
  --err: #B42318;
  --wa: #0B7A3E;           /* WhatsApp action (white text 5.5:1) */

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-label: "Michroma", "Archivo", "Segoe UI", sans-serif;

  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0: clamp(1rem, .97rem + .18vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + .4vw, 1.38rem);
  --step-2: clamp(1.55rem, 1.3rem + 1.1vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 3.9rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px -24px rgba(20, 28, 94, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img.img-failed { visibility: hidden; }
img { height: auto; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 110%; line-height: 1.08; margin: 0; letter-spacing: -.012em; text-wrap: balance; color: inherit; }
h1 { font-size: var(--step-3); font-weight: 800; }
h2 { font-size: var(--step-2); font-weight: 760; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
svg [d], svg circle, svg rect { vector-effect: non-scaling-stroke; }

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

.eyebrow { font-family: var(--f-label); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 14px; }
.eyebrow-light { color: var(--sky); }
.h3-like { font-size: var(--step-1); margin-bottom: 18px; }

/* ---------- buttons & links ---------- */
.btn { --rx: 50%; --ry: 50%; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: .95em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 107, 235, .8); }
.btn-primary:hover { background: var(--blue-press); color: #fff; box-shadow: 0 14px 30px -12px rgba(31, 107, 235, .9); transform: translateY(-1px); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #096A35; color: #fff; }
.btn-whatsapp svg { fill: currentColor; stroke: none; }
.btn-quiet { background: transparent; border-color: rgba(238, 242, 252, .4); color: var(--on-night); }
.btn-quiet:hover { border-color: var(--sky); color: #fff; }
.btn-accept { background: var(--white); color: var(--night); }
.btn-accept:hover { background: var(--sky); color: var(--night); }
/* microinteraction: ripple from the pointer position */
.btn .ripple { position: absolute; left: var(--rx); top: var(--ry); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: currentColor; opacity: .28; transform: scale(0); pointer-events: none; z-index: -1; animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--blue-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s; }
.text-link:hover { background-size: 100% 2px; color: var(--navy); }
.text-link-light { color: var(--on-night); }
.text-link-light:hover { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: .18em; }

/* ---------- top bar & header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
.topbar { background: var(--night); color: var(--on-night-muted); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-tag { font-family: var(--f-label); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: var(--on-night); text-decoration: none; }
.topbar a:hover { color: var(--sky); }
@media (max-width: 720px) { .topbar-tag, .topbar-links a + a { display: none; } .topbar-inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(14, 20, 48, .5); background: rgba(255, 255, 255, .98); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-scrolled .nav { min-height: 64px; }
.brand img { width: auto; height: 46px; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-list > li > a { display: inline-block; position: relative; padding: 10px 12px; font-weight: 600; font-size: .97rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav-list > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"] { color: var(--blue-ink); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--muted); }
.sub-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 290px; list-style: none; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-sub.open .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1001px) { .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; } }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; transition: background-color .15s, padding-left .2s var(--ease); }
.sub-menu a:hover { background: var(--paper); color: var(--blue-ink); padding-left: 16px; }
.sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub-all a { font-weight: 600; color: var(--blue-ink); }
.nav-cta { min-height: 44px; padding: .7em 1.2em; font-size: .95rem; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font-weight: 600; }
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .brand img { height: 38px; }
  .site-nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 14px; padding: 12px var(--gutter) 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(14, 20, 48, .5); max-height: calc(100vh - 100px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { padding: 14px 4px; width: 100%; }
  .nav-list > li > a::after { display: none; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub-menu { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open .sub-menu { display: block; }
  .has-sub:focus-within:not(.open) .sub-menu { display: none; }
  .nav-cta { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-night); background: radial-gradient(1100px 520px at 88% -12%, rgba(31, 107, 235, .5), transparent 62%), linear-gradient(180deg, var(--night), #0B1440); padding-block: clamp(48px, 7vw, 100px) clamp(60px, 8vw, 120px); }
.hero-grid-lines { position: absolute; inset: -20% -5%; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.45rem); }
.h1-line { display: block; }
.h1-accent { color: var(--sky); }
.hero-lede { font-size: var(--step-1); color: var(--on-night-muted); max-width: 36ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: .92rem; color: var(--on-night-muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; background: var(--sky); transform: rotate(45deg); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

/* viewfinder (the hero's signature) */
.viewfinder { position: relative; margin: 0; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #16206A, var(--night)); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(199, 206, 218, .16); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.viewfinder-photo { position: absolute; inset: -6% 0; }
.viewfinder-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.06) brightness(.92); }
.vf-overlay { position: absolute; inset: 0; pointer-events: none; color: #fff; font-family: var(--f-label); font-size: clamp(.55rem, .5rem + .25vw, .7rem); letter-spacing: .14em; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); background: linear-gradient(180deg, rgba(7, 12, 36, .5), transparent 30%, transparent 68%, rgba(7, 12, 36, .6)); }
.vf-overlay::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px); }
.vf-corner { position: absolute; width: 32px; height: 32px; border: 2px solid rgba(255, 255, 255, .85); }
.vf-corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.vf-row { position: absolute; left: 60px; right: 60px; display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.vf-top { top: 24px; }
.vf-bottom { bottom: 24px; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf-target { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; transition: transform .2s ease-out; }
.vf-target::before, .vf-target::after { content: ""; position: absolute; background: rgba(255, 255, 255, .55); }
.vf-target::before { left: 50%; top: -12px; bottom: -12px; width: 1px; }
.vf-target::after { top: 50%; left: -12px; right: -12px; height: 1px; }
@media (max-width: 440px) { .vf-row { left: 22px; right: 22px; } .vf-top { top: 56px; } .vf-bottom { bottom: 56px; } }

/* ---------- ribbon ---------- */
.ribbon { background: var(--navy); color: var(--on-night); }
.ribbon-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding-block: 16px; list-style: none; font-family: var(--f-label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.ribbon-list li { display: flex; align-items: center; gap: 18px; }
.ribbon-list li + li::before { content: ""; width: 5px; height: 5px; background: var(--sky); }
@media (max-width: 600px) { .ribbon { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(60px, 8vw, 112px); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-tint { background: #E9EEF8; }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .eyebrow { margin: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.section-foot { margin-top: 28px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card { --tx: 0deg; --ty: 0deg; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)); min-width: 0; }
.card:hover { box-shadow: var(--shadow); border-color: #BCC8E4; transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)) translateY(-4px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #1A2470, var(--night)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-fallback { display: block; height: 100%; background: radial-gradient(circle at 70% 30%, rgba(124, 193, 252, .35), transparent 60%); }
.card-body { display: grid; gap: 10px; align-content: start; padding: 20px 20px 22px; flex: 1; }
.card-body h3 { font-size: 1.16rem; }
.card-body p { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .94rem; color: var(--blue-ink); }
@media (max-width: 600px) {
  .card-link { flex-direction: row; align-items: stretch; }
  .card-media { flex: none; width: 116px; aspect-ratio: auto; }
  .card-body { padding: 14px 16px; gap: 6px; }
  .card-body h3 { font-size: 1.05rem; }
  .card-body p { font-size: .92rem; }
}
.card-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.card:hover .card-more svg { transform: translateX(4px); }

/* split + why */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.shield-stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 52px); border-radius: 28px; background: radial-gradient(closest-side, rgba(31, 107, 235, .16), transparent), var(--paper); }
.shield-stage picture { width: min(420px, 100%); }
.shield-stage img { width: 100%; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.why-list { display: grid; gap: 26px; list-style: none; }
.why-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(31, 107, 235, .1); color: var(--blue-ink); transition: transform .3s var(--ease), background-color .3s; }
.why-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-list li:hover .why-icon { transform: rotate(-6deg) scale(1.06); background: rgba(31, 107, 235, .16); }
.why-list h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: .98rem; }

/* steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px 20px; background: var(--white); border-top: 3px solid var(--blue); border-radius: 0 0 14px 14px; counter-increment: step; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--f-label); font-size: .72rem; letter-spacing: .2em; color: var(--blue-ink); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* sectors */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sectors { grid-template-columns: 1fr; } }
.sector { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #1A2470, var(--night)); max-width: 100%; }
@media (max-width: 480px) { .sector { aspect-ratio: 4 / 3; } }
.sector-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sector:hover .sector-img { transform: scale(1.06); }
.sector figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 60px 22px 22px; color: #fff; background: linear-gradient(transparent, rgba(7, 12, 36, .92) 55%); }
.sector figcaption p { font-size: .93rem; color: rgba(238, 242, 252, .9); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .2s, box-shadow .3s; }
.faq-item[open] { border-color: #BCC8E4; box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 650; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue-ink); transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { padding: 0 20px 20px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: var(--on-night); background: linear-gradient(120deg, var(--night), var(--navy)); padding-block: clamp(56px, 7vw, 96px); }
.cta-parallax { position: absolute; inset: -30% -10%; background: radial-gradient(600px 300px at 15% 80%, rgba(124, 193, 252, .25), transparent 60%), radial-gradient(700px 360px at 90% 10%, rgba(31, 107, 235, .35), transparent 60%); pointer-events: none; }
.cta-grid { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.cta-logo img { width: clamp(170px, 20vw, 250px); }
.cta-copy { display: grid; gap: 16px; min-width: 0; }
.cta-copy .eyebrow { margin: 0; }
.cta-copy h2 { color: #fff; }
.cta-copy p { color: var(--on-night-muted); font-size: var(--step-1); max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.cta-or { color: var(--on-night-muted); }
.cta-or a { color: var(--on-night); font-weight: 600; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--on-night); background: linear-gradient(170deg, var(--night), #0E1A52); padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 84px); }
.page-hero-compact { padding-block: clamp(30px, 4vw, 48px) clamp(36px, 5vw, 60px); }
.page-hero-bg { position: absolute; inset: -40% -10%; background: radial-gradient(700px 320px at 85% 20%, rgba(31, 107, 235, .45), transparent 60%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-lede { margin-top: 18px; max-width: 56ch; color: var(--on-night-muted); font-size: var(--step-1); }
.breadcrumbs { margin-bottom: 22px; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: .55; }
.breadcrumbs a { color: inherit; opacity: .9; }
.page-hero .breadcrumbs { color: var(--on-night-muted); }
.page-hero .breadcrumbs a { color: var(--on-night); }

.detail-hero { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.detail-grid > * { min-width: 0; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-media { order: -1; } }
.detail-copy h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.3rem); }
.detail-lede { margin-top: 16px; font-size: var(--step-1); color: var(--muted); max-width: 46ch; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.detail-copy .prose { margin-top: 22px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.detail-media { margin: 0; position: sticky; top: calc(var(--header-h) + 20px); }
.detail-media figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: linear-gradient(160deg, #1A2470, var(--night)); box-shadow: var(--shadow); }
.zoomable img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.zoomable:hover img { transform: scale(1.04); }
.zoom-badge { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.zoomable:hover .zoom-badge { transform: scale(1.1); }
.zoom-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 600; }
.check { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; }
.check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.prep { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 800px) { .prep { grid-template-columns: 1fr; } }
.prep-list { display: grid; gap: 10px; list-style: none; counter-reset: none; }
.prep-list li { display: flex; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prep-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; background: var(--blue); transform: rotate(45deg); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-2px); }
.combo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.combo .section-head { margin: 0; }
@media (max-width: 860px) { .combo { grid-template-columns: 1fr; } }
.combo-list { display: grid; gap: 14px; list-style: none; }
.combo-list li { display: grid; gap: 4px; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--paper); border-radius: 0 12px 12px 0; }
.combo-list span { color: var(--muted); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 4vw, 44px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.mv-card .eyebrow { margin: 0; }
.mv-card .prose { color: var(--muted); }
.mv-dark { background: var(--navy); color: var(--on-night); border-color: var(--navy); }
.mv-dark h2 { color: #fff; }
.mv-dark .prose { color: var(--on-night-muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.values li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--line); }
.values p { color: var(--muted); }

/* ---------- contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; list-style: none; margin-bottom: 20px; }
.contact-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 14px 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.contact-item .why-icon { width: 44px; height: 44px; }
.contact-label { display: block; font-family: var(--f-label); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-weight: 650; overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
a.contact-value:hover { color: var(--blue-ink); }
.copy-btn { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s, transform .15s; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue-ink); }
.copy-btn:active { transform: scale(.95); }
.copy-btn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.contact-note { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.form-card { padding: clamp(22px, 3.5vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(20, 28, 94, .5); }
.form-card .h3-like { margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.req { color: var(--err); }
.optional { color: var(--muted); font-weight: 400; font-size: .9em; }
.form-alert { margin-bottom: 20px; padding: 16px 18px; border-radius: 12px; border: 1px solid #F3C1BC; background: #FEF3F2; color: #7A1A12; }
.form-alert ul { margin-top: 8px; padding-left: 1.1em; }
.form-alert a { color: #7A1A12; }
.enquiry-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid #C9D1E3; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5374' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9FAACB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 107, 235, .16); }
.field [aria-invalid="true"] { border-color: var(--err) !important; background: #FFF8F7; }
.field.is-valid input, .field.is-valid textarea { border-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A55' stroke-width='2.6'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px top 15px; background-size: 18px; padding-right: 42px; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 600; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.field-hint { color: var(--muted); font-size: .82rem; text-align: right; font-variant-numeric: tabular-nums; }
.field-check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field-check label { font-weight: 400; font-size: .94rem; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-submit.is-loading .spinner { display: inline-block; }
.btn-submit.is-loading { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks-card { max-width: 680px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.thanks-mark svg { width: 84px; height: 84px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks-mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s .1s var(--ease) forwards; }
.thanks-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .65s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-card p { color: var(--muted); }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 6px; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #1A2470, var(--night)); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: grid; gap: 10px; align-content: start; padding: 22px; flex: 1; }
.post-body h2, .post-body h3 { font-size: 1.22rem; }
.post-body p:not(.post-meta) { color: var(--muted); font-size: .97rem; }
.post-meta { font-size: .85rem; color: var(--muted); }
@media (min-width: 1001px) { .post-card-lead { grid-column: span 2; } .post-card-lead a { display: grid; grid-template-columns: 1.15fr 1fr; } .post-card-lead .post-media { aspect-ratio: auto; min-height: 100%; } .post-card-lead h2 { font-size: 1.6rem; } }
.post-grid-small .post-card-lead { grid-column: auto; }
.empty { color: var(--muted); }
.article-head { padding-block: clamp(28px, 4vw, 48px) 28px; }
.article-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); margin-top: 12px; }
.article-figure { margin-block: 0 clamp(28px, 4vw, 48px); }
.article-figure .zoomable { aspect-ratio: 2.2; }
.article-body { padding-bottom: clamp(48px, 6vw, 84px); font-size: 1.08rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 40px !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.share > span { font-family: var(--f-label); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
@media (max-width: 860px) { .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; } }
.legal-nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.legal-nav a:hover { background: var(--white); }
.legal-nav a[aria-current="page"] { background: var(--white); color: var(--blue-ink); box-shadow: inset 3px 0 0 var(--blue); }
.legal { background: var(--white); padding: clamp(24px, 4vw, 48px); border-radius: 20px; border: 1px solid var(--line); }
.legal h2 { font-size: 1.3rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.table-scroll th, .table-scroll td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--paper); font-weight: 650; }
.table-scroll tr:last-child td { border-bottom: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .88em; background: var(--paper); padding: .12em .4em; border-radius: 6px; overflow-wrap: anywhere; }

/* ---------- 404 / error ---------- */
.error-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.error-card > div:last-child { display: grid; gap: 18px; align-content: start; }
.error-card .eyebrow { margin: 0; }
.error-card p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 800px) { .error-card { grid-template-columns: 1fr; } }
.error-visual { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 4 / 3; border-radius: 20px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 4px), radial-gradient(circle at 50% 40%, #1E2A7A, var(--night)); color: #fff; overflow: hidden; }
.error-code { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: clamp(4rem, 10vw, 7rem); line-height: 1; letter-spacing: .02em; animation: glitch 3s steps(1) infinite; }
.error-signal { font-family: var(--f-label); font-size: .7rem; letter-spacing: .4em; color: var(--sky); }
@keyframes glitch { 0%, 92%, 100% { transform: none; opacity: 1; } 93% { transform: translateX(-4px); opacity: .7; } 95% { transform: translateX(3px); } 97% { opacity: .4; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-block: 64px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 38ch; }
.footer-tag { font-family: var(--f-label); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
.footer-h { font-family: var(--f-label); font-weight: 400; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-night); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 9px; list-style: none; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-post { font-size: .88rem; }
.social { display: flex !important; gap: 14px !important; margin-top: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .87rem; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: 8px 20px !important; }
.legal-links .link-btn { color: var(--on-night-muted); text-decoration: none; }
.legal-links .link-btn:hover { color: #fff; text-decoration: underline; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 980px; margin-inline: auto; color: var(--on-night); background: rgba(7, 12, 36, .97); border: 1px solid rgba(124, 193, 252, .25); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); animation: rise .45s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.cookie-inner { display: grid; gap: 16px; padding: 20px 22px; }
.cookie-copy h2 { font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.cookie-copy p { color: var(--on-night-muted); font-size: .93rem; }
.cookie-copy a { color: var(--sky); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 44px; padding: .6em 1.15em; font-size: .93rem; }
@media (max-width: 560px) { .cookie-actions .btn { flex: 1 1 40%; } }
.cookie-prefs { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.switch { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; font-size: .92rem; color: var(--on-night-muted); cursor: pointer; }
.switch strong { color: var(--on-night); margin-right: 6px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: background-color .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + .switch-ui { background: var(--blue); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:disabled + .switch-ui { opacity: .6; }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- lightbox (interactive zoom) ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 7, 22, .95); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 7, 22, .9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto auto; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox-stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; display: grid; place-items: center; }
.lightbox-stage.is-dragging { cursor: grabbing; }
.lightbox-stage img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; transform-origin: center; user-select: none; -webkit-user-drag: none; transition: transform .2s var(--ease); }
.lightbox-stage.is-dragging img { transition: none; }
.lightbox-bar { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px; }
.lightbox-bar button { min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem; cursor: pointer; transition: background-color .2s; }
.lightbox-bar button:hover { background: rgba(255, 255, 255, .18); }
.lightbox-bar output { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.lightbox-close { margin-left: 12px; background: #fff !important; color: var(--night) !important; font-weight: 600; }
.lightbox-hint { text-align: center; padding-bottom: 16px; color: rgba(255, 255, 255, .7); font-size: .85rem; }

/* ---------- toast & back to top ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; padding: 12px 18px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s var(--ease), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.to-top .ring-bg { stroke: var(--line); stroke-width: 2; }
.to-top .ring { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 100.5; stroke-dashoffset: calc(100.5 - 100.5 * var(--progress, 0)); transform: rotate(-90deg); transform-origin: center; }
.to-top path { stroke: currentColor; stroke-width: 2.2; }
.cookie-open .to-top { bottom: 200px; }

/* ---------- reveal on scroll: nothing is ever hidden at rest. Items animate in the first
   time they scroll into view, so crawlers, link previews and no-JS visitors see everything. ---------- */
.reveal-in { animation: reveal-up .7s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes reveal-up { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-parallax] { transform: none !important; }
  .card, .card:hover { transform: none; }
}
@media print {
  .topbar, .site-header, .cookie-banner, .to-top, .cta-band, .site-footer, .scroll-progress { display: none !important; }
  body { background: #fff; }
}
