/* =========================================================
   OSSA Contracting Group — Immersive cinematic build
   Brand tokens per OSSA CG Brand Guidelines · Inter · 60/30/10
   ========================================================= */

:root {
  --brand-primary:   #26A3BF;
  --brand-deep:      #0F2E38;
  --brand-accent:    #26DCD0;
  --brand-orange:    #FF6B2B;
  --brand-secondary: #1AC1C8;
  --brand-mint:      #6DEFB0;
  --brand-slate:     #466B73;
  --brand-light:     #EFF3F1;
  --brand-white:     #FFFFFF;
  --page-bg:         #F7FAFA;

  --primary-12: rgba(38,163,191,0.12);
  --deep-grad: linear-gradient(150deg, #0B242C 0%, #0F2E38 45%, #15414f 100%);

  /* OSSA brand typography — Inter (per ossa-brand-sheet) */
  --font: 'Inter', Arial, 'Helvetica Neue', sans-serif;
  --font-display: 'Inter', Arial, 'Helvetica Neue', sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(15,46,56,0.08);
  --shadow-md: 0 18px 48px rgba(15,46,56,0.16);
  --shadow-lg: 0 40px 90px rgba(15,46,56,0.28);
  --maxw: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); color: var(--brand-deep); background: var(--page-bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--brand-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Grain texture ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* ---------- Atoms ---------- */
.eyebrow { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.28em; color: var(--brand-primary); margin-bottom: 20px; }
.eyebrow--light { color: var(--brand-accent); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap;
}
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--orange { background: var(--brand-orange); color: #fff; box-shadow: 0 10px 30px rgba(255,107,43,0.34); }
.btn--orange:hover { background: #f25a17; box-shadow: 0 16px 40px rgba(255,107,43,0.46); }
.btn--teal { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--teal:hover { background: #2191aa; }
.btn--glass { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,0.22); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; z-index: 2; }
.section--light { background: var(--brand-light); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }
.section__title { font-family: var(--font-display); font-size: clamp(34px, 5.2vw, 68px); font-weight: 900; line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance; }
.section__title--light { color: #fff; }
.section__sub { margin-top: 20px; font-size: 18px; color: var(--brand-slate); max-width: 60ch; text-wrap: pretty; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s, transform .4s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 26px; min-height: var(--nav-h); }
.nav__logo { height: 40px; width: auto; transition: filter .35s; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: 15px; position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: currentColor; transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__phone { font-weight: 800; font-size: 15px; }
/* transparent over hero */
.nav:not(.is-scrolled) { color: #fff; }
.nav:not(.is-scrolled) .nav__logo { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.nav:not(.is-scrolled) .nav__links a:hover { color: var(--brand-accent); }
/* solid on scroll */
.nav.is-scrolled { background: rgba(247,250,250,0.86); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); color: var(--brand-deep); }
.nav.is-scrolled .nav__links a:hover { color: var(--brand-primary); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(460px, 62svh, 640px); display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(40px, 6vh, 72px); padding-top: calc(var(--nav-h) + 24px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video { display: block; background: var(--brand-deep); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(11,36,44,0.55) 0%, rgba(11,36,44,0.05) 30%, rgba(11,36,44,0.35) 70%, rgba(11,36,44,0.85) 100%); }
.hero__inner { position: relative; z-index: 2; color: #fff; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title { font-family: var(--font-display); font-size: clamp(34px, 7.4vw, 116px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--brand-accent); }
.hero__lead { margin: 28px 0 34px; font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; color: rgba(255,255,255,0.92); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hero__cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* hero word reveal */
.hero__title .line > span { transform: translateY(110%); transition: transform .9s var(--ease); }
.is-ready .hero__title .line > span { transform: translateY(0); }
.is-ready .hero__title .line:nth-child(1) > span:nth-child(1) { transition-delay: .15s; }
.is-ready .hero__title .line:nth-child(1) > span:nth-child(2) { transition-delay: .23s; }
.is-ready .hero__title .line:nth-child(2) > span:nth-child(1) { transition-delay: .31s; }
.is-ready .hero__title .line:nth-child(3) > span:nth-child(1) { transition-delay: .39s; }
.is-ready .hero__title .line:nth-child(3) > span:nth-child(2) { transition-delay: .47s; }
.hero__eyebrow, .hero__lead, .hero__actions { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .05s; }
.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .6s; }
.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: .7s; }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-deep); color: #fff; overflow: hidden; padding: 11px 0; position: relative; z-index: 2; }
.marquee__track { display: inline-flex; align-items: center; gap: 16px; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: clamp(12px, 1.35vw, 16px); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.marquee__track i { color: var(--brand-accent); font-style: normal; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro + stats ---------- */
.intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__statement { font-size: clamp(22px, 2.8vw, 34px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--brand-deep); text-wrap: pretty; }
.intro__statement strong { color: var(--brand-primary); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.stats li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--brand-deep); padding-top: 14px; }
.stats__num { font-size: clamp(40px, 5vw, 58px); font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--brand-deep); }
.stats__label { font-size: 13px; color: var(--brand-slate); font-weight: 500; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.bento__cell { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); grid-column: span 1; grid-row: span 1; }
.bento__cell--lg { grid-column: span 2; grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; grid-row: span 1; }
.bento__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,36,44,0.88) 0%, rgba(11,36,44,0.1) 55%); transition: opacity .4s; }
.bento__cell:hover img { transform: scale(1.07); }
.bento__label { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 24px; color: #fff; }
.bento__idx { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--brand-accent); }
.bento__label h3 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; margin-top: 4px; line-height: 1.1; }
.bento__label p { font-size: 14px; color: rgba(255,255,255,0.82); margin-top: 8px; max-width: 42ch; }
.services__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.services__more li { font-size: 13px; font-weight: 600; color: var(--brand-slate); background: var(--brand-light); padding: 9px 18px; border-radius: 999px; }

/* ---------- Commercial / B2B ---------- */
.commercial { background: var(--brand-light); }
.commercial__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.commercial__media { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; text-decoration: none; }
.commercial__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.commercial__media:hover img { transform: scale(1.04); }
.commercial__badge { position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; color: #fff; background: rgba(15,46,56,0.82); backdrop-filter: blur(4px); }
.commercial__lead { font-size: 18px; color: var(--brand-slate); margin: 18px 0 26px; max-width: 50ch; text-wrap: pretty; }
.commercial__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 32px; }
.commercial__list li { position: relative; padding-left: 26px; font-weight: 600; color: var(--brand-deep); }
.commercial__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 4px; background: var(--brand-primary); box-shadow: 0 0 0 3px var(--primary-12); }

/* ---------- Before/After slider ---------- */
.transform { background: var(--page-bg); }
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__img--before img { filter: grayscale(1) brightness(0.82) sepia(1) hue-rotate(150deg) saturate(3) contrast(1.08); }
.ba__tag { position: absolute; top: 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; color: #fff; }
.ba__tag--before { left: 16px; background: rgba(38,163,191,0.9); }
.ba__tag--after { right: 16px; background: rgba(15,46,56,0.78); backdrop-filter: blur(4px); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); cursor: ew-resize; z-index: 3; }
.ba__line { position: absolute; inset: 0; box-shadow: 0 0 0 1px rgba(15,46,56,0.15); }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; }
.ba__grip svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__handle:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }

/* ---------- Process — compact timeline ---------- */
.process { background: var(--deep-grad); color: #fff; position: relative; z-index: 2; padding: clamp(72px,10vw,130px) 0 clamp(96px,12vw,170px); }
.process::before { content: ""; position: absolute; right: -8%; top: 6%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(38,220,208,0.16), transparent 70%); pointer-events: none; }
.process__head { margin-bottom: 56px; position: relative; max-width: 760px; }
.section__sub--light { color: rgba(255,255,255,0.72); }

/* Sticky stacking deck — steps accumulate at the top as you scroll */
.timeline { position: relative; max-width: 760px; margin-inline: auto; list-style: none; padding-bottom: 30px; }
.timeline__item {
  position: sticky;
  display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: center;
  margin-bottom: 26px; padding: 26px 32px; border-radius: 20px;
  background: linear-gradient(150deg, rgba(21,60,73,0.97), rgba(13,42,52,0.98));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 26px 54px rgba(5,18,23,0.5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__item:nth-child(1) { top: calc(var(--nav-h) + 24px); z-index: 1; }
.timeline__item:nth-child(2) { top: calc(var(--nav-h) + 42px); z-index: 2; }
.timeline__item:nth-child(3) { top: calc(var(--nav-h) + 60px); z-index: 3; }
.timeline__item:nth-child(4) { top: calc(var(--nav-h) + 78px); z-index: 4; }
.timeline__item:nth-child(5) { top: calc(var(--nav-h) + 96px); z-index: 5; }
.timeline__item:nth-child(6) { top: calc(var(--nav-h) + 114px); z-index: 6; }
.timeline__item:nth-child(7) { top: calc(var(--nav-h) + 132px); z-index: 7; }
.timeline__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: rgba(38,220,208,0.1); border: 1px solid rgba(38,220,208,0.4); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.02em; color: var(--brand-accent); }
.timeline__c h3 { font-size: clamp(18px, 1.7vw, 21px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.timeline__c p { color: rgba(255,255,255,0.72); margin-top: 7px; font-size: 15px; line-height: 1.55; max-width: 48ch; }
@media (max-width: 760px) {
  .timeline__item { position: static; margin-bottom: 16px; }
}

/* ---------- Work horizontal drag ---------- */
.work { padding: clamp(72px,10vw,140px) 0; position: relative; z-index: 2; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.work__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-slate); }
.work__hint svg { width: 22px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hscroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.is-drag { cursor: grabbing; }
.hscroll__track { display: flex; gap: 22px; padding: 4px 28px; width: max-content; }
.wcard { position: relative; flex: none; width: clamp(280px, 42vw, 540px); aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); pointer-events: none; }
.wcard:hover img { transform: scale(1.05); }
.wcard figcaption { position: absolute; inset: auto 0 0 0; padding: 38px 22px 20px; color: #fff; background: linear-gradient(transparent, rgba(11,36,44,0.9)); display: flex; flex-direction: column; }
.wcard figcaption span { font-weight: 800; font-size: 18px; }
.wcard figcaption em { font-style: normal; font-size: 12px; color: var(--brand-accent); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 3px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--brand-orange); font-size: 17px; letter-spacing: 3px; }
.review blockquote { font-size: 16px; color: var(--brand-deep); line-height: 1.65; flex: 1; text-wrap: pretty; }
.review figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--brand-light); padding-top: 14px; }
.review figcaption span { font-weight: 800; }
.review figcaption em { font-style: normal; font-size: 13px; color: var(--brand-slate); margin-top: 2px; }

/* ---------- Review platforms strip ---------- */
.platforms { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 4px auto 42px; }
.platforms__label { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-slate); }
.platforms__row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 14px; }
.platform { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid #e6edee; border-radius: 16px; padding: 18px 30px; box-shadow: var(--shadow-sm); min-width: 168px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.platform__logo { display: flex; align-items: center; justify-content: center; gap: 9px; height: 28px; }
.platform__logo img { display: block; }
.platform__name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: #3c4043; }
.platform__img { height: 26px; width: auto; }
.platform__img--wide { height: 20px; }
.platform__stars { color: var(--brand-orange); font-size: 13px; letter-spacing: 2px; display: inline-flex; align-items: center; gap: 7px; }
.platform__stars em { font-style: normal; font-weight: 700; color: var(--brand-slate); font-size: 11.5px; letter-spacing: 0; text-transform: uppercase; }

/* ---------- Financing ---------- */
.financing { background: var(--brand-deep); color: #fff; position: relative; z-index: 2; overflow: hidden; }
.financing::before { content: ""; position: absolute; right: -80px; top: -80px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, var(--primary-12), transparent 70%); }
.financing__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(56px,7vw,88px) 0; flex-wrap: wrap; }
.financing__title { font-size: clamp(28px,3.6vw,46px); font-weight: 900; letter-spacing: -0.03em; }
.financing__text p { color: rgba(255,255,255,0.82); margin-top: 12px; max-width: 50ch; }

