/* Marquis Solutions one-page site */

:root {
  --ice: #F3F5F9;
  --ice-2: #E8EEF7;
  --white: #FFFFFF;
  --steel: #DCE3EE;
  --steel-2: #C3CEDF;
  --navy: #0E2460;
  --navy-2: #0A1A47;
  --royal: #1450A0;
  --orange: #F29400;
  --orange-hot: #FFA824;
  --orange-ink: #9C5700;
  --ink: #0B1530;
  --muted: #47567A;
  --on-navy: #C9D5EE;
  --danger: #B42318;
  --ok: #17663A;

  --f-display: "Red Hat Display", system-ui, sans-serif;
  --f-text: "Red Hat Text", system-ui, sans-serif;
  --f-label: "Montserrat", system-ui, sans-serif;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 60px -32px rgba(14, 36, 96, 0.35);
  --shadow-lift: 0 30px 70px -30px rgba(14, 36, 96, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--orange);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--royal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); color: var(--navy); text-wrap: balance; text-transform: capitalize; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(242, 148, 0, 0.32); color: var(--navy); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--steel-2) var(--ice); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ice); }
::-webkit-scrollbar-thumb { background: var(--steel-2); border-radius: 10px; border: 2px solid var(--ice); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: 12px; }
.skip:focus { top: 16px; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip: rect(0 0 0 0); }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 16px; height: 16px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }

.h2 { font-weight: 800; font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.04; letter-spacing: -0.032em; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--navy); font-weight: 500; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 16px; }
.section__head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__intro { color: var(--muted); font-size: 1.125rem; max-width: 60ch; }
.section__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 52px); }

/* Glass */
.glass {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-soft);
}

