/* =========================================================
   GLB · Good Looking Brands · launch page
   Brand master: vault WebDesign/Studio/GLB Brand.md
   Round 9 (the face) merged with round 10 (the seal).
   The logo stays clean. The seal shows up only where it is earned.
   ========================================================= */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url("/fonts/martian-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-weight: 400; font-display: swap; src: url("/fonts/patrick-hand-latin-400-normal.woff2") format("woff2"); }

:root {
  --abyss: #00004B; --abyss-2: #07075e; --white: #FFFFFF; --paper: #FAFAF6;
  --smile: #59EBCE; --smile-lt: #3FC9AD; --cobalt: #006DAA; --sky: #ACDEFF; --mint: #CAFFD0; --moss: #5B7553;
  --ink: #00004B; --soft: #3a4a7a; --line: rgba(0, 0, 75, .12);
  --head: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --top-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top-h); }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--abyss); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--smile); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--smile); color: var(--abyss); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons and small type ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--spring), background-color .2s, color .2s, border-color .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }
.btn--smile { background: var(--smile); color: var(--abyss); box-shadow: 0 10px 30px -12px rgba(89, 235, 206, .7); }
.btn--smile:hover { background: var(--mint); }
.btn--line { border: 1.5px solid var(--sky); color: var(--white); background: transparent; }
.btn--line:hover { border-color: var(--smile); color: var(--smile); }
.btn--abyss { background: var(--abyss); color: var(--paper); }
.btn--abyss:hover { background: #12128a; }
.btn--outline-abyss { border: 2px solid var(--abyss); color: var(--abyss); background: transparent; }
.btn--outline-abyss:hover { background: var(--abyss); color: var(--paper); }
.note { font-family: var(--hand); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.1; color: var(--smile); }
.note--cobalt { color: var(--cobalt); }
.link { color: var(--cobalt); font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }
.link:hover { color: var(--abyss); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); transition: background-color .35s, box-shadow .35s, transform .4s var(--ease); }
.top.is-solid { background: rgba(0, 0, 75, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(172, 222, 255, .14); }
.top.is-hidden { transform: translateY(-100%); }
.top__in { height: 100%; display: flex; align-items: center; gap: 18px; color: var(--white); }
.top__logo { width: 64px; flex: none; color: var(--white); }
.top__logo svg { width: 100%; height: auto; transition: transform .4s var(--spring); }
.top__logo:hover svg { transform: rotate(-6deg) scale(1.06); }
.top__nav { margin-left: auto; }
.top__nav ul { display: flex; gap: 4px; }
.top__nav a { display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--sky); font-size: .95rem; transition: color .2s, background-color .2s; }
.top__nav a:hover, .top__nav a.is-on { color: var(--white); background: rgba(172, 222, 255, .12); }
.top__lang { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--sky); text-decoration: none; padding: 10px 12px; border: 1px solid rgba(172, 222, 255, .3); border-radius: 999px; min-width: 44px; text-align: center; }
.top__lang:hover { color: var(--smile); border-color: var(--smile); }
.top__menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(172, 222, 255, .35); background: transparent; position: relative; cursor: pointer; }
.top__menu i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease); }
.top__menu i:first-of-type { top: 18px; } .top__menu i:last-of-type { top: 26px; }
.top__menu[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.top__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: center; padding: calc(var(--top-h) + 40px) 0 120px; color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 75, .1), rgba(0, 0, 75, .35) 70%, var(--abyss)), url("/img/contour-lg.webp") right center / cover no-repeat, var(--abyss); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__kicker { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(.68rem, 1.1vw, .8rem); letter-spacing: .24em; text-transform: uppercase; color: var(--sky); margin-bottom: 22px; }
.hero__title { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(3rem, 8.4vw, 7rem); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--smile); display: inline-block; }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--sky); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__face { position: relative; }
.hero__logo { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; filter: drop-shadow(0 20px 50px rgba(0, 0, 30, .5)); transition: transform .6s var(--ease); }
.hero__smile { transform-box: fill-box; transform-origin: 50% 0; }
.js .hero__smile { animation: smile 6s var(--ease) 1.4s infinite; }
@keyframes smile { 0%, 84%, 100% { transform: scale(1, 1); } 90% { transform: scale(1.06, 1.25); } 95% { transform: scale(.98, .9); } }
.hero__earn { position: absolute; right: clamp(16px, 6vw, 96px); bottom: -46px; display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--sky); z-index: 2; }
.hero__note { font-family: var(--hand); font-size: 1.3rem; transform: rotate(-4deg); max-width: 11em; text-align: right; line-height: 1.1; }
.hero__note::after { content: " ↘"; }

