:root {
  --bg: #f6f3ef;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-soft: #f4ebe4;
  --dark: #19202a;
  --text: #394150;
  --muted: #667084;
  --line: rgba(25, 32, 42, 0.1);
  --accent: #c7683c;
  --accent-2: #904123;
  --accent-soft: rgba(199, 104, 60, 0.12);
  --roof: #2b3f56;
  --shadow: 0 16px 42px rgba(25, 32, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(25, 32, 42, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f4ef 0%, #f2ede8 100%);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, li { font-size: 1rem; }
h1, h2, h3, h4, strong { color: var(--dark); }
h1, h2, h3, h4, p { margin-top: 0; }
ul { margin: 0; padding: 0; list-style: none; }
iframe { border: 0; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(199, 104, 60, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(43, 63, 86, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.15));
}

.container {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
}

.section { padding: 64px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 14px 0 12px;
}
.section-heading p { color: var(--muted); }

.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  background: linear-gradient(90deg, #233547, #9d4c2d);
  color: rgba(255,255,255,0.92);
}
.topbar__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}
.topbar p,
.topbar span,
.topbar a { font-size: 0.92rem; margin: 0; }
.topbar a { font-weight: 700; }
.topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header.is-scrolled {
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(25, 32, 42, 0.08);
  border-bottom: 1px solid rgba(25, 32, 42, 0.08);
}
.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, var(--roof), var(--accent));
  box-shadow: 0 16px 28px rgba(43, 63, 86, 0.18);
  flex-shrink: 0;
}
.brand-mark--large { width: 72px; height: 72px; border-radius: 22px; }
.desktop-nav,
.header__actions,
.hero__actions,
.contact-stack {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desktop-nav {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.desktop-nav a {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--dark);
}
.desktop-nav a:hover { color: var(--accent-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.96rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 16px 30px rgba(199, 104, 60, 0.26);
}
.btn--ghost {
  color: var(--dark);
  background: rgba(255,255,255,0.78);
  border-color: rgba(25, 32, 42, 0.1);
  box-shadow: 0 12px 24px rgba(25, 32, 42, 0.06);
  backdrop-filter: blur(14px);
}
.btn--block { width: 100%; }
.desktop-only { display: inline-flex; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
}
.menu-toggle span:not(.sr-only) {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--dark);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__panel {
  height: 100%;
  background: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(20px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(25, 32, 42, 0.12);
}
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
  font-size: 2rem;
  line-height: 1;
}
.mobile-nav { display: grid; gap: 8px; margin: 26px 0 20px; }
.mobile-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(25, 32, 42, 0.08);
  font-weight: 800;
}
.mobile-drawer__cta { margin-top: auto; display: grid; gap: 10px; }
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 32, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 55;
  transition: opacity 0.3s ease;
}
.menu-overlay.is-visible { opacity: 1; pointer-events: auto; }

.hero,
.subhero { padding-top: 36px; }
.hero__grid,
.subhero__grid,
.showcase__grid,
.project-detail__grid,
.areas__grid,
.cta-banner__inner,
.reviews-strip__grid,
.metrics__grid,
.trust-strip__inner {
  display: grid;
  gap: 26px;
}
.hero__grid,
.subhero__grid,
.showcase__grid,
.project-detail__grid,
.areas__grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.hero h1,
.subhero h1 {
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 0.98;
  margin: 16px 0 18px;
  max-width: 760px;
}
.hero__actions { flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-points li,
.project-bullets li,
.compact-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
}
.hero-points li::before,
.project-bullets li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--roof));
  box-shadow: 0 0 0 6px rgba(199, 104, 60, 0.12);
}
.compact-list { margin-bottom: 0; }
.trust-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}
.trust-box,
.metric-card,
.process-card,
.review-card,
.mini-review,
.mini-proof,
.hours-card,
.map-card,
.glass-card,
.faq-item,
.project-facts > div,
.service-card,
.review-card,
.mini-review,
.trust-strip__item,
.showcase__content,
.subhero__card .glass-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(25, 32, 42, 0.08);
  box-shadow: var(--shadow);
}
.trust-box,
.metric-card,
.process-card,
.review-card,
.mini-review,
.service-card,
.faq-item,
.hours-card,
.map-card,
.trust-strip__item,
.showcase__content,
.glass-card {
  border-radius: var(--radius);
}
.trust-box { padding: 18px; }
.trust-box strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}
.trust-box span { display: block; margin-top: 6px; font-weight: 700; color: var(--muted); }

