/* ==========================================================================
   Guidine Pereira Construction LLC
   Brand: graphite #1e1e1e, mid grey #575757, light grey #cdcdcd,
          white #fdfffe, green #2a8255
   Type:  Anek Devanagari (extended) for headings, Segoe UI for body
   ========================================================================== */

@font-face {
  font-family: "Anek Devanagari";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("../fonts/anek-devanagari-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1e1e1e;
  --ink-2: #262626;
  --ink-3: #141414;
  --graphite: #575757;
  --stone: #cdcdcd;
  --paper: #fdfffe;
  --soft: #f2f3f2;
  --line: #e2e5e3;
  --green: #2a8255;
  --green-600: #226b46;
  --green-300: #56b384;
  --green-50: #e9f3ee;
  --danger: #b3261e;

  --font-head: "Anek Devanagari", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --stretch: 118%;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 32px);
  --radius: 3px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 60px -24px rgba(20, 20, 20, .35);
  --section: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: #2b2b2b;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-stretch: var(--stretch);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}
strong { font-weight: 700; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.break { overflow-wrap: anywhere; }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--green-300); }

.h2 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.1rem); }
.lead { font-size: 1.15rem; color: var(--graphite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--green-600); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .18); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { border-color: var(--green-300); color: #fff; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn .icon { transition: transform .2s var(--ease); }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--green); font-size: .95rem;
}
.more .icon { transition: transform .2s var(--ease); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-3); color: #a9a9a9; font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__note { margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.topbar .dot { width: 4px; height: 4px; margin: 0 12px; background: var(--green); display: inline-block; transform: rotate(45deg); }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a { color: #cfcfcf; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.header.is-scrolled .header__inner { min-height: 70px; }

