/* ==========================================================================
   ProMontaj.ro : homepage redesign
   Design language: "fișă de șantier" (site work-board)
   Brand tokens preserved from the live site: orange #F55301, navy #001659
   Type: Poppins (brand) + IBM Plex Mono (technical annotations)
   ========================================================================== */

@import url('fonts.css');

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Brand, lifted from the live stylesheet */
  --orange: #f55301;
  --orange-600: #dc4600;
  --orange-700: #b93a00;
  --amber: #ff9f00;          /* only ever used inside the orange's own ramp */
  --navy: #001659;
  --navy-700: #00113f;
  --navy-500: #0b2170;

  /* One neutral family only: cool, tinted toward the brand navy.
     No warm greys anywhere in this page. */
  --ink: #0a1230;
  --ink-2: #26304f;
  --muted: #5c6684;
  --muted-2: #838ca6;
  --line: #e2e6f0;
  --line-2: #eef1f7;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --paper-3: #eaeef7;

  /* Corner-radius lock: 4px on every surface, 2px on every control.
     Nothing on this page is a pill. */
  --r: 4px;
  --r-sm: 2px;

  /* Shadows carry the navy hue, never neutral black */
  --shadow-1: 0 1px 2px rgba(0, 22, 89, .05), 0 10px 26px -14px rgba(0, 22, 89, .18);
  --shadow-2: 0 2px 6px rgba(0, 22, 89, .07), 0 26px 54px -26px rgba(0, 22, 89, .26);
  --shadow-accent: 0 10px 26px -12px rgba(245, 83, 1, .48);

  --f-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --rail: 0px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 64px;

  /* z-index scale, no magic 9999 */
  --z-rail: 30;
  --z-header: 50;
  --z-drawer: 70;
  --z-callbar: 75;
  --z-skip: 80;
  /* local stacking inside a positioned parent, not global layers */
  --z-1: 2;
  --z-2: 3;
  --z-3: 4;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-skip);
  background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- layout shell -- */
.shell { padding-left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(68px, 8.5vw, 122px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

/* Optical correction: bottom padding sits a touch heavier than top */
.section--opt { padding-top: clamp(68px, 8.5vw, 122px); padding-bottom: clamp(84px, 10vw, 140px); }

/* ------------------------------------------------------------ type scale -- */
.display {
  font-weight: 800;
  font-size: clamp(1.95rem, 3.85vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -.026em;
  text-wrap: balance;
}

.h3 {
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -.015em;
}

.lede {
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

/* Technical annotation type: mono, tracked, uppercase */
.tag {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1.4;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- rails -- */
/* The measuring-tape rail. Desktop only, where it earns its space. */
.tape { display: none; }

@media (min-width: 1200px) {
  :root { --rail: 48px; }
  .shell { padding-left: var(--rail); }

  .tape {
    display: block;
    position: fixed;
    inset-block: 0;
    left: 0;
    width: var(--rail);
    z-index: var(--z-rail);
    background: var(--paper-2);
    border-right: 1px solid var(--line);
    pointer-events: none;
  }
  .tape__ticks {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to right, transparent 0 27px, var(--line) 27px 28px, transparent 28px),
      repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 40px);
    background-size: 100% 100%, 100% 100%;
    background-position: 0 0, 0 -1px;
  }
  .tape__ticks::after {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(to bottom,
      var(--muted-2) 0 1px, transparent 1px 160px);
    background-position: 0 -1px;
    width: 20px;
    opacity: .55;
  }
  .tape__marker {
    position: absolute; left: 0; top: 0;
    width: var(--rail);
    display: grid; place-items: center;
    will-change: transform;
  }
  .tape__marker i {
    display: block;
    width: 2px; height: 46px;
    background: var(--orange);
    border-radius: 1px;
  }
  /* Scroll-driven animation where supported: no scroll listener, no rAF loop.
     Browsers without it simply keep the marker parked at the top. */
  @supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
      .tape__marker {
        animation: tapeRun linear both;
        animation-timeline: scroll(root block);
      }
    }
  }
  @keyframes tapeRun {
    from { transform: translateY(0); }
    to { transform: translateY(calc(100dvh - 62px)); }
  }
  .tape__label {
    position: absolute; left: 0; bottom: 14px; width: 100%;
    text-align: center;
    font-family: var(--f-mono);
    font-size: .625rem;
    letter-spacing: .06em;
    color: var(--muted-2);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0 auto;
    inset-inline: 0;
    padding-bottom: 8px;
  }
}

/* --------------------------------------------------------------- header -- */
.util {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
}
.util__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 34px;
}
.util__in > * { white-space: nowrap; }
.util b { color: #fff; font-weight: 500; }
.util__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #3ddc84; margin-right: 7px; vertical-align: 1px;
}
.util__right { display: flex; align-items: center; gap: 18px; }
.util__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }
@media (max-width: 900px) { .util__hide { display: none; } }
@media (max-width: 620px) {
  .util__in { justify-content: center; text-align: center; }
  .util__in > * { white-space: normal; }
  .util__right { display: none; }
}