.hero__media { position: relative; min-height: 680px; }
.hero-frame,
.layered-frame {
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface-strong);
  border: 1px solid rgba(25, 32, 42, 0.08);
  box-shadow: var(--shadow-lg);
}
.hero-frame {
  position: absolute;
}
.hero-frame img,
.layered-frame img,
.service-card__media img,
.roof-gallery img,
.project-masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frame--main { inset: 0 30px 110px 0; }
.hero-frame--accent {
  width: 250px;
  height: 315px;
  right: 0;
  bottom: 24px;
  border: 10px solid rgba(255,255,255,0.92);
}
.hero-stat {
  position: absolute;
  left: 22px;
  bottom: 24px;
  width: min(310px, 75%);
}
.glass-card { padding: 22px; backdrop-filter: blur(14px); }
.hero-stat__label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}
.hero-stat strong { display: block; font-size: 1.4rem; margin: 8px 0 4px; }
.float-card { animation: float 5.4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.trust-strip__inner { grid-template-columns: 1.15fr 0.85fr; }
.trust-strip__item { padding: 28px; }
.trust-strip__item h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin: 0 0 12px;
}
.trust-strip__logos {
  display: grid;
  gap: 16px;
}
.mini-proof {
  padding: 20px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}
.mini-proof--text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  place-items: stretch;
}
.mini-proof--text span {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(244, 235, 228, 0.9);
  color: var(--roof);
  text-align: center;
  font-weight: 800;
}

.services-grid,
.reviews-grid,
.process__grid,
.project-facts {
  display: grid;
  gap: 18px;
}
.services-grid--roof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card {
  overflow: hidden;
}
.service-card__media { aspect-ratio: 1.12 / 1; }
.service-card__body { padding: 20px; }
.service-badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(43, 63, 86, 0.08);
  color: var(--roof);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-card h3,
.process-card h3,
.review-card strong,
.mini-review strong,
.hours-card h3,
.footer h3 { margin-bottom: 8px; }

.metrics__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric-card,
.process-card,
.review-card,
.mini-review { padding: 22px; }
.metric-card strong,
.process-card span,
.review-card strong,
.mini-review span {
  display: block;
  margin-bottom: 8px;
}
.process__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-card span {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--accent-2);
  letter-spacing: 0.06em;
}

.roof-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.roof-gallery__item,
.project-masonry figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(25, 32, 42, 0.08);
  box-shadow: var(--shadow);
}
.roof-gallery__item { aspect-ratio: 1 / 0.84; }
.roof-gallery__item--large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.roof-gallery__item--wide { grid-column: span 2; }
.roof-gallery img,
.project-masonry img,
.service-card__media img,
.hero-frame img,
.layered-frame img {
  transition: transform 0.45s ease;
}
.roof-gallery__item:hover img,
.project-masonry figure:hover img,
.service-card:hover img,
.layered-frame:hover img { transform: scale(1.05); }

.showcase__content { padding: 28px; }
.layered-frame { position: relative; min-height: 420px; }
.layered-frame::after {
  content: "";
  position: absolute;
  inset: auto auto -18px -18px;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(199, 104, 60, 0.22), transparent 72%);
  z-index: -1;
}

.reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-stars,
.mini-review span {
  color: var(--accent-2);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.reviews-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.areas__content > p { margin-bottom: 18px; }
.contact-stack { flex-wrap: wrap; margin-bottom: 18px; }
.hours-card { padding: 22px; }
.hours-card ul { display: grid; gap: 10px; }
.hours-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(25, 32, 42, 0.08);
}
.hours-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-card li span { color: var(--muted); }
.hours-note { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.map-card { overflow: hidden; min-height: 520px; }
.map-card iframe { width: 100%; height: 100%; min-height: 520px; }

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px 0;
  color: var(--muted);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: 20px; }

.cta-banner__inner {
  grid-template-columns: 1.1fr auto;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(43, 63, 86, 0.96), rgba(157, 76, 45, 0.94));
  color: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-lg);
}
.cta-banner__inner h2,
.cta-banner__inner p,
.cta-banner__inner .eyebrow { color: #fff; }
.cta-banner__inner .eyebrow {
  background: rgba(255,255,255,0.12);
}
.cta-banner__inner .btn--ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}

