/* ============================================================
   ח.ז יזמות · חיים זיטוני — כרטיס ביקור דיגיטלי
   Aesthetic: "Engineered / Structural" — steel-navy + brass gold,
   blueprint grid, registration ticks, tabular numerals.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Steel (dark) */
  --steel-900: oklch(0.16 0.035 260);
  --steel-800: oklch(0.205 0.045 260);
  --steel-700: oklch(0.27 0.045 262);
  --steel-600: oklch(0.34 0.04 262);

  /* Brass */
  --gold:        oklch(0.72 0.115 78);
  --gold-bright: oklch(0.82 0.10 85);
  --gold-soft:   oklch(0.72 0.115 78 / 0.14);

  /* Light / concrete */
  --concrete:   oklch(0.965 0.006 80);
  --concrete-2: oklch(0.915 0.008 80);
  --concrete-3: oklch(0.86 0.01 80);

  /* Ink / text */
  --ink:        oklch(0.24 0.02 262);
  --ink-soft:   oklch(0.42 0.02 262);
  --cream:      oklch(0.945 0.008 85);
  --cream-soft: oklch(0.78 0.012 85);

  --line-dark:  oklch(1 0 0 / 0.10);
  --line-light: oklch(0.24 0.02 262 / 0.12);

  --wrap: 1160px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo-ish */

  --font-display: "Heebo", system-ui, sans-serif;
  --font-body: "Assistant", system-ui, sans-serif;

  --fs-scale: 1; /* driven by a11y widget */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* The hidden attribute must win over component display rules (flex/grid). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: calc(1rem * var(--fs-scale));
  line-height: 1.65;
  color: var(--ink);
  background: var(--concrete);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; font-weight: 800; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

/* SVG icon defaults */
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--steel-900); padding: 0.6rem 1rem;
  border-radius: var(--radius); font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: oklch(0.16 0.035 260 / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s var(--ease);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brandmark { display: flex; align-items: center; gap: 0.65rem; color: var(--cream); }
.brandmark__img {
  height: 50px; width: auto; border-radius: var(--radius);
  padding: 5px 9px; background: oklch(0.98 0.005 85 / 0.96);
  box-shadow: 0 6px 16px -8px oklch(0 0 0 / 0.6);
  transition: transform 0.3s var(--ease);
}
.brandmark:hover .brandmark__img { transform: translateY(-1px); }
.brandmark__logo {
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
  display: grid; place-items: center; width: 42px; height: 42px;
  color: var(--gold); border: 1.5px solid var(--gold);
  border-radius: var(--radius); letter-spacing: -0.02em;
  background: linear-gradient(160deg, var(--gold-soft), transparent);
}
.brandmark__text { display: flex; flex-direction: column; line-height: 1.15; }
.brandmark__text strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.brandmark__text em { font-style: normal; font-size: 0.78rem; color: var(--cream-soft); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.9rem; padding: 0.62rem 1.15rem;
  border-radius: var(--radius); transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn svg { width: 18px; height: 18px; }
.btn--ghost { color: var(--cream); border: 1px solid var(--line-dark); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.topbar__save { }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, var(--steel-700), var(--steel-800) 45%, var(--steel-900));
  color: var(--cream);
  padding-block: clamp(2.4rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}
.hero__grid-bg, .about__grid-bg, .footer__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 10%, #000 20%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 80% 10%, #000 20%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  max-width: 600px; margin-inline: auto;
}

/* Portrait framing — appears at the bottom of the card (after scroll) */
.hero__portrait { position: relative; margin-top: clamp(1.4rem, 5vw, 2.6rem); display: flex; flex-direction: column; align-items: center; }
.portrait-frame {
  position: relative; width: min(340px, 78vw); border-radius: var(--radius-lg);
  padding: 10px; background: linear-gradient(160deg, var(--steel-600), var(--steel-800));
  box-shadow: 0 30px 60px -25px oklch(0 0 0 / 0.7);
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold);
  opacity: 0.55; border-radius: var(--radius); pointer-events: none; z-index: 2;
}
.portrait-frame img { border-radius: var(--radius); position: relative; z-index: 1; width: 100%; }
.tick { position: absolute; width: 22px; height: 22px; z-index: 3; }
.tick::before, .tick::after { content: ""; position: absolute; background: var(--gold); }
.tick::before { width: 100%; height: 2px; top: 0; }
.tick::after { width: 2px; height: 100%; inset-inline-start: 0; top: 0; }
.tick--tr { top: -1px; inset-inline-end: -1px; }
.tick--tr::after { inset-inline-start: auto; inset-inline-end: 0; }
.tick--bl { bottom: -1px; inset-inline-start: -1px; }
.tick--bl::before { top: auto; bottom: 0; }