/* ---------- The seal as an ink stamp ---------- */
.stamp { display: block; color: var(--sky); --stamp-accent: var(--smile);
  -webkit-mask: url("/img/ink.webp") center / 260px; mask: url("/img/ink.webp") center / 260px; }
.stamp__svg { width: 100%; height: 100%; overflow: visible; }
.stamp--hero { width: clamp(130px, 14vw, 190px); aspect-ratio: 1; transform: rotate(-12deg); transition: transform .5s var(--spring); }
.hero__earn:hover .stamp--hero { transform: rotate(-4deg) scale(1.06); }
.js .stamp.will-stamp { opacity: 0; transform: scale(1.6) rotate(-30deg); }
.stamp.is-stamped { animation: thunk .55s var(--spring) both; }
@keyframes thunk { 0% { opacity: 0; transform: scale(1.7) rotate(var(--r0, -28deg)); } 55% { opacity: 1; transform: scale(.94) rotate(var(--r1, -10deg)); } 100% { opacity: 1; transform: scale(1) rotate(var(--r1, -10deg)); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.sec--paper { background: var(--paper) url("/img/paper.webp") center / 600px; color: var(--ink); }
.sec--abyss { background: var(--abyss); color: var(--white); }
.sec--mint { background: var(--mint); color: var(--ink); }
.head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.head h2 { font-family: var(--head); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: .98; letter-spacing: -.035em; margin-top: 8px; text-wrap: balance; }
.head__lead { margin-top: 20px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--soft); max-width: 40em; }
.head--light .head__lead { color: var(--sky); }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.serv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.serv__item { position: relative; padding: 28px 26px 30px; border-radius: 26px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(0, 0, 75, .45); display: flex; flex-direction: column; gap: 10px; transition: transform .45s var(--spring), box-shadow .45s var(--ease); }
.serv__item:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(0, 0, 75, .55); }
.serv__item h3 { font-family: var(--head); font-weight: 600; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.02em; }
.serv__item p { color: var(--soft); font-size: .98rem; }
.serv__n { font-family: var(--hand); font-size: 1.8rem; line-height: 1; color: var(--cobalt); }
.serv__item--big { grid-column: span 2; grid-row: span 2; background: var(--abyss); color: var(--white); padding: 36px 34px; justify-content: flex-end;
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(0, 109, 170, .55), transparent 60%); }
.serv__item--big h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.serv__item--big p { color: var(--sky); font-size: 1.08rem; }
.serv__item--big .serv__n { color: var(--smile); font-size: 2.4rem; margin-bottom: auto; }
.serv__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.serv__tags span, .case__tags span { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(172, 222, 255, .35); color: var(--sky); }
.serv__item--quote { background: var(--smile); grid-column: span 2; }
.serv__item--quote p { color: var(--abyss); }
.serv__item--quote .serv__n { color: var(--abyss); }
.serv__item--quote .link { align-self: flex-start; color: var(--abyss); margin-top: auto; }

/* ---------- Certified sites ---------- */
.sealed { background: radial-gradient(80% 60% at 85% 0%, rgba(0, 109, 170, .35), transparent 70%), var(--abyss); overflow: hidden; }
.cases { display: grid; gap: clamp(64px, 9vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; position: relative; }
.case:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.case:nth-child(even) .case__open { order: 2; }
.case:nth-child(even) .stamp--case { left: auto; right: calc(60% - 70px); }
.case__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: none; text-align: left; perspective: 1400px; border-radius: 20px; }
.case__frame { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #0c0c3a; box-shadow: 0 0 0 1px rgba(172, 222, 255, .18), 0 40px 80px -40px rgba(0, 0, 0, .9);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; will-change: transform; }
.case__open:hover .case__frame, .case__open:focus-visible .case__frame { --sc: 1.015; box-shadow: 0 0 0 1px rgba(89, 235, 206, .55), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.case__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #10104a; border-bottom: 1px solid rgba(172, 222, 255, .12); }
.case__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(172, 222, 255, .3); }
.case__bar b { margin-left: 10px; font-family: var(--mono); font-weight: 400; font-size: .7rem; color: var(--sky); letter-spacing: .04em; }
.case__screen { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.case__shot { width: 100%; height: auto; transform: translateY(calc(var(--scroll, 0) * -1px)); transition: transform 1.1s var(--ease); }
.case__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.case__open:hover .case__glare { opacity: 1; }
.case__cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--smile); color: var(--abyss); font-weight: 600; display: grid; place-items: center; pointer-events: none;
  transform: translate(var(--cx, 50%), var(--cy, 50%)) scale(0); transition: transform .35s var(--spring); }
