/* ==========================================================================
   Tafirud Technical Services — design system
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (from logo + company profile) */
  --navy-950: #071328;
  --navy-900: #0C1D3C;
  --navy-800: #13306B;   /* primary brand navy */
  --navy-700: #1E3F8E;
  --blue-600: #2A62C7;
  --blue-500: #3F7FD9;
  --sky-400:  #5AA2E6;
  --sky-300:  #8CC2F0;
  --sky-100:  #E4F0FB;
  --amber:    #F0A030;   /* profile accent — used sparingly */
  --wa:       #1FAF55;

  /* Neutrals (warm, to sit with interior photography) */
  --paper:    #F6F4EF;
  --paper-2:  #EDE9E1;
  --white:    #FFFFFF;
  --ink:      #0D1830;
  --ink-2:    #2C3648;
  --muted:    #5A6475;
  --line:     #DCD6CA;
  --line-2:   #E8E3D9;

  /* Feedback */
  --error:    #B42318;
  --error-bg: #FDECEA;
  --success:  #0F7B45;
  --success-bg:#E8F5EE;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-display: clamp(2.6rem, 1.55rem + 4.4vw, 5.4rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.1vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 3.05rem);
  --fs-h3: clamp(1.2rem, 1.08rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.075rem, 1rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  /* Space & layout */
  --container: 1320px;
  --gutter: clamp(1rem, .5rem + 2.6vw, 3rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(13, 24, 48, .06), 0 2px 8px rgba(13, 24, 48, .05);
  --shadow: 0 2px 6px rgba(13, 24, 48, .06), 0 18px 40px -12px rgba(13, 24, 48, .18);
  --shadow-lg: 0 30px 80px -24px rgba(7, 19, 40, .45);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--blue-500);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 650; line-height: 1.06; letter-spacing: -.02em; font-stretch: 92%; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
::selection { background: var(--sky-300); color: var(--navy-950); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .66); }
.section--flush { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--dark { background: var(--navy-900); color: #DCE6F5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section + .section--rule { border-top: 1px solid var(--line); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1.25rem;
}
.eyebrow__idx { color: var(--muted); }
.eyebrow__idx::after { content: "/"; margin-left: .75rem; opacity: .55; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow { color: var(--sky-300); }
.section--dark .eyebrow__idx { color: #8E9BB3; }
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: #C3CFE3; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 4rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); align-items: end; }
.section-head h2 { max-width: 20ch; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .section-head--split .lead { justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover { --btn-bg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: rgba(19, 48, 107, .35); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sky-100); --btn-bd: var(--sky-100); --btn-fg: var(--navy-950); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; --btn-fg: #fff; }
.btn--wa .icon { color: var(--wa); }
.btn--ghost-light.btn--wa .icon, .btn--wa.btn--solid .icon { color: currentColor; }
.btn--sm { min-height: 42px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .hero--dark :focus-visible { box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--sky-300); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--navy-800); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--navy-950); color: #B7C4DA; font-size: .8125rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__meta { display: flex; align-items: center; gap: 1.5rem; }
.topbar__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; }
.topbar a { color: #E4ECF8; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; color: var(--sky-300); }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; }
@media (max-width: 899px) { .topbar__meta span + span, .topbar__links a.topbar__email { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* Header sizing. The logo badge "hangs" below the bar at the top of the page on tablet/desktop
   so the complete original logo is shown large enough for the name, "T" and ESTD 2023 to read. */
:root { --header-h: 76px; --badge-h: 92px; --logo-overhang: 41px; }
@media (min-width: 768px)  { :root { --header-h: 84px; --badge-h: 116px; --logo-overhang: 57px; } }
@media (min-width: 1200px) { :root { --header-h: 88px; --badge-h: 144px; --logo-overhang: 81px; } }
@media (min-width: 1300px) { :root { --badge-h: 160px; --logo-overhang: 97px; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(7, 19, 40, .28); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
@media (min-width: 1440px) { .site-header__inner { gap: 2rem; } }

/* Logo: the client's original artwork (src/assets/brand/tafirud-logo.png), shown complete and unaltered on white */
.logo {
  --logo-h: 62px; position: relative; z-index: 2; flex: none; display: block; text-decoration: none;
  background: var(--white); padding: 4px 6px; border: 1px solid transparent; border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.logo__img { display: block; height: var(--logo-h); width: auto; transition: height .35s var(--ease); }
.logo:focus-visible { box-shadow: var(--focus); }
.site-header:not(.is-scrolled) .site-header__inner > .logo {
  --logo-h: var(--badge-h); align-self: flex-start; padding: 8px 10px 12px; border-color: var(--line-2);
  box-shadow: 0 22px 34px -22px rgba(7, 19, 40, .4);
}
@media (min-width: 768px) { .site-header:not(.is-scrolled) .site-header__inner > .logo { padding: 10px 14px 14px; } }
@media (max-width: 767px) { .logo { --logo-h: 56px; } }
/* Page content starts below the hanging badge */
.hero { padding-top: max(clamp(2.5rem, 1.5rem + 4vw, 5.5rem), calc(var(--logo-overhang) + 32px)) !important; }
.page-hero { padding-top: max(clamp(2rem, 1.5rem + 2vw, 3.5rem), calc(var(--logo-overhang) + 28px)) !important; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9375rem; color: var(--ink-2); text-decoration: none; background: none; border: 0;
  position: relative; white-space: nowrap;
}
@media (max-width: 1299px) {
  .nav__link { padding-inline: .55rem; }
  .nav__link::after { left: .55rem; right: .55rem; }
}
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px; background: var(--navy-800); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--has-mega:focus-within > .nav__link::after { transform: scaleX(1); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy-800); }
.nav__link .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: .5rem; }
.header-cta .btn { min-height: 46px; }
.header-phone { font-weight: 650; color: var(--navy-800); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .25rem; font-size: .9375rem; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; }
.header-phone:hover { text-decoration: underline; }

/* Mega menu */
.nav__item--has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 3;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(7, 19, 40, .3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; padding-block: 2.5rem; }
.mega__intro h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.mega__intro p { color: var(--muted); font-size: var(--fs-sm); }
.mega__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.mega__link { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; padding: .85rem .75rem; border-radius: var(--radius); text-decoration: none; transition: background-color .2s; }
.mega__link:hover { background: var(--paper); }
.mega__link .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--radius); background: var(--sky-100); color: var(--navy-800); }
.mega__link strong { display: block; font-weight: 650; color: var(--ink); font-size: .975rem; }
.mega__link span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }

/* Mobile nav */
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); color: var(--navy-800); }
.nav-toggle .icon { width: 24px; height: 24px; }
.mobile-nav { display: none; }
/* Below 1200px the main nav collapses into the menu button; phone and CTA stay visible down to 640px */
@media (max-width: 1199px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta + .nav-toggle { margin-left: .25rem; }
}
@media (max-width: 639px) { .header-cta { display: none; } .header-cta + .nav-toggle { margin-left: auto; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--line); background: var(--white); max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.mobile-nav__body { padding-block: 1.5rem 2rem; display: grid; gap: 2rem; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__list summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; font-stretch: 90%; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__list summary .icon { transition: transform .25s var(--ease); }
.mobile-nav__sub { list-style: none; padding-bottom: 1rem; display: grid; }
.mobile-nav__sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; padding: .6rem 0; color: var(--ink-2); justify-content: flex-start; gap: .75rem; }
.mobile-nav__sub a .icon { width: 20px; height: 20px; color: var(--blue-600); }
.mobile-nav__contact { display: grid; gap: .75rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 7rem); overflow: hidden; }
.hero::before { /* blueprint hairline grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(19, 48, 107, .055) 1px, transparent 1px), linear-gradient(to bottom, rgba(19, 48, 107, .055) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero__kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .85rem .4rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.75rem; }
@media (max-width: 374px) { .hero__kicker { font-size: .75rem; gap: .45rem; } }
.hero__kicker { white-space: nowrap; }
.hero__kicker b { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; background: var(--navy-800); color: #fff; padding: .25rem .55rem; border-radius: 999px; }
.hero h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -.03em; word-spacing: .06em; font-weight: 650; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero__lead { margin-top: 1.75rem; }
.hero__actions { margin-top: 2.25rem; }

.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero__facts li { padding: 1.1rem 1rem 0 0; }
.hero__facts strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 650; font-stretch: 85%; color: var(--navy-800); letter-spacing: -.01em; line-height: 1.1; }
.hero__facts span { display: block; font-size: .8125rem; color: var(--muted); margin-top: .25rem; }

.hero__media { position: relative; min-height: 520px; }
.hero__photo { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--paper-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main img { object-position: 50% 40%; }
@media (max-width: 640px) { .hero__facts { display: none; } .hero__actions { margin-bottom: .5rem; } }
@media (min-width: 1024px) { .hero__media { min-height: 640px; } }
.hero__photo--main { inset: 0 0 64px 64px; }
.hero__photo--inset { width: 42%; aspect-ratio: 3 / 4; left: 0; bottom: 0; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.hero__tag {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  display: flex; align-items: center; gap: .6rem; padding: .55rem .85rem; border-radius: 999px;
  background: rgba(7, 19, 40, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: .8125rem; font-weight: 600;
}
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240, 160, 48, .25); }
.hero__caption { position: absolute; right: 18px; bottom: 82px; z-index: 2; max-width: 250px; padding: 1rem 1.1rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__caption .mono { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-600); }
.hero__caption p { margin: .35rem 0 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1023px) { .hero__media { min-height: 0; aspect-ratio: 4 / 3.4; max-width: 680px; } }
@media (max-width: 560px) {
  .hero__media { aspect-ratio: 4 / 4.4; }
  .hero__photo--main { inset: 0 0 48px 28px; }
  .hero__photo--inset { width: 44%; border-width: 4px; }
  .hero__caption { display: none; }
}

/* Quick request builder */
.quick {
  position: relative; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr);
}
.quick__title { display: flex; align-items: center; gap: .75rem; font-weight: 700; font-size: 1rem; color: var(--ink); }
.quick__title .mono { font-size: .7rem; color: var(--muted); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.quick__fields { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
.quick__actions { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .quick__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) {
  .quick { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: end; }
  .quick__title { flex-direction: column; align-items: flex-start; gap: .35rem; align-self: center; }
  .quick__actions { grid-template-columns: auto auto; }
}
.quick label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: .35rem; text-transform: uppercase; }
.quick .btn { min-height: 50px; }

/* ---------- Form controls (shared) ---------- */
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 650; font-size: .9375rem; color: var(--ink); }
.field .req { color: var(--error); margin-left: .15rem; }
.field .hint { font-size: .8125rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid #CBC4B6; border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313306B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #A79F90; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(63, 127, 217, .22); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field__error { display: none; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--error); }
.field__error.is-visible { display: flex; }

/* ---------- Services index (home) ---------- */
.svc-index { list-style: none; border-top: 1px solid var(--line); counter-reset: svc; }
.svc-index__item { border-bottom: 1px solid var(--line); }
.svc-index__link {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: center;
  padding: 1.35rem .25rem; text-decoration: none; position: relative; transition: padding .35s var(--ease), background-color .35s var(--ease);
}
.svc-index__num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.svc-index__name { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 600; font-stretch: 90%; letter-spacing: -.01em; color: var(--ink); line-height: 1.15; }
.svc-index__desc { display: block; font-family: var(--font-body); font-size: .9375rem; color: var(--muted); margin-top: .3rem; font-weight: 500; letter-spacing: 0; }
.svc-index__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy-800); transition: all .35s var(--ease); background: var(--white); }
.svc-index__go .icon { width: 18px; height: 18px; }
.svc-index__link:hover { background: var(--white); padding-inline: 1.25rem; }
.svc-index__link:hover .svc-index__go { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: rotate(-45deg); }
.svc-index__link:hover .svc-index__name { color: var(--navy-800); }
@media (min-width: 900px) { .svc-index__desc { display: none; } .svc-index__link { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.1fr) auto; } .svc-index__short { display: block !important; color: var(--muted); font-size: .9375rem; line-height: 1.5; } }
.svc-index__short { display: none; }
@media (max-width: 899px) {
  .svc-index__link { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: .75rem; align-items: start; padding-block: 1.15rem; }
  .svc-index__num { padding-top: .35rem; }
  .svc-index__go { width: 40px; height: 40px; margin-top: .1rem; }
  .svc-index__desc { font-size: .875rem; line-height: 1.5; }
}

