/* AeroCompliance Partners GmbH i. G. — stylesheet
   Palette taken from the AC logo: deep navy, steel blue, sky, ice. */

@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --deep: #081c2d;
  --navy: #0d3049;
  --ink: #0f2a40;
  --blue: #164567;
  --steel: #28658a;
  --steel-dark: #1f5374;
  --sky: #59a3c1;
  --ice: #8ecfde;
  --mist: #eef6f9;
  --frost: #f6fafc;
  --white: #ffffff;
  --text: #2c4557;
  --muted: #647d8e;
  --line: #dde9ef;
  --line-dark: rgba(142, 207, 222, 0.16);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(13, 48, 73, 0.35);
  --shadow-lg: 0 24px 48px -28px rgba(13, 48, 73, 0.5);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(36px, 4.2vw, 60px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ice); color: var(--deep); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

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

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--frost); }
.section--dark { background: var(--navy); color: rgba(217, 238, 245, 0.78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--ice); }
.h1 { font-size: clamp(42px, 6.4vw, 80px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 700; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.035em; }
.soft { color: var(--sky); font-weight: 500; }
.section--dark .soft, .hero .soft { color: var(--ice); }
.lead { font-size: clamp(17.5px, 1.5vw, 19.5px); line-height: 1.6; color: var(--text); max-width: 34em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--steel); color: #fff; box-shadow: 0 14px 30px -14px rgba(40, 101, 138, .9); }
.btn--primary:hover { background: var(--steel-dark); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--line:hover { border-color: var(--steel); color: var(--steel); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header: always light so the logo keeps its original colours */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top, 0px); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(13, 48, 73, .5); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__logo { display: block; width: auto; height: 42px; }
.brand__name { display: flex; flex-direction: column; justify-content: center; line-height: 1; padding-left: 14px; border-left: 1px solid var(--line); height: 34px; }
.brand__name b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--navy); }
.brand__name small { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .34em; color: var(--steel); }

.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a.is-active { color: var(--navy); background: var(--mist); }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.lang a { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-decoration: none; color: var(--muted); transition: background-color .2s, color .2s; }
.lang a:hover { color: var(--navy); }
.lang a[aria-current="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -3px rgba(13, 48, 73, .35); }

.nav-toggle { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 99; background: #fff; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 28px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a.m-link { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }

@media (max-width: 479px) {
  .brand__logo { height: 34px; }
  .brand__name { padding-left: 10px; height: 30px; }
  .brand__name b { font-size: 15px; }
  .brand__name small { font-size: 9.5px; letter-spacing: .28em; }
  .brand { gap: 10px; }
  .lang a { min-width: 34px; padding: 0 7px; height: 32px; font-size: 12px; }
  .header-right { gap: 8px; }
}
@media (min-width: 1080px) {
  .nav, .header-cta { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; min-height: clamp(520px, 78vh, 740px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 28, 45, .55) 0%, rgba(8, 28, 45, 0) 45%); }
.hero__content { width: 100%; padding-block: calc(var(--header-h) + 44px) clamp(36px, 5vw, 64px); }
.hero h1 { color: #fff; max-width: 11.5em; margin-bottom: 26px; }
.hero .lead { color: rgba(226, 240, 246, .85); margin-bottom: 40px; max-width: 30em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(142, 207, 222, .22); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(217, 238, 245, .72); max-width: 640px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }

/* Split layouts */
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1.05fr .95fr; } .split--flip > :first-child { order: 2; } }
.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--sq { aspect-ratio: 1; max-width: 520px; }
.copy h2 { margin-bottom: 22px; }
.copy .lead + .lead { margin-top: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.facts li { padding: 10px 16px; border-radius: 999px; background: var(--mist); color: var(--navy); font-weight: 700; font-size: 14.5px; }

/* Section heads */
.head { display: grid; gap: 12px; margin-bottom: clamp(20px, 2.6vw, 32px); }
@media (min-width: 900px) { .head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }

/* Services */
.services { display: grid; gap: 18px; }
@media (min-width: 680px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 32px; display: grid; gap: 14px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 10px; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 12px 24px -14px rgba(22, 69, 103, .9); }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 20.5px; letter-spacing: -0.02em; }
.service p { font-size: 15.5px; color: var(--muted); }
.note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--sky); }

