/* =========================================================
   Fit Construction: styles
   Palette from the Instagram design: charcoal, cream, orange
   ========================================================= */
:root {
  --ink: #1c1c1c;          /* dark sections, main text */
  --ink-2: #262626;        /* cards on dark */
  --ink-3: #333333;
  --cream: #f3efe7;        /* light section background */
  --paper: #fbf9f5;        /* white-ish section background */
  --orange: #e8601c;       /* brand accent */
  --orange-dark: #c94f12;
  --orange-soft: rgba(232, 96, 28, 0.12);
  --text: #1c1c1c;
  --muted: #5f5a52;
  --muted-dark: #b8b3ab;   /* muted text on dark */
  --line: #e4ded3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --header-h: 72px;
  --hero-img: url("assets/img/bg/bg-1.jpg");
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* dark page edge: what browsers show above the header (under their top bar, pull-down bounce) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
section[id] { scroll-margin-top: var(--header-h); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; border-radius: 10px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pills / section heads ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-dark);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.pill-dark { background: rgba(232,96,28,.16); color: #ff9a62; border: 1px solid rgba(232,96,28,.35); }

.section { padding: 96px 0; }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-orange { background: var(--orange); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; text-transform: uppercase;
}
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.on-dark p { color: var(--muted-dark); }

/* ---------- Header ---------- */
/* Fixed with a solid color: iPhone Safari (iOS 26) then fills the area under its
   top bar with the header color instead of showing the page scrolling behind it. */
body { padding-top: var(--header-h); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
/* Some phone browsers (Chrome, Google app, in-app browsers on iPhone) draw the page
   under their status/address bar, above the header. This dark strip covers that area. */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
  height: 100vh; background: var(--ink); pointer-events: none;
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.brand-text small { font-size: 12px; color: var(--muted-dark); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #d9d5ce; transition: color .2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--orange); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 72px 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.82) 45%, rgba(20,20,20,.55) 100%),
    var(--hero-img) center / cover no-repeat;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(36px, 5vw, 58px); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 1.02;
}
.accent { color: var(--orange); }
.hero .lead { font-size: 19px; color: #d6d2cb; max-width: 520px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
/* "Request an Estimate" in the hero text: phones only (see the 760px block) */
.hero-badges {
  list-style: none; padding: 0; margin: 34px 0 40px;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
}
.hero-badges li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.badge-icon {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(232,96,28,.15); color: var(--orange);
}

/* estimate card: dark, the orange button is the main accent */
.estimate-card {
  background: rgba(30,30,30,.92); border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  padding: 30px 28px 26px; display: grid; gap: 12px;
}
.estimate-card h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; }
.estimate-card h2 + .est-path { margin-top: 8px; }
.est-path { display: grid; gap: 10px; }
.estimate-cta { width: 100%; padding-top: 18px; padding-bottom: 18px; font-size: 18px; box-shadow: 0 10px 28px rgba(232,96,28,.35); }
.estimate-alt { width: 100%; }
.estimate-or {
  display: flex; align-items: center; gap: 12px; margin: 6px 0 2px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-dark);
}
.estimate-or::before, .estimate-or::after { content: ""; flex: 1; border-top: 1px solid rgba(255,255,255,.12); }
.chip {
  padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.25); color: #fff; transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.estimate-note { font-size: 14px; color: var(--muted-dark); margin-top: 4px; }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.service-img { aspect-ratio: 3 / 2; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 24px 24px 28px; flex: 1; }
.service-body h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.service-body p { color: var(--muted); font-size: 15.5px; }
.service-arrow { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.5; transition: transform .25s; }
.service-card:hover .service-arrow { transform: translateX(5px); }
.service-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Service pages ---------- */
.svc-hero { padding: 64px 0 80px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: var(--muted); transition: color .2s;
}
.svc-back:hover { color: var(--orange-dark); }
.svc-copy h1 {
  margin: 20px 0 20px;
  font-size: clamp(34px, 5vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em;
}
.svc-copy p { color: var(--muted); font-size: 18px; }
.svc-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }

/* ---------- Our work gallery ---------- */
.gallery-wrap { position: relative; }
.gallery {
  list-style: none; margin: 0; padding: 4px 2px 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3.5); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: #d6cbbb transparent;
}
.gallery li { scroll-snap-align: start; }
.gallery-nav {
  position: absolute; top: calc(50% - 7px); z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: background .2s, color .2s, opacity .2s;
}
.gallery-nav:hover { background: var(--orange); color: #fff; }
.gallery-nav:disabled { opacity: 0; pointer-events: none; }
.gallery-nav .icon { width: 24px; height: 24px; }
.gallery-prev { left: -20px; }
.gallery-next { right: -20px; }
.gallery a {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px;
  background: var(--cream); box-shadow: var(--shadow); cursor: zoom-in;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.1); border: 0; color: #fff; transition: background .2s;
}
.lb-btn:hover { background: var(--orange); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #cfcac2; font-size: 14px; font-weight: 600; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { margin: 18px 0 22px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; text-transform: uppercase; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-copy p + p { margin-top: 16px; }
.about-stats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.about-stats li {
  flex: 1 1 180px; display: flex; align-items: baseline; gap: 10px;
  padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.about-stats strong { font-size: 34px; font-weight: 900; line-height: 1; color: var(--orange); letter-spacing: -0.02em; }
.about-stats span { font-size: 15px; font-weight: 700; color: var(--ink); }
.about-copy .about-creds {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.about-creds span { color: var(--orange); margin: 0 6px; }
.about-creds a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.about-creds a:hover { color: var(--orange); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
/* owner photo: portrait shape */
.about-photo[data-shape] { width: 100%; max-width: 460px; justify-self: center; }
.about-photo[data-shape="portrait"] img { aspect-ratio: 4 / 5; object-position: center 25%; }

/* ---------- Why us ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center;
}
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 14px;
  display: grid; place-items: center; background: var(--orange-soft); color: var(--orange);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- How it works ---------- */
.steps {
  list-style: none; margin: 0 auto; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 36px; left: 16.66%; right: 16.66%;
  border-top: 2px dashed rgba(232,96,28,.45);
}
.step { text-align: center; position: relative; }
.step-icon {
  position: relative; width: 72px; height: 72px; margin: 0 auto 22px;
  display: grid; place-items: center; border-radius: 16px;
  background: var(--ink-2); border: 1px solid rgba(232,96,28,.5); color: var(--orange);
}
.step-icon .icon { width: 28px; height: 28px; }
.step-icon b {
  position: absolute; top: -10px; right: -10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  background: var(--orange); color: #fff;
}
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted-dark); font-size: 16px; max-width: 260px; margin: 0 auto; }

/* ---------- Reviews ---------- */
.rating-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.rating-source {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); transition: border-color .2s;
}
.rating-source strong { color: var(--ink); }
.rating-source:hover { border-color: var(--orange); }
.rating-stars { display: inline-flex; gap: 2px; color: #f4a21b; }
.rating-stars svg { width: 16px; height: 16px; fill: currentColor; }
/* one-row carousel, same arrows as the projects gallery */
.reviews-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 3.25); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #d6cbbb transparent;
}
.review-card {
  scroll-snap-align: start;
  margin: 0; background: #fff; border-radius: var(--radius); padding: 26px 26px 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.review-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: #3a3631; }
.review-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.review-card figcaption strong { font-size: 15.5px; }
.review-card figcaption span { font-size: 13.5px; color: var(--muted); }

/* ---------- Contact / project form ---------- */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 56px;
  grid-template-areas: "copy form" "alt form"; align-items: start;
}
.contact-copy { grid-area: copy; }
.contact-copy h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; text-transform: uppercase; color: var(--ink); letter-spacing: -0.03em; }
.contact-copy p { margin-top: 18px; font-size: 18px; color: #2b1508; max-width: 480px; }
.contact-alt { grid-area: alt; }
.contact-alt-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #3a1c0b; margin-bottom: 12px; }
.contact-alt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.contact-alt-phone { font-weight: 800; font-size: 17px; color: var(--ink); }
.contact-alt-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-alt-mail:hover { color: #fff; }
.contact-alt-lang { margin-top: 14px; font-weight: 800; color: var(--ink); }

.project-form {
  grid-area: form; background: #fff; border-radius: 18px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2); display: grid; gap: 14px;
}
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-field { display: grid; gap: 6px; min-width: 0; }
.pf-field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.pf-field em { color: var(--orange-dark); font-style: normal; }
.pf-field small { font-weight: 500; color: var(--muted); }
.pf-field input, .pf-field textarea {
  width: 100%; font: 500 16px var(--font); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.pf-field textarea { resize: vertical; min-height: 110px; }
.pf-field input:focus, .pf-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,96,28,.15); }
.pf-field.has-error input, .pf-field.has-error textarea { border-color: #b42318; }
.pf-err { font-size: 13.5px; color: #b42318; font-weight: 600; }
/* preferred contact: Call / Text / Email */
.pf-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-choice label { position: relative; cursor: pointer; }
.pf-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf-choice label > span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 10px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink); transition: border-color .2s, background .2s, color .2s;
}
.pf-choice .icon { width: 17px; height: 17px; }
.pf-choice label:hover > span { border-color: var(--orange); }
.pf-choice input:checked + span { border-color: var(--orange); background: #fff3ec; color: var(--orange-dark); }
.pf-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232,96,28,.25); }
.pf-drop {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border: 2px dashed #d6cbbb; border-radius: 12px; background: var(--paper);
  color: var(--muted); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s;
}
.pf-drop:hover, .pf-drop.is-over { border-color: var(--orange); background: #fff6f0; }
.pf-drop strong { color: var(--orange-dark); }
.pf-drop .icon { color: var(--orange); width: 22px; height: 22px; }
.pf-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.pf-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pf-files:empty { display: none; }
.pf-files li {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px;
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px;
}
.pf-files img, .pf-files .pf-noprev { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; background: var(--cream); }
.pf-files .pf-noprev { display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--muted); }
.pf-files .pf-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-files .pf-size { color: var(--muted); flex: none; }
.pf-files button {
  width: 30px; height: 30px; flex: none; border-radius: 8px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--cream); color: var(--ink);
}
.pf-files button:hover { background: #fde4d6; color: #b42318; }
.pf-files button .icon { width: 16px; height: 16px; }
.pf-hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-submit { width: 100%; margin-top: 4px; }
.pf-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.pf-status { font-size: 15px; font-weight: 600; }
.pf-status:empty { display: none; }
.pf-status.is-error { color: #b42318; }
.pf-status.is-error a { text-decoration: underline; }
.pf-done { text-align: center; padding: 30px 10px; }
.pf-done .icon { width: 48px; height: 48px; color: var(--orange); margin: 0 auto 14px; }
.pf-done p { font-size: 18px; font-weight: 700; color: var(--ink); }

/* ---------- Service area / map ---------- */
.area { background: var(--paper); padding-top: 80px; }
.area-head { text-align: center; max-width: 860px; margin-bottom: 40px; }
.area-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.area-head p { color: var(--muted); font-size: 17px; }
.area-base { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink) !important; }
.area-base .icon { color: var(--orange); }
.map-wrap { height: 460px; background: var(--cream); z-index: 0; }
.map-wrap .leaflet-tile-pane { filter: grayscale(.55) contrast(1.02); }
.map-label { background: var(--ink); color: #fff; border: 0; border-radius: 8px; font: 700 13px var(--font); padding: 6px 10px; box-shadow: none; }
.map-label::before { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo img { width: 52px; height: 52px; }
.footer-logo span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo strong { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.footer-logo small { font-size: 14px; color: #cfcac2; }
.footer-brand p { color: #cfcac2; font-size: 16px; max-width: 320px; }
.footer-license { margin-top: 14px; font-weight: 600; }
.footer-license a { display: inline-flex; align-items: center; gap: 6px; color: #f1ede6; text-decoration: underline; text-underline-offset: 3px; }
.footer-license a:hover { color: var(--orange); }
.footer-license .icon { width: 14px; height: 14px; }
.footer-brand .footer-social-label {
  margin-top: 22px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #8f8a83;
}
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.28); color: #fff;
  transition: border-color .2s, color .2s, transform .2s;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.footer-social a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.footer-social .icon { width: 22px; height: 22px; }
.site-footer h4 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer li { color: #cfcac2; font-size: 16px; }
.site-footer li a:hover { color: var(--orange); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--orange); width: 18px; height: 18px; }
/* phone number as plain, selectable text, with Call / Text buttons for phones */
.footer-phone { display: grid; gap: 10px; }
.footer-number {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #f1ede6; user-select: all;
}
.footer-phone-actions { display: flex; gap: 8px; margin-left: 28px; }
.footer-phone-actions .chip { font-size: 13.5px; padding: 5px 12px; }
.site-footer .footer-phone-actions a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 15px; color: #b3aea6;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Privacy Policy page ---------- */
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.legal-date { margin: 8px 0 28px; color: var(--muted); font-weight: 600; }
.legal h2 { margin: 32px 0 10px; font-size: 21px; font-weight: 800; }
.legal p, .legal li { font-size: 16.5px; color: #3d3a36; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Floating call button (bottom-right, all pages) ---------- */
.call-fab { position: fixed; right: 22px; bottom: 22px; z-index: 1500; }
.call-fab-btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 26px rgba(232,96,28,.45), 0 2px 6px rgba(0,0,0,.2);
  transition: background .2s, transform .2s;
}
.call-fab-btn .icon { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .2s; }
.call-fab-btn .icon-close { opacity: 0; transform: rotate(-90deg); }
.call-fab.is-open .call-fab-btn { background: var(--ink); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.call-fab.is-open .icon-phone { opacity: 0; transform: rotate(90deg); }
.call-fab.is-open .icon-close { opacity: 1; transform: none; }
.call-fab-btn:hover { background: var(--orange-dark); transform: scale(1.06); }
.call-fab.is-open .call-fab-btn:hover { background: #000; }
.call-fab-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* computer: card with the number and actions (call-button.js) */
.call-card {
  position: absolute; right: 0; bottom: 74px; width: 272px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.08);
  display: grid; gap: 4px;
  transform-origin: bottom right; animation: call-card-in .18s ease-out;
}
.call-card[hidden] { display: none; }
@keyframes call-card-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.call-card small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.call-card-num { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; user-select: all; }
.call-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.call-card-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font: 700 15px var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.call-card-btn .icon { width: 18px; height: 18px; }
.call-card-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.call-card-btn.is-main { background: var(--orange); border-color: var(--orange); color: #fff; }
.call-card-btn.is-main:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.call-card-copy { grid-column: 1 / -1; }
.call-card-copy.is-done { border-color: #2e7d32; color: #2e7d32; }
.call-card-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-photo { max-width: 680px; }
  .estimate-card { max-width: 560px; }
  .cards-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-auto-columns: calc((100% - 24px) / 2.2); }
  .gallery { grid-auto-columns: calc((100% - 32px) / 2.5); }
  .gallery-prev { left: 4px; }
  .gallery-next { right: 4px; }
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "alt"; }
  .project-form { max-width: 680px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Phones and small tablets: the section links don't fit in one row next to the logo,
   so they move into a drop-down opened by the menu button (menu.js). */
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 12px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 5px; margin-left: auto;
    width: 46px; height: 46px; padding: 0; cursor: pointer;
    background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
  .nav-open .nav-toggle { border-color: var(--orange); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 6px 24px 14px;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 32px rgba(0,0,0,.35);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 15px 2px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .brand img { width: 38px; height: 38px; }
  .main-nav { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: auto; padding: 48px 0 56px; }
  .hero .lead { font-size: 17px; }
  .hero-badges { gap: 12px 18px; }
  .hero-badges li { font-size: 14px; gap: 10px; }
  .badge-icon { width: 34px; height: 34px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-btns { display: none; }
  .section { padding: 64px 0; }
  .svc-hero { padding: 32px 0 56px; }
  .svc-copy p { font-size: 17px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16.5px; }
  .cards-grid, .features-grid, .steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-auto-columns: 85%; gap: 14px; }
  .steps::before { display: none; }
  .steps { row-gap: 40px; }
  .gallery { grid-auto-columns: 80%; gap: 10px; }
  .gallery-nav { display: none; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-count { bottom: 22px; }
  .estimate-card { padding: 24px 18px 20px; }
  .contact-section { padding: 56px 0; }
  .project-form { padding: 20px 16px; }
  .pf-row { grid-template-columns: 1fr; }
  .area { padding-top: 64px; }
  .map-wrap { height: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .call-fab { right: 16px; bottom: 16px; }
  .call-fab-btn { width: 56px; height: 56px; }
}

/* =========================================================
   Scroll reveal (animations.js): "Rise". When a section scrolls into view,
   everything in it rises 40px and fades in at the same moment (0.9s).
   The first screen (hero, service page intro) is never animated, so the
   main content shows instantly. Skipped for visitors who prefer reduced motion.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* the list matches SELECTOR in animations.js */
  .js-anim :is(.section-head, .service-card, .gallery-wrap, .about-copy, .about-photo,
    .feature, .steps, .contact-copy, .project-form, .contact-alt,
    .area-head, .map-wrap):not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  .js-anim .is-in:not(.anim-done) {
    transition:
      opacity .9s cubic-bezier(.22, 1, .36, 1),
      transform .9s cubic-bezier(.22, 1, .36, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
