/* ========== Tokens ========== */
:root {
  --navy: #14233c;
  --navy-2: #1d3152;
  --ink: #16181d;
  --muted: #5d6470;
  --line: #e4e0d8;
  --bg: #f7f5f1;
  --paper: #ffffff;
  --sand: #efebe4;
  --accent: #e8731f;
  --accent-d: #c95e10;
  --wa: #1fa855;

  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --header-h: 84px;
  --shadow: 0 18px 40px -18px rgba(20, 35, 60, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { inset-inline-start: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-d);
  margin-bottom: 12px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-d); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--block { width: 100%; }

/* ========== Header ========== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(247, 245, 241, .95);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(0,0,0,.25);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; }
.brand img { height: 56px; width: auto; transition: opacity .3s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .brand__light { opacity: 0; }
.header.is-scrolled .brand__dark { opacity: 1; }
/* hero logo is large, so the header logo appears only after scrolling past it */
.header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; }

.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a {
  position: relative;
  padding: 8px 11px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  border-radius: 8px;
  transition: color .3s;
}
.header.is-scrolled .nav a { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; inset-inline: 11px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav a.is-active { color: var(--navy); font-weight: 700; }
.header__cta { padding: 10px 18px; }
.header__cta span { direction: ltr; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; margin-inline-start: auto; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s, background .3s; }
.header.is-scrolled .burger span, .burger[aria-expanded="true"] span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 32px) 0 96px;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s ease-out;
}
.hero__bg img.is-active { opacity: 1; transform: scale(1); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(10,18,32,.88) 0%, rgba(10,18,32,.62) 45%, rgba(10,18,32,.25) 100%),
    linear-gradient(to top, rgba(10,18,32,.6), transparent 40%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center;
}
.hero__logo { width: clamp(220px, 26vw, 360px); margin-bottom: 24px; }
.hero__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
  display: inline-block;
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 12px;
  line-height: 1.3;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  margin-top: 22px;
}
.hero__title span { display: block; color: #ffc89a; font-size: .66em; margin-top: 8px; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.85); margin-top: 20px; max-width: 32em; }
.hero__trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__trust li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px;
}
.hero__trust svg { width: 20px; height: 20px; color: var(--accent); }