/* Focus band (dark) */
.focus-visual { position: relative; }
.focus-visual .frame { border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); margin-inline: auto; }
.checks { display: grid; margin: 24px 0 30px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); color: #fff; font-weight: 600; }
.checks svg { width: 20px; height: 20px; color: var(--ice); flex-shrink: 0; }
.industries { margin-top: clamp(28px, 3.5vw, 40px); padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; gap: 18px; }
.industries p { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.industries ul { display: flex; flex-wrap: wrap; gap: 10px; }
.industries li { padding: 10px 18px; border: 1px solid var(--line-dark); border-radius: 999px; color: #fff; font-weight: 600; font-size: 15px; transition: background-color .25s, border-color .25s; }
.industries li:hover { background: rgba(142, 207, 222, .08); border-color: rgba(142, 207, 222, .4); }

/* Approach */
.steps { display: grid; gap: 4px; counter-reset: s; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__num { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--steel); font-weight: 800; font-size: 14.5px; letter-spacing: .04em; font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s; }
.step:hover .step__num { background: var(--steel); color: #fff; }
.step h3 { font-size: 21px; align-self: end; }
.step p { color: var(--muted); font-size: 15.5px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, var(--steel) 100%); color: #fff; display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); max-width: 16em; }
.cta p { margin-top: 12px; color: rgba(217, 238, 245, .82); }

/* Contact */
.contact { display: grid; gap: clamp(44px, 5vw, 80px); }
@media (min-width: 980px) { .contact { grid-template-columns: .8fr 1.2fr; } }
.contact h2 { margin-bottom: 20px; }
.contact address { font-style: normal; margin: 32px 0 28px; padding-left: 18px; border-left: 2px solid var(--ice); color: var(--navy); font-weight: 600; line-height: 1.7; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--sky); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--frost); font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328658a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(89, 163, 193, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2413b; background: #fff; }
.err { display: none; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #b0362f; }
.field.has-error .err { display: block; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: 14.5px !important; color: var(--text) !important; line-height: 1.5; cursor: pointer; margin: 0 !important; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--steel); flex-shrink: 0; }
.consent a { color: var(--steel); font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.status { display: none; padding: 15px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.status.show { display: block; }
.status.ok { background: #e8f5ef; color: #1d6a4a; border: 1px solid #c2e4d3; }
.status.bad { background: #fbecea; color: #9b2f28; border: 1px solid #f0c9c4; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Footer (light) */
.site-footer { background: var(--frost); border-top: 1px solid var(--line); color: var(--text); padding-block: 36px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer-top { display: grid; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer p.tag { margin-top: 20px; max-width: 320px; color: var(--muted); }
.site-footer h4 { margin: 0 0 16px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--steel); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Legal pages */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--deep), var(--navy) 60%, var(--blue)); color: #fff; padding-block: calc(var(--header-h) + 48px) 44px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 58px); }
.page-hero p.sub { margin-top: 14px; color: rgba(217, 238, 245, .8); font-size: 18px; }
.legal { padding-block: clamp(40px, 5vw, 64px); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17.5px; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--text); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin: 10px 0 12px; display: grid; gap: 6px; }
.legal__body a { color: var(--steel); font-weight: 600; }
.legal__body address { font-style: normal; font-weight: 600; color: var(--navy); line-height: 1.7; }
.card { background: var(--frost); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; display: grid; gap: 14px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--steel); font-size: 13px; font-weight: 700; letter-spacing: .02em; width: fit-content; }
.meta { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--steel); font-weight: 700; text-decoration: none; }
.back svg { width: 16px; height: 16px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); background: var(--frost); }
.notfound img { width: 180px; height: auto; margin: 0 auto 32px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 32px; }

/* Reveal: content is visible at rest; JS adds a gentle entrance */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.note-lang { margin-bottom: 36px; padding: 14px 18px; border-radius: 12px; background: var(--mist); color: var(--blue); font-size: 14.5px; font-weight: 600; }
.note-lang a { color: var(--steel); }
.page-hero .eyebrow { color: var(--ice); }

/* Service cards with photos */
.service { padding: 0; overflow: hidden; gap: 0; }
.service__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { position: relative; padding: 38px 26px 30px; display: grid; gap: 10px; }
.service__body .service__icon { position: absolute; top: -27px; left: 26px; margin: 0; border: 3px solid #fff; box-sizing: content-box; }

/* Tighter joins between sections */
.section + .section:not(.section--mist):not(.section--dark) { padding-top: clamp(32px, 3.6vw, 52px); }
.eyebrow { margin-bottom: 16px; }
.copy h2 { margin-bottom: 16px; }
.contact h2 { margin-bottom: 14px; }
.contact address { margin: 24px 0 22px; }

/* ===== Fit each section on one screen ===== */
html { scroll-padding-top: var(--header-h); }
.h2 { font-size: clamp(28px, 3.1vw, 44px); }
.lead { font-size: clamp(16.5px, 1.3vw, 18.5px); }

/* Content is always visible: no fade-in that leaves blank areas */
.js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }

/* Hero fills the first screen exactly */
.hero { min-height: min(100vh, 820px); min-height: min(100svh, 820px); }
.hero__content { padding-block: calc(var(--header-h) + 32px) clamp(28px, 4vw, 52px); }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero__meta { margin-top: 28px; padding-top: 16px; }

/* Services: compact cards, two rows fit a laptop screen */
#services .head { margin-bottom: 18px; }
.services { gap: 14px; }
.service__media { aspect-ratio: 2.3 / 1; }
.service__body { padding: 28px 20px 18px; gap: 4px; }
.service__body .service__icon { width: 42px; height: 42px; top: -23px; left: 20px; border-radius: 13px; }
.service__body .service__icon svg { width: 21px; height: 21px; }
.service h3 { font-size: 18px; }
.service p { font-size: 14.5px; line-height: 1.5; }
.note { margin-top: 12px; font-size: 13px; }

/* Focus: smaller image, industries inside the text column */
.focus-visual .frame--sq { max-width: 440px; }
.checks { margin: 18px 0 18px; }
.checks li { padding: 11px 0; }
.industries { margin: 0 0 22px; padding: 0; border: 0; gap: 10px; }
.industries ul { gap: 8px; }
.industries li { padding: 7px 14px; font-size: 13.5px; }

/* Approach */
.step { padding: 14px 0; }

/* Contact: compact form */
.form-card { padding: clamp(20px, 2.4vw, 30px); }
.form-grid { gap: 12px 16px; }
.field label { margin-bottom: 5px; }
.field input, .field select { min-height: 46px; padding: 10px 14px; }
.field textarea { min-height: 96px; padding: 10px 14px; }
.contact address { margin: 18px 0 18px; }

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-legal a:hover { color: var(--steel); text-decoration: underline; }

/* ===== Round 2: laptop fit ===== */
:root { --section: clamp(26px, 2.8vw, 44px); }
.section + .section:not(.section--mist):not(.section--dark) { padding-top: var(--section); }
.checks li { padding: 9px 0; }
.copy .lead + .lead { margin-top: 10px; }


/* ===== Round 3: minimal gaps at section start and end ===== */
:root { --section: clamp(18px, 2vw, 30px); }
.section + .section:not(.section--mist):not(.section--dark) { padding-top: var(--section); }
.site-footer { padding-block: 28px calc(16px + env(safe-area-inset-bottom, 0px)); }
.footer-top { padding-bottom: 20px; gap: 20px; }
.footer-bottom { padding-top: 14px; }

/* ===== Consent banner ===== */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 400; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.consent.is-open { opacity: 1; transform: none; pointer-events: auto; }
.consent__card { width: 100%; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(8, 28, 45, .45); padding: 22px 24px 18px; }
.consent h2 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.consent p { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent__actions .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; flex: 1 1 auto; }
.consent__links { display: flex; gap: 18px; margin-top: 12px; font-size: 13px !important; }
.consent__links a { color: var(--steel); font-weight: 600; }
.consent__settings { display: grid; gap: 8px; margin-top: 14px; }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--frost); cursor: pointer; }
.consent__row strong { display: block; font-size: 14.5px; color: var(--navy); }
.consent__row span { font-size: 13px; color: var(--muted); }
.consent__row em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--steel); white-space: nowrap; }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c8d6de; transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--steel); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