.services-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .services-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
  .services-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.services-layout__aside h2 { margin-bottom: 1.25rem; }
.services-layout__aside .lead { margin-bottom: 2rem; }
.aside-photo { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; display: none; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1100px) { .aside-photo { display: block; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 6rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--reverse .split__media { order: 2; } }
.split__media { position: relative; }
@media (min-width: 960px) { .split__media > .frame { max-width: 540px; } .split--reverse .split__media > .frame { margin-left: auto; } }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame__label {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .75rem; border-radius: 999px; background: rgba(7, 19, 40, .7); color: #fff; font-size: .78rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.frame__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-300); }
.split__media-duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: end; }
.split__media-duo .frame:last-child { margin-bottom: 3rem; }

.pillars { list-style: none; display: grid; gap: 0; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.pillars .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--sky-100); color: var(--navy-800); }
.pillars strong { display: block; font-weight: 700; margin-bottom: .15rem; }
.pillars p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- Why (dark grid) ---------- */
.why-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-grid li { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); position: relative; transition: background-color .35s var(--ease); }
.why-grid li:hover { background: rgba(255,255,255,.035); }
.why-grid .mono { font-size: .72rem; color: var(--sky-300); letter-spacing: .14em; }
.why-grid h3 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; }
.why-grid p { color: #AFBDD3; font-size: var(--fs-sm); margin: 0; }
@media (max-width: 639px) { .why-grid h3 { margin-top: 1rem; } }
.why-grid .icon { position: absolute; right: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem); top: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem); width: 28px; height: 28px; color: var(--sky-400); }