.project-gallery-page .section-heading { margin-bottom: 24px; }
.project-masonry {
  columns: 4 220px;
  column-gap: 14px;
}
.project-masonry figure {
  break-inside: avoid;
  margin-bottom: 14px;
}
.project-masonry img { width: 100%; height: auto; }
.project-detail__content .project-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}
.project-facts > div {
  padding: 16px;
}
.project-facts strong { display: block; font-size: 0.92rem; margin-bottom: 6px; }
.project-facts span { color: var(--muted); font-size: 0.94rem; }
.project-bullets { display: grid; gap: 10px; }
.subhero__meta { margin-top: 16px; display: block; }

.footer {
  padding-bottom: 110px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 22px;
  padding-top: 10px;
}
.footer ul { display: grid; gap: 10px; }
.footer-copy { max-width: 460px; color: var(--muted); }
.brand--footer { margin-bottom: 14px; }

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(250, 247, 243, 0.94);
  border: 1px solid rgba(25, 32, 42, 0.08);
  box-shadow: 0 18px 30px rgba(25, 32, 42, 0.14);
  backdrop-filter: blur(16px);
}
.mobile-cta a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
}
.mobile-cta a:first-child {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}
.mobile-cta a:last-child {
  background: rgba(43, 63, 86, 0.08);
  color: var(--roof);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--delay { transition-delay: 0.12s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .services-grid--roof,
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__grid--four,
  .metrics__grid,
  .project-detail__content .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid,
  .subhero__grid,
  .showcase__grid,
  .project-detail__grid,
  .areas__grid,
  .trust-strip__inner,
  .cta-banner__inner,
  .footer__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 620px; }
}

@media (max-width: 920px) {
  .topbar__inner,
  .header__inner { gap: 14px; }
  .desktop-nav,
  .desktop-only { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero,
  .subhero,
  .section { padding: 52px 0; }
  .hero__grid,
  .subhero__grid,
  .showcase__grid,
  .project-detail__grid,
  .areas__grid,
  .trust-strip__inner { grid-template-columns: 1fr; }
  .hero__media { min-height: auto; }
  .hero-frame { position: relative; }
  .hero-frame--main { inset: auto; min-height: 380px; }
  .hero-frame--accent {
    width: 52%;
    height: auto;
    aspect-ratio: 0.8 / 1;
    margin: -70px 0 0 auto;
    right: auto;
    bottom: auto;
  }
  .hero-stat {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }
  .roof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roof-gallery__item--large,
  .roof-gallery__item--wide { grid-column: span 2; }
  .reviews-strip__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 92px; }
  .container { width: min(calc(100% - 20px), var(--container)); }
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar__links { justify-content: flex-start; gap: 8px; }
  .header__inner { min-height: 74px; }
  .brand { gap: 10px; }
  .brand strong { font-size: 0.82rem; }
  .brand small { font-size: 0.72rem; }
  .brand-mark { width: 44px; height: 44px; border-radius: 15px; font-size: 0.9rem; }
  .hero h1,
  .subhero h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .lead { font-size: 1rem; }
  .hero__actions,
  .contact-stack { display: grid; grid-template-columns: 1fr; }
  .trust-boxes,
  .services-grid--roof,
  .metrics__grid,
  .process__grid--four,
  .reviews-grid,
  .project-detail__content .project-facts { grid-template-columns: 1fr; }
  .service-card__body,
  .metric-card,
  .process-card,
  .review-card,
  .mini-review,
  .hours-card,
  .trust-strip__item,
  .showcase__content,
  .glass-card,
  .faq-question,
  .project-facts > div { padding-left: 18px; padding-right: 18px; }
  .hero-frame--main { min-height: 290px; }
  .hero-frame--accent {
    width: 62%;
    margin-top: -44px;
  }
  .roof-gallery { grid-template-columns: 1fr; }
  .roof-gallery__item,
  .roof-gallery__item--large,
  .roof-gallery__item--wide { grid-column: auto; min-height: auto; aspect-ratio: 1 / 0.8; }
  .map-card,
  .map-card iframe { min-height: 360px; }
  .project-masonry { columns: 2 140px; }
  .cta-banner__inner { padding: 22px; }
  .mobile-cta { display: grid; }
}

@media (max-width: 420px) {
  .project-masonry { columns: 1; }
}
