/* =========================================================
   Suretech Engineering — Brand stylesheet
   Colours sampled from the logo:
   navy #002A94 (SURE) · red #FE0000 (TECH) · plum #4C3A62 (tagline)
   ========================================================= */

:root {
  --navy: #0A2A94;
  --navy-600: #1238B8;
  --navy-800: #071E6E;
  --navy-900: #06154F;
  --navy-950: #040C33;
  --red: #E8101A;
  --red-500: #FF2A2A;
  --red-700: #B80A12;
  --plum: #4C3A62;

  --ink: #0E1630;
  --text: #3B4560;
  --muted: #6B7590;
  --line: #E3E8F3;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FC;
  --white: #FFFFFF;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(6, 21, 79, .06);
  --shadow: 0 14px 40px -12px rgba(6, 21, 79, .18);
  --shadow-lg: 0 30px 70px -20px rgba(6, 21, 79, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic--lg { width: 1.8em; height: 1.8em; }
.text-red { color: var(--red); }
.text-red-light { color: var(--red-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(232, 16, 26, .55); }
.btn--red:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(232, 16, 26, .6); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -8px rgba(10, 42, 148, .5); }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 60%, var(--navy) 60%); }
.eyebrow--light { color: #FF6B6B; }
.eyebrow--light::before { background: linear-gradient(90deg, var(--red-500) 60%, #fff 60%); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; text-align: left; margin-bottom: 2.5rem; }
.section__head--row .eyebrow { justify-content: flex-start; }
.section__head--light .h2 { color: #fff; }
.section__lead { font-size: 1.075rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar__group { display: flex; gap: 1.6rem; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .ic { color: var(--red-500); }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(6, 21, 79, .18); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }
.brand { display: block; line-height: 0; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .55rem .75rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: .8rem; }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--bg-soft); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; background: var(--red); }
.burger span:nth-child(3) { top: 29px; }
.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: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(4, 12, 51, .96) 0%, rgba(6, 21, 79, .88) 38%, rgba(10, 42, 148, .55) 70%, rgba(10, 42, 148, .25) 100%),
    linear-gradient(0deg, rgba(4, 12, 51, .7), transparent 40%);
}
.hero__stripes {
  position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; z-index: -1; opacity: .9;
  background: repeating-linear-gradient(-45deg, var(--red) 0 18px, transparent 18px 44px);
  -webkit-mask: radial-gradient(circle at 70% 70%, #000 0 30%, transparent 62%);
          mask: radial-gradient(circle at 70% 70%, #000 0 30%, transparent 62%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(400px, .85fr); gap: 3.5rem; align-items: center; padding-top: 80px; padding-bottom: 110px; }
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 0 rgba(255, 42, 42, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 42, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); } }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; margin: 1.4rem 0 1.4rem; }
.hl { position: relative; color: #fff; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--red); z-index: -1; border-radius: 2px; transform: skewX(-12deg); }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__facts { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 0; max-width: 620px; }
.hero__facts li { padding: 0 1.4rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 1.65rem; font-weight: 900; color: #fff; line-height: 1.1; }
.hero__facts span { font-size: .8rem; color: rgba(255, 255, 255, .65); }

.hero__card {
  background: rgba(255, 255, 255, .97); color: var(--ink);
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy) 55%, var(--red) 55%); }
.hero__card-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.3rem; color: var(--navy); }
.hero__card-kicker { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--red); }
.hero__card-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.hero__card-row { display: flex; gap: .9rem; align-items: center; padding: .85rem; margin: 0 -.85rem; border-radius: 12px; transition: background .2s; font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.hero__card-row:hover { background: var(--bg-soft); }
.hero__card-row small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.hero__card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(10, 42, 148, .08); color: var(--navy); flex-shrink: 0; }
.hero__card-row:hover .hero__card-icon { background: var(--navy); color: #fff; }
.hero__card-foot { display: flex; align-items: center; gap: .5rem; margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px dashed var(--line); font-size: .85rem; font-weight: 600; color: var(--plum); }
.hero__card-foot .ic { color: var(--red); }


/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -54px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust__item { display: flex; gap: 1rem; align-items: center; padding: 1.6rem 1.5rem; border-right: 1px solid var(--line); transition: background .3s; }
.trust__item:last-child { border-right: 0; }
.trust__item:hover { background: var(--bg-soft); }
.trust__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; font-size: 1.3rem; flex-shrink: 0; }
.trust__item:nth-child(even) .trust__icon { background: linear-gradient(135deg, var(--red), var(--red-500)); }
.trust__item div strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.trust__item div span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 4.4; }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__media::before {
  content: ""; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; z-index: -1;
  background-image: radial-gradient(var(--navy) 2px, transparent 2px); background-size: 16px 16px; opacity: .25;
}
.about__badge {
  position: absolute; left: -18px; bottom: 11%;
  background: var(--red); color: #fff; padding: 1.2rem 1.4rem; border-radius: 18px;
  box-shadow: 0 20px 40px -12px rgba(232, 16, 26, .55);
  display: flex; flex-direction: column; line-height: 1.1;
}
.about__badge-num { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.about__badge-year { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; }
.about__badge-txt { font-size: .78rem; opacity: .9; margin-top: .25rem; }
.about__text p { font-size: 1.02rem; }
.about__text strong { color: var(--ink); }
.about__points { display: grid; gap: 1rem; margin: 1.8rem 0; }
.point { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--bg-soft); border-radius: var(--radius); border-left: 4px solid var(--navy); }
.point:nth-child(2) { border-left-color: var(--red); }
.point__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; flex-shrink: 0; margin-top: 2px; }
.point:nth-child(2) .point__icon { background: var(--red); }
.point strong { font-family: var(--font-head); color: var(--ink); }
.point p { margin: .2rem 0 0; font-size: .93rem; color: var(--muted); }
.about__sign { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about__sign-name { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.about__sign-role { margin: 0; font-size: .88rem; color: var(--plum); font-weight: 600; }

/* ---------- Services (dark photo panel) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; position: relative; }
.svc { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 21, 79, .55)); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.08); }
.svc__body { position: relative; padding: 2.4rem 1.7rem 1.8rem; flex: 1; }
.svc__icon {
  position: absolute; top: -30px; left: 1.7rem; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 1.5rem;
  box-shadow: 0 12px 24px -8px rgba(10, 42, 148, .6); transition: background .3s, transform .4s var(--ease);
}
.svc:hover .svc__icon { background: var(--red); transform: rotate(-8deg); }
.svc h3 { font-size: 1.2rem; font-weight: 800; margin: .5rem 0 .6rem; }
.svc p { margin: 0; font-size: .95rem; color: var(--muted); }
.svc__num { position: absolute; top: .9rem; right: 1.4rem; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .3s; }
.svc:hover .svc__num { -webkit-text-stroke-color: rgba(232, 16, 26, .35); }

/* ---------- Process (light blueprint panel) ---------- */
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process__steps::before { content: ""; position: absolute; top: 60px; left: 12%; right: 12%; border-top: 2px dashed rgba(10, 42, 148, .25); }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .94); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step__num { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-head); font-weight: 900; font-size: 2.3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(232, 16, 26, .35); }
.step__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.4rem; margin-bottom: 1.4rem; box-shadow: 0 0 0 8px rgba(10, 42, 148, .08); transition: background .3s; }
.step:nth-child(even) .step__icon { background: var(--red); box-shadow: 0 0 0 8px rgba(232, 16, 26, .08); }
.step:hover .step__icon { background: var(--red); }
.step:nth-child(even):hover .step__icon { background: var(--navy); }
.step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .6rem; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.feat { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feat:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.feat__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(232, 16, 26, .09); color: var(--red); font-size: 1.25rem; flex-shrink: 0; transition: background .3s, color .3s; }
.feat:hover .feat__icon { background: var(--red); color: #fff; }
.feat h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .3rem; }
.feat p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.why__media { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 3px solid var(--navy); border-radius: var(--radius-lg); z-index: -1; }
.why__quote {
  position: absolute; left: -40px; bottom: 40px; max-width: 320px;
  background: var(--navy); color: #fff; padding: 1.5rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; gap: 1rem; align-items: flex-start;
}
.why__quote .ic { color: var(--red-500); }
.why__quote p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.45; }
.why__quote strong { color: #FF6B6B; }

/* ---------- Projects ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; background: #fff; padding: .4rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
.filter { border: 0; background: transparent; padding: .6rem 1.1rem; border-radius: 9px; font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--text); transition: background .25s, color .25s; }
.filter:hover { color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1.2rem; }
.work { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: opacity .4s, transform .4s var(--ease); }
.work--tall { grid-row: span 2; }
.work--wide { grid-column: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4, 12, 51, .9)); transition: opacity .4s; }
.work:hover img { transform: scale(1.08); }
.work figcaption { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 2; transform: translateY(8px); transition: transform .4s var(--ease); }
.work:hover figcaption { transform: translateY(0); }
.work__tag { display: inline-block; padding: .25rem .7rem; border-radius: 6px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.work h3 { color: #fff; font-size: 1.1rem; font-weight: 800; }
.work__zoom { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.work:hover .work__zoom, .work:focus-within .work__zoom { opacity: 1; transform: scale(1); }
.work.is-hidden { display: none; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(70px, 8vw, 110px) 0; color: #fff; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(184, 10, 18, .94) 0%, rgba(232, 16, 26, .85) 40%, rgba(6, 21, 79, .88) 100%); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta__title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; max-width: 720px; margin-bottom: .8rem; }
.cta .hl::after { background: var(--navy); }
.cta__lead { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Credentials ---------- */
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cred {
  position: relative; padding: 1.8rem 1.6rem; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.cred::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--navy); transition: width .4s var(--ease); }