/* ========== Lead forms ========== */
.lead-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  display: grid; gap: 14px;
}
.lead-form h2, .lead-form h3 { font-family: var(--serif); font-weight: 900; font-size: 30px; color: var(--navy); }
.lead-form__badge {
  justify-self: start;
  background: #fdeee2; color: var(--accent-d);
  font-weight: 800; font-size: 13px;
  padding: 4px 12px; border-radius: 999px;
}
.lead-form__sub, .form__note { color: var(--muted); font-size: 15px; margin-top: -6px; }
.lead-form__alt { text-align: center; font-size: 15px; color: var(--muted); }
.lead-form__alt a { color: var(--navy); font-weight: 700; text-decoration: none; }
.lead-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.lead-form label small { color: var(--muted); font-weight: 400; }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-size: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.lead-form input[dir="ltr"] { text-align: right; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.lead-form textarea { resize: vertical; min-height: 90px; }
.form__error { color: #b42318; font-weight: 500; font-size: 15px; }
.lead-form .is-invalid { border-color: #b42318; }

/* ========== Strip ========== */
.strip { background: var(--accent); color: #fff; overflow: hidden; padding: 14px 0; }
.strip__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.strip span { font-family: var(--serif); font-weight: 700; font-size: 22px; padding-inline: 28px; white-space: nowrap; display: flex; align-items: center; }
.strip span::after { content: "◆"; color: var(--navy); font-size: 11px; margin-inline-start: 56px; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ========== Sections ========== */
.section { padding: 104px 0; }
.section--alt { background: var(--sand); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2, .about h2, .contact h2, .testi h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 54px);
  color: var(--navy);
}
.section__head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ========== About ========== */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; bottom: -28px; inset-inline-start: -28px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--serif); font-size: 64px; line-height: 1; }
.about__badge span { font-weight: 700; font-size: 17px; line-height: 1.3; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 16px; }
.about__text h2 { margin-bottom: 8px; }

.journey {
  list-style: none; padding: 0; margin: 96px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
  position: relative;
}
.journey::before {
  content: ""; position: absolute; top: 36px; inset-inline: 12%;
  border-top: 2px dashed #d6cfc2;
}
.journey li { position: relative; text-align: center; counter-increment: step; padding: 0 8px; }
.journey__ic {
  position: relative;
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--bg);
}
.journey li:last-child .journey__ic { background: var(--accent); }
.journey__ic::after {
  content: counter(step);
  position: absolute; top: -4px; inset-inline-end: -4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.journey li:last-child .journey__ic::after { background: var(--navy); }
.journey__ic svg { width: 34px; height: 34px; }
.journey h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.journey p { color: var(--muted); font-size: 15px; }

/* ========== Concerns ========== */
.concerns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concern {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 10px 30px -22px rgba(20,35,60,.5);
}
.concern__fear {
  font-size: 16px; color: #8a8f99;
  font-style: italic;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.concern h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.concern h3::before { content: "✓"; color: #fff; background: #1f9d55; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; flex: none; }
.concern p:not(.concern__fear) { color: var(--muted); font-size: 16px; }

.promise {
  margin-top: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; align-items: center;
  color: #fff;
}
.promise__item { display: flex; align-items: center; gap: 14px; }
.promise__item svg { width: 44px; height: 44px; color: var(--accent); }
.promise__item strong { display: block; font-size: 19px; }
.promise__item span { color: rgba(255,255,255,.7); font-size: 15px; }

/* ========== Expertise ========== */
.trades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trade {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  text-align: center;
  font-weight: 800; font-size: 20px; color: var(--navy);
  transition: transform .25s, box-shadow .25s;
}
.trade:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trade__ic {
  width: 76px; height: 76px; margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -10px var(--c2);
}
.trade__ic svg { width: 40px; height: 40px; }

.partners {
  margin-top: 56px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 48px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
}
.partners h3 { font-family: var(--serif); font-weight: 900; font-size: 32px; margin-bottom: 10px; }
.partners p { color: rgba(255,255,255,.75); }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.partners__list li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 16px 18px;
  font-weight: 700; font-size: 18px;
}
.partners__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }

/* ========== Services ========== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  position: relative; overflow: hidden;
  border: 0; text-align: start;
  min-height: 300px;
  padding: 26px 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: 0 18px 36px -20px var(--c2);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.service__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: .22;
  mix-blend-mode: luminosity;
  transition: opacity .4s, transform .6s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -18px var(--c2); }
.service:hover .service__bg { opacity: .34; transform: scale(1.06); }
.service > *:not(.service__bg) { position: relative; }
.service__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  margin-bottom: auto;
}
.service__icon svg { width: 36px; height: 36px; }
.service h3 { font-size: 23px; font-weight: 800; margin: 28px 0 8px; }
.service p { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.55; }
.service__more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,.95); color: var(--c2);
  padding: 7px 16px; border-radius: 999px;
  align-self: flex-start;
}
.service__more::after { content: "←"; transition: transform .25s; }
.service:hover .service__more::after { transform: translateX(-4px); }

/* ========== Service modal ========== */
.modal {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(8, 12, 20, .7);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: var(--paper);
  border-radius: 20px;
  padding: 32px;
  animation: popIn .3s ease;
}
.modal__close {
  position: absolute; top: 14px; left: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--bg); font-size: 18px; color: var(--ink);
}
.modal__close:hover { background: var(--line); }
.modal__head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; padding-inline-end: 40px; }
.modal__ic {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff;
  display: grid; place-items: center;
}
.modal__ic svg { width: 36px; height: 36px; }
.modal__head h3 { font-family: var(--serif); font-weight: 900; font-size: 32px; color: var(--navy); }
.modal__head p { color: var(--muted); margin-top: 4px; }
.modal__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal__media button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--sand); aspect-ratio: 3 / 4; position: relative; }
.modal__media img, .modal__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.modal__media button:hover img { transform: scale(1.05); }
.modal__media--one { grid-template-columns: minmax(0, 320px); justify-content: center; }
.modal__media--two { grid-template-columns: repeat(2, 1fr); }
.modal__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 28px; background: var(--bg); border-radius: 12px; }
.modal__cta {
  margin-top: 24px;
  background: var(--bg);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.modal__cta p { font-size: 17px; }
.modal__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ========== Projects ========== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  position: relative; display: block; width: 100%;
  border: 0; padding: 0; text-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 5;
  color: #fff;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.project:hover img { transform: scale(1.05); }
.project::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,18,32,.88) 0%, rgba(10,18,32,.25) 45%, transparent 70%);
}
.project__body { position: absolute; inset: auto 0 0; padding: 28px; z-index: 1; }
.project__tag { display: inline-block; font-size: 13px; font-weight: 700; background: var(--accent); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.project h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 2.4vw, 32px); }
.project p { color: rgba(255,255,255,.8); margin-top: 6px; font-size: 16px; }
.project__count { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 1; background: rgba(0,0,0,.5); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.projects .project:first-child { grid-column: span 3; aspect-ratio: 21 / 9; }

/* ========== Gallery ========== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--paper);
  padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.gitem {
  position: relative; border: 0; padding: 0;
  border-radius: 10px; overflow: hidden; background: var(--line);
  animation: fadeUp .45s ease both;
}
.gitem--tall { grid-row: span 2; }
.gitem img, .gitem video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gitem:hover img { transform: scale(1.06); }
.play-badge {
  position: absolute; inset: 0; margin: auto;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  pointer-events: none;
}
.play-badge svg { width: 26px; height: 26px; transform: scaleX(-1); margin-inline-start: -3px; }
.gallery__more { text-align: center; margin-top: 36px; }
.gallery__more[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ========== Testimonials ========== */
.section--dark { background: var(--navy); color: #fff; }
.testi { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.testi h2 { color: #fff; }
.testi__head .eyebrow { color: var(--accent); }
.testi__head p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 18px; margin: 18px 0 30px; }
.testi__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
.vcard {
  position: relative; border: 0; padding: 0;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 9 / 15;
  background: #000; color: #fff;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
}
.testi__list > :nth-child(even) { transform: translateY(40px); }
.vcard img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s; }
.vcard:hover img { opacity: 1; transform: scale(1.03); }
.vcard .play-badge { width: 74px; height: 74px; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px rgba(232,115,31,.25); transition: box-shadow .3s; }
.vcard:hover .play-badge { box-shadow: 0 0 0 16px rgba(232,115,31,.25); }
.vcard .play-badge svg { width: 32px; height: 32px; }
.vcard__label {
  position: absolute; inset: auto 0 0; padding: 40px 18px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  font-weight: 700; font-size: 16px; text-align: start;
}
.qcard {
  grid-column: 1 / -1;
  margin: 0;
  transform: none !important;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 28px;
}
.qcard__stars { color: #ffc24b; letter-spacing: 3px; margin-bottom: 10px; }
.qcard blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.qcard blockquote::before { content: "״"; font-family: var(--serif); font-size: 56px; line-height: .5; display: block; color: var(--accent); margin-bottom: 8px; }
.qcard cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; }
.qcard cite span { display: block; font-weight: 400; color: rgba(255,255,255,.6); font-size: 14px; }

/* ========== Contact ========== */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 16px; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__ic { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.contact__ic svg { width: 22px; height: 22px; }
.contact__list small { display: block; color: var(--muted); font-size: 14px; }
.contact__list a, .contact__list span:not(.contact__ic) { font-weight: 700; font-size: 20px; text-decoration: none; color: var(--navy); word-break: break-all; }
.contact__list a:hover { color: var(--accent-d); }
.form { box-shadow: var(--shadow); }

/* ========== Footer ========== */
.footer { background: #0e1829; color: rgba(255,255,255,.7); padding: 48px 0 40px; text-align: center; font-size: 15px; }
.footer img { height: 64px; width: auto; margin: 0 auto 18px; }
.footer p + p { margin-top: 6px; }
.footer a { color: #fff; text-decoration: none; }
.footer__copy { margin-top: 18px !important; font-size: 13px; color: rgba(255,255,255,.45); }
.footer__copy a { color: rgba(255,255,255,.55); text-decoration: underline; }

/* ========== Floating ========== */
.fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -6px rgba(31,168,85,.6);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; }

.actionbar { display: none; }

/* ========== Lightbox ========== */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 12, 20, .94);
  display: grid; place-items: center;
  padding: 60px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__stage { max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  border-radius: 8px;
  object-fit: contain;
}
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.1);
  border-radius: 50%; display: grid; place-items: center;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; left: 16px; width: 48px; height: 48px; font-size: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 36px; line-height: 1; padding-bottom: 6px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__prev { right: 14px; }
.lightbox__next { left: 14px; }
.lightbox__caption { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 15px; }

/* ========== Reveal ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 7px; font-size: 15px; }
  .header__inner { gap: 14px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .header.is-scrolled { --header-h: 66px; }
  .brand img { height: 44px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a, .header.is-scrolled .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .nav a::after { display: none; }
  .header:has(.nav.is-open) { background: var(--bg); }
  .header:has(.nav.is-open) .brand { opacity: 1; pointer-events: auto; }
  .header:has(.nav.is-open) .brand__light { opacity: 0; }
  .header:has(.nav.is-open) .brand__dark { opacity: 1; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__bg::after { background: linear-gradient(to bottom, rgba(10,18,32,.55) 0%, rgba(10,18,32,.78) 60%, rgba(10,18,32,.92) 100%); }
  .hero__form { max-width: 520px; }

  .section { padding: 76px 0; }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about__badge { inset-inline-start: 12px; bottom: -24px; }
  .journey { grid-template-columns: repeat(2, 1fr); row-gap: 36px; margin-top: 72px; }
  .journey::before { display: none; }
  .concerns { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr; }
  .promise .btn { justify-self: start; }
  .trades { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: 1fr; padding: 32px 26px; gap: 24px; }
  .projects { grid-template-columns: 1fr; }
  .projects .project:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .projects .project { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .testi { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .fab { display: none; }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0; z-index: 90;
    background: var(--paper);
    box-shadow: 0 -6px 20px -8px rgba(0,0,0,.25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .actionbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: 10px;
    background: var(--navy); color: #fff;
    text-decoration: none; font-weight: 700;
  }
  .actionbar a svg { width: 20px; height: 20px; }
  .actionbar .actionbar__wa { background: var(--wa); }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__logo { width: 200px; margin-bottom: 18px; }
  .hero__title { font-size: 36px; }
  .hero__trust li { font-size: 14px; padding: 6px 12px; }
  .lead-form { padding: 24px 20px; }
  .lead-form h2, .lead-form h3 { font-size: 26px; }
  .strip span { font-size: 18px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .about__badge strong { font-size: 48px; }
  .about__badge { padding: 14px 18px; }
  .journey { grid-template-columns: 1fr; text-align: start; }
  .journey li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: start; padding: 0; }
  .journey__ic { width: 60px; height: 60px; margin: 0; grid-row: span 2; }
  .journey__ic svg { width: 28px; height: 28px; }
  .concerns { grid-template-columns: 1fr; gap: 14px; }
  .concern { padding: 22px; }
  .promise { padding: 24px 20px; }
  .promise .btn { justify-self: stretch; }
  .trades { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trade { font-size: 17px; padding: 20px 10px 18px; }
  .trade__ic { width: 60px; height: 60px; border-radius: 18px; }
  .trade__ic svg { width: 32px; height: 32px; }
  .trades li:last-child { grid-column: span 2; }
  .partners { margin-top: 40px; }
  .partners h3 { font-size: 26px; }
  .partners__list { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; gap: 14px; }
  .service { min-height: 0; padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
  .service__icon { width: 56px; height: 56px; margin: 0; grid-row: span 3; }
  .service h3 { margin: 0 0 4px; font-size: 21px; }
  .service__more { margin-top: 12px; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 20px 20px 0 0; padding: 24px 18px; max-height: 92dvh; }
  .modal__head h3 { font-size: 26px; }
  .modal__ic { width: 52px; height: 52px; }
  .modal__media { gap: 8px; }
  .modal__cta { padding: 16px; }
  .modal__btns, .modal__btns .btn { width: 100%; }
  .modal__btns .btn { flex: 1; }
  .project__body { padding: 20px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .section__head--row { display: block; }
  .section__head--row .filters { margin-top: 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .testi__list { gap: 12px; }
  .testi__list > :nth-child(even) { transform: translateY(24px); }
  .vcard .play-badge { width: 56px; height: 56px; }
  .vcard__label { font-size: 13px; padding: 30px 12px 12px; }
  .qcard { grid-column: 1 / -1; transform: none !important; padding: 22px; }
  .contact__list a, .contact__list span:not(.contact__ic) { font-size: 18px; }
  .lightbox { padding: 64px 8px; }
  .lightbox__nav { top: auto; bottom: 12px; transform: none; width: 46px; height: 46px; }
  .lightbox__caption { bottom: 26px; inset-inline: 70px; }
}

/* ========== Phone & tablet hero ==========
   The first screen is the photo with a short, clear message and one button.
   The lead form follows below the photo. */
.hero__cta { display: none; }

@media (max-width: 960px) {
  .hero { display: block; min-height: 0; padding: 0 0 40px; }
  .hero__bg { bottom: auto; height: 100vh; height: 100svh; }
  .hero__bg::after {
    background: linear-gradient(to bottom,
      rgba(10,18,32,.55) 0%, rgba(10,18,32,0) 16%,
      rgba(10,18,32,0) 34%, rgba(10,18,32,.72) 58%, rgba(10,18,32,.94) 82%, var(--navy) 100%);
  }
  .hero__grid { gap: 0; }
  .hero__text {
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px); /* leave room for the call/WhatsApp bar */
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: calc(var(--header-h) + 16px) 0 30px;
  }
  .hero__logo { width: 150px; margin-bottom: 14px; }
  .hero__name { font-size: 15px; }
  .hero__title { font-size: clamp(32px, 8.6vw, 44px); margin-top: 12px; }
  .hero__title span { font-size: .6em; margin-top: 6px; }
  .hero__lead { display: none; }
  .hero__trust { gap: 6px 16px; margin-top: 16px; }
  .hero__trust li { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; font-size: 15px; font-weight: 500; }
  .hero__trust svg { width: 18px; height: 18px; }
  .hero__cta { display: flex; margin-top: 22px; }
  .hero__form { margin: 8px auto 0; width: 100%; }

  /* keep the menu button readable over a bright photo */
  .header:not(.is-scrolled)::before {
    content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10,18,32,.55), transparent);
  }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section__head h2, .about h2, .contact h2, .testi h2 { font-size: 30px; }
  .section__head > p:not(.eyebrow), .about__text p:not(.eyebrow), .contact__info > p:not(.eyebrow) { font-size: 16px; }
  .journey { margin-top: 56px; }
  .concern__fear { font-size: 15px; margin-bottom: 10px; padding-bottom: 10px; }
  .concern h3 { font-size: 19px; }
  .promise__item strong { font-size: 17px; }
}