.header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 22, 89, .4); }

.header__in {
  display: flex; align-items: center; gap: 22px;
  height: var(--header-h);
}
.header__logo { flex: none; }
.header__logo img { width: 152px; }

.nav { margin-left: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 12px;
  font-size: .875rem; font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: color .18s ease, background-color .18s ease;
}
.nav__link:hover { color: var(--navy); background: var(--paper-2); }
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .24s cubic-bezier(.2, .7, .3, 1);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__caret { width: 8px; height: 8px; transition: transform .2s ease; }
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

/* Services mega-menu: a two-column service index, not a dropdown list */
.mega {
  position: absolute; left: 50%; top: calc(100% + 1px);
  transform: translate(-50%, 8px);
  width: min(660px, calc(100vw - 48px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .3, 1), visibility .18s;
}
.nav__item { position: relative; }
.nav__item:hover .mega,
.nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.mega__link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 10px;
  font-size: .875rem; color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background-color .16s ease, color .16s ease;
}
.mega__link::after {
  content: ""; width: 14px; height: 8px; flex: none;
  background: var(--orange);
  clip-path: polygon(0 42%, 62% 42%, 62% 0, 100% 50%, 62% 100%, 62% 58%, 0 58%);
  opacity: 0; transform: translateX(-5px);
  transition: opacity .18s ease, transform .18s ease;
}
.mega__link:hover { background: var(--paper-2); color: var(--navy); }
.mega__link:hover::after { opacity: 1; transform: translateX(0); }
.mega__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  color: var(--muted);
}

.header__side { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tel {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  padding-block: 5px;
}
.tel small {
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.tel b { font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.tel:hover b { color: var(--orange); }

.cart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: border-color .18s ease, color .18s ease;
}
.cart:hover { border-color: var(--navy); color: var(--navy); }
.cart__n {
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  color: var(--muted);
}

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--r-sm);
  padding: 0; cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 1.5px; margin: 4px auto;
  background: var(--navy); border-radius: 1px;
  transition: transform .24s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .cart { display: none; }
  .burger { display: block; }
}
@media (max-width: 700px) {
  /* the sticky bottom bar already carries this CTA on phones */
  .header__side > .btn { display: none; }
  .header__side { gap: 12px; }
}
@media (max-width: 560px) {
  .header__logo img { width: 118px; }
  .tel small { display: none; }
  .tel b { font-size: .9375rem; }
  .header__side { gap: 10px; }
  .header__in { gap: 12px; }
}

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 600; letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease,
              border-color .2s ease, transform .12s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 15px; font-size: .8125rem; }

.btn--primary {
  background: linear-gradient(96deg, var(--orange) 0%, var(--amber) 190%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: linear-gradient(96deg, var(--orange-600) 0%, var(--orange) 180%);
  box-shadow: 0 14px 30px -12px rgba(245, 83, 1, .58);
}

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-500); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--paper-2); }

.btn--onnavy { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--onnavy:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .55); }