.hero__logo {
  width: min(320px, 100%); position: relative; z-index: 1;
  padding: clamp(1.1rem, 4vw, 1.8rem) clamp(1.4rem, 5vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: oklch(0.98 0.005 85 / 0.97);
  box-shadow: 0 22px 46px -22px oklch(0 0 0 / 0.6);
}
.hero__logo img { width: 100%; height: auto; display: block; }

/* Hero content */
.hero__content { order: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow__rule { width: 42px; height: 2px; background: var(--gold); display: inline-block; }

.hero__name {
  font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 900; letter-spacing: -0.01em;
  line-height: 1; margin-top: 0.4rem;
}
.hero__title {
  color: var(--cream-soft); font-size: clamp(0.92rem, 2.4vw, 1.08rem);
  font-weight: 600; max-width: 40ch; line-height: 1.7; margin-inline: auto;
}
.hero__address {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem;
  font-weight: 600; color: var(--cream);
}
.hero__address svg { width: 20px; height: 20px; color: var(--gold); }

/* Action buttons */
.actions {
  margin-top: 2rem; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem;
  max-width: 560px;
}
.action {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1rem; border-radius: var(--radius);
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--line-dark);
  font-weight: 600; font-size: 0.92rem; color: var(--cream);
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.action svg { width: 20px; height: 20px; flex: none; color: var(--gold); transition: color 0.25s; }
.action:hover { transform: translateY(-3px); background: oklch(1 0 0 / 0.1); border-color: var(--gold); }
.action:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.action--primary { background: var(--gold); color: var(--steel-900); border-color: var(--gold); }
.action--primary svg { color: var(--steel-900); }
.action--primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--steel-900); }
.action--wa { background: oklch(0.62 0.15 150); border-color: oklch(0.62 0.15 150); color: #fff; }
.action--wa svg { color: #fff; }
.action--wa:hover { background: oklch(0.68 0.16 150); border-color: oklch(0.68 0.16 150); }

/* --- Circular icon buttons (biocard-style grid) --- */
.actions--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 1.6rem) clamp(0.5rem, 2.5vw, 1rem);
  width: min(100%, 360px); margin-inline: auto; margin-top: 0.4rem;
  align-items: start; justify-items: center;
}
.actions--grid .action {
  flex-direction: column; gap: 0.55rem; padding: 0; width: 100%;
  background: none; border: 0; color: var(--cream);
}
.actions--grid .action:hover { transform: none; background: none; border-color: transparent; }
.action__ico {
  width: clamp(52px, 15vw, 62px); height: clamp(52px, 15vw, 62px); border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--gold); background: oklch(1 0 0 / 0.04);
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s;
}
.action__ico svg { width: 24px; height: 24px; color: var(--gold); transition: color 0.25s; }
.actions--grid .action:hover .action__ico { transform: translateY(-3px); background: var(--gold); border-color: var(--gold); }
.actions--grid .action:hover .action__ico svg { color: var(--steel-900); }
.action__lbl { font-weight: 700; font-size: clamp(0.72rem, 3vw, 0.9rem); color: var(--cream); white-space: nowrap; }

