/* TopCraft Roofing & Siding
   Layout: white page, rounded photo panels framed inside a wide centred shell,
   red used only for action + emphasis, black for structure (like the logo). */
:root {
  --red: #d71920;
  --red-deep: #a90f15;
  --ink: #141417;
  --ink-2: #26272c;
  --steel: #5d626b;
  --silver: #f1f2f4;
  --line: #e3e5e8;
  --white: #ffffff;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1920px;
  --gutter: clamp(16px, 3vw, 48px);
  --shadow: 0 18px 50px -24px rgba(20, 20, 23, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
h3 { font-size: 1.3rem; font-stretch: 105%; letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0; }
.red { color: var(--red); }
.lead { font-size: 1.12rem; color: var(--steel); max-width: 62ch; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.stack { display: grid; gap: 18px; }

/* ---------- Eyebrow chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  width: fit-content;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.chip.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  border: 0; cursor: pointer;
  font-family: var(--font-body);
  transition: transform .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn .dot {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: var(--white);
  transition: transform .25s ease;
}
.btn:hover .dot { transform: rotate(45deg); }
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red .dot { background: var(--white); color: var(--red); }
.btn-red:hover { background: var(--red-deep); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-plain { padding: 10px 4px; background: none; color: var(--ink); gap: 10px; }
.btn-plain:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand img { height: 70px; width: auto; }
.nav {
  display: flex; gap: 4px;
  padding: 6px;
  background: var(--silver);
  border-radius: 999px;
}
.nav a {
  padding: 9px 18px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--steel);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0,0,0,.18); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; text-decoration: none; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.header-phone svg { width: 18px; height: 18px; color: var(--red); }
.menu-btn {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--white); cursor: pointer;
  place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: 8px; }
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  min-height: clamp(640px, 46vw, 760px);
}
.hero-panel > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,12,14,.86) 0%, rgba(12,12,14,.55) 48%, rgba(12,12,14,.2) 100%),
    linear-gradient(0deg, rgba(12,12,14,.6) 0%, rgba(12,12,14,0) 45%);
}
.hero-copy, .hero-form { position: relative; z-index: 2; min-width: 0; }
.hero-copy { display: grid; gap: 24px; align-content: end; align-self: end; }
.hero-copy h1 { color: var(--white); }
.hero-copy p { color: rgba(255,255,255,.84); font-size: 1.12rem; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9);
  padding-top: 6px;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--red); }

/* ---------- Quote form card ---------- */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--red);
}
.quote-card h2 { font-size: 1.55rem; font-stretch: 105%; text-align: center; margin-bottom: 4px; }
.quote-card .sub { text-align: center; color: var(--steel); font-size: .9rem; margin-bottom: 18px; }
.quote-card.flat { box-shadow: none; border: 1.5px solid var(--line); border-bottom: 5px solid var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 2px; }
.field label { font-size: .74rem; font-weight: 700; color: var(--steel); letter-spacing: .04em; text-transform: uppercase; padding-top: 8px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--line);
  padding: 8px 2px; background: transparent; border-radius: 0;
  width: 100%;
  transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.form-submit {
  margin-top: 20px; width: 100%;
  padding: 15px 20px; border-radius: 999px;
  border: 0; background: var(--red); color: var(--white);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.form-submit:hover { background: var(--red-deep); }
.form-note { font-size: .82rem; color: var(--steel); margin-top: 12px; text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--silver); font-size: .9rem; }
.form-status.show { display: block; }
.form-status a { color: var(--red); font-weight: 700; }

/* ---------- About intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-left { display: grid; gap: 22px; }
.intro-photo {
  display: flex; align-items: center; gap: 14px;
  width: fit-content; padding: 6px 18px 6px 6px;
  border-radius: 999px; background: var(--silver);
  font-weight: 700; font-size: .9rem; text-decoration: none;
}
.intro-photo img { width: 64px; height: 44px; object-fit: cover; border-radius: 999px; }
.intro-right { display: grid; gap: 26px; }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block: 1px solid var(--line); }
.badge { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 18px 8px; font-size: .78rem; font-weight: 700; line-height: 1.25; }
.badge + .badge { border-left: 1px solid var(--line); }
.badge svg { width: 30px; height: 30px; color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat {
  background: var(--silver); border-radius: var(--radius-md);
  padding: 30px 18px; text-align: center;
  display: grid; gap: 6px;
}
.stat strong {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em;
}
.stat strong em { font-style: normal; color: var(--red); }
.stat span { color: var(--steel); font-size: .95rem; font-weight: 500; }

/* ---------- Dark band (services preview) ---------- */
.dark-band { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); }
.dark-band .lead { color: rgba(255,255,255,.72); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.band-head > div { display: grid; gap: 16px; min-width: 0; }
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.svc-card {
  position: relative; display: grid; align-content: end;
  min-height: 380px; border-radius: var(--radius-md); overflow: hidden;
  text-decoration: none; color: var(--white);
  isolation: isolate;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.15) 60%); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .svc-body { padding: 22px; display: grid; gap: 8px; }