/* Arrow-link: the tertiary style, keeps button noise down */
.alink {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 26px;
  font-size: .875rem; font-weight: 600; color: var(--navy);
}
.alink i {
  width: 16px; height: 9px; flex: none; background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
  transition: transform .22s cubic-bezier(.2, .7, .3, 1);
}
.alink:hover { color: var(--orange); }
.alink:hover i { transform: translateX(4px); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* faint drafting grid, navy-tinted; texture without noise */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: .85;
  pointer-events: none;
  mask-image: linear-gradient(to right, #000 0 46%, transparent 78%);
  -webkit-mask-image: linear-gradient(to right, #000 0 46%, transparent 78%);
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(74vh, 620px);
}
@media (min-width: 1024px) {
  .hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(44px, 5.5vw, 72px);
  padding-right: clamp(0px, 2vw, 34px);
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero__eyebrow i {
  width: 22px; height: 1px; background: var(--orange); flex: none;
}

.hero__title { margin-bottom: 18px; }
.hero__say[hidden] { display: none; }

.hero .lede { margin-bottom: 30px; }

.hero__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Switcher: replaces the old auto-rotating slider with an honest index */
.switch {
  margin-top: clamp(34px, 4.5vw, 54px);
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.switch__btn {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 4px 13px 0;
  background: none; border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  transition: color .2s ease;
}
.switch__btn:last-child { border-bottom: 0; }
.switch__bar {
  width: 3px; height: 22px; flex: none;
  background: var(--line);
  border-radius: 2px;
  transition: background-color .22s ease, transform .22s ease;
  transform: scaleY(.62);
  transform-origin: center;
}
.switch__btn b {
  font-family: var(--f-mono); font-weight: 500;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.switch__btn em {
  margin-left: auto; font-style: normal; color: var(--muted-2);
  transition: transform .22s ease, color .22s ease;
}
.switch__btn em i {
  display: block; width: 16px; height: 9px; background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
}
.switch__btn:hover { color: var(--navy); }
.switch__btn[aria-pressed="true"] { color: var(--navy); }
.switch__btn[aria-pressed="true"] .switch__bar { background: var(--orange); transform: scaleY(1); }
.switch__btn[aria-pressed="true"] em { color: var(--orange); }
.switch__btn[aria-pressed="true"] em i { transform: translateX(3px); }

.hero__media {
  position: relative;
  min-height: 340px;
  margin-inline: calc(var(--gutter) * -1);
}
@media (min-width: 1024px) {
  .hero__media {
    min-height: 100%;
    margin-left: 0;
    /* bleed the photograph to the viewport's right edge */
    margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--rail) - var(--container)) / 2)));
  }
}

.hero__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--paper-3);
  /* full-bleed photo band: squared where it meets the viewport edge,
     radiused where it meets the page content */
  border-radius: 0;
}
@media (min-width: 1024px) { .hero__frame { border-radius: var(--r) 0 0 var(--r); } }
.hero__frame[hidden] { display: none; }
.hero__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s linear;
}
.hero__frame.is-live img { transform: scale(1.09); }
.hero__frame--a img { object-position: 55% 50%; }
.hero__frame--b img { object-position: 50% 55%; }

/* Drafting annotation, drawn on the photograph itself */
.dim {
  position: absolute;
  color: #fff;
  z-index: var(--z-2);
  pointer-events: none;
}
.dim__line { position: absolute; background: currentColor; opacity: .85; }
.dim__line::before,
.dim__line::after {
  content: ""; position: absolute;
  width: 7px; height: 7px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.dim--v { right: 22px; top: 12%; bottom: 12%; width: 1px; }
.dim--v .dim__line { top: 0; bottom: 0; left: 0; width: 1px; }
.dim--v .dim__line::before { top: -3px; left: -3px; }
.dim--v .dim__line::after { bottom: -3px; left: -3px; }
.dim--v span {
  position: absolute; top: 50%; left: 0;
  height: max-content;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: rgba(0, 22, 89, .82);
  color: #fff;
  padding: 11px 6px;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  backdrop-filter: blur(3px);
}
.dim--h { left: 7%; right: 24%; bottom: 96px; height: 1px; }
.dim--h .dim__line { left: 0; right: 0; top: 0; height: 1px; }
.dim--h .dim__line::before { left: -3px; top: -3px; }
.dim--h .dim__line::after { right: -3px; top: -3px; }
.dim--h span {
  position: absolute; left: 0; bottom: 9px;
  font-family: var(--f-mono);
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 22, 89, .6);
}