/* ---------- Quote ---------- */
.quote { background: var(--deep-grad); position: relative; z-index: 2; overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.quote__lead { color: rgba(255,255,255,0.82); font-size: 17px; margin: 8px 0 28px; }
.quote__contacts { display: grid; gap: 16px; }
.quote__contacts li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.quote__contacts .ic { stroke: var(--brand-accent); }
.quote__contacts a:hover { color: var(--brand-accent); }
.quote__form { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font); font-size: 15px; color: var(--brand-deep); padding: 13px 15px; border: 1.5px solid #d8e2e2; border-radius: 10px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--primary-12); }
.field textarea { resize: vertical; }
.quote__note { font-size: 12px; color: var(--brand-slate); text-align: center; margin-top: 12px; }
.quote__success { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(109,239,176,0.18); color: #0c6b46; font-weight: 600; font-size: 14px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-deep); color: rgba(255,255,255,0.72); padding: 70px 0 28px; position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { height: 38px; width: auto; margin-bottom: 18px; background: #fff; padding: 10px 14px; border-radius: 10px; box-sizing: content-box; }
.footer__brand p { font-size: 14.5px; max-width: 36ch; }
.footer__lic { margin-top: 14px; font-weight: 800; color: var(--brand-accent); font-size: 13px; letter-spacing: 0.04em; }
.footer__col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; font-size: 14.5px; margin-bottom: 10px; transition: color .16s; }
.footer__col a:hover { color: var(--brand-accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
/* per-section variants */
.reveal--rise  { transform: translateY(72px); }
.reveal--scale { transform: scale(.92); }
.reveal--left  { transform: translateX(-48px); }
.reveal--right { transform: translateX(48px); }
.reveal--blur  { filter: blur(10px); transform: translateY(16px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open { background: rgba(247,250,250,0.97); backdrop-filter: blur(14px); color: var(--brand-deep); box-shadow: var(--shadow-md); }
  .nav.is-open .nav__logo { filter: none; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 8px 28px 22px; }
  .nav.is-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--brand-light); }
  .intro__grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .commercial__grid { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 200px; }
}
@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .bento__cell--lg { grid-column: span 2; grid-row: span 1; }
  .bento__cell--wide { grid-column: span 2; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { gap: 22px 18px; }
  .commercial__list { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 3/4; }
}
@media (max-width: 460px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--lg, .bento__cell--wide { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero__title .line > span, .hero__eyebrow, .hero__lead, .hero__actions { opacity: 1; transform: none; }
  .grain { display: none; }
  .marquee__track { animation: none; }
}