.svc-card p { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.5; }
.svc-card .corner {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
}
.svc-card .corner svg { width: 18px; height: 18px; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; height: 560px; overflow: hidden; }
.collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius-md); }
.collage img:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.icon-disc { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; }
.icon-disc svg { width: 24px; height: 24px; }
.why-item p { color: var(--steel); font-size: .97rem; margin-top: 6px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.step::before {
  counter-increment: step; content: "Step " counter(step);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.step p { color: var(--steel); font-size: .95rem; }

/* ---------- Work strip ---------- */
.work-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.work-strip figure { margin: 0; position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; max-width: 100%; }
.work-strip img { width: 100%; height: 100%; object-fit: cover; }
.work-strip figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(255,255,255,.95); color: var(--ink);
  padding: 8px 12px; border-radius: 10px; font-size: .82rem; font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  background: var(--silver); border-radius: var(--radius-lg); overflow: hidden;
}
.cta-copy { padding: clamp(32px, 5vw, 64px); display: grid; gap: 20px; align-content: center; }
.cta-copy .eyebrow { color: var(--red); font-weight: 700; font-size: .9rem; }
.cta-band img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.phone-big { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.6rem, 3vw, 2.2rem); text-decoration: none; }
.phone-big:hover { color: var(--red); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: 8px; }
.page-hero-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 380px; display: grid; align-content: end;
  padding: clamp(28px, 5vw, 60px); color: var(--white); background: var(--ink);
}
.page-hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,12,14,.85), rgba(12,12,14,.3)); }
.page-hero-panel > div { position: relative; z-index: 2; display: grid; gap: 16px; max-width: 900px; }
.page-hero-panel p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; color: var(--white); }

/* ---------- Two-col content ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; max-width: 100%; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: grid; gap: 18px; }
.prose p { color: var(--steel); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; font-weight: 600; }
.check-list svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.value { background: var(--silver); border-radius: var(--radius-md); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.value p { color: var(--steel); font-size: .95rem; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.area { border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 10px; }
.area .tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.area p { color: var(--steel); }

/* ---------- Services detail ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-nav a { padding: 9px 16px; border-radius: 999px; background: var(--silver); text-decoration: none; font-weight: 600; font-size: .9rem; }
.svc-nav a:hover { background: var(--ink); color: var(--white); }
.svc-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-detail:nth-of-type(even) .split-img { order: 2; }
.svc-detail .split-img { aspect-ratio: 1/1; }
.svc-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--silver); border-radius: var(--radius-md); padding: 4px 24px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 500; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--steel); max-width: 70ch; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .92rem;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); cursor: pointer; color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.gallery button {
  all: unset; cursor: zoom-in; display: block; position: relative;
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; max-width: 100%;
}
.gallery button[hidden] { display: none; }
.gallery button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(10,10,12,.85), rgba(10,10,12,0));
  color: var(--white); display: grid; gap: 2px;
}
.gallery .cap strong { font-size: 1rem; }
.gallery .cap span { font-size: .82rem; color: rgba(255,255,255,.8); }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10,10,12,.92); padding: 24px;
  align-items: center; justify-content: center; flex-direction: column; gap: 14px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-sm); }
.lightbox p { color: var(--white); font-weight: 600; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-md); background: var(--silver); text-decoration: none; }
.contact-card small { display: block; color: var(--steel); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-size: 1.08rem; overflow-wrap: anywhere; }
a.contact-card:hover strong { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 11px 4px; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--red); font-weight: 700; }
.hours tr.closed td:last-child { color: var(--steel); }
.hours-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--silver); }
.open-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.open-pill.is-open i { background: #1f9d55; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius-lg); display: block; background: var(--silver); }
.contact-panel { border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.contact-panel p { color: var(--steel); }
.contact-panel p strong { color: var(--ink); }
#quote { scroll-margin-top: 100px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: clamp(64px, 9vw, 120px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-logo { background: var(--white); border-radius: 16px; padding: 12px 16px; width: fit-content; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { font-size: .95rem; max-width: 38ch; }
.site-footer h4 { color: var(--white); font-size: 1rem; font-stretch: 105%; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.f-contact li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; }
.f-contact svg { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .page-hero-panel > div > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2), .page-hero-panel > div > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3), .page-hero-panel > div > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .hero-form { animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 9px 13px; }
  .header-phone { display: none; }
  .svc-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column; border-radius: var(--radius-md); padding: 10px;
    background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .brand img { height: 54px; }
  .hero-panel { grid-template-columns: 1fr; min-height: 0; padding-top: 220px; }
  .hero-panel::before { background: linear-gradient(0deg, rgba(12,12,14,.92) 30%, rgba(12,12,14,.35) 75%, rgba(12,12,14,.15) 100%); }
  .hero-panel > img { object-position: center 30%; height: 70%; }
  .intro-grid, .why-grid, .split, .contact-grid, .svc-detail, .cta-band { grid-template-columns: 1fr; }
  .svc-detail:nth-of-type(even) .split-img { order: 0; }
  .stats, .steps, .values { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .work-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .collage { height: 440px; }
  .split-img { aspect-ratio: 4/3; }
  .cta-band img { min-height: 240px; max-height: 320px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .call-bar a { text-align: center; padding: 13px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; }
  .call-bar .c1 { background: var(--red); color: var(--white); }
  .call-bar .c2 { background: var(--ink); color: var(--white); }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .badge:nth-child(3) { border-left: 0; }
  .badge:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-cards, .areas, .values { grid-template-columns: 1fr; }
  .svc-card { min-height: 300px; }
  .stat { padding: 24px 10px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .collage { height: 360px; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