/* ---------- Full-bleed photo band ---------- */
.photo-band { position: relative; min-height: clamp(320px, 22rem + 10vw, 560px); display: grid; align-items: end; overflow: hidden; background: var(--navy-950); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: saturate(.9); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,40,.88) 0%, rgba(7,19,40,.55) 45%, rgba(7,19,40,.15) 100%); }
.photo-band__inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.photo-band__line { margin: 0; font-family: var(--font-display); font-weight: 650; font-stretch: 88%; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(2rem, 1.3rem + 3vw, 4.2rem); color: #fff; max-width: 16ch; }
.photo-band__line span { color: var(--sky-300); }

/* ---------- Work mosaic ---------- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 1.25rem; } }
.mosaic__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); margin: 0; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.035); }
.mosaic__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 1rem; color: #fff; font-size: .875rem; font-weight: 600;
  background: linear-gradient(to top, rgba(7, 19, 40, .78), transparent);
}
.mosaic__item figcaption span { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); font-weight: 500; margin-bottom: .2rem; }
.mosaic__item--a { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic__item--a { grid-column: 1 / span 5; grid-row: span 4; }
  .mosaic__item--b { grid-column: 6 / span 4; grid-row: span 2; }
  .mosaic__item--c { grid-column: 10 / span 3; grid-row: span 3; }
  .mosaic__item--d { grid-column: 6 / span 4; grid-row: span 2; }
  .mosaic__item--e { grid-column: 10 / span 3; grid-row: span 1; }
}

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: step; position: relative; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.process__step { position: relative; padding: 0 0 2rem 3.5rem; }
.process__step::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 1px; background: var(--line); }
.process__step:last-child::before { display: none; }
.process__num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8rem; color: var(--navy-800); font-weight: 500;
}
.process__step:first-child .process__num { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.process__step h3 { font-size: 1.15rem; margin: .45rem 0 .5rem; }
.process__step p { color: var(--muted); font-size: var(--fs-sm); margin: 0; max-width: 32ch; }
@media (min-width: 900px) {
  .process__step { padding: 4.25rem 1.5rem 0 0; }
  .process__step::before { left: 44px; right: 0; top: 19px; bottom: auto; width: auto; height: 1px; }
  .process__step:last-child::before { display: block; right: auto; width: 0; }
}

/* ---------- Sectors ---------- */
.sector-grid { list-style: none; display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sector-grid li { background: var(--white); padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); display: grid; gap: .75rem; align-content: start; }
.sector-grid .icon { width: 30px; height: 30px; color: var(--blue-600); margin-bottom: .75rem; }
.sector-grid h3 { font-size: 1.2rem; }
.sector-grid p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.sector-grid .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tag { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
a.tag:hover { border-color: var(--navy-800); color: var(--navy-800); }

/* ---------- Documents strip ---------- */
.docs { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .docs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.doc-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 560px) { .doc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc-list li { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .975rem; }
.doc-list .icon { width: 24px; height: 24px; color: var(--blue-600); }

/* ---------- AMC band ---------- */
.amc-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .amc-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.amc-band__body { padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); position: relative; z-index: 1; }
.amc-band h2 { color: #fff; max-width: 16ch; }
.amc-band p { color: #C9D6EC; }
.amc-band__list { list-style: none; display: grid; gap: .6rem; margin: 1.75rem 0 2.25rem; }
.amc-band__list li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.amc-band__list .icon { color: var(--sky-300); width: 20px; height: 20px; }
.amc-band__media { position: relative; min-height: 320px; }
.amc-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amc-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-800) 0%, rgba(19,48,107,0) 35%); }
@media (max-width: 959px) { .amc-band__media::after { background: linear-gradient(0deg, var(--navy-800) 0%, rgba(19,48,107,0) 40%); } }
.amc-band .eyebrow { color: var(--sky-300); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0;
  font-weight: 650; font-size: 1.1rem; line-height: 1.4; cursor: pointer; list-style: none; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; margin-top: .1rem; color: var(--navy-800); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy-800); }