/* Metal spec plate, clipped to the photo's lower-left */
.hero__plate {
  position: absolute; left: 0; bottom: 0; z-index: var(--z-3);
  display: flex; align-items: stretch;
  background: var(--paper);
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow-2);
}
@media (min-width: 1024px) { .hero__plate { left: -1px; } }
.hero__plate > div { padding: 13px 18px; }
.hero__plate > div + div { border-left: 1px solid var(--line); }
.hero__plate b {
  display: block; font-size: 1.35rem; font-weight: 700;
  letter-spacing: -.03em; color: var(--navy); line-height: 1;
}
.hero__plate small {
  display: block; margin-top: 5px;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------------ databand -- */
.band { background: var(--navy); color: #fff; }
.band__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .band__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band__cell {
  padding: 22px 4px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
@media (min-width: 900px) {
  .band__cell { padding: 26px 26px 26px 0; border-top: 0; }
  .band__cell + .band__cell { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 26px; }
}
@media (max-width: 899px) {
  .band__cell:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 20px; }
}
.band__k {
  display: block; color: rgba(255, 255, 255, .58); margin-bottom: 8px;
}
.band__v { font-size: .9375rem; font-weight: 500; color: #fff; line-height: 1.45; }
.band__v a { display: inline-block; padding-block: 3px; }
.band__v a:hover { color: var(--amber); }
.band__v b { font-weight: 600; }

/* --------------------------------------------------------------- about -- */
.about__grid { display: grid; gap: clamp(34px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
}

.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  background: var(--paper-3);
}
/* the counters break out of the photo, overlapping its corner */
.about__plate {
  position: absolute; left: clamp(-6px, -1vw, 0px); bottom: -26px;
  display: flex; background: var(--paper);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  border-top: 3px solid var(--orange);
}
@media (min-width: 560px) { .about__plate { left: -28px; } }
.about__plate > div { padding: 16px 22px; }
.about__plate > div + div { border-left: 1px solid var(--line); }
.about__plate b {
  display: block; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700;
  letter-spacing: -.035em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums;
}
.about__plate small {
  display: block; margin-top: 6px; color: var(--muted);
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
}
.about__sign {
  margin-top: clamp(48px, 5vw, 60px);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy);
}
.about__sign i { width: 18px; height: 1px; background: var(--orange); display: block; }

/* --------------------------------------------------------------- why-us -- */
.why { background: var(--paper-2); border-block: 1px solid var(--line); }
.why__intro { display: flex; flex-direction: column; gap: 18px; max-width: 74ch; }
.why__grid {
  display: grid; gap: clamp(30px, 4.4vw, 60px); grid-template-columns: 1fr;
  margin-top: clamp(30px, 4vw, 48px);
  align-items: start;
}
@media (min-width: 1000px) {
  .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}
.why__media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
@media (min-width: 1000px) { .why__media { position: sticky; top: calc(var(--header-h) + 34px); } }
@media (max-width: 999px) { .why__media { aspect-ratio: 16 / 10; } }
.why__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .55s ease, transform 1.4s cubic-bezier(.2, .7, .3, 1);
}
.why__media img.is-on { opacity: 1; transform: scale(1); }
.why__cap {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 11px 16px;
  background: var(--paper);
  border-top: 3px solid var(--orange);
  border-radius: 0 var(--r) 0 0;
  color: var(--navy);
}

.why__rows { display: flex; flex-direction: column; }
.why__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 30px) 0 clamp(20px, 2.6vw, 30px) 22px;
  border-top: 1px solid var(--line);
  cursor: default;
  transition: background-color .25s ease;
}
.why__row:last-child { border-bottom: 1px solid var(--line); }
.why__row::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0;
  background: var(--orange);
  transition: height .35s cubic-bezier(.2, .7, .3, 1);
}
.why__row.is-on::before { height: 100%; }
.why__row h3 { margin-bottom: 8px; }
.why__row p { color: var(--muted); font-size: .9375rem; max-width: 52ch; }
.why__thumb {
  width: 74px; height: 74px; flex: none;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.why__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .why__thumb { width: 56px; height: 56px; } }

/* ------------------------------------------------------------ services -- */
.svc__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 14px 30px;
  padding-bottom: clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(34px, 4vw, 52px);
}

/* The sample board: four columns, deliberately staggered so the grid
   reads like a physical display of panels rather than a card matrix. */