/* ========== Accessibility menu (js/a11y.js) ========== */
.a11y-btn {
  position: fixed; left: 24px; bottom: 96px; z-index: 95;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #1d4ed8; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(29,78,216,.6);
}
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel {
  position: fixed; left: 24px; bottom: 154px; z-index: 96;
  width: 250px; padding: 14px;
  background: var(--paper); color: var(--ink);
  border-radius: 14px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.45);
  display: grid; gap: 8px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.a11y-panel__close { border: 0; background: var(--bg); width: 32px; height: 32px; border-radius: 50%; }
.a11y-size { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.a11y-size div { display: flex; align-items: center; gap: 6px; }
.a11y-size button { width: 38px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; }
.a11y-size span[data-size-label] { min-width: 44px; text-align: center; font-weight: 700; }
.a11y-opt, .a11y-reset {
  text-align: start; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 500;
}
.a11y-opt[aria-pressed="true"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.a11y-reset { background: transparent; }
.a11y-link { font-size: 14px; color: #1d4ed8; text-align: center; padding-top: 2px; }

html.a11y-zoomed body { zoom: var(--a11y-zoom); }
html.a11y-contrast { --muted: #2a2f38; --line: #9a9488; }
html.a11y-contrast main, html.a11y-contrast footer { filter: contrast(1.25); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Helvetica Neue", sans-serif !important; letter-spacing: .01em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (max-width: 960px) {
  /* top corner under the menu button, so it never covers the call/WhatsApp buttons */
  .a11y-btn { left: 12px; top: calc(var(--header-h) + 10px); bottom: auto; width: 40px; height: 40px; }
  .a11y-btn svg { width: 24px; height: 24px; }
  .a11y-panel { left: 12px; right: 12px; width: auto; top: calc(var(--header-h) + 58px); bottom: auto; }
  .page-legal .a11y-btn { top: 82px; }
  .page-legal .a11y-panel { top: 130px; }
}

/* ========== Legal pages (accessibility.html, privacy.html) ========== */
.legal-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.legal-header img { height: 44px; width: auto; }
.legal-header__back { color: var(--navy); font-weight: 700; text-decoration: none; }
.legal { max-width: 760px; padding-block: 48px 72px; }
.legal h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5vw, 44px); color: var(--navy); }
.legal h2 { font-size: 22px; color: var(--navy); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal__date { color: var(--muted) !important; font-size: 15px !important; margin: 8px 0 24px; }
.legal__contact { list-style: none; padding: 16px 20px !important; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.legal a { color: var(--accent-d); }
.page-legal .footer { padding-bottom: 40px; }
.form__consent { font-size: 13px; color: var(--muted); text-align: center; }
.form__consent a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