/* --- Save-to-contacts pill --- */
.action--save {
  width: min(100%, 340px); justify-content: center; margin-inline: auto; margin-top: 0.4rem;
  background: var(--gold); color: var(--steel-900); border-color: var(--gold);
  font-weight: 800; padding: 0.95rem 1.2rem;
}
.action--save svg { color: var(--steel-900); }
.action--save:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--steel-900); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head__kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.section-head__kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-head__kicker--gold { color: var(--gold); }
.section-head h2 {
  font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: -0.02em; margin-top: 0.7rem;
  color: var(--ink);
}
.section-head--light h2 { color: var(--cream); }
.section-head__sub { margin-top: 0.6rem; color: var(--ink-soft); font-size: 1.1rem; font-weight: 500; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--concrete); }
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.2vw, 1.4rem); }

/* Each category is a card with a real work photo as its background */
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(340px, 44vw, 440px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--radius-lg); color: var(--cream);
  background-image: var(--svc-img); background-size: cover; background-position: center;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.svc::before { /* readability overlay, heavier at the bottom where the text sits */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    oklch(0.16 0.035 260 / 0.15) 0%,
    oklch(0.16 0.035 260 / 0.6) 46%,
    oklch(0.12 0.03 260 / 0.94) 100%);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}
.svc::after { /* thin structural frame */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border: 1px solid oklch(1 0 0 / 0.13); border-radius: var(--radius-lg);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 28px 55px -28px oklch(0.13 0.03 260 / 0.85); }
.svc:hover::before { background: linear-gradient(180deg,
    oklch(0.16 0.035 260 / 0.25) 0%,
    oklch(0.16 0.035 260 / 0.68) 46%,
    oklch(0.11 0.03 260 / 0.96) 100%); }
.svc__index {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 3.4rem); color: transparent;
  -webkit-text-stroke: 1.5px var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums; margin-bottom: 0.7rem;
}
.svc__title { font-size: clamp(1.3rem, 2.4vw, 1.65rem); color: var(--cream); margin-bottom: 1rem; letter-spacing: -0.01em; line-height: 1.2; }
.svc__points { display: grid; gap: 0.5rem; }
.svc__points li {
  position: relative; padding-inline-start: 1.4rem; color: var(--cream-soft);
  font-weight: 500; font-size: 0.98rem;
}
.svc__points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.6em;
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); /* structural diamond */
}
/* each category card is now a link to its own page */
.svc { text-decoration: none; cursor: pointer; }
.svc:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.svc__more {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem;
  color: var(--gold); font-weight: 700; font-size: 0.98rem;
  transition: gap 0.3s var(--ease);
}
.svc__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__more { gap: 0.75rem; }

/* ============================================================
   SUBPAGE — dedicated core-field pages (building / consulting / facilities)
   ============================================================ */
.subhero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(6.5rem, 15vw, 9rem) clamp(2.6rem, 6vw, 4rem);
  color: var(--cream);
  background-image: var(--sub-img); background-size: cover; background-position: center;
}
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    oklch(0.14 0.03 260 / 0.82) 0%, oklch(0.14 0.03 260 / 0.7) 40%, oklch(0.12 0.03 260 / 0.92) 100%);
}
.subhero__index {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 8vw, 5rem);
  color: transparent; -webkit-text-stroke: 1.6px var(--gold); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.subhero__title { font-size: clamp(1.9rem, 5vw, 3.1rem); margin: 0.5rem 0 0.8rem; letter-spacing: -0.01em; }
.subhero__lead { max-width: 60ch; color: var(--cream-soft); font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 500; }
.subhero__back {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.4rem;
  color: var(--cream-soft); font-weight: 600; font-size: 0.98rem; transition: color 0.25s, gap 0.3s var(--ease);
}
.subhero__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.subhero__back:hover { color: var(--gold); gap: 0.7rem; }