.board { display: grid; gap: clamp(16px, 1.8vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; }
.card__link { display: block; border-radius: var(--r); }
.card__pic {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.card__pic img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .3, 1), filter .4s ease;
}
.card__link:hover .card__pic img,
.card__link:focus-visible .card__pic img { transform: scale(1.06); }
/* the tag mimics a riveted metal plate */
.card__tag {
  position: absolute; left: 0; top: 0; z-index: var(--z-1);
  padding: 7px 11px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0 0 var(--r) 0;
}
.card__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 13px 2px 0;
  border-top: 1px solid var(--line);
  margin-top: 13px;
}
.card__name { font-weight: 600; font-size: .9375rem; letter-spacing: -.012em; color: var(--ink); }
.card__go {
  flex: none; width: 15px; height: 8px; background: var(--muted-2);
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
  transition: transform .24s cubic-bezier(.2, .7, .3, 1), background-color .2s ease;
}
.card__link:hover .card__name { color: var(--navy); }
.card__link:hover .card__go { background: var(--orange); transform: translateX(4px); }

@media (min-width: 1080px) {
  .board > .card:nth-child(4n + 2) { transform: translateY(46px); }
  .board > .card:nth-child(4n + 3) { transform: translateY(16px); }
  .board > .card:nth-child(4n + 4) { transform: translateY(66px); }
  .board { padding-bottom: 70px; }
}
@media (min-width: 760px) and (max-width: 1079px) {
  .board > .card:nth-child(3n + 2) { transform: translateY(34px); }
  .board > .card:nth-child(3n + 3) { transform: translateY(12px); }
  .board { padding-bottom: 46px; }
}