.case__open:hover .case__cursor { transform: translate(var(--cx), var(--cy)) scale(1); }
.stamp--case { position: absolute; z-index: 4; left: calc(60% - 70px); top: -44px; width: clamp(110px, 11vw, 150px); aspect-ratio: 1; color: var(--sky); --r0: -34deg; --r1: -12deg; transform: rotate(-12deg); pointer-events: none; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.case:nth-child(even) .stamp--case { --r1: 9deg; transform: rotate(9deg); }
.case--soon .stamp--case { color: var(--mint); }
.case__meta h3 { font-family: var(--head); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.03em; margin: 6px 0 14px; }
.case__meta > p:not(.note):not(.case__tags) { color: var(--sky); }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cases__hint { margin-top: 56px; text-align: center; font-family: var(--hand); font-size: 1.3rem; color: var(--sky); }

/* ---------- Full screen viewer ---------- */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--abyss); color: var(--white); display: none; flex-direction: column; overflow: hidden;
  clip-path: inset(var(--t, 0px) var(--r, 0px) var(--b, 0px) var(--l, 0px) round var(--rad, 0px)); }
.viewer[open] { display: flex; }
.viewer::backdrop { background: rgba(0, 0, 30, 0); transition: background-color .5s; }
.viewer.is-full::backdrop { background: rgba(0, 0, 30, .6); }
.viewer__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(12px, 2vw, 22px); background: var(--abyss); border-bottom: 1px solid rgba(172, 222, 255, .16); opacity: 0; transition: opacity .3s .1s; }
.viewer.is-full .viewer__bar { opacity: 1; }
.viewer__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.viewer__seal { width: 44px; height: 44px; flex: none; color: var(--sky); --stamp-accent: var(--smile); }
.viewer__seal svg { width: 100%; height: 100%; }
.viewer__name { font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__url { font-family: var(--mono); font-size: .7rem; color: var(--sky); }
.viewer__tools { display: flex; align-items: center; gap: 8px; }
.viewer__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(172, 222, 255, .3); background: transparent; cursor: pointer; font-size: 1.15rem; display: grid; place-items: center; transition: background-color .2s, border-color .2s, color .2s; }
.viewer__btn:hover { border-color: var(--smile); color: var(--smile); }
.viewer__close { background: var(--smile); color: var(--abyss); border-color: var(--smile); font-size: 1.6rem; }
.viewer__close:hover { background: var(--mint); color: var(--abyss); }
.viewer__open { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(172, 222, 255, .3); text-decoration: none; font-weight: 600; font-size: .95rem; }
.viewer__open:hover { border-color: var(--smile); color: var(--smile); }
.viewer__stage { position: relative; flex: 1; min-height: 0; background: #05052a; }
.viewer__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s; }
.viewer__stage iframe, .viewer__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s; background: #fff; }
.viewer__stage video { object-fit: contain; background: #05052a; }
.viewer__stage .is-ready { opacity: 1; }
.viewer__loading { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 75, .85); color: var(--sky); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; transition: opacity .3s; }
.viewer__loading span::after { content: "…"; }
.viewer.is-loaded .viewer__loading { opacity: 0; }

