/* ==========================================================================
   HBS Dubai — design system (black & white, editorial, minimal)
   One stylesheet, no build step. Sections: tokens, base, layout, components,
   pages, utilities, motion, print.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --black: #000;
  --white: #fff;
  --g50: #fafafa;
  --g100: #f4f4f4;
  --g200: #e6e6e6;
  --g300: #d0d0d0;
  --g400: #a3a3a3;
  --g500: #707070;
  --g700: #3d3d3d;
  --g900: #141414;

  /* contextual (light by default; .theme-dark swaps) */
  --bg: var(--white);
  --fg: var(--black);
  --muted: var(--g500);
  --soft: var(--g100);
  --line: rgba(0, 0, 0, .14);
  --line-strong: rgba(0, 0, 0, .35);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.05rem + .9vw, 1.6rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.4vw, 3.4rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 4.2vw, 5.2rem);
  --fs-display: clamp(2.8rem, 1.8rem + 5.6vw, 6.4rem);

  --track-caps: .16em;
  --radius: 2px;
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .6s;
}
.theme-dark {
  --bg: var(--black);
  --fg: var(--white);
  --muted: var(--g400);
  --soft: var(--g900);
  --line: rgba(255, 255, 255, .18);
  --line-strong: rgba(255, 255, 255, .45);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; }
p a, li a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 300; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); font-weight: 300; }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; }
h4 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
small { font-size: var(--fs-sm); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: var(--radius); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--black); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-xl); line-height: 1.45; font-weight: 300; letter-spacing: -.01em; color: var(--fg); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.measure { max-width: 62ch; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.display { font-size: var(--fs-display); font-weight: 300; letter-spacing: -.035em; line-height: .98; }
.caps { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 3rem; }
  .section-head > .lead { justify-self: end; max-width: 42ch; padding-bottom: .35em; }
  .section-head--stack { grid-template-columns: 1fr; }
}
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid > * { background: var(--bg); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.cols { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(12, 1fr); } .cols > .c5 { grid-column: span 5; } .cols > .c6 { grid-column: span 6; } .cols > .c7 { grid-column: span 7; } .cols > .c4 { grid-column: span 4; } .cols > .c8 { grid-column: span 8; } .cols > .c-off1 { grid-column-start: 2; } }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2.25rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255,255,255,.14); transition: opacity var(--dur); }
.site-header.is-scrolled, .site-header--solid { background: var(--white); color: var(--black); }
.site-header.is-scrolled::after, .site-header--solid::after { background: rgba(0,0,0,.1); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: inherit; margin-right: auto; }
.brand svg { height: 30px; width: auto; }
.brand__unit { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .85; border-left: 1px solid currentColor; padding-left: .9rem; line-height: 1.1; white-space: nowrap; }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: var(--fs-sm); font-weight: 500; letter-spacing: .01em; position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; }
.lang a { opacity: .55; padding: .25rem .1rem; }
.lang a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.lang span { opacity: .35; }
.header-cta { display: inline-flex; color: inherit; border-color: currentColor; background: transparent; }
.header-cta:hover { background: currentColor; }
.site-header:not(.is-scrolled):not(.site-header--solid) .header-cta:hover { color: var(--black); }
.site-header.is-scrolled .header-cta:hover, .site-header--solid .header-cta:hover { color: var(--white); }
@media (min-width: 900px) and (max-width: 1080px) { .nav { gap: 1.25rem; } .nav a { font-size: var(--fs-xs); } .site-header .container { gap: 1rem; } }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; align-items: center; margin-right: -8px; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
}
@media (max-width: 899px) { .site-header .header-cta { display: none; } }
/* mobile overlay nav */
@media (max-width: 899px) {
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--black); color: var(--white); }
  .nav-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--black); color: var(--white); padding: var(--gutter);
    overflow-y: auto; justify-content: flex-start; padding-top: 2.5rem;
    animation: fade .35s var(--ease);
  }
  .nav-open .nav a { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 300; letter-spacing: -.02em; }
  .nav-open .nav .nav__cta { margin-top: 1rem; font-size: var(--fs-md); }
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.5rem;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--fg); border-radius: var(--radius); background: var(--fg); color: var(--bg);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn--outline { background: transparent; color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--bg); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--fg); padding-inline: 0; text-transform: none; letter-spacing: 0; font-size: var(--fs-md); font-weight: 500; }
.btn--ghost:hover { background: transparent; }
.btn--ghost .arrow { transition: transform .3s var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(4px); }
.btn--lg { min-height: 3.5rem; padding-inline: 2rem; }
.btn--sm { min-height: 2.5rem; padding: .4rem 1rem; font-size: var(--fs-xs); }
.btn.is-loading { opacity: .6; pointer-events: none; }
.btn svg { width: 1.1em; height: 1.1em; }
.arrow { display: inline-block; width: 1em; height: 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 4.5rem); min-height: min(88vh, 860px); display: flex; align-items: flex-end; }
.hero--short { min-height: 0; align-items: center; padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5rem)); }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; } }
.hero h1 { margin-bottom: 1.5rem; max-width: 17ch; font-size: var(--fs-h1); }
.hero h1.display { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem); letter-spacing: -.035em; }
.hero .lead { max-width: 46ch; }
.hero__aside { display: grid; gap: 1.25rem; align-content: end; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.hero__meta strong { color: var(--fg); font-weight: 500; }
.hero__mark { position: absolute; z-index: 0; pointer-events: none; opacity: .09; right: -6vw; top: 50%; transform: translateY(-50%); height: 120%; width: auto; }
.hero__mark svg { height: 100%; width: auto; }
@media (max-width: 899px) { .hero__mark { right: -30vw; opacity: .07; } }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 1.5rem; font-size: var(--fs-xs); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); display: none; }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- doors (business units) ---------- */
.doors { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem; min-height: 100%;
  padding: clamp(1.75rem, 4vw, 3rem); background: var(--bg); color: var(--fg);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.door:hover, .door:focus-within { background: var(--fg); color: var(--bg); }
.door:hover .eyebrow, .door:focus-within .eyebrow { color: inherit; }
.door h2, .door h3 { margin: 0; }
.door__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.door__list li { display: flex; gap: .75rem; align-items: baseline; }
.door__list li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.door__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; padding-top: 1.5rem; }
.door__cta .arrow { transition: transform .35s var(--ease); }
.door:hover .door__cta .arrow { transform: translateX(6px); }
.door > a.door__link::after { content: ""; position: absolute; inset: 0; }
.door__num { position: absolute; top: clamp(1.25rem, 3vw, 2rem); right: clamp(1.25rem, 3vw, 2rem); font-size: var(--fs-xs); letter-spacing: .1em; opacity: .5; }