/* Buttons */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 0;
  font: 700 16px/1 var(--f-display); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.3s, color 0.3s;
}
.btn .ic { transition: transform 0.45s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(242, 148, 0, 0.9); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--primary:hover { background: var(--orange-hot); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(242, 148, 0, 0.95); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--steel-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--royal); color: var(--royal); transform: translateY(-2px); }
.btn--glass-dark { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass-dark:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn[aria-busy="true"] .btn__label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Live wire border (electric current traveling around rounded cards) */
.live { position: relative; isolation: isolate; }
.live__wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.live__wire .w-base { fill: none; stroke: rgba(20, 80, 160, 0.13); stroke-width: 1.5; }
.live__wire .w-current { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; opacity: 0; transition: opacity 0.6s var(--ease), stroke-width 0.3s; filter: drop-shadow(0 0 4px rgba(242, 148, 0, 0.9)); }
.live__wire .w-glow { fill: none; stroke: rgba(255, 196, 102, 0.9); stroke-width: 7; stroke-linecap: round; opacity: 0; filter: blur(5px); transition: opacity 0.4s; }
.live.is-on .w-current { opacity: 0.75; }
.live.is-hot .w-current { opacity: 1; stroke-width: 3; }
.live.is-hot .w-glow { opacity: 0.85; }
.spark { position: absolute; z-index: 4; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #FFE2A8; box-shadow: 0 0 6px 2px rgba(242, 148, 0, 0.85); pointer-events: none; }

/* NAV */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: calc(1280px - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 80px; padding: 0 10px 0 26px; border-radius: 999px;
  transition: box-shadow 0.5s var(--ease), background-color 0.5s;
}
.nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 1px 0 #fff, 0 18px 40px -22px rgba(14, 36, 96, 0.45); }
.nav__brand img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 999px; color: var(--navy); font: 600 15px/1 var(--f-text); text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.nav__links a:hover { background: rgba(20, 80, 160, 0.08); color: var(--royal); }
.nav__links a.is-current { color: var(--royal); background: rgba(20, 80, 160, 0.08); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: grid; align-content: center; gap: 3px; min-height: 44px; text-decoration: none; text-align: right; }
.nav__number { font: 800 17px/1 var(--f-display); color: var(--navy); letter-spacing: -0.01em; }
.nav__phone:hover .nav__number { color: var(--royal); }
.nav__toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; place-items: center; cursor: pointer; }
.mobile-menu { pointer-events: auto; margin: 10px auto 0; max-width: 520px; border-radius: var(--r-lg); padding: 14px; display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 14px; color: var(--navy); font: 700 18px/1 var(--f-display); text-decoration: none; }
.mobile-menu a:not(.btn):hover { background: rgba(20, 80, 160, 0.08); }
.mobile-menu .btn { margin-top: 8px; }

.status { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; font: 600 11.5px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--steel-2); }
.status.is-open .status__dot { background: var(--orange); }
.status.is-open .status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* HERO */
.hero {
  position: relative; min-height: 100svh; padding: 116px 0 32px;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  background:
    radial-gradient(55% 60% at 78% 38%, rgba(20, 80, 160, 0.13), transparent 70%),
    radial-gradient(30% 30% at 80% 34%, rgba(242, 148, 0, 0.10), transparent 70%),
    var(--ice);
  overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__traces, .hero__inner { z-index: 1; }
.hero::before { background: url("../img/hero-lighting.webp") center / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, var(--ice) 0%, var(--ice) 34%, rgba(243, 245, 249, 0.82) 54%, rgba(243, 245, 249, 0.38) 100%); }
.hero__traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trace-lines path { fill: none; stroke: var(--steel-2); stroke-width: 1.5; opacity: 0.7; }
.trace-nodes circle { fill: var(--ice); stroke: var(--steel-2); stroke-width: 1.5; }
.trace-pulses path {
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 14 86; stroke-dashoffset: 14; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(242, 148, 0, 0.95)) drop-shadow(0 0 10px rgba(242, 148, 0, 0.55));
  animation: beam var(--dur) linear var(--delay) infinite;
}
@keyframes beam {
  0% { stroke-dashoffset: 14; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__title { font-weight: 900; font-size: clamp(2.15rem, 4.9vw, 4.5rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 13em; }
.hero__sub { margin-top: 26px; font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.hero__call { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 14px; }
.callchip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--steel), var(--shadow-soft); text-decoration: none; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.callchip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--royal), var(--shadow-lift); }
.callchip__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.callchip__body { display: grid; gap: 4px; }
.callchip__label { font: 600 11px/1 var(--f-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.callchip__number { font: 800 1.4rem/1 var(--f-display); color: var(--navy); letter-spacing: -0.02em; }
.hero__area { margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.hero__area .ic { color: var(--royal); }

@media (min-width: 901px) and (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
  .hero__call .btn--lg { padding-inline: 24px; }
  .callchip__number { font-size: 1.25rem; }
  .callchip__label { letter-spacing: 0.06em; }
}
.contact__list a[href^="mailto"] { font-size: 0.92rem; }
.hero__stage { position: relative; align-self: stretch; min-height: clamp(440px, 46vw, 640px); }
.hero__canvas { position: absolute; top: 50%; left: -14%; width: 128%; height: clamp(520px, 54vw, 760px); transform: translateY(-50%); pointer-events: none; }


/* Forms */
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font: 600 11px/1 var(--f-label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--white); border: 1.5px solid var(--steel); border-radius: var(--r-sm);
  color: var(--ink); font-size: 16px; line-height: 1.3;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #66748F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(20, 80, 160, 0.14); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1); }
.field__error { font-size: 13px; color: var(--danger); font-weight: 500; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #66748F; }
.form-status { font-size: 14px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--danger); }
.form-done { display: grid; gap: 10px; }
.form-done .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy); color: var(--orange); }
.form-done h3 { font-size: 1.5rem; font-weight: 800; }
.form-done p { color: var(--muted); }


/* ABOUT */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 5.2; box-shadow: var(--shadow-lift); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media img, .bento__item img, .about__media img { filter: saturate(0.6) contrast(1.06) brightness(1.03) hue-rotate(-6deg); }
.about__media::after, .bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 80, 160, 0.2), rgba(14, 36, 96, 0.26)); mix-blend-mode: multiply; pointer-events: none; }
.about__badge { z-index: 1; }
.about__badge { background: rgba(255, 255, 255, 0.88); position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 340px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); font-size: 14px; color: var(--muted); }
.about__badge b { display: block; font: 800 1rem/1.2 var(--f-display); color: var(--navy); }
.about__badge .ic { color: var(--royal); width: 24px; height: 24px; }.about__copy { display: grid; gap: 22px; justify-items: start; }
.about__copy > p:not(.lead) { color: var(--muted); max-width: 58ch; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.ticks .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(20, 80, 160, 0.1); color: var(--royal); stroke-width: 2.5; }