.faq__answer { padding: 0 3rem 1.5rem 0; color: var(--ink-2); max-width: 75ch; }

.faq-layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(140, 194, 240, .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(140, 194, 240, .07) 1px, transparent 1px);
  background-size: 88px 88px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-band__inner { position: relative; display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); padding-block: clamp(4rem, 3rem + 4vw, 7rem); align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 5rem; } }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 19ch; }
.cta-band p { color: #B7C4DA; font-size: var(--fs-lead); max-width: 48ch; margin-top: 1.25rem; }
.contact-stack { display: grid; gap: .75rem; }
.contact-tile {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); text-decoration: none; color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.contact-tile:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.contact-tile > .icon:first-child { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgba(140, 194, 240, .12); color: var(--sky-300); }
.contact-tile--wa > .icon:first-child { background: rgba(31, 175, 85, .16); color: #4ED487; }
.contact-tile small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8E9BB3; }
.contact-tile strong { display: block; font-size: 1.05rem; font-weight: 650; overflow-wrap: anywhere; }
.contact-tile .icon--go { width: 18px; height: 18px; color: #8E9BB3; transition: transform .3s var(--ease); }
.contact-tile:hover .icon--go { transform: translate(2px, -2px); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B6CC; font-size: var(--fs-sm); border-top: 1px solid rgba(255,255,255,.08); }
.site-footer a { color: #DCE6F5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); padding-block: clamp(3.5rem, 3rem + 2vw, 5rem); }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-logo { display: block; width: min(100%, 300px); padding: 1rem 1.1rem; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -20px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.footer-logo:hover { transform: translateY(-2px); }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brand p { margin-top: 1.5rem; max-width: 36ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--sky-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .8125rem; color: #8E9BB3; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Mobile action bar & WhatsApp button ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr 1.25fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(13, 24, 48, .08);
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px; background: var(--white); text-decoration: none; font-weight: 700; font-size: .9375rem; color: var(--navy-800); }
.action-bar a .icon { width: 20px; height: 20px; }
.action-bar a.action-bar__wa .icon { color: var(--wa); }
.action-bar a.action-bar__primary { background: var(--navy-800); color: #fff; }
@media (max-width: 767px) { .action-bar { display: grid; } body { padding-bottom: 58px; } }

.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: none; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.25rem 0 1rem; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: .9375rem;
  box-shadow: 0 12px 30px -8px rgba(15, 123, 69, .55);
  opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab.is-visible { opacity: 1; transform: none; }
.wa-fab:hover { background: #15904A; }
@media (min-width: 768px) { .wa-fab { display: inline-flex; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(19, 48, 107, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(19, 48, 107, .05) 1px, transparent 1px);
  background-size: 88px 88px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18ch; margin-top: .25rem; }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; } }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); background: var(--paper-2); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__actions { margin-top: 2rem; }
.page-hero__icon { width: 56px; height: 56px; padding: 13px; border-radius: var(--radius); background: var(--navy-800); color: #fff; margin-bottom: 1.5rem; }

.breadcrumb { margin-bottom: clamp(1.75rem, 1.5rem + 1vw, 2.75rem); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: #B5AE9F; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Service page ---------- */
.spec { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .spec { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .spec__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.spec-table { list-style: none; border-top: 1px solid var(--ink); }
.spec-table li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .spec-table li { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.4fr); } }
.spec-table .mono { font-size: .78rem; color: var(--muted); padding-top: .2rem; }
.spec-table strong { font-family: var(--font-display); font-weight: 600; font-stretch: 92%; font-size: 1.2rem; line-height: 1.3; }
.spec-table p { margin: 0; color: var(--ink-2); }

.approach { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .approach { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.approach li { background: var(--white); padding: 1.75rem; }
.approach .mono { font-size: .75rem; color: var(--blue-600); letter-spacing: .12em; }
.approach h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
.approach p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

.benefits { list-style: none; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefits li { padding-top: 1.25rem; border-top: 2px solid var(--navy-800); }
.benefits h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.benefits p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

.related { list-style: none; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Service cards (services index, related) ---------- */
.svc-cards { list-style: none; display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease); }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.svc-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; flex: 1; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__top .mono { font-size: .75rem; color: var(--muted); }
.svc-card__top .icon { width: 26px; height: 26px; color: var(--blue-600); }
.svc-card h3 { font-size: 1.3rem; margin-top: .35rem; }
.svc-card h3 a { text-decoration: none; color: var(--ink); }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.svc-card__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .9375rem; color: var(--navy-800); }
.svc-card__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(3px); }
.svc-card--compact .svc-card__media { aspect-ratio: 16 / 9; }

/* ---------- Gallery (our work) ---------- */
.gallery { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; } }
.gallery figure { break-inside: avoid; margin: 0 0 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; background: var(--paper-2); }
.gallery figcaption { padding: 1rem 1.15rem 1.15rem; font-size: var(--fs-sm); color: var(--ink-2); }
.gallery figcaption .mono { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .3rem; }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button { min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 650; font-size: .9rem; color: var(--ink-2); }
.filter button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filter button:hover { border-color: var(--navy-800); }

/* ---------- Stat/facts row ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 650; font-stretch: 85%; color: var(--navy-800); line-height: 1; letter-spacing: -.02em; }
.facts span { display: block; margin-top: .6rem; font-size: .875rem; color: var(--muted); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--navy-800); font-weight: 600; }

.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue-600); margin-top: .15rem; }

.note { display: grid; grid-template-columns: 24px 1fr; gap: .9rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--sky-100); color: var(--ink-2); font-size: var(--fs-sm); border: 1px solid #CFE2F6; }
.note .icon { width: 24px; height: 24px; color: var(--navy-800); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4.5rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 3rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: span 2; } }
.form-summary { display: none; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--error-bg); color: var(--error); border: 1px solid #F3C1BC; margin-bottom: 1.5rem; }
.form-summary.is-visible { display: block; }
.form-summary h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .4rem; }
.form-summary ul { padding-left: 1.2rem; font-size: .9rem; }
.form-summary a { color: var(--error); font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.75rem; }
.form-foot p { font-size: .8125rem; color: var(--muted); margin: 0; max-width: 46ch; }
.form-result { display: none; }
.form-result.is-visible { display: block; }
.form-result__icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 1.25rem; }
.form-result h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.form-result .btn-row { margin-top: 1.5rem; }
.form-result__icon--neutral { background: var(--sky-100); color: var(--navy-800); }
.form-result--error .form-result__icon { background: var(--error-bg); color: var(--error); }

.contact-aside { display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
a.contact-card:hover { border-color: var(--navy-800); box-shadow: var(--shadow-sm); }
.contact-card > .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); }
.contact-card--wa > .icon { background: #E3F6EA; color: var(--wa); }
.contact-card small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.1rem; font-weight: 700; margin-top: .1rem; overflow-wrap: anywhere; }
.contact-card span { display: block; font-size: .875rem; color: var(--muted); margin-top: .2rem; }

/* ---------- Sector rows ---------- */
.sector-row { display: grid; gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem); grid-template-columns: minmax(0, 1fr); padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) { .sector-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sector-row__head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1rem; align-content: start; }
.sector-row__head .icon { width: 52px; height: 52px; padding: 13px; border-radius: var(--radius); background: var(--sky-100); color: var(--navy-800); grid-row: span 2; }
.sector-row__head .mono { font-size: .75rem; color: var(--muted); letter-spacing: .12em; }
.sector-row__head h2 { grid-column: 1 / -1; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); margin-top: 1.25rem; }
.sector-row__head p { grid-column: 1 / -1; margin: .25rem 0 0; }
.sector-row__body p { color: var(--ink-2); font-size: 1.0625rem; }
.sector-row__body h3 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .9rem; }

[hidden] { display: none !important; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound__code { font-family: var(--font-mono); color: var(--blue-600); letter-spacing: .14em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero-enter > * { animation: rise .9s var(--ease) both; }
.hero-enter > *:nth-child(2) { animation-delay: .08s; }
.hero-enter > *:nth-child(3) { animation-delay: .16s; }
.hero-enter > *:nth-child(4) { animation-delay: .24s; }
.hero-enter > *:nth-child(5) { animation-delay: .32s; }
.hero__media.hero-enter-media { animation: fadein 1.2s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

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

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .action-bar, .wa-fab, .cta-band, .mobile-nav { display: none !important; }
  body { background: #fff; }
}
