/* ==========================================================================
   BYD Builders – public site styles
   Layout language: dark canvas, rounded white "cards", bold Figtree headings,
   brand yellow (#FBAE04) accents taken from the logo.
   ========================================================================== */

:root {
  --bg: #0d0d0d;
  --bg-2: #1b1c1d;
  --card: #ffffff;
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #5d5d5d;
  --line: #e7e7e7;
  --yellow: #FBAE04;
  --yellow-2: #ffc23a;
  --orange: #E08A27;
  --beige: #f3eee3;
  --soft: #f6f6f4;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 24px;
  --max: 1520px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(34px, 4.4vw, 64px); }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--yellow); color: #111; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Background image helper (graceful fallback if image fails) ---------- */
.bg-img {
  background-color: #1d1d1d;
  background-image: var(--img), linear-gradient(135deg, #2b2b2b, #121212);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: #111; }
.btn-yellow:hover { background: var(--yellow-2); box-shadow: 0 8px 24px rgba(251, 174, 4, .35); }
.btn-orange { background: var(--orange); color: #111; }
.btn-orange:hover { background: #ec9a3c; }
.btn-outline { background: rgba(0, 0, 0, .28); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { border-color: #fff; background: rgba(0, 0, 0, .45); }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 17px 30px; font-size: 17px; border-radius: 10px; }
.btn-wide { min-width: min(100%, 440px); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 16px calc(var(--gutter) * 2) 0; transition: padding .3s var(--ease); }
.header-inner {
  max-width: calc(var(--max) - 48px); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 8px; border-radius: 14px;
  transition: background-color .3s, padding .3s, box-shadow .3s;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .header-inner { background: rgba(14, 14, 14, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 8px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 66px; width: auto; display: block; transition: height .3s; }
.is-scrolled .brand img { height: 52px; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-list { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 0; color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.nav-link:hover, .nav-link.is-active { color: var(--yellow); }
.has-drop { position: relative; }
.drop-toggle svg { transition: transform .2s; }
.dropdown {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); left: -14px; min-width: 300px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dropdown a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.dropdown a:hover { background: var(--soft); color: #000; }
.drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.drop-all a { color: var(--orange); }
@media (hover: hover) and (min-width: 1101px) {
  .has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-drop:hover .drop-toggle svg { transform: rotate(180deg); }
}
@media (min-width: 1101px) {
  .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; gap: 8px; }
.menu-toggle {
  display: none; margin-left: auto; flex: none; align-self: center;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  border-radius: 10px; width: 48px; height: 48px; padding: 0; line-height: 0;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: none; width: 26px; height: 26px; align-items: center; justify-content: center; line-height: 0; }
.menu-toggle .i-open { display: flex; }
.menu-toggle .i-close { display: none; }
.menu-toggle svg { display: block; }

/* ---------- Layout wrappers ---------- */
.card-wrap { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto var(--gutter); }
.white-card { background: var(--card); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.center-block { text-align: center; }
.section-head { max-width: 1100px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head p { font-size: 20px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.kicker { font-size: 18px; color: var(--muted); margin-bottom: 12px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.split-head p { font-size: 22px; color: var(--ink-2); max-width: 620px; margin-top: 10px; }
.dot-text { position: relative; padding-left: 34px; }
.dot-text::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); }
.dot-text.dark::before { background: #111; }

/* ---------- Hero ---------- */
.hero.card-wrap { padding-top: 0; }
.hero-card {
  position: relative; overflow: hidden;
  min-height: clamp(600px, 92vh, 900px);
  border-radius: 0 0 22px 22px;
  display: flex; align-items: flex-end; color: #fff;
}
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 22, .78) 0%, rgba(8, 12, 22, .55) 45%, rgba(8, 12, 22, .82) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding: 150px clamp(24px, 3vw, 40px) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(260px, 1fr) 1.45fr; gap: 40px; align-items: end; }
.hero-eyebrow { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; max-width: 440px; margin: 0; }
.hero-card h1 { font-size: clamp(40px, 5.2vw, 78px); margin: 0; letter-spacing: -.025em; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); margin: 22px 0 0; max-width: 720px; color: rgba(255, 255, 255, .85); }
.hero-inner { min-height: clamp(440px, 62vh, 600px); }
.hero-inner .hero-content { grid-template-columns: 1fr; gap: 18px; }
.hero-inner h1 { font-size: clamp(38px, 5vw, 72px); max-width: 1100px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Numbers (stairs) ---------- */
.numbers .split-head h2 { margin: 0; }
.stairs { display: flex; align-items: flex-end; gap: 12px; }
.stair {
  flex: 1; min-width: 0; background: var(--yellow); border-radius: 12px; padding: 22px;
  height: calc(220px + var(--i) * 46px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.stair strong { font-size: clamp(40px, 4.2vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.stair span { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.2; }
.stairs-compact { margin-top: 56px; }
.stairs-compact .stair { height: calc(180px + var(--i) * 30px); }

/* ---------- Services mosaic (dark) ---------- */
.services-dark { padding: clamp(64px, 8vw, 110px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.svc-row { display: flex; gap: 6px; height: clamp(520px, 44vw, 660px); margin-bottom: 6px; }
.svc-card {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none;
  transition: flex .6s var(--ease);
}
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .85) 100%); transition: background .4s; }
.svc-card.is-open { flex: 2.3; }
.svc-row:hover .svc-card { flex: 1; }
.svc-row .svc-card:hover { flex: 2.3; }
.svc-icon { position: absolute; z-index: 2; top: 24px; left: 24px; color: #fff; transition: color .3s; }
.svc-card.is-open .svc-icon, .svc-card:hover .svc-icon { color: var(--yellow); }
.svc-row:hover .svc-card.is-open:not(:hover) .svc-icon { color: #fff; }
.svc-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.svc-title { font-size: clamp(22px, 2.1vw, 34px); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
.svc-desc, .svc-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; font-size: 15px; line-height: 1.5; max-width: 640px; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 600; }
.svc-card.is-open .svc-title, .svc-card:hover .svc-title { font-size: clamp(28px, 3.2vw, 54px); }
.svc-card.is-open .svc-desc, .svc-card:hover .svc-desc { max-height: 160px; opacity: 1; }
.svc-card.is-open .svc-more, .svc-card:hover .svc-more { max-height: 30px; opacity: 1; }
.svc-row:hover .svc-card.is-open:not(:hover) .svc-title { font-size: clamp(22px, 2.1vw, 34px); }
.svc-row:hover .svc-card.is-open:not(:hover) .svc-desc,
.svc-row:hover .svc-card.is-open:not(:hover) .svc-more { max-height: 0; opacity: 0; }

/* ---------- Service areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 32px; align-items: start; }
.areas-panels { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); min-height: 100%; }
.area-panel h3 { font-size: clamp(26px, 2.6vw, 40px); }
.area-label { color: var(--muted); }
.region-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.region-card { background: #fff; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); }
.region-card svg { color: var(--orange); }
.region-card strong { font-size: 19px; }
.region-card span { color: var(--muted); font-size: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--yellow); border-radius: 999px; padding: 9px 18px; font-weight: 500; }
.area-tabs { display: flex; flex-direction: column; gap: 8px; }
.area-tab { height: 84px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 21px; color: var(--ink); transition: background .2s, border-color .2s; }
.area-tab:hover { border-color: #bbb; }
.area-tab.is-active { background: var(--yellow); border-color: var(--yellow); }
.network-projects { grid-column: 1 / -1; margin-top: 8px; }
.network-projects .section-head { margin-bottom: 18px; }
.network-projects .section-head h2 { font-size: clamp(28px, 3vw, 44px); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.project-media { height: 168px; }
.project-media-empty { display: grid; place-items: center; background: var(--yellow); color: #111; }
.project-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.project-body h3 { margin: 0; font-size: 20px; }
.project-body p { margin: 0; font-size: 15px; color: var(--ink-2); }
.project-meta { color: var(--muted) !important; font-size: 13.5px !important; font-weight: 600; }
.project-empty { margin: 12px 0 0; color: var(--muted); }

.serve-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 6vw, 80px); border-radius: 14px; overflow: hidden; }
.serve-text { background: var(--yellow); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 480px; }
.serve-text h2 { font-size: clamp(32px, 3.6vw, 56px); margin: 0; }
.serve-text p { font-size: clamp(18px, 1.6vw, 23px); margin: 0; max-width: 560px; }
.serve-media { position: relative; min-height: 360px; }
.serve-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }

.feature-media { position: relative; margin-top: 24px; border-radius: 14px; overflow: hidden; height: clamp(340px, 46vw, 680px); display: grid; place-items: center; }
.feature-media::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.play-btn { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 12px; border: 0; background: var(--yellow); color: #111; display: grid; place-items: center; transition: transform .2s; }
.play-btn:hover { transform: scale(1.06); }
.feature-caption { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); color: #fff; font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; max-width: 720px; line-height: 1.15; }
.feature-caption span { display: block; color: var(--yellow); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Approach ---------- */
.approach { position: relative; padding: clamp(70px, 8vw, 110px) var(--gutter) 240px; isolation: isolate; }
.approach::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.approach-grid { max-width: calc(var(--max) - 48px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.approach-card {
  background: var(--yellow); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 24px; min-height: 330px;
}
.approach-card h3 { font-size: clamp(34px, 3.6vw, 60px); margin: 0; letter-spacing: -.025em; }
.ap-icon { color: #111; }
.ap-icon svg { width: clamp(56px, 6vw, 96px); height: auto; stroke-width: 1.2; }
.approach-card p { grid-column: 1 / -1; align-self: end; font-size: clamp(16px, 1.4vw, 20px); max-width: 560px; margin: 0; }
.overlap-top { position: relative; z-index: 2; margin-top: -170px; }

/* ---------- Making it easy + trust ---------- */
.easy .split-head h2 { margin: 0; }
.easy .dot-text { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); }
.easy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.easy-card { position: relative; height: clamp(320px, 32vw, 480px); border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; }
.easy-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .82) 100%); }
.easy-card p { position: relative; color: #fff; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; padding: 24px; margin: 0; }
.trust-split { display: grid; grid-template-columns: 1fr 1.15fr; margin-top: 24px; border-radius: 14px; overflow: hidden; }
.trust-split.no-margin { margin-top: 0; }
.trust-media { min-height: 520px; }
.trust-text { background: var(--beige); padding: clamp(28px, 5vw, 72px); }
.trust-text h2 { font-size: clamp(30px, 3.4vw, 52px); margin-bottom: 40px; }
.trust-text p { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.trust-text .btn { margin-top: 12px; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #1d1f20 0%, #2a2d31 100%); padding: clamp(70px, 8vw, 110px) 0; margin-bottom: var(--gutter); overflow: hidden; }
.t-slider { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.t-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px 8px 40px; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 clamp(290px, 30vw, 420px); scroll-snap-align: center; margin: 0; background: #fff; border-radius: 22px; padding: 34px; transform: rotate(var(--tilt)); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.t-card:hover { transform: rotate(0) translateY(-6px); }
.t-avatar { width: 64px; height: 64px; border-radius: 16px; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.t-card figcaption strong { display: block; font-size: 18px; }
.t-card figcaption span { color: var(--muted); font-size: 15px; }
.t-nav { display: flex; justify-content: center; gap: 12px; }
.t-nav button { width: 52px; height: 52px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; display: grid; place-items: center; }
.t-nav button:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq-card { background: var(--yellow); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.faq-card .split-head h2 { margin: 0; }
.faq-card .dot-text { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 14px; padding: 0 clamp(20px, 3vw, 40px); transition: background .2s; }
.faq-item:nth-child(odd), .faq-item[open] { background: rgba(0, 0, 0, .05); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(19px, 2vw, 30px); font-weight: 500; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #111; transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 0 28px; font-size: clamp(15px, 1.2vw, 18px); max-width: 1200px; }
.inner-faq { margin-top: 56px; }
.inner-faq h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 28px; }

/* ---------- CTA + Footer ---------- */
.site-footer { background: #000; color: #c9c9c9; border-top: 1px solid #1f1f1f; }
.cta-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 560px; max-width: var(--max); margin: 0 auto; padding: 60px 0 60px clamp(24px, 4vw, 60px); gap: 40px; }
.cta-text h2 { color: #fff; font-size: clamp(42px, 5.4vw, 84px); margin-bottom: 48px; max-width: 700px; }
.cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.cta-actions .btn { width: 100%; min-width: 0; padding-left: 16px; padding-right: 16px; }
.cta-media { align-self: stretch; min-height: 380px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 40px clamp(24px, 4vw, 60px) 48px; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.4fr; gap: 40px; }
.f-col h3 { color: #fff; font-size: 17px; letter-spacing: 0; margin-bottom: 16px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 8px; }
.f-col a { color: #a9a9a9; text-decoration: none; font-size: 15px; }
.f-col a:hover { color: var(--yellow); }
.f-col address, .f-hours { font-size: 15px; line-height: 1.8; color: #a9a9a9; }
.f-logo img { height: 92px; width: auto; margin-bottom: 18px; }
.f-brand p { font-size: 15px; color: #9a9a9a; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid #333; display: grid; place-items: center; color: #ddd; }
.socials a:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 22px clamp(24px, 4vw, 60px); border-top: 1px solid #1f1f1f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; color: #8a8a8a; }
.fb-links { display: flex; flex-wrap: wrap; gap: 22px; }
.fb-links a { color: #8a8a8a; text-decoration: none; }
.fb-links a:hover { color: var(--yellow); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Inner pages ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.about-grid h2 { font-size: clamp(32px, 3.6vw, 54px); }
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: clamp(26px, 2.4vw, 36px); color: var(--ink); margin: 36px 0 14px; }
.prose h3 { font-size: 24px; color: var(--ink); margin: 28px 0 10px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 6px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.prose ol { padding-left: 22px; }
.prose a { color: var(--orange); }
.legal-content { max-width: 900px; }
.legal-content h2:first-child { margin-top: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-tile-img { position: relative; aspect-ratio: 16 / 10; }
.svc-tile-icon { position: absolute; left: 18px; bottom: -22px; width: 56px; height: 56px; border-radius: 14px; background: var(--yellow); display: grid; place-items: center; color: #111; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.svc-tile-body { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-tile-body h3 { font-size: 23px; margin-bottom: 10px; }
.svc-tile-body p { color: var(--muted); font-size: 15px; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange); }
.svc-grid-sm .svc-tile-body h3 { font-size: 20px; }
.more-title { font-size: clamp(28px, 3vw, 42px); margin: 56px 0 24px; }

.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-icon { width: 72px; height: 72px; border-radius: 16px; background: var(--yellow); display: grid; place-items: center; color: #111; margin-bottom: 20px; }
.detail-content > p:first-of-type { font-size: 20px; color: var(--ink); }
.detail-cta { margin-top: 36px; background: var(--soft); border-radius: 14px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.detail-cta strong { display: block; font-size: 20px; color: var(--ink); }
.detail-cta span { color: var(--muted); }
.detail-side { position: sticky; top: 110px; }
.side-box { background: var(--beige); border-radius: var(--radius); padding: clamp(22px, 2.5vw, 34px); }
.side-box h2 { font-size: 30px; margin-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); }
.contact-info h2 { font-size: clamp(32px, 3.4vw, 52px); }
.lead { font-size: 19px; color: var(--muted); }
.info-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--soft); }
.info-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; color: #111; }
.info-list small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.info-list a { text-decoration: none; font-weight: 600; font-size: 18px; }
.info-list a:hover { color: var(--orange); }
.contact-form-box { background: var(--beige); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.contact-form-box h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 24px; }
.map-wrap { margin-top: 48px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Forms ---------- */
.enquiry-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #d9d4c7; border-radius: 10px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(251, 174, 4, .25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; z-index: 100; top: 100px; right: 20px; width: min(420px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 10px; }
.toast { position: relative; padding: 16px 48px 16px 18px; border-radius: 12px; font-weight: 500; box-shadow: var(--shadow); animation: toastIn .4s var(--ease); }
.toast-success { background: #e9f9ee; color: #135c2b; border-left: 5px solid #1e9e4a; }
.toast-error { background: #fdecea; color: #8a1c13; border-left: 5px solid #d63a2b; }
.toast-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 22px; line-height: 1; color: inherit; opacity: .6; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.vm-inner { position: relative; width: min(1100px, 100%); }
.vm-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vm-frame iframe { width: 100%; height: 100%; border: 0; }
.vm-close { position: absolute; top: -52px; right: 0; background: none; border: 0; color: #fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav-list { gap: 22px; }
  .nav-actions .btn { padding: 11px 14px; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .site-header, .site-header.is-scrolled { padding: 0; }
  .header-inner, .site-header.is-scrolled .header-inner {
    width: 100%; max-width: none; border-radius: 0; align-items: center; gap: 12px;
    padding: 8px 14px; background: rgba(14, 14, 14, .94);
  }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: #0e0e0e; padding: 110px 24px 32px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .menu-toggle .i-open { display: none; }
  .nav-open .menu-toggle .i-close { display: flex; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header .header-inner { background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-list > li { border-bottom: 1px solid #222; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 22px; padding: 16px 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px; min-width: 0; display: none; }
  .has-drop.open .dropdown { display: block; }
  .has-drop.open .drop-toggle svg { transform: rotate(180deg); }
  .dropdown a { color: #cfcfcf; padding: 9px 4px; }
  .dropdown a:hover { background: transparent; color: var(--yellow); }
  .drop-all { border-color: #222; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { padding: 15px; font-size: 17px; }

  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-eyebrow { order: 2; }
  .split-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .stairs { flex-wrap: wrap; }
  .stair { flex: 1 1 calc(33.33% - 12px); height: auto !important; min-height: 180px; }
  .svc-row { flex-direction: column; height: auto; }
  .svc-card, .svc-card.is-open, .svc-row:hover .svc-card, .svc-row .svc-card:hover { flex: none; height: 380px; }
  .svc-card .svc-title, .svc-row:hover .svc-card.is-open:not(:hover) .svc-title { font-size: 30px !important; }
  .svc-card .svc-desc, .svc-card .svc-more,
  .svc-row:hover .svc-card.is-open:not(:hover) .svc-desc,
  .svc-row:hover .svc-card.is-open:not(:hover) .svc-more { max-height: 160px; opacity: 1; }
  .svc-card .svc-icon { color: var(--yellow) !important; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-tabs { flex-direction: row; overflow-x: auto; order: -1; padding-bottom: 4px; }
  .area-tab { flex: none; height: 56px; padding: 0 22px; font-size: 17px; }
  .serve-split, .trust-split, .about-grid, .detail-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .easy-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .detail-side { position: static; }
  .cta-band { padding-right: clamp(24px, 4vw, 60px); }
  .cta-media { min-height: 280px; border-radius: 14px; -webkit-mask-image: none; mask-image: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-media { min-height: 340px; }
}

@media (max-width: 640px) {
  :root { --gutter: 12px; }
  .header-inner, .site-header.is-scrolled .header-inner { padding: 6px 12px; }
  .brand img, .is-scrolled .brand img { height: 46px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero-content { padding-top: 120px; }
  .white-card { padding: 28px 18px; }
  .stair { flex-basis: calc(50% - 12px); }
  .easy-grid, .svc-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .serve-text { min-height: 0; }
  .approach-card { min-height: 0; }
  .approach { padding-bottom: 200px; }
  .faq-item summary { padding: 20px 0; }
  .btn-wide { min-width: 100%; }
  .cta-actions { gap: 8px; max-width: none; }
  .cta-actions .btn { width: 100%; padding: 13px 8px; font-size: 13.5px; }
  .map-wrap iframe { height: 320px; }
  .toast-stack { top: 84px; right: 10px; width: calc(100% - 20px); }
}