/* --------------------------------------------------------- testimonials -- */
.quotes { background: var(--paper-3); border-top: 1px solid var(--line); }
.quotes__grid { display: grid; gap: clamp(18px, 1.6vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) {
  .quotes__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .quotes__grid > :nth-child(1) { grid-column: span 3; }
  .quotes__grid > :nth-child(2) { grid-column: span 3; }
  .quotes__grid > :nth-child(3) { grid-column: span 2; }
  .quotes__grid > :nth-child(4) { grid-column: span 2; }
  .quotes__grid > :nth-child(5) { grid-column: span 2; }
}
.quote {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: 0 1px 2px rgba(0, 22, 89, .04), 0 8px 20px -14px rgba(0, 22, 89, .16);
  transition: box-shadow .25s ease, transform .25s ease;
}
.quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 22, 89, .06), 0 20px 40px -20px rgba(0, 22, 89, .28);
}
.quote__mark {
  font-family: var(--f-mono); font-size: 1.2rem; line-height: 1;
  color: var(--orange); letter-spacing: -.05em;
  margin-bottom: 14px;
}
.quote p { color: var(--ink-2); font-size: .9375rem; line-height: 1.72; }
.quote__by {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
/* monogram stamps instead of interchangeable stock avatars */
.stamp {
  width: 40px; height: 40px; flex: none;
  border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--f-mono); font-weight: 600; font-size: .75rem; letter-spacing: .04em;
}
.quote:nth-child(2n) .stamp { background: var(--orange); }
.quote__who b { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.quote__who span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------------------------------------- contact -- */
.contact { background: var(--paper); }
.contact__panel {
  position: relative;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
@media (min-width: 960px) { .contact__panel { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr); } }

.contact__info {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: clamp(30px, 3.6vw, 46px);
  overflow: hidden;
}
.contact__info::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.contact__info > * { position: relative; }
.contact__info .h2 {
  color: #fff;
  margin-bottom: 26px;
  font-size: clamp(1.3rem, 1.85vw, 1.7rem);
  letter-spacing: -.02em;
  line-height: 1.24;
}
.contact__list { display: flex; flex-direction: column; }
.contact__list li {
  display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact__list .k { color: rgba(255, 255, 255, .58); }
.contact__list .v { font-size: .9375rem; color: #fff; }
.contact__list a.v { display: inline-block; padding-block: 3px; }
.contact__list a.v:hover { color: var(--amber); }
.contact__badge {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .9);
}

.form { background: var(--paper); padding: clamp(30px, 3.6vw, 46px); }
.form__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 7px; grid-column: span 2; }
@media (min-width: 520px) { .field--half { grid-column: span 1; } }

.field label {
  font-family: var(--f-mono);
  font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
}
.field .req { color: var(--orange); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: .9375rem;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235c6684' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input::placeholder,
.field textarea::placeholder { color: #98a1b8; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #ccd4e4; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 83, 1, .14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #cf2e2e; background: #fff7f7; }
.field__err {
  display: none;
  font-size: .8125rem; color: #b32424;
}
.field.has-error .field__err { display: block; }
.field__hint { font-size: .8125rem; color: var(--muted); }

.form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form__note { font-size: .8125rem; color: var(--muted); max-width: 34ch; }
.form__ok {
  display: none;
  margin-top: 18px; padding: 14px 16px;
  background: #f2fbf5;
  border: 1px solid #bfe6cd;
  border-left: 3px solid #2f9e57;
  border-radius: var(--r-sm);
  color: #1d6b3a;
  font-size: .875rem;
}
.form__ok.is-on { display: block; }

/* --------------------------------------------------------------- footer -- */
.foot { background: var(--navy-700); color: rgba(255, 255, 255, .74); }
.foot__grid {
  display: grid; gap: clamp(30px, 4vw, 56px);
  grid-template-columns: 1fr;
  padding-block: clamp(44px, 5.5vw, 72px) clamp(30px, 3.4vw, 44px);
}
@media (min-width: 860px) { .foot__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot__logo { width: 168px; margin-bottom: 20px; }
.foot p { font-size: .9375rem; line-height: 1.7; max-width: 44ch; }
.foot h3 { color: #fff; margin-bottom: 16px; }
.foot__links { display: flex; flex-direction: column; }
.foot__links a {
  padding: 8px 0;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: color .18s ease, padding-left .22s ease;
}
.foot__links a:last-child { border-bottom: 0; }
.foot__links a:hover { color: #fff; padding-left: 6px; }
.foot__contact { display: flex; flex-direction: column; gap: 16px; }
.foot__contact .row { display: flex; flex-direction: column; gap: 3px; }
.foot__contact .k { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .58); }
.foot__contact .v { color: #fff; font-size: .9375rem; }
.foot__contact a.v { display: inline-block; padding-block: 3px; }
.foot__contact a.v:hover { color: var(--amber); }
.foot__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}

/* ------------------------------------------------------------ call bar -- */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-callbar);
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 34px -22px rgba(0, 22, 89, .5);
  padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.callbar .btn { flex: 1; padding: 12px 12px; font-size: .8125rem; }
.callbar .btn--navy { flex: 1.12; }
@media (max-width: 700px) {
  .callbar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ------------------------------------------------------------ mobile nav */
.drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  opacity: 0;
  transition: opacity .24s ease, visibility .24s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 11, 40, .55); border: 0; padding: 0; cursor: pointer; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(380px, 88vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2, .7, .3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--paper);
}
.drawer__top img { width: 130px; }
.drawer__close {
  width: 38px; height: 36px; border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--r-sm); cursor: pointer; font-size: 1.1rem; color: var(--navy); line-height: 1;
}
.drawer__body { padding: 10px 18px 26px; }
.drawer__group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer__group > a {
  display: block; font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  padding: 6px 0;
}
.drawer__group > a[aria-current="page"] { color: var(--orange); }
.drawer__sublabel { display: block; margin: 8px 0 4px; color: var(--muted-2); }
.drawer__sub { display: flex; flex-direction: column; }
.drawer__sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: .9375rem; color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}
.drawer__sub a::before {
  content: ""; width: 5px; height: 5px; background: var(--orange); flex: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.drawer__foot { padding: 22px 18px 30px; display: flex; flex-direction: column; gap: 12px; }

.ink { color: var(--ink); }
.about__lede { margin-top: 20px; }
.quotes__title { margin-bottom: clamp(26px, 3.4vw, 42px); }
.foot__h { letter-spacing: .14em; }
.foot__p2 { margin-top: 14px; }
.drawer__group--last { border-bottom: 0; }
.drawer__hours { color: var(--muted); text-align: center; }

/* ------------------------------------------------------------- reveals -- */
.rv { opacity: 0; transform: translateY(16px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero__frame img { transition: none; transform: scale(1.02) !important; }
  .board > .card { transform: none !important; }
  .board { padding-bottom: 0 !important; }
}

/* ------------------------------------------------------------- utility -- */
.stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--amber) 100%);
}