.subbody { padding-block: clamp(3rem, 7vw, 5rem); }
.subbody__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose > * + * { margin-top: 1.1rem; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose h3 {
  font-size: clamp(1.3rem, 3vw, 1.65rem); color: var(--ink); margin-top: 2rem;
  padding-inline-start: 0.9rem; border-inline-start: 3px solid var(--gold); line-height: 1.25;
}

/* highlight / client-logo chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.chip {
  background: #fff; border: 1px solid var(--line-light); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-weight: 600; color: var(--ink); font-size: 0.98rem;
}

/* side card */
.subcard {
  background: var(--steel-900); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem); position: sticky; top: 90px;
  border: 1px solid var(--line-dark);
}
.subcard__title { color: var(--cream); font-size: 1.3rem; margin-bottom: 1.1rem; }
.subcard .ticklist li { color: var(--cream-soft); }
.subcard__cta { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.subcard__cta .action { justify-content: center; }

/* related links to the other two fields */
.related { border-top: 1px solid var(--line-light); }
.related__title { text-align: center; font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 1.6rem; }
.related__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

@media (max-width: 820px) {
  .subbody__grid { grid-template-columns: 1fr; }
  .subcard { position: static; }
  .related__list { grid-template-columns: 1fr; }
}

/* ============================================================
   BUILD & RENOVATION (flagship niche section)
   ============================================================ */
.build { position: relative; background: var(--concrete); padding-block: clamp(3.5rem, 8vw, 6rem) 0; color: var(--ink); }
.section-head--center { text-align: center; }
.section-head--center .section-head__kicker { justify-content: center; }

/* Shared tick list */
.ticklist { display: grid; gap: 0.55rem; }
.ticklist li { position: relative; padding-inline-start: 1.4rem; color: var(--ink-soft); font-weight: 500; font-size: 1rem; }
.ticklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.ticklist--sm li { font-size: 0.95rem; }
.ticklist--2col { grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.6rem; }

/* Image placeholder (client adds real images later) */
.ph {
  display: grid; place-content: center; justify-items: center; gap: 0.6rem;
  aspect-ratio: 16 / 10; color: var(--ink-soft); border-bottom: 1px solid var(--line-light);
  background: repeating-linear-gradient(45deg, var(--concrete-2), var(--concrete-2) 12px, var(--concrete) 12px, var(--concrete) 24px);
}
.ph svg { width: 46px; height: 46px; color: var(--gold); opacity: 0.85; }
.ph small { font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.02em; background: #fff; padding: 0.2rem 0.6rem; border-radius: 100px; border: 1px solid var(--line-light); }

/* Four advantages */
.adv {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.adv__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center;
  padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); font-weight: 600; color: var(--ink);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.adv__item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 34px -22px oklch(0.24 0.02 262 / 0.5); }
.adv__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.adv__icon svg { width: 27px; height: 27px; }

/* Two main category cards */
.buildcats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: clamp(1.4rem, 3vw, 2rem); }
.buildcat {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.buildcat:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px oklch(0.24 0.02 262 / 0.5); }
.buildcat__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-light); }
.buildcat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.buildcat:hover .buildcat__media img { transform: scale(1.05); }
.buildcat__body { padding: clamp(1.3rem, 2.6vw, 1.9rem); }
.buildcat__title {
  font-size: clamp(1.5rem, 3.4vw, 2rem); color: var(--ink); margin-bottom: 1.2rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--gold); display: inline-block;
}

/* Full-bleed bands */
.build__band { width: 100vw; margin-inline: calc(50% - 50vw); }
.build__band--banner {
  margin-block: clamp(2.6rem, 5vw, 4rem);
  background: linear-gradient(120deg, var(--steel-800), var(--steel-900));
  padding-block: clamp(2.2rem, 4vw, 3.2rem); position: relative; overflow: hidden;
}
.build__band--banner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 75%);
          mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 75%);
}
.build__banner-text {
  position: relative; text-align: center; color: var(--cream); font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.3rem, 3.6vw, 2.1rem); line-height: 1.3;
}
.build__banner-text::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 1.1rem auto 0; }