/* ---------- feature / service lists ---------- */
.features { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } .features--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .features--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem) 0; display: grid; gap: .75rem; align-content: start; }
@media (min-width: 700px) { .feature { padding-left: clamp(1.25rem, 3vw, 2rem); } .feature:first-child, .features--3 .feature:nth-child(3n+1), .features--4 .feature:nth-child(4n+1) { padding-left: 0; } }
.feature__num { font-size: var(--fs-xs); letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: var(--fs-sm); margin: 0; text-wrap: pretty; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 800px) { .service-list li { grid-template-columns: 3rem minmax(0, 2fr) minmax(0, 3fr); gap: 2rem; align-items: baseline; } }
.service-list .feature__num { padding-top: .35rem; }
.service-list h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
.service-list p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 799px) { .service-list p { grid-column: 2; } }

/* ---------- numbers ---------- */
.numbers { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(4, 1fr); } .numbers--3 { grid-template-columns: repeat(3, 1fr); } }
.number { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.number__value { font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4.25rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.number__value sup { font-size: .4em; vertical-align: top; top: .35em; position: relative; font-weight: 400; margin-left: .05em; }
.number__label { margin-top: .6rem; font-size: var(--fs-sm); color: var(--muted); max-width: 20ch; text-wrap: pretty; }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(var(--steps, 4), 1fr); } }
.steps li { counter-increment: step; background: var(--bg); padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: .75rem; align-content: start; }
.steps li::before { content: "0" counter(step); font-size: var(--fs-xs); letter-spacing: .12em; color: var(--muted); }
.steps h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
.steps p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- quote / testimonial strip ---------- */
.quote { font-size: var(--fs-xl); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; max-width: 34ch; text-wrap: pretty; }
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.5rem; gap: 1.5rem; align-items: center; padding: 1.25rem 0; font-size: var(--fs-lg); font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 1.25rem; height: 1.25rem; background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 100% no-repeat; transition: transform .35s var(--ease); justify-self: end; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 70ch; text-wrap: pretty; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: .7rem 0; font-size: var(--fs-md); color: var(--fg); transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 10px) 55%/6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) calc(100% - 4px) 55%/6px 6px no-repeat; padding-right: 1.5rem; cursor: pointer; }
.field select option { color: #000; background: #fff; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--fg); padding-bottom: calc(.7rem - 1px); }
.field input::placeholder, .field textarea::placeholder { color: var(--g400); }
.field .is-invalid, .field [aria-invalid="true"] { border-bottom: 2px solid var(--fg); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.check input { flex: none; width: 1rem; height: 1rem; margin: .25rem 0 0; accent-color: var(--fg); }
.check input.is-invalid { outline: 2px solid #c00; outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { font-size: var(--fs-sm); padding: .8rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.form-status.is-ok { border-color: var(--fg); font-weight: 500; }
.form-status.is-error { border-color: #c00; color: #c00; }
.form-status.is-pending { color: var(--muted); }
.theme-dark .form-status.is-error { color: #ff8a8a; border-color: #ff8a8a; }
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- contact panel ---------- */
.contact-panel { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .contact-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-info { display: grid; gap: 1.5rem; align-content: start; font-size: var(--fs-md); }
.contact-info dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-info dd { margin: 0; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- office / map ---------- */
.map { position: relative; aspect-ratio: 16 / 10; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; opacity: .6; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border: 2px solid var(--fg); border-radius: 50%; transform: translate(-50%, -50%); }
.map__pin::after { content: ""; position: absolute; inset: -12px; border: 1px solid var(--fg); border-radius: 50%; opacity: .35; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.map__actions { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; z-index: 1; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map.is-loaded::before, .map.is-loaded .map__pin { display: none; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: var(--fs-sm); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

/* ---------- careers ---------- */
.careers { display: grid; gap: 2rem; }
@media (min-width: 900px) { .careers { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: start; } }
.careers__card { border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1rem; }
.careers__card dl { margin: 0; display: grid; gap: .5rem; }
.careers__card dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.careers__card dd { margin: 0 0 .5rem; }

/* ---------- logos / trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.trust strong { color: var(--fg); font-weight: 600; }
.trust__item { display: inline-flex; align-items: center; gap: .6rem; }
.trust__item svg { width: 1.1rem; height: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .cta-band .btn-row { justify-self: end; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-brand svg { height: 34px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: var(--fs-sm); color: var(--muted); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }
.footer-bottom a:hover { text-decoration: underline; }
.social { display: flex; gap: 1rem; }
.social a { display: inline-flex; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-strong); align-items: center; justify-content: center; border-radius: 50%; transition: background .3s, color .3s; }
.social a:hover { background: var(--fg); color: var(--bg); }
.social svg { width: 1rem; height: 1rem; }

/* ---------- floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--black); color: var(--white); border: 1px solid var(--white);
  border-radius: 999px; padding: .75rem 1.1rem .75rem .9rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.wa-float:hover { background: var(--white); color: var(--black); border-color: var(--black); transform: translateY(-2px); }
.wa-float svg { width: 1.35rem; height: 1.35rem; }
@media (max-width: 899px) {
  .wa-float { bottom: calc(4.25rem + env(safe-area-inset-bottom)); right: 1rem; padding: .8rem; }
  .wa-float span { display: none; }
}
.mobile-bar {
  display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  grid-template-columns: 1fr 1fr; background: var(--black); color: var(--white);
  padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(255,255,255,.2);
}
.mobile-bar a, .mobile-bar button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mobile-bar a + a, .mobile-bar a + button, .mobile-bar button + a { border-left: 1px solid rgba(255,255,255,.2); }
.mobile-bar svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); animation: fade .25s var(--ease); }
.modal__box { position: relative; width: 100%; max-width: 480px; background: var(--white); color: var(--black); padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); max-height: calc(100vh - 2rem); overflow: auto; }
.modal__close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; }
.modal__close:hover { background: var(--g100); }
.modal__close svg { width: 1.1rem; height: 1.1rem; }
.modal__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; padding-right: 2.5rem; }
.modal__head svg { width: 2rem; height: 2rem; flex: none; }
.modal__head h2 { font-size: var(--fs-h3); font-weight: 500; margin: 0; }
.modal__head p { font-size: var(--fs-sm); color: var(--g500); margin: .15rem 0 0; }
.modal .fine { font-size: var(--fs-xs); color: var(--g500); }
.modal-open { overflow: hidden; }

/* ---------- misc components ---------- */
.rule { height: 1px; background: var(--line); }
.tag { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: .35rem .7rem; border-radius: 999px; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.pill-list li { font-size: var(--fs-sm); border: 1px solid var(--line-strong); padding: .4rem .85rem; border-radius: 999px; }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
.frame { border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); }
.frame--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.value-grid { display: grid; gap: 1.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value-grid h3 { font-size: var(--fs-md); font-weight: 600; margin: 0 0 .35rem; }
.value-grid p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.breadcrumb { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a:hover { color: var(--fg); }
.mark-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mark-bg svg { position: absolute; right: -8%; top: -10%; height: 130%; width: auto; opacity: .06; }
.section > .container { position: relative; z-index: 1; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-h3); font-weight: 500; margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.75rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35rem; }

/* ---------- motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .wa-float, .mobile-bar, .modal, .hero__mark, .mark-bg { display: none !important; }
  body { padding: 0; }
  .theme-dark { --bg: #fff; --fg: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