/* ---------- Why GLB ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why .head { position: sticky; top: calc(var(--top-h) + 32px); margin: 0; }
.why .head__lead { color: #1b2a5e; }
.why__list { display: grid; gap: 16px; counter-reset: why; }
.why__list li { counter-increment: why; position: relative; padding: 30px 30px 30px 92px; border-radius: 26px; background: var(--white); box-shadow: 0 20px 40px -32px rgba(0, 0, 75, .5); }
.why__list li::before { content: counter(why); position: absolute; left: 28px; top: 24px; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--cobalt); color: var(--cobalt); display: grid; place-items: center; font-family: var(--head); font-weight: 600; transform: rotate(-8deg); }
.why__list h3 { font-family: var(--head); font-weight: 600; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.why__list p { color: var(--soft); }

/* ---------- Process ---------- */
.proc__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proc__step { padding: 30px; border-radius: 26px; background: var(--white); box-shadow: 0 20px 40px -32px rgba(0, 0, 75, .5); display: flex; flex-direction: column; gap: 22px; }
.proc__step h3 { font-family: var(--head); font-weight: 600; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.proc__step p { color: var(--soft); }
.proc__stamp { width: 74px; height: 74px; border-radius: 50%; border: 4px solid var(--moss); color: var(--moss); display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 1.9rem; transform: rotate(-8deg);
  -webkit-mask: url("/img/ink.webp") center / 200px; mask: url("/img/ink.webp") center / 200px; }
.proc__step:nth-child(2) .proc__stamp { border-color: var(--cobalt); color: var(--cobalt); transform: rotate(6deg); }
.proc__step--seal .proc__stamp { border-color: var(--abyss); color: var(--abyss); background: var(--smile); }
.js .proc__step .proc__stamp { opacity: 0; transform: scale(1.7) rotate(-25deg); }
.js .proc__step.is-in .proc__stamp { animation: thunk .55s var(--spring) .35s both; --r0: -25deg; --r1: -8deg; }
.js .proc__step:nth-child(2).is-in .proc__stamp { --r1: 6deg; animation-delay: .5s; }
.js .proc__step:nth-child(3).is-in .proc__stamp { --r1: -4deg; animation-delay: .65s; }

/* ---------- Peel ---------- */
.peel { background: radial-gradient(70% 80% at 0% 100%, rgba(0, 109, 170, .35), transparent 70%), var(--abyss); }
.peel__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.peel__copy h2 { font-family: var(--head); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; margin: 8px 0 18px; }
.peel__copy p:not(.note) { color: var(--sky); max-width: 30em; }
.peel__reset { margin-top: 22px; }
.peel__reset[hidden] { display: none; }
.peel__demo { padding: clamp(18px, 3vw, 36px); border-radius: 30px; background: rgba(172, 222, 255, .08); border: 1px solid rgba(172, 222, 255, .18); }
.peel__footer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 20px; background: var(--white); color: #4f5a70; font-size: .92rem; text-align: center; }
.peel__footer .glb-credit { font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { margin: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; background: var(--white); box-shadow: 0 16px 30px -28px rgba(0, 0, 75, .5); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--head); font-weight: 600; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
.faq__item summary span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); position: relative; transition: transform .35s var(--spring), background-color .2s; }
.faq__item summary span::before, .faq__item summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--abyss); border-radius: 2px; }
.faq__item summary span::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] summary span { background: var(--smile); transform: rotate(180deg); }
.faq__item[open] summary span::after { transform: rotate(0deg); }
.faq__item p { padding: 0 24px 24px; color: var(--soft); max-width: 44em; }

/* ---------- Contact ---------- */
.cta { background: var(--smile); color: var(--abyss); padding: clamp(72px, 9vw, 120px) 0; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-family: var(--head); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; letter-spacing: -.04em; margin-bottom: 14px; }
.cta p { font-size: 1.2rem; max-width: 28em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.foot { background: var(--abyss); color: var(--sky); padding: 64px 0 28px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__logo { width: 150px; height: auto; }
.foot__brand .note { margin-top: 12px; }
.foot__col h2 { font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.foot__col p { line-height: 2; font-size: .95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--smile); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(172, 222, 255, .18); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .top__nav { position: fixed; inset: var(--top-h) 0 auto; margin: 0; padding: 12px 16px 20px; background: rgba(0, 0, 75, .97); border-bottom: 1px solid rgba(172, 222, 255, .16); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
  .top__nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .top__nav ul { flex-direction: column; }
  .top__nav a { padding: 14px 16px; font-size: 1.1rem; border-radius: 14px; }
  .top__menu { display: block; }
  .top__lang { margin-left: auto; }
  .serv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why, .faq { grid-template-columns: minmax(0, 1fr); }
  .why .head { position: static; }
  .foot__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { padding-bottom: 140px; background-image: linear-gradient(180deg, rgba(0, 0, 75, .1), rgba(0, 0, 75, .45) 60%, var(--abyss)), url("/img/contour-sm.webp"); background-position: center top; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__face { order: -1; }
  .hero__logo { max-width: 260px; margin: 0; }
  .case, .case:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .case:nth-child(even) .case__open { order: 0; }
  .stamp--case, .case:nth-child(even) .stamp--case { left: auto; right: 6px; top: -50px; width: 104px; }
  .case__open { cursor: pointer; }
  .case__cursor { display: none; }
  .proc__steps, .peel__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .top__cta { display: none; }
  .serv { grid-template-columns: minmax(0, 1fr); }
  .serv__item--big, .serv__item--quote { grid-column: auto; grid-row: auto; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .why__list li { padding: 84px 22px 26px; }
  .why__list li::before { top: 24px; left: 22px; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__col:last-child { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; }
  .viewer__open { padding: 0 14px; }
  .viewer__url { display: none; }
}
@media (max-width: 480px) {
  /* Keep previous and next on phones; the open link shrinks to its arrow */
  .viewer__open { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .viewer__open span { font-size: 1rem; }
  .viewer__name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stamp.will-stamp, .js .proc__step .proc__stamp { opacity: 1; transform: none; }
  .js .proc__step .proc__stamp { transform: rotate(-8deg); }
}