/* Professionals grid */
.pros { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.8vw, 1.2rem); }
.pro {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.2vw, 1.6rem);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.pro:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -24px oklch(0.24 0.02 262 / 0.5); }
.pro__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: var(--radius); background: var(--gold-soft); color: var(--gold); margin-bottom: 1rem; }
.pro__icon svg { width: 26px; height: 26px; }
.pro h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.85rem; }
.pro--feature {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 1.3rem;
  background: linear-gradient(120deg, var(--steel-800), var(--steel-700)); border-color: transparent; color: var(--cream);
}
.pro--feature .pro__icon { background: oklch(1 0 0 / 0.1); color: var(--gold); margin-bottom: 0; flex: none; }
.pro--feature h3 { color: var(--cream); margin-bottom: 0.2rem; font-size: clamp(1.4rem, 3.2vw, 1.7rem); }
.pro--feature p { color: var(--cream-soft); font-weight: 500; }

/* Service areas */
.areas { margin-top: clamp(2.6rem, 5vw, 4rem); text-align: center; }
.areas__title { font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--ink); margin-bottom: 1.6rem; }
.areas__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.areas__list li {
  padding: 0.5rem 1.05rem; border-radius: 100px; background: #fff; border: 1px solid var(--line-light);
  font-weight: 600; font-size: 0.92rem; color: var(--ink-soft);
  transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.areas__list li:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* Why us */
.whyus { margin-top: clamp(2.6rem, 5vw, 4rem); max-width: 760px; margin-inline: auto; text-align: center; }
.whyus__title { font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--ink); margin-bottom: 1.5rem; }
.whyus .ticklist--2col { text-align: start; justify-items: start; }
.whyus .ticklist li { font-size: 1.05rem; color: var(--ink); }

/* CTA band */
.build__band--cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(120% 120% at 80% 0, var(--steel-700), var(--steel-900));
  padding-block: clamp(2.6rem, 5vw, 3.8rem); position: relative; overflow: hidden;
}
.build__cta { text-align: center; }
.build__cta-title { font-size: clamp(1.6rem, 4.5vw, 2.6rem); color: var(--cream); margin-bottom: 1.7rem; }
.build__cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.build__cta-btns .action { min-width: 190px; justify-content: center; }
.build__cta-areas { color: var(--cream-soft); font-weight: 500; }

@media (max-width: 900px) {
  .adv { grid-template-columns: repeat(2, 1fr); }
  .pros { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .buildcats { grid-template-columns: 1fr; }
  .pros { grid-template-columns: 1fr; }
  .pro--feature { flex-direction: column; text-align: center; }
  .whyus .ticklist--2col { grid-template-columns: 1fr; justify-items: center; }
  .whyus .ticklist li { text-align: start; }
}
@media (max-width: 460px) {
  .adv { grid-template-columns: 1fr; }
  .build__cta-btns .action { width: 100%; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative; overflow: hidden; color: var(--cream);
  background: linear-gradient(200deg, var(--steel-800), var(--steel-900));
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.about__inner {
  position: relative; z-index: 1;
  display: block; max-width: 760px; margin-inline: auto;
}
.about__content { text-align: start; }
.about__media { justify-self: center; }
.about__media .portrait-frame { width: min(360px, 100%); }
.about .section-head__kicker { justify-content: flex-start; }
.about h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--cream); margin-top: 0.6rem; }
.about__lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem); line-height: 1.35;
  color: var(--cream); margin: 1.3rem 0 1.9rem; max-width: 30ch;
}
.stat-count { color: var(--gold); font-variant-numeric: tabular-nums; }
.creds { display: grid; gap: 0.9rem; margin: 0 0 2rem; max-width: 34rem; text-align: start; }
.creds li {
  position: relative; padding-inline-start: 2rem; color: var(--cream-soft);
  font-size: 1.05rem; font-weight: 500;
}
.creds li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 14px; height: 2px; background: var(--gold);
}
.about__contact { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; align-items: center; justify-content: flex-start; }
.about__contact a, .about__contact-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--cream); transition: color 0.25s;
}
.about__contact a:hover { color: var(--gold); }
.about__contact svg { width: 19px; height: 19px; color: var(--gold); }
.about__contact-note { color: var(--cream-soft); }

/* ============================================================
   VALUES
   ============================================================ */