/* Map in the contact section (loads only after consent) */
.map { position: relative; margin-top: 16px; height: 170px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--mist), #dcecf3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 14px; text-align: center; }
.map__ph p { font-size: 13px; color: var(--muted); max-width: 32em; line-height: 1.45; }
.map__ph .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.map__ph a { font-size: 13px; color: var(--steel); font-weight: 600; }
.contact address { margin: 14px 0 0; }
.footer-legal button { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); font-weight: 600; cursor: pointer; }
.footer-legal button:hover { color: var(--steel); text-decoration: underline; }
[hidden] { display: none !important; }
.consent h2 { display: flex; align-items: center; gap: 10px; }
.consent__icon { width: 34px; height: 34px; padding: 6px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue)); flex-shrink: 0; box-sizing: border-box; }

/* Text and images start at the top of each section (no centred gap) */
.split { align-items: start; }

/* v10: tighter spacing on every page */
:root { --section: clamp(16px, 1.8vw, 26px); }
.section { padding-block: var(--section); }
.page-hero { padding-block: calc(var(--header-h) + 22px) 22px; }
.page-hero p.sub { margin-top: 8px; }
.legal { padding-block: clamp(20px, 2.4vw, 32px); }
.legal h2 { margin-top: 1.4em; }
.hero { min-height: min(86vh, 720px); min-height: min(86svh, 720px); }
.hero__content { padding-block: calc(var(--header-h) + 20px) clamp(22px, 3vw, 40px); }
.site-footer { padding-top: 22px; }