/* SERVICES */
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc { border-radius: var(--r-lg); background: var(--navy); overflow: hidden; min-height: clamp(340px, 34vw, 440px); display: grid; align-items: end; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.svc:hover, .svc.is-hot { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc__media { position: absolute; inset: 0; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 36, 96, 0.08) 0%, rgba(14, 36, 96, 0.3) 50%, rgba(10, 26, 72, 0.72) 100%); }
.svc:hover .svc__media img, .svc.is-hot .svc__media img { transform: scale(1.05); }
.svc__body {
  position: relative; z-index: 1; margin: 14px; padding: 22px 24px 20px;
  display: grid; gap: 10px; justify-items: start;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(14, 36, 96, 0.38));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 20px 40px -24px rgba(5, 12, 36, 0.7);
  transition: background 0.6s var(--ease), transform 0.6s var(--ease);
}
.svc:hover .svc__body, .svc.is-hot .svc__body { background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(14, 36, 96, 0.46)); transform: translateY(-2px); }
.svc h3 { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.svc p { color: rgba(255, 255, 255, 0.88); max-width: 42ch; }
.svc__link { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-display); color: #fff; text-decoration: none; padding: 14px 0; }
.svc__link .ic { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.svc__link:hover .ic { transform: translateX(4px); }

/* PROJECTS (bento) */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 240px); gap: 16px; }
.bento__item { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--steel); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.06); }
.bento__item--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento__item--b { grid-column: 3 / 4; grid-row: 1 / 3; }
.bento__item--c { grid-column: 4 / 5; grid-row: 1 / 2; }
.bento__item--d { grid-column: 4 / 5; grid-row: 2 / 4; }
.bento__item--e { grid-column: 1 / 2; grid-row: 3 / 4; }
.bento__item--f { grid-column: 2 / 4; grid-row: 3 / 4; }

/* REVIEWS */
.reviews__source { margin-top: 12px; color: var(--muted); font-size: 15px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { position: relative; border-radius: var(--r-lg); padding: 30px 28px 26px; display: grid; gap: 18px; align-content: start; }
.sample-tag { justify-self: start; font: 600 11px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 7px 10px; border-radius: 999px; background: var(--steel); }
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review footer small { display: block; color: var(--muted); font-size: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: #fff; font: 800 16px/1 var(--f-display); }

/* glass on white sections becomes a solid ice card */
.section--white .glass { background: var(--ice); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--steel); box-shadow: none; }

/* WHY (3D panel) */
.why { position: relative; background: linear-gradient(180deg, var(--ice) 0%, var(--ice-2) 100%); padding-block: var(--section); }
.why__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); }
.why__copy { display: grid; gap: 24px; align-content: start; justify-items: start; }
.why__intro { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.layers { display: grid; width: 100%; }
.layer { min-height: 38vh; display: flex; align-items: center; gap: 18px; }
.layer > div { flex: 1; padding: 26px 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); opacity: 0.45; transform: translateX(-6px); transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.layer h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.05; }
.layer p { margin-top: 10px; color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.layer__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--royal); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--steel-2); transition: background-color 0.5s, color 0.5s, box-shadow 0.5s; }
.layer__icon .ic { width: 24px; height: 24px; }
.layer.is-active > div { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 1px 0 #fff, var(--shadow-soft); }
.layer.is-active .layer__icon { background: var(--navy); color: var(--orange); box-shadow: 0 0 0 6px rgba(242, 148, 0, 0.16); }
.why__stage { position: sticky; top: max(90px, calc(50vh - 340px)); height: min(680px, calc(100vh - 120px)); align-self: start; }
.why__canvas { position: relative; width: 100%; height: 100%; display: block; }
.why__stage::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 5%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 36, 96, 0.2), transparent); filter: blur(6px); }
.why__meter { position: absolute; right: 0; top: 12%; bottom: 12%; width: 3px; border-radius: 3px; background: var(--steel); overflow: hidden; }
.why__meter span { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px rgba(242, 148, 0, 0.8); }