.brand { flex-shrink: 0; display: block; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand img { height: 40px; }

.nav { margin-left: auto; }
.nav__head, .nav__cta { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a {
  display: block; padding: 10px 14px; white-space: nowrap;
  color: #e9e9e9; text-decoration: none; font-size: .975rem; font-weight: 500;
  position: relative;
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list > li > a:hover, .nav__list a[aria-current="page"], .has-sub.is-active > a { color: #fff; }
.nav__list > li > a:hover::after, .nav__list > li > a[aria-current="page"]::after, .has-sub.is-active > a::after { transform: scaleX(1); }

.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle {
  background: none; border: 0; padding: 6px; margin-right: 6px; cursor: pointer; color: #bdbdbd;
  display: inline-flex;
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 290px;
  background: var(--paper); border-top: 3px solid var(--green);
  box-shadow: var(--shadow); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.sub a { color: var(--ink); padding: 11px 22px; font-size: .95rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--soft); color: var(--green-600); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .icon, .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.header__phone .icon {
  width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: var(--green-300);
}
.header__phone small { display: block; font-size: .72rem; font-weight: 500; color: #a9a9a9; letter-spacing: .04em; text-transform: uppercase; }
.header__phone:hover { color: #fff; }
.header__phone:hover .icon { border-color: var(--green-300); }
.header__cta { min-height: 46px; white-space: nowrap; }

.burger {
  display: none; width: 48px; height: 48px; padding: 0; margin-right: -8px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(2) { width: 18px; margin-left: 8px; }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 94; background: rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}

@media (max-width: 1400px) {
  .header__phone span { display: none; }
  .nav__list a { padding-inline: 11px; }
  .nav__list > li > a::after { left: 11px; right: 11px; }
}

@media (max-width: 1180px) {
  .burger { display: inline-flex; }
  .header__phone { display: none; }
  .header__actions { margin-left: auto; gap: 10px; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(88vw, 400px); height: 100vh; height: 100dvh;
    margin: 0; padding: 0 0 calc(24px + env(safe-area-inset-bottom));
    background: var(--ink); border-left: 1px solid rgba(255, 255, 255, .08);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: sticky; top: 0; background: var(--ink); z-index: 1;
  }
  .nav__title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; font-weight: 700; }
  .nav__close { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .nav__close .icon { width: 26px; height: 26px; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px; }
  .nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__list a { padding: 16px 0; font-size: 1.15rem; font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 600; }
  .nav__list > li > a::after { display: none; }
  .nav__list a[aria-current="page"], .has-sub.is-active > a { color: var(--green-300); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; margin: 0 -12px 0 0; justify-content: center; align-items: center; color: #fff; }
  .sub-toggle .icon { width: 22px; height: 22px; }
  .has-sub:hover .sub-toggle .icon { transform: none; }
  .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .sub {
    position: static; flex-basis: 100%; min-width: 0;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 10px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .has-sub.is-open .sub { display: block; }
  .sub a { color: #cfcfcf; padding: 10px 0 10px 16px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; border-left: 2px solid rgba(255, 255, 255, .12); }
  .sub a:hover, .sub a[aria-current="page"] { background: none; color: #fff; border-left-color: var(--green); }

  .nav__cta { display: block; padding: 24px 24px 0; margin-top: auto; }
  .nav__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .nav__meta { margin: 18px 0 0; font-size: .85rem; color: #9a9a9a; overflow-wrap: anywhere; }

  html.nav-open .nav { transform: none; visibility: visible; }
  html.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  html.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  html.nav-open .burger span:nth-child(2) { opacity: 0; }
  html.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .brand img, .header.is-scrolled .brand img { height: 36px; }
  .header.is-scrolled .header__inner { min-height: var(--header-h); }
}
@media (max-width: 520px) {
  .header__cta { display: none; }
  .brand img, .header.is-scrolled .brand img { height: 32px; }
}

/* ---------- Tile pattern (brand symbol lattice) ---------- */
.hero__pattern, .process__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='37' viewBox='0 0 64 37'%3E%3Cpath d='M32 1 63 18.5 32 36 1 18.5z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 64px 37px;
  opacity: .045;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 1.35rem + 3.7vw, 4.35rem); color: #fff; line-height: 1.03; margin-bottom: 24px; }
.hero__title em, .page-hero__title em { font-style: normal; color: var(--green-300); }
.hero__lead { font-size: 1.15rem; color: var(--stone); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .95rem; color: #d8d8d8;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero__trust .icon { color: var(--green-300); }

.hero__media {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
  aspect-ratio: 1 / 1.02;
}
.hero__img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); min-height: 0; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { grid-row: 1 / span 2; }
.hero__img--top { margin-top: 36px; }
.hero__img--bottom { margin-bottom: 36px; }
.hero__badge {
  position: absolute; left: -28px; bottom: 28px;
  background: var(--green); color: #fff; padding: 18px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge strong { display: block; font-family: var(--font-head); font-stretch: var(--stretch); font-size: 2.2rem; line-height: 1; }
.hero__badge > span { font-size: .85rem; letter-spacing: .04em; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; }
  .hero__badge { left: 16px; bottom: 16px; padding: 14px 18px; }
  .hero__badge strong { font-size: 1.8rem; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__media { gap: 10px; }
  .hero__img--top { margin-top: 20px; }
  .hero__img--bottom { margin-bottom: 20px; }
  .hero__trust { gap: 12px 20px; font-size: .9rem; }
}

/* ---------- Hero with estimate form ---------- */
.hero--form .hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  grid-template-areas: "copy form" "extra form";
  align-items: start; row-gap: 0;
}
.hero--form .hero__copy { grid-area: copy; padding-top: 12px; }
.hero--form .hero-form { grid-area: form; }
.hero--form .hero__extra { grid-area: extra; }
.hero--form .hero__actions { margin-top: 8px; }
.hero--inner { padding-top: clamp(32px, 5vw, 56px); }
.hero--inner .crumbs { margin-bottom: 22px; }

.hero-form {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--ink);
  padding: clamp(22px, 3vw, 32px);
  border-top: 4px solid var(--green); border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero-form__kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.hero-form__title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.75rem); margin-bottom: 6px; }
.hero-form__sub { margin: 0 0 20px; font-size: .92rem; color: var(--graphite); line-height: 1.5; }
.form--compact .form__grid { gap: 14px 12px; }
.form--compact .field input, .form--compact .field select { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.form--compact .field textarea { min-height: 76px; }
.form--compact .form__foot { margin-top: 18px; }
.form--compact .form__legal { font-size: .76rem; margin-top: 10px; }
.field label small { font-weight: 400; color: var(--graphite); font-size: .82rem; }

.hero__thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px;
  margin-top: 32px; max-width: 620px;
}
.hero__thumbs figure { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumbs-badge {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; background: var(--green); color: #fff; border-radius: var(--radius);
}
.hero__thumbs-badge strong { font-family: var(--font-head); font-stretch: var(--stretch); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); line-height: 1; }
.hero__thumbs-badge > span { font-size: .78rem; line-height: 1.3; margin-top: 6px; }

@media (max-width: 960px) {
  .hero--form .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "extra"; row-gap: 28px; }
  .hero--form .hero__copy { padding-top: 0; }
  .hero--form .hero__lead { margin-bottom: 0; }
  .hero-form { max-width: 620px; }
  .hero--form .hero__trust { margin-top: 28px; }
  .hero__thumbs { margin-top: 24px; }
}
@media (max-width: 560px) {
  .hero-form { margin-inline: calc(var(--gutter) * -0.5); }
  .form--compact .form__grid { grid-template-columns: 1fr 1fr; }
  .form--compact .field--full { grid-column: 1 / -1; }
  .hero__thumbs { gap: 8px; }
  .hero__thumbs-badge { padding: 10px; }
  .hero__thumbs-badge > span { font-size: .68rem; }
}
@media (max-width: 400px) {
  .form--compact .form__grid { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding-bottom: clamp(48px, 6vw, 72px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .1); }
.stat { padding: 32px 24px 0; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-stretch: var(--stretch); font-size: clamp(2.3rem, 1.6rem + 2vw, 3.3rem); line-height: 1; color: #fff; margin-bottom: 10px; }
.stat > span { color: #b9b9b9; font-size: .95rem; }
.stats--light { background: var(--soft); color: var(--ink); padding: 0 0 56px; }
.stats--light .stats__grid { border-top-color: var(--line); }
.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat strong { color: var(--green); }
.stats--light .stat > span { color: var(--graphite); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .stat:nth-child(n + 3) { border-bottom: 0; }
  .stats--light .stat { border-bottom-color: var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--stone); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head > div { flex: 1 1 560px; max-width: 700px; }
.section-head .h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head__text { flex: 0 1 420px; margin: 0; color: var(--graphite); }
.section-head--light .section-head__text { color: #bdbdbd; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services--3 { grid-template-columns: repeat(3, 1fr); }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.service-card__link:hover { color: inherit; }
.service-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card__num { font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 700; color: var(--green); font-size: .95rem; margin-bottom: 8px; }
.service-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--graphite); font-size: .96rem; margin-bottom: 18px; }
.service-card .more { margin-top: auto; }
.service-card:hover .more .icon { transform: translateX(4px); }
@media (max-width: 1100px) { .services, .services--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .services, .services--3 { grid-template-columns: 1fr; }
  .service-card__media { aspect-ratio: 4 / 3; }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why__media, .about__media { position: relative; padding-bottom: 64px; }
.why__img, .about__img { overflow: hidden; border-radius: var(--radius); }
.why__img img, .about__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img--a, .about__img--a { width: 78%; aspect-ratio: 3 / 4; }
.why__img--b, .about__img--b {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.section--soft .why__img--b { border-color: var(--soft); }
.why__tag {
  position: absolute; right: 0; top: 32px; max-width: 200px;
  background: var(--ink); color: #d6d6d6; padding: 14px 18px; font-size: .85rem; line-height: 1.4; border-radius: var(--radius);
}
.why__tag span { display: block; color: var(--green-300); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 4px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.feature { display: flex; gap: 16px; }
.feature > .icon { width: 48px; height: 48px; padding: 12px; background: var(--green-50); color: var(--green); border-radius: var(--radius); }
.section--soft .feature > .icon { background: #fff; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--graphite); font-size: .95rem; }
@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__media, .about__media { max-width: 560px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; gap: 22px; }
  .why__tag { top: 16px; max-width: 160px; padding: 10px 14px; }
  .why__media, .about__media { padding-bottom: 40px; }
}

/* ---------- Masonry gallery ---------- */
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry__item {
  position: relative; display: block; margin-bottom: 14px; overflow: hidden; border-radius: var(--radius);
  break-inside: avoid; background: var(--soft); cursor: zoom-in;
}
.masonry__item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.masonry__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, .55), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item:hover::after { opacity: 1; }
.masonry__cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  background: rgba(30, 30, 30, .85); color: #fff; padding: 6px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px;
}
.masonry__item.is-hidden { display: none; }
.masonry--few { columns: 2; max-width: 760px; }
@media (max-width: 600px) {
  .masonry { columns: 2; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .masonry__cap { left: 8px; bottom: 8px; font-size: .68rem; padding: 4px 8px; }
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; transition: all .2s;
}
.filter span { font-size: .8rem; color: var(--graphite); font-weight: 500; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active span { color: var(--stone); }
@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
}

/* ---------- Process ---------- */
.process__pattern { -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.process .container { position: relative; }
.process__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 56px; }
.process__photos figure { position: relative; }
.process__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.process__photos figcaption { margin-top: 12px; font-size: .9rem; color: #d0d0d0; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.step { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--green); }
.step__n { display: block; font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 700; font-size: 1rem; color: var(--green-300); margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { margin: 0; font-size: .96rem; color: #b9b9b9; }
@media (max-width: 960px) {
  .process__photos { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  .process__photos { gap: 10px; margin-bottom: 40px; }
  .process__photos figcaption { font-size: .82rem; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Guarantee ---------- */
.guarantee { background: var(--green); color: #fff; padding: clamp(40px, 5vw, 56px) 0; }
.guarantee__inner { display: flex; align-items: center; gap: 32px; }
.guarantee__icon { flex-shrink: 0; width: 76px; height: 76px; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; border-radius: var(--radius); }
.guarantee__icon .icon { width: 38px; height: 38px; }
.guarantee h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 8px; }
.guarantee p { margin: 0; color: #e7f3ed; max-width: 720px; }
.guarantee .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 860px) {
  .guarantee__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .guarantee .btn { margin-left: 0; }
}
@media (max-width: 520px) { .guarantee .btn { width: 100%; } }

/* ---------- Areas ---------- */
.areas__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.areas__grid p { color: var(--graphite); }
.areas__lists { display: grid; gap: 32px; }
.areas__state { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-bottom: 14px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; color: var(--ink); }
.section--soft .chips li { background: #fff; }
@media (max-width: 900px) { .areas__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--green); transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--green-600); }
.faq__a p { margin: 0 0 22px; color: var(--graphite); max-width: 680px; }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap__head { position: static; }
}

/* ---------- Estimate ---------- */
.estimate { background: var(--ink); color: var(--stone); overflow: hidden; }
.estimate::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='37' viewBox='0 0 64 37'%3E%3Cpath d='M32 1 63 18.5 32 36 1 18.5z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 64px 37px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.estimate__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.estimate h2 { color: #fff; }
.estimate .lead { color: var(--stone); }
.estimate__points { margin: 28px 0 36px; display: grid; gap: 12px; }
.estimate__points li { display: flex; align-items: center; gap: 12px; color: #e3e3e3; }
.estimate__points .icon { color: var(--green-300); }
.estimate__direct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03);
  color: #fff; text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s;
}
.contact-card:hover { color: #fff; border-color: var(--green-300); background: rgba(42, 130, 85, .12); }
.contact-card .icon { width: 24px; height: 24px; color: var(--green-300); }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9f9f9f; font-weight: 600; }
.contact-card > span { min-width: 0; }
.contact-card--wide { grid-column: 1 / -1; }
.estimate__card { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border-top: 4px solid var(--green); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.estimate__card-title { font-size: 1.5rem; margin-bottom: 24px; }
@media (max-width: 960px) { .estimate__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .estimate__direct { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; padding: 0; }
.field label span { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1px solid #c9cecb; border-radius: var(--radius);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9a9f9c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(42, 130, 85, .18); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }
.field__error { display: none; margin: 6px 0 0; font-size: .82rem; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.field--choice { border: 0; margin: 0; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid #c9cecb; border-radius: var(--radius); font-weight: 600; font-size: .95rem; color: var(--graphite);
  transition: all .2s;
}
.choice input:checked + span { border-color: var(--green); background: var(--green-50); color: var(--green-600); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--green-300); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: 24px; }
.form__submit { width: 100%; position: relative; }
.form__legal { margin: 14px 0 0; font-size: .8rem; color: var(--graphite); line-height: 1.5; }
.spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: inline-block; }
.form.is-sending .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin-top: 16px; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-error { padding: 14px 16px; background: #fbeceb; color: var(--danger); border-left: 3px solid var(--danger); }
.form__status.is-success { padding: 14px 16px; background: var(--green-50); color: var(--green-600); border-left: 3px solid var(--green); }
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero__narrow > * { max-width: 860px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__narrow > * { margin-inline: auto; }
.page-hero--center .hero__lead { margin-inline: auto; }
.page-hero--center .hero__actions { justify-content: center; }
.page-hero__title { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.7rem); line-height: 1.05; margin-bottom: 20px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.page-hero__media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.page-hero__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--ink-2); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img--offset { margin-bottom: -40px; }
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 560px; }
  .page-hero__img--offset { margin-bottom: 0; }
}
.crumbs { margin-bottom: 28px; font-size: .85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { color: #a9a9a9; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #666; }
.crumbs a { color: #d5d5d5; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.thanks__icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }

/* ---------- Split + included ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split--media { grid-template-columns: 1fr 1fr; align-items: center; }
.split__copy p { color: var(--graphite); }
.split__copy .btn { margin-top: 12px; }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.included__item { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.included__item > .icon { width: 32px; height: 32px; padding: 6px; background: var(--green); color: #fff; border-radius: 50%; stroke-width: 2.4; }
.included__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.included__item p { margin: 0; font-size: .94rem; color: var(--graphite); }
@media (max-width: 960px) { .split, .split--media { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .included { grid-template-columns: 1fr; } .included__item { padding: 20px; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.value::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--green); }
.value__n { font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 700; color: var(--green); display: block; margin-bottom: 18px; }
.value h3 { font-size: 1.35rem; }
.value p { margin: 0; color: var(--graphite); font-size: .96rem; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p { color: #3d3d3d; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-3); color: #a9a9a9; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .9fr .8fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__logo img { width: 230px; height: auto; margin-bottom: 20px; }
.footer__tagline { font-family: var(--font-head); font-stretch: var(--stretch); color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.footer__title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 700; }
.footer__links { display: grid; gap: 12px; }
.footer a { color: #cfcfcf; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact a, .footer__area { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact .icon { color: var(--green-300); margin-top: 2px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; }
.footer__social a:hover { border-color: var(--green-300); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Mobile contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .4);
    transition: transform .3s var(--ease);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px;
    color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .1); }
  .mobile-bar .icon { color: var(--green-300); }
  .mobile-bar__primary { background: var(--green); }
  .mobile-bar__primary .icon { color: #fff !important; }
  html.nav-open .mobile-bar { transform: translateY(110%); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 12, 12, .95);
  opacity: 0; transition: opacity .25s;
  padding: 64px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: min(92vw, 1000px); max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__caption { margin-top: 14px; color: #cfcfcf; font-size: .92rem; text-align: center; max-width: 640px; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #fff; cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); border-color: var(--green); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__nav--prev .icon { transform: rotate(90deg); }
.lightbox__nav--next .icon { transform: rotate(-90deg); }
@media (max-width: 700px) {
  .lightbox { padding: 64px 12px 96px; }
  .lightbox__nav { top: auto; bottom: 24px; margin: 0; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__img { max-height: calc(100dvh - 220px); }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

body.is-locked { overflow: hidden; }