/* v11: contact headings */
.contact-list { margin: 16px 0 0; display: grid; gap: 10px; padding-left: 18px; border-left: 2px solid var(--ice); }
.contact-list dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.contact-list dd { margin: 2px 0 0; color: var(--navy); font-weight: 600; }
.contact-list a { color: inherit; }
.footer-contact h4 { margin: 0 0 4px; }
.footer-contact h4 ~ h4 { margin-top: 12px; }
.footer-contact address, .footer-contact p { font-style: normal; margin: 0; }

/* v11: one section = one screen on desktop */
@media (min-width: 900px) and (min-height: 700px) {
  html:has(.hero) { scroll-snap-type: y mandatory; }
  .hero { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; }
  main > .section { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
  main > .section > .container { width: 100%; }
  html:has(.hero) .site-footer { scroll-snap-align: end; }
}

/* v13: services restored to the original large card design */
#services .head { margin-bottom: 28px; }
.services { gap: 22px; }
.service__media { aspect-ratio: 16 / 10; height: auto; }
.service__body { padding: 38px 26px 30px; gap: 10px; }
.service__body .service__icon { width: 54px; height: 54px; top: -27px; left: 26px; border-radius: 16px; }
.service__body .service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 20.5px; line-height: 1.25; }
.service p { font-size: 15.5px; line-height: 1.55; }
#services .note { margin-top: 20px; }
@media (min-width: 900px) and (min-height: 700px) { main > .section { padding-block: 14px; } #services { padding-block: 40px; } }
/* v13: map preview */
.map { height: 230px; }
.map__ph { position: relative; display: block; padding: 0; background-size: cover; background-position: center; }
.map__pin { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map__dot { width: 38px; height: 38px; color: var(--navy); filter: drop-shadow(0 6px 8px rgba(15, 40, 64, .35)); }
.map__dot svg { width: 100%; height: 100%; }
.map__label { background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(15, 40, 64, .5); white-space: nowrap; }
.map__bar { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; text-align: left; }
.map__bar p { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 0; max-width: none; }
.map__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.map__actions .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
@media (min-width: 900px) and (min-height: 700px) { html:has(.hero) { scroll-snap-type: y proximity; } main > .section { scroll-snap-stop: normal; } }
html:has(.hero) { scroll-snap-type: none !important; }

/* v14: services carousel, one service at a time */
.svc-carousel { margin-top: 4px; }
.svc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 14px; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tab { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.svc-tab:hover { border-color: var(--sky); }
.svc-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-stage { position: relative; }
.svc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius-lg); outline: none; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-track:focus-visible { box-shadow: 0 0 0 3px var(--sky); }
.svc-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: clamp(320px, calc(100vh - 380px), 470px); }
.svc-slide__media { margin: 0; overflow: hidden; background: var(--mist); }
.svc-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-slide__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(24px, 3.4vw, 52px); }
.svc-slide__count { margin: 0; font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.svc-slide__count strong { color: var(--steel); font-size: 15px; }
.svc-slide .service__icon { position: static; margin: 0; width: 56px; height: 56px; border: 0; }
.svc-slide h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.svc-slide__text { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.55; max-width: 26em; margin: 0; }
.svc-slide .btn { margin-top: 6px; }
.svc-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(15, 40, 64, .6); transition: background-color .2s, color .2s, opacity .2s; }
.svc-arrow:hover { background: var(--navy); color: #fff; }
.svc-arrow[disabled] { opacity: .35; cursor: default; background: #fff; color: var(--navy); }
.svc-arrow svg { width: 20px; height: 20px; }
.svc-arrow--prev { left: -24px; }
.svc-arrow--prev svg { transform: rotate(180deg); }
.svc-arrow--next { right: -24px; }
#services .note { margin-top: 14px; }
@media (max-width: 1300px) { .svc-arrow--prev { left: 10px; } .svc-arrow--next { right: 10px; } }
@media (max-width: 760px) {
  .svc-slide { grid-template-columns: 1fr; grid-template-rows: 210px auto; height: auto; }
  .svc-slide__body { gap: 10px; padding: 22px 20px 24px; }
  .svc-slide .service__icon { display: none; }
  .svc-arrow { top: 105px; width: 42px; height: 42px; margin-top: -21px; }
  .svc-track { align-items: stretch; }
}
.svc-slide { height: clamp(300px, calc(100vh - 410px), 480px); }
#services .head { margin-bottom: 18px; }
@media (min-width: 900px) and (min-height: 700px) { #services { padding-block: 14px; } }
@media (max-width: 760px) { .svc-slide { height: auto; } }
.svc-tabs { gap: 6px; }
.svc-tab { font-size: 13.5px; padding: 8px 13px; }
/* v15: show whole photo (16:9), no cropping */
.svc-slide { --sh: clamp(300px, calc(100vh - 410px), 470px); height: var(--sh); grid-template-columns: min(64%, calc(var(--sh) * 16 / 9)) 1fr; }
.svc-slide__media { height: 100%; }
.svc-slide__media img { object-fit: cover; object-position: center; }
@media (max-width: 760px) {
  .svc-slide { height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .svc-slide__media { height: auto; aspect-ratio: 16 / 9; }
  .svc-arrow { top: calc((100vw - 40px) * 9 / 32); }
}
.svc-slide { --sh: min(clamp(280px, calc(100vh - 410px), 424px), calc(36vw - 30px)); }
@media (max-width: 760px) { .svc-slide { height: auto; } }
.svc-slide { height: auto; align-items: stretch; }
.svc-slide__media { height: auto; aspect-ratio: 16 / 9; align-self: center; }
.svc-slide__body { gap: 12px; padding-block: 20px; }
@media (max-height: 820px) { .svc-slide .service__icon { width: 46px; height: 46px; border-radius: 14px; } .svc-slide .service__icon svg { width: 22px; height: 22px; } }

/* v16: crossfade carousel, continuous loop */
.svc-track { display: grid; overflow: visible; scroll-snap-type: none; border-radius: var(--radius-lg); }
.svc-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .7s; }
.svc-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .7s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.svc-slide.is-leaving { visibility: visible; }
.svc-slide__media img { transform: scale(1.08); transition: transform 4s cubic-bezier(.25, .46, .45, .94); }
.svc-slide.is-active .svc-slide__media img { transform: scale(1); }
.svc-slide__body > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.svc-slide.is-active .svc-slide__body > * { opacity: 1; transform: none; }
.svc-slide.is-active .svc-slide__body > :nth-child(1) { transition-delay: .15s; }
.svc-slide.is-active .svc-slide__body > :nth-child(2) { transition-delay: .22s; }
.svc-slide.is-active .svc-slide__body > :nth-child(3) { transition-delay: .29s; }
.svc-slide.is-active .svc-slide__body > :nth-child(4) { transition-delay: .36s; }
.svc-slide.is-active .svc-slide__body > :nth-child(5) { transition-delay: .43s; }
/* progress bar on the active tab */
.svc-tab { position: relative; overflow: hidden; }
.svc-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; }
.is-timing .svc-tab.is-active::after { animation: svcProgress var(--svc-delay, 3000ms) linear forwards; }
.is-paused .svc-tab.is-active::after { animation-play-state: paused; }
@keyframes svcProgress { to { transform: scaleX(1); } }
.svc-arrow[disabled] { opacity: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .svc-slide, .svc-slide__media img, .svc-slide__body > * { transition: none !important; transform: none !important; }
}