.cred:nth-child(even)::before { background: var(--red); }
.cred::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(10, 42, 148, .05); }
.cred:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cred__top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.3rem; }
.cred__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(10, 42, 148, .08); color: var(--navy); font-size: 1.2rem; }
.cred:nth-child(even) .cred__icon { background: rgba(232, 16, 26, .09); color: var(--red); }
.cred__issuer { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: right; line-height: 1.3; }
.cred h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .4rem; }
.cred__id { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; color: var(--navy); letter-spacing: .02em; margin-bottom: .7rem; }
.cred:nth-child(even) .cred__id { color: var(--red); }
.cred__meta { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.office { padding: 1.2rem 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.office__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: .2rem .6rem; border-radius: 5px; margin-bottom: .6rem; }
.office__tag--navy { background: var(--navy); }
.office__addr { display: flex; gap: .7rem; margin: 0; color: var(--ink); font-weight: 600; line-height: 1.55; }
.office__addr .ic { color: var(--red); margin-top: .3rem; }
.contact__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.quick { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 600; font-size: .88rem; transition: transform .3s var(--ease), background .3s; word-break: break-all; }
.quick:nth-child(2) { background: var(--red); }
.quick:hover { transform: translateY(-4px); }
.quick small { display: block; font-weight: 500; font-size: .72rem; opacity: .75; }
.quick__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .15); flex-shrink: 0; }