.values { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--concrete-2); }
.values__tag {
  text-align: center; font-size: clamp(1.5rem, 4.5vw, 2.4rem); color: var(--ink);
  letter-spacing: 0.02em; margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.values__tag span { color: var(--gold); margin-inline: 0.4rem; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.value {
  background: var(--concrete); padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.2rem, 3vw, 1.8rem);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.value:hover { background: #fff; }
.value__num {
  font-family: var(--font-display); font-weight: 900; font-size: 0.9rem;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: 0.1em;
  display: block; margin-bottom: 1.4rem;
}
.value h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.5rem; }
.value p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--concrete); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: 12px;
}
/* editorial mosaic for the 7 mains */
.gallery__grid .gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__grid .gitem:nth-child(6) { grid-column: span 2; }

.gitem {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 0; display: block; background: var(--steel-800);
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s; }
.gitem::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, oklch(0.16 0.035 260 / 0.4), transparent 55%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.gitem::before {
  content: "+"; position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-end: 14px;
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--steel-900); background: var(--gold); border-radius: 50%;
  font-size: 1.3rem; font-weight: 700; opacity: 0; transform: scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gitem:hover img { transform: scale(1.06); }
.gitem:hover::after, .gitem:hover::before { opacity: 1; }
.gitem:hover::before { transform: scale(1); }
.gitem:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.gallery__cta { margin-top: 2.2rem; text-align: center; }
.btn--gold {
  background: var(--steel-800); color: var(--cream); padding: 0.95rem 1.9rem;
  font-size: 1rem; border: 1px solid var(--steel-800);
}
.btn--gold svg { width: 20px; height: 20px; color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--steel-900); border-color: var(--gold); transform: translateY(-3px); }
.btn--gold:hover svg { color: var(--steel-900); }

/* ============================================================
   BEFORE / AFTER CAROUSEL
   ============================================================ */
.beforeafter {
  position: relative; color: var(--cream);
  background: radial-gradient(110% 80% at 20% 0%, var(--steel-700), var(--steel-900));
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.carousel { position: relative; display: flex; align-items: center; gap: 0.6rem; }
.carousel__viewport { overflow: hidden; flex: 1; border-radius: var(--radius-lg); }
.carousel__track { display: flex; transition: transform 0.7s var(--ease); }
.ba-slide { flex: 0 0 100%; padding: 0; }
@media (min-width: 700px) { .ba-slide { flex-basis: 50%; } }
@media (min-width: 1000px) { .ba-slide { flex-basis: 33.333%; } }
.ba-slide button { display: block; width: 100%; padding: 0 6px; }
.ba-slide img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line-dark); transition: filter 0.4s, transform 0.5s var(--ease);
}
.ba-slide button:hover img { filter: brightness(1.08); }
.ba-slide button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.carousel__arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--cream);
  border: 1px solid var(--line-dark); background: oklch(1 0 0 / 0.06);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow:hover { background: var(--gold); color: var(--steel-900); border-color: var(--gold); }
.carousel__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.6rem; }
.carousel__dots button {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark);
  border: 1px solid var(--line-dark); transition: all 0.3s var(--ease);
}
.carousel__dots button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); width: 26px; border-radius: 5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--concrete-2); overflow: hidden; }

/* Full-bleed infinite marquee — always full, never an empty gap */
.marquee {
  position: relative; margin-top: clamp(2rem, 5vw, 3.4rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex; align-items: stretch; gap: 1.1rem; width: max-content;
  padding-block: 0.6rem; padding-inline: 0.55rem;
  /* RTL: scroll toward the right (0 -> 50%) so the row stays covered end to end */
  animation: marquee-scroll var(--marquee-dur, 60s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-shift, 50%)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
}

.testi {
  flex: 0 0 clamp(238px, 80vw, 340px);
  display: flex; flex-direction: column;
  background: var(--concrete); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 1.3rem;
  position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.testi:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px oklch(0.24 0.02 262 / 0.5); border-color: var(--gold); }
.testi::before {
  content: "\201D"; position: absolute; top: 0.4rem; inset-inline-end: 1.1rem;
  font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--gold-soft);
}
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--steel-900); background: linear-gradient(150deg, var(--gold-bright), var(--gold));
  margin-bottom: 0.9rem;
}
.testi blockquote { font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.55; margin-bottom: 1rem; flex: 1 0 auto; }
.testi figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.testi figcaption strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.testi figcaption span { color: var(--gold); font-size: 0.85rem; font-weight: 600; }