/* PROCESS */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps__line { position: absolute; left: 16.6%; top: 20px; width: 66.8%; height: 40px; overflow: visible; z-index: 1; }
.steps__track { fill: none; stroke: var(--steel); stroke-width: 3; vector-effect: non-scaling-stroke; }
.steps__current { fill: none; stroke: var(--orange); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(242, 148, 0, 0.8)); }
.step { position: relative; border-radius: var(--r-lg); padding: 0 28px 30px; display: grid; align-content: start; justify-items: center; text-align: center; gap: 10px; }
.step__num { position: relative; z-index: 2; margin-top: 12px; margin-bottom: 8px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 900 1.4rem/1 var(--f-display); box-shadow: 0 0 0 8px var(--white); transition: box-shadow 0.5s var(--ease), color 0.5s; }
.step.is-lit .step__num { color: var(--orange); box-shadow: 0 0 0 8px var(--white), 0 0 0 11px rgba(242, 148, 0, 0.35); }
.step h3 { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.process .section__cta, .services .section__cta, .projects .section__cta, .reviews .section__cta { justify-content: center; }
.process .section__head, .services .section__head, .projects .section__head, .reviews .section__head { margin-inline: auto; text-align: center; justify-items: center; }
.services .section__head, .projects .section__head, .reviews .section__head { max-width: none; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__head { display: grid; gap: 18px; position: sticky; top: 120px; }
.faq__head p { color: var(--muted); max-width: 40ch; }
.faq__head a { font-weight: 700; }
.faq__list { border-top: 1px solid var(--steel-2); }
.qa { border-bottom: 1px solid var(--steel-2); interpolate-size: allow-keywords; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 700 clamp(1.1rem, 1.6vw, 1.3rem)/1.3 var(--f-display); color: var(--navy); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--steel); color: var(--royal); transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s; }
.qa[open] summary .ic { transform: rotate(45deg); background: var(--navy); color: #fff; box-shadow: none; }
.qa summary:hover { color: var(--royal); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 56px 26px 0; color: var(--muted); font-size: 1.05rem; max-width: 64ch; }

/* URGENT */
.urgent {
  position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column;
  background:
    radial-gradient(60% 80% at 50% 60%, rgba(23, 64, 138, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(10, 26, 71, 0.93) 0%, rgba(14, 36, 96, 0.8) 45%, rgba(10, 26, 71, 0.94) 100%),
    url("../img/urgent-lighting-finished.webp") center / cover no-repeat,
    var(--navy);
}
.urgent__marquee { order: 2; overflow: hidden; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.urgent__track { display: flex; align-items: center; width: max-content; will-change: transform; animation: towns 60s linear infinite; }
.urgent__marquee:hover .urgent__track { animation-play-state: paused; }
@keyframes towns { to { transform: translate3d(-50%, 0, 0); } }
.urgent__track > * { margin-right: 22px; }
.urgent__track i { flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid rgba(201, 213, 238, 0.55); }
.urgent__track i:nth-of-type(3n + 1) { background: var(--orange); border-color: var(--orange); }
.urgent__track span { font: 800 clamp(1.05rem, 1.5vw, 1.35rem)/1 var(--f-display); letter-spacing: -0.01em; color: #E4EAF6; white-space: nowrap; }
.urgent__inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(64px, 8vw, 104px); }
.urgent__copy { display: grid; justify-items: center; }
.urgent__title { color: #fff; font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.038em; max-width: 16ch; }
.urgent__inner p { margin-top: 20px; color: #DCE4F3; font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 46ch; }
.urgent__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* CONTACT */
.contact { background: radial-gradient(50% 50% at 15% 20%, rgba(20, 80, 160, 0.08), transparent 70%), var(--ice); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.estimate { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; background: rgba(255, 255, 255, 0.75); }
.estimate__note { color: var(--muted); margin-top: -6px; }
.estimate__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.field--full { grid-column: 1 / -1; }
.contact__side { display: grid; gap: 20px; }
.map { border-radius: var(--r-lg); overflow: hidden; height: clamp(280px, 30vw, 360px); box-shadow: inset 0 0 0 1px var(--steel), var(--shadow-soft); background: var(--steel); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }
.contact__list { display: grid; gap: 4px; padding: 10px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--steel); }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 12px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact__list small { display: block; font: 600 11.5px/1.4 var(--f-label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.contact__list a { color: var(--navy); text-decoration: none; }
.contact__list a:hover { color: var(--royal); text-decoration: underline; }
.contact__list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--ice); color: var(--royal); }

/* FOOTER */
.footer { background: var(--navy-2); color: var(--on-navy); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, max-content); gap: 40px clamp(40px, 6vw, 88px); }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { max-width: 36ch; font-size: 15px; }
.footer__label { font: 600 11px/1 var(--f-label); letter-spacing: 0.18em; text-transform: uppercase; color: #8EA2C9; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a { color: #E4EAF6; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

/* Textures: blueprint dot grid and the Marquis symbol as a watermark */
:root {
  --mark-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='630 -10 730 840'%3E%3Cg fill='%230E2460'%3E%3Cpath d='M888 76 L1073 453 L985 455 L1057 622 L845 393 L935 391 L873 283 C822 330 800 380 808 430 C812 480 840 520 868 565 C892 605 908 640 908 682 L785 682 C762 682 746 662 746 640 L746 352 L668 352 C640 352 628 320 650 298 Z'/%3E%3Cpath d='M905 60 L948 20 C965 3 990 -4 1012 6 L1025 15 L1325 293 C1350 318 1340 352 1310 352 L1235 353 L1235 640 C1235 662 1215 682 1195 682 L1073 683 C1073 640 1095 600 1120 562 C1150 515 1172 475 1173 420 C1172 320 1095 245 995 240 Z'/%3E%3Crect x='906' y='697' width='168' height='31'/%3E%3Crect x='906' y='742' width='168' height='32'/%3E%3Crect x='943' y='789' width='94' height='31'/%3E%3C/g%3E%3C/svg%3E");
  --mark-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='630 -10 730 840'%3E%3Cg fill='%23FFFFFF'%3E%3Cpath d='M888 76 L1073 453 L985 455 L1057 622 L845 393 L935 391 L873 283 C822 330 800 380 808 430 C812 480 840 520 868 565 C892 605 908 640 908 682 L785 682 C762 682 746 662 746 640 L746 352 L668 352 C640 352 628 320 650 298 Z'/%3E%3Cpath d='M905 60 L948 20 C965 3 990 -4 1012 6 L1025 15 L1325 293 C1350 318 1340 352 1310 352 L1235 353 L1235 640 C1235 662 1215 682 1195 682 L1073 683 C1073 640 1095 600 1120 562 C1150 515 1172 475 1173 420 C1172 320 1095 245 995 240 Z'/%3E%3Crect x='906' y='697' width='168' height='31'/%3E%3Crect x='906' y='742' width='168' height='32'/%3E%3Crect x='943' y='789' width='94' height='31'/%3E%3C/g%3E%3C/svg%3E");
}
.tex-dots, .tex-mark { position: relative; overflow: clip; isolation: isolate; }
.tex-dots > *, .tex-mark > * { position: relative; z-index: 1; }
.tex-dots::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(20, 80, 160, 0.17) 1.1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 0%, transparent 78%);
}
.tex-mark::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(320px, 38vw, 560px); aspect-ratio: 730 / 840;
  background: var(--mark-navy) center / contain no-repeat;
  opacity: 0.045; transform: rotate(-9deg);
}
.tex-mark--tr::after { top: clamp(-40px, -3vw, -20px); right: clamp(-120px, -6vw, -40px); }
.tex-mark--bl::after { bottom: clamp(-120px, -8vw, -60px); left: clamp(-80px, -4vw, -30px); width: clamp(340px, 40vw, 600px); }
.tex-mark--light::after { background-image: var(--mark-white); opacity: 0.05; right: -60px; bottom: -140px; width: clamp(300px, 32vw, 480px); transform: rotate(8deg); }

/* Form consent and footer legal links */
.form-consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-consent a { color: var(--royal); font-weight: 600; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* Legal pages (privacy policy, terms of use) */
.page-top { position: sticky; top: 0; z-index: 40; background: rgba(243, 245, 249, 0.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--steel); }
.page-top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.page-top__brand img { height: 38px; width: auto; }
.page-top__actions { display: flex; align-items: center; gap: 16px; }
.page-top__phone { display: inline-flex; align-items: center; min-height: 44px; font: 800 17px/1 var(--f-display); color: var(--navy); text-decoration: none; }
.page-top__phone:hover { color: var(--royal); }
.legal-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); }
.legal-hero h1 { font-weight: 900; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
.legal-hero__meta { margin-top: 16px; font: 600 11.5px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.legal-hero__intro { margin-top: 22px; max-width: 62ch; font-size: 1.15rem; color: var(--navy); }
.legal { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: var(--section); }
.legal__toc { position: sticky; top: 100px; padding: 20px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--steel); }
.legal__toc p { font: 600 11px/1 var(--f-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 2px; }
.legal__toc a { display: block; padding: 7px 8px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; }
.legal__toc a:hover { background: var(--ice); color: var(--royal); }
.legal__body { max-width: 72ch; }
.legal__body section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 100px; }
.legal__body h2 { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.legal__body h3 { font-weight: 700; font-size: 1.1rem; margin: 22px 0 8px; text-transform: none; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 1.2em; list-style: disc; }
.legal__body li::marker { color: var(--royal); }
.legal__body strong { color: var(--navy); font-weight: 600; }
.legal__body a { font-weight: 600; }
.legal__contact { margin-top: 14px; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--steel); display: grid; gap: 6px; }
.legal__contact p { margin: 0 !important; }

@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .page-top__phone { display: none; }
}

/* Mobile action bar */
.actionbar { display: none; }

/* Reveal: content is visible by default; JS opts in */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
.js .reveal { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* Responsive */
@media (max-width: 1140px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
}
@media (max-width: 980px) {
  .hero { padding-top: 112px; }
  .hero::after { background: linear-gradient(180deg, var(--ice) 0%, rgba(243, 245, 249, 0.9) 55%, rgba(243, 245, 249, 0.6) 100%); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { min-height: 340px; margin-top: -10px; }
  .hero__canvas { left: 0; width: 100%; height: 400px; }
  .about__grid, .faq__grid, .contact__grid, .urgent__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .about__media { aspect-ratio: 16 / 10; }
  .contact__list a, .footer__bottom a { display: inline-block; padding-block: 10px; margin-block: -10px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__stage { order: -1; position: sticky; top: 76px; z-index: 2; height: 46vh; margin-inline: calc(var(--gutter) * -1); background: linear-gradient(180deg, var(--ice-2) 72%, rgba(232, 238, 247, 0)); }
  .why__meter { right: var(--gutter); }
  .layer { min-height: 58vh; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding-bottom: 7vh; }
  .layer > div { width: 100%; flex: none; }
  .why__copy { gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer ul { gap: 0; }
  .footer ul a { display: block; padding-block: 12px; }
}
@media (max-width: 640px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 88px; }
  .nav { inset: 10px 0 auto; }
  .nav__bar { height: 68px; padding-left: 18px; }
  .nav__brand img { height: 42px; }
  .nav__phone, .nav__cta { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .bento__item--a { grid-column: 1 / 3; grid-row: auto / span 2; }
  .bento__item--b, .bento__item--c, .bento__item--d, .bento__item--e { grid-column: auto; grid-row: auto; }
  .bento__item--b, .bento__item--d { grid-row: span 2; }
  .bento__item--f { grid-column: 1 / 3; grid-row: auto; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps__line { display: none; }
  .estimate__fields { grid-template-columns: 1fr; }
  .section__cta .btn { flex: 1 1 100%; }
  .urgent__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .actionbar {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px; border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
  }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; font: 700 16px/1 var(--f-display); color: var(--navy); text-decoration: none; }
  .actionbar a:not(.actionbar__primary) { background: var(--white); box-shadow: inset 0 0 0 1px var(--steel); }
  .actionbar__primary { background: var(--orange); }
}
@media (max-width: 420px) {
  .callchip__number { font-size: 1.35rem; }
  .bento { grid-auto-rows: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .trace-pulses { display: none; }
  .urgent__track { animation: none; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}