.form { background: #fff; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--navy) 50%, var(--red) 50%); }
.form__title { font-size: 1.5rem; font-weight: 800; margin-bottom: .3rem; }
.form__sub { color: var(--muted); margin-bottom: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 10px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 42, 148, .1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: #FFF5F5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: .9rem 0 0; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.form__note.is-ok { color: #0B7A3B; }
.form__note.is-err { color: var(--red); }

.map { margin-top: 4rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 380px; border: 6px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); position: relative; font-size: .93rem; }
.footer__stripe { height: 6px; background: linear-gradient(90deg, var(--navy-600) 0 50%, var(--red) 50% 100%); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.6fr; gap: 3rem; padding: 4.5rem 24px 3rem; }
.footer__logo { display: block; margin-bottom: 1.4rem; max-width: 300px; line-height: 0; }
.footer__logo img { width: 100%; height: auto; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--red); border-radius: 2px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer ul a { transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; word-break: break-word; }
.footer__contact .ic { color: var(--red-500); margin-top: .3rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .25s, transform .25s var(--ease); }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__tag { font-family: var(--font-head); font-style: italic; font-weight: 800; color: #B7A6D0; letter-spacing: .02em; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 22px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; color: #fff; box-shadow: var(--shadow-lg); font-size: 1.35rem; transition: transform .3s var(--ease), opacity .3s; }
.fab--wa { bottom: 22px; background: #25D366; }
.fab--wa:hover { transform: scale(1.08); }
.fab--top { bottom: 86px; background: var(--navy); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.fab--top:hover { background: var(--red); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 51, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox p { color: #fff; font-family: var(--font-head); font-weight: 700; margin-top: 1rem; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--red); }

/* ---------- Reveal animation ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: .55rem .55rem; font-size: .86rem; }
  .nav__link::after { left: .55rem; right: .55rem; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 90px 24px 24px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 1rem .3rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--red); }
  .nav__cta { margin: 1.5rem 0 0; }
  .burger { z-index: 101; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(4, 12, 51, .5); z-index: 98; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .why__media { max-width: 520px; margin: 0 auto; }
  .why__quote { left: 16px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .cta__bg { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; }
  .brand img { height: 36px; }
  .header.is-scrolled .brand img { height: 32px; }
  .hero { min-height: auto; }
  .hero__inner { padding-top: 56px; padding-bottom: 100px; gap: 2.5rem; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; }
  .hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hl { white-space: normal; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stripes { width: 320px; height: 320px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
  .services__grid, .creds__grid, .process__steps, .why__list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work--wide { grid-column: auto; }
  .work--tall { grid-row: auto; }
  .form__row, .contact__quick { grid-template-columns: 1fr; }
  .about__badge { left: 0; }
  .about__media::before { left: -8px; }
  .why__media::before { inset: 14px -8px -14px 14px; }
  .why__quote { position: relative; left: auto; bottom: auto; margin: -50px 12px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 3.5rem; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .cta__actions .btn { flex: 1 1 auto; }
  .map { height: 300px; }
}

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

/* Map "open in Google Maps" button */
.map { position: relative; }
.map__btn {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 10px; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow);
  transition: background .25s, transform .25s var(--ease);
}
.map__btn:hover { background: var(--red); transform: translateY(-2px); }
.map__btn .ic { color: #FF6B6B; }
.map__btn:hover .ic { color: #fff; }

/* Keep the off-canvas menu from widening the page on phones */
@media (max-width: 960px) {
  .nav { transform: none; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s linear .45s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
}
.lightbox { overflow: hidden; }
/* backdrop-filter would trap the fixed mobile menu inside the header */
@media (max-width: 960px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* Keep the wider logo + menu on one line on small laptops */
@media (max-width: 1180px) and (min-width: 961px) {
  .nav__cta { display: none; }
  .brand img, .header.is-scrolled .brand img { height: 38px; }
}

/* =========================================================
   DESIGN v2 — every panel gets its own background
   ========================================================= */

/* ---- Generic photo layer + panel themes ---- */
.section, .footer { isolation: isolate; }
.sec-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; pointer-events: none; }

/* Dark photo panel: photo under a deep navy wash */
.section--dark { color: rgba(255, 255, 255, .78); background: var(--navy-950); overflow: hidden; }
.section--dark .sec-bg { background-attachment: fixed; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(232, 16, 26, .28), transparent 70%),
    linear-gradient(160deg, rgba(4, 12, 51, .92) 0%, rgba(6, 21, 79, .8) 50%, rgba(10, 42, 148, .6) 100%);
}
.section--dark .h2, .section--dark h3 { color: #fff; }
.section--dark .section__lead { color: rgba(255, 255, 255, .72); }
.section--dark .svc h3 { color: var(--ink); }

/* Light photo panel: faint greyscale photo + blueprint grid */
.section--light-photo { --fade: #fff; background: var(--fade); overflow: hidden; }
.section--light-photo .sec-bg { opacity: .07; filter: grayscale(1) brightness(1.15); }
.section--light-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(10, 42, 148, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 42, 148, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%); mask: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%);
}
.section--light-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--fade) 0%, transparent 16%, transparent 84%, var(--fade) 100%); pointer-events: none; }

/* Slanted top edge */
.section--slant { --slant: 70px; clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); padding-top: calc(clamp(72px, 9vw, 120px) + var(--slant)); }

/* Diagonal-line pattern panel */
.section--pattern {
  background-color: var(--bg-soft);
  background-image:
    radial-gradient(900px 500px at 0% 0%, rgba(10, 42, 148, .07), transparent 70%),
    radial-gradient(700px 400px at 100% 100%, rgba(232, 16, 26, .06), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(10, 42, 148, .035) 0 2px, transparent 2px 22px);
}

/* ---- Hero slider ---- */
.hero__slides { position: absolute; inset: 0; z-index: -3; background: var(--navy-950); }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 40%;
  opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7.5s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: linear-gradient(90deg, #000 0%, transparent 55%); mask: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero__dots {
  position: absolute; bottom: 72px; right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  display: flex; gap: 1.2rem; z-index: 3;
}
.hero__dot {
  position: relative; min-width: 118px; padding: 12px 0 0; border: 0; background: none; text-align: left;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); transition: color .3s;
}
.hero__dot span { color: var(--red-500); margin-right: .35rem; }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.hero__dot::after { background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__dot:hover, .hero__dot.is-active { color: #fff; }
.hero__dot.is-active::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* ---- Ticker band ---- */
.ticker {
  position: relative; z-index: 3; overflow: hidden; padding: 1.05rem 0;
  background: linear-gradient(90deg, var(--red-700), var(--red) 40%, var(--red-500));
  color: #fff; transform: skewY(-1.4deg); margin: -14px 0;
  box-shadow: 0 18px 40px -18px rgba(184, 10, 18, .7);
}
.ticker__track { display: flex; width: max-content; animation: tickerMove 38s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 0 1.4rem;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  transform: skewY(1.4deg);
}
.ticker span::after { content: ""; width: 9px; height: 9px; margin-left: 2.8rem; background: #fff; transform: rotate(45deg); opacity: .85; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---- Process (light blueprint panel) ---- */
.process { --fade: var(--bg-soft); }

/* ---- Why us (dark photo panel) ---- */
.why .feat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.why .feat:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 59, 59, .5); box-shadow: none; }
.why .feat p { color: rgba(255, 255, 255, .68); }
.why .feat__icon { background: var(--red); color: #fff; }
.why .feat:hover .feat__icon { background: #fff; color: var(--red); }
.why__media::before { border-color: rgba(255, 255, 255, .35); }
.why__quote { background: var(--red); }
.why__quote .ic { color: #fff; }
.why__quote strong { color: #fff; font-weight: 900; }

/* ---- Credentials watermark ---- */
.creds { background: linear-gradient(180deg, #fff 0%, #F7F8FD 100%); overflow: hidden; }
.creds__mark {
  position: absolute; right: -40px; top: 40px; width: min(420px, 55vw); aspect-ratio: 1; z-index: -1;
  background: url("../assets/mark.svg") no-repeat center / contain; opacity: .05; transform: rotate(-6deg);
}
.creds::before {
  content: ""; position: absolute; left: -80px; bottom: -80px; width: 320px; height: 320px; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(-45deg, rgba(232, 16, 26, .12) 0 10px, transparent 10px 26px);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 65%); mask: radial-gradient(circle, #000 20%, transparent 65%);
}

/* ---- Contact: photo info panel + form ---- */
.contact {
  background-color: var(--bg-soft);
  background-image: radial-gradient(800px 460px at 100% 0%, rgba(10, 42, 148, .08), transparent 70%),
                    repeating-linear-gradient(-45deg, rgba(10, 42, 148, .03) 0 2px, transparent 2px 22px);
}
.contact__grid { align-items: stretch; }
.contact__panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(1.8rem, 3.5vw, 2.8rem); border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg);
}
.contact__panel .sec-bg { background-position: center 25%; }
.contact__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, rgba(4, 12, 51, .95) 0%, rgba(6, 21, 79, .82) 45%, rgba(10, 42, 148, .55) 100%);
}
.contact__panel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--navy-600) 50%, var(--red) 50%); }
.contact__panel .h2 { color: #fff; }
.contact__panel .section__lead { color: rgba(255, 255, 255, .72); }
.contact__panel .office { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact__panel .office__addr { color: #fff; }
.contact__panel .office__addr .ic { color: #FF6B6B; }
.contact__panel .contact__quick { grid-template-columns: 1fr; }
.contact__panel .quick { word-break: normal; overflow-wrap: anywhere; }
.contact__panel .quick:nth-child(1) { background: #fff; color: var(--navy); }
.contact__panel .quick:nth-child(1) .quick__icon { background: rgba(10, 42, 148, .1); }

/* ---- Footer photo ---- */
.footer { overflow: hidden; }
.footer .sec-bg { opacity: .35; background-position: center 30%; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 12, 51, .55) 0%, rgba(4, 12, 51, .88) 60%, var(--navy-950) 100%); }

/* ---- v2 responsive ---- */
@media (max-width: 1100px) {
  .hero__dots { display: none; }
}
@media (max-width: 960px) {
  .section--dark .sec-bg { background-attachment: scroll; }
  .section--slant { --slant: 40px; }
}
@media (max-width: 640px) {
  .ticker span { font-size: .9rem; padding: 0 1rem; }
  .ticker span::after { margin-left: 2rem; }
  .creds__mark { top: 20px; right: -30px; }
}

/* =========================================================
   SCROLL MOTION — reveals in both directions, parallax, smart header
   (only active when JS adds .motion; reduced-motion users get static content)
   ========================================================= */
.motion .reveal {
  opacity: 0;
  translate: var(--rx, 0px) var(--ry, 46px);
  scale: var(--rs, 1);
  transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background .3s;
}
.motion .reveal[data-from="top"] { --ry: -46px; }
.motion .reveal[data-anim="left"] { --rx: -80px; --ry: 0px; }
.motion .reveal[data-anim="right"] { --rx: 80px; --ry: 0px; }
.motion .reveal[data-anim="zoom"] { --rs: .88; --ry: 40px; }
.motion .reveal[data-anim="zoom"][data-from="top"] { --ry: -40px; }
.motion .reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }

/* eyebrow line draws in */
.motion .eyebrow.reveal::before { width: 0; transition: width .8s var(--ease) .25s; }
.motion .eyebrow.reveal.is-in::before { width: 34px; }

/* scroll progress bar */
.scroll-progress {
  position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 160; pointer-events: none;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--red) 0%, var(--red-500) 40%, var(--navy-600) 100%);
  box-shadow: 0 0 10px rgba(232, 16, 26, .5);
}

/* smart header: slides away on scroll down, returns on scroll up */
.header { transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.header.is-hidden { transform: translateY(-110%); }

/* parallax layers need extra bleed so no edge shows while moving */
.sec-bg--parallax { inset: -18% 0; will-change: transform; }
.hero__slides, .hero__inner { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}
/* keep side-entrances from widening the page on phones */
.section, .cta { overflow-x: clip; }
@media (max-width: 960px) {
  .motion .reveal[data-anim="left"], .motion .reveal[data-anim="right"] { --rx: 0px; --ry: 40px; }
  .motion .reveal[data-anim="left"][data-from="top"], .motion .reveal[data-anim="right"][data-from="top"] { --ry: -40px; }
}

/* =========================================================
   iPhone/Safari layering fix: no negative z-index on moving background layers.
   Backgrounds = 0, overlays = 1, content = 2 (all inside an isolated section).
   ========================================================= */
.hero__slides { z-index: 0; }
.hero__shade { z-index: 1; }
.hero__stripes, .hero__grid { z-index: 1; }
.hero__inner { position: relative; z-index: 2; }
.hero__dots { z-index: 3; }

.sec-bg { z-index: 0; }
.section--dark::before, .section--light-photo::before, .section--light-photo::after,
.contact__panel::before, .footer::before, .cta::before { z-index: 1; }
.cta__bg { z-index: 0; }
.creds__mark, .creds::before { z-index: 0; }
.section > .container, .cta__inner, .footer > :not(.sec-bg), .contact__panel > :not(.sec-bg) { position: relative; z-index: 2; }
.contact__panel::after { z-index: 3; }
.cta { isolation: isolate; }

/* Phones/tablets: backgrounds stay still (no parallax layers to composite) */
@media (max-width: 960px) {
  .sec-bg--parallax, .hero__slides, .hero__inner { will-change: auto; transform: none !important; }
  .sec-bg--parallax { inset: 0; }
}