/* ============================================================
   SHARE
   ============================================================ */
.share { background: var(--concrete); padding-block: clamp(3rem, 6vw, 4.5rem); }
.share__inner { text-align: center; }
.share h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); color: var(--ink); margin-bottom: 1.6rem; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem; border-radius: 100px; font-weight: 700; color: #fff;
  transition: transform 0.35s var(--ease), filter 0.25s;
}
.share-btn svg { width: 20px; height: 20px; }
.share-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.share-btn--wa { background: oklch(0.62 0.15 150); }
.share-btn--fb { background: oklch(0.5 0.16 264); }
.share-btn--mail { background: var(--steel-700); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; overflow: hidden; color: var(--cream);
  background: var(--steel-900);
  /* extra bottom room so the floating WhatsApp / a11y buttons never cover footer text */
  padding-block: clamp(2.6rem, 6vw, 4rem) 5rem;
}
.footer__inner { position: relative; z-index: 1; display: grid; gap: 1.8rem; }
.footer__brand { display: flex; align-items: center; }
.footer__logo {
  height: 110px; width: auto; border-radius: var(--radius-lg);
  padding: 12px 18px; background: oklch(0.98 0.005 85 / 0.97);
  box-shadow: 0 14px 34px -16px oklch(0 0 0 / 0.7);
  transition: transform 0.35s var(--ease);
}
.footer__brand a:hover .footer__logo { transform: translateY(-3px); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-style: normal; padding-block: 1.4rem; border-block: 1px solid var(--line-dark); }
.footer__contact a, .footer__contact span { color: var(--cream-soft); font-weight: 500; transition: color 0.25s; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; color: var(--cream-soft); font-size: 0.86rem; }
.footer__credit a { color: var(--gold); font-weight: 600; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-wa {
  position: fixed; z-index: 80; inset-block-end: 22px; inset-inline-start: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: oklch(0.62 0.15 150);
  box-shadow: 0 10px 28px -6px oklch(0.62 0.15 150 / 0.7);
  animation: fab-pulse 2.8s var(--ease) infinite;
  transition: transform 0.3s var(--ease);
}
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa:hover { transform: scale(1.08); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 28px -6px oklch(0.62 0.15 150 / 0.7), 0 0 0 0 oklch(0.62 0.15 150 / 0.5); }
  50% { box-shadow: 0 10px 28px -6px oklch(0.62 0.15 150 / 0.7), 0 0 0 14px oklch(0.62 0.15 150 / 0); }
}
@media (prefers-reduced-motion: reduce) { .fab-wa { animation: none; } }

/* ============================================================
   ACCESSIBILITY WIDGET
   ============================================================ */
.a11y { position: fixed; z-index: 95; inset-block-end: 22px; inset-inline-end: 22px; }
.a11y__toggle {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--steel-800); color: var(--gold); border: 2px solid var(--gold);
  box-shadow: 0 8px 22px -8px oklch(0 0 0 / 0.6); transition: transform 0.3s var(--ease);
}
.a11y__toggle svg { width: 26px; height: 26px; }
.a11y__toggle:hover { transform: scale(1.06); }
.a11y__panel {
  position: absolute; inset-block-end: 66px; inset-inline-end: 0; width: 250px;
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  border: 1px solid var(--concrete-3); padding: 1.1rem;
  box-shadow: 0 22px 50px -16px oklch(0.24 0.02 262 / 0.4);
  display: grid; gap: 0.6rem;
  transform-origin: bottom left; animation: pop 0.28s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.a11y__title { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.2rem; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 0.9rem; }
.a11y__btns { display: flex; gap: 0.35rem; }
.a11y__btns button {
  width: 38px; height: 34px; border-radius: var(--radius); background: var(--concrete-2);
  font-weight: 800; color: var(--ink); border: 1px solid var(--concrete-3); transition: background 0.2s, color 0.2s;
}
.a11y__btns button:hover { background: var(--gold); color: var(--steel-900); border-color: var(--gold); }
.a11y__opt, .a11y__reset {
  text-align: start; padding: 0.6rem 0.8rem; border-radius: var(--radius);
  background: var(--concrete-2); font-weight: 600; font-size: 0.92rem; border: 1px solid var(--concrete-3);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.a11y__opt:hover, .a11y__reset:hover { background: var(--gold-soft); border-color: var(--gold); }
.a11y__opt[aria-pressed="true"] { background: var(--gold); color: var(--steel-900); border-color: var(--gold); }
.a11y__reset { margin-top: 0.3rem; text-align: center; background: var(--steel-800); color: var(--cream); border-color: var(--steel-800); }
.a11y__reset:hover { background: var(--steel-700); color: #fff; }

/* Accessibility state classes (applied to <html>) */
html.a11y-contrast { filter: contrast(1.32) saturate(1.15); }
html.a11y-readable body, html.a11y-readable * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0.01em; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--gold) !important; text-decoration-thickness: 2px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: oklch(0.12 0.02 260 / 0.95); backdrop-filter: blur(6px);
  padding: clamp(1rem, 4vw, 3rem); animation: fade 0.3s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { max-width: min(1000px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lightbox__figure img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 70px -20px oklch(0 0 0 / 0.8); }
.lightbox__caption { color: var(--cream-soft); font-size: 0.9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--cream);
  background: oklch(1 0 0 / 0.08); border: 1px solid var(--line-dark);
  transition: background 0.25s, color 0.25s;
}
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--steel-900); }
.lightbox__close { top: 20px; inset-inline-end: 20px; }
.lightbox__nav--prev { inset-inline-start: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { inset-inline-end: clamp(0.5rem, 2vw, 2rem); }

/* ============================================================
   FULL GALLERY MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center;
  background: oklch(0.12 0.02 260 / 0.7); backdrop-filter: blur(4px);
  padding: clamp(0.6rem, 3vw, 2rem); animation: fade 0.3s var(--ease);
}
.modal__panel {
  background: var(--concrete); width: min(1100px, 100%); max-height: 92vh;
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 40px 90px -30px oklch(0 0 0 / 0.6);
  animation: pop 0.35s var(--ease);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 3vw, 1.8rem); background: var(--steel-800); color: var(--cream);
}
.modal__head h2 { font-size: clamp(1.2rem, 3.5vw, 1.7rem); }
.modal__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); border: 1px solid var(--line-dark); transition: background 0.25s, color 0.25s; }
.modal__close svg { width: 22px; height: 22px; }
.modal__close:hover { background: var(--gold); color: var(--steel-900); }
.modal__grid {
  padding: clamp(1rem, 3vw, 1.6rem); overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.modal__grid .gitem { aspect-ratio: 1; border-radius: var(--radius); }

body.no-scroll { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__media { order: -1; }
  .creds { text-align: start; max-width: 30rem; margin-inline: auto; }
  .about__lead { margin-inline: auto; }
  .about__contact { justify-content: center; }
  .about .section-head__kicker { justify-content: center; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero__title { margin-inline: auto; }
  .svc-list { grid-template-columns: 1fr; }
  .svc { min-height: clamp(280px, 56vw, 360px); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__grid .gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery__grid .gitem:nth-child(6) { grid-column: span 1; }
}

@media (max-width: 620px) {
  .brandmark__text em { display: none; }
  .topbar__save span { display: none; }
  .topbar__save { padding: 0.6rem; }
  .values__tag span { display: inline-block; }
  .footer { padding-bottom: 6rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .fab-wa { width: 52px; height: 52px; inset-block-end: 16px; inset-inline-start: 16px; }
  .a11y { inset-block-end: 16px; inset-inline-end: 16px; }
  .a11y__toggle { width: 50px; height: 50px; }
}

@media (max-width: 400px) {
  /* keep the contact icons 3-per-row even on the narrowest phones */
  .actions--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values__grid { grid-template-columns: 1fr; }
}
