:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --dark: #0f172a;
  --dark-2: #111827;
  --accent: #0f172a;
  --green: #22c55e;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,.96);
}
.nav-wrap, .footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand-wrap,
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 68px;
  height: auto;
  flex: 0 0 auto;
}
.footer-logo {
  width: 84px;
  height: auto;
  flex: 0 0 auto;
}
.brand {
  font-size: clamp(1.1rem, 1rem + .62vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand-sub {
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #64748b;
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  border-color: #cbd5e1;
  background: #fff;
  color: var(--text);
}
.btn-lg { padding: 14px 24px; border-radius: 20px; }
.btn-full { width: 100%; }
.btn-icon,
.arrow { font-size: 15px; line-height: 1; }
.hero-section {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 68%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding: 56px 0 80px;
}
.hero-copy,
.hero-side {
  align-self: center;
}
.hero-badges, .pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}
.pill.filled {
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  padding: 10px 14px;
}
.hero-copy h1,
.section-head h2,
.areas-grid h2,
.gallery-head h2,
.quote-grid h2,
.reviews-section h2,
.promo-card h2 {
  margin: 0;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.hero-copy h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(2.4rem, 1.6rem + 2.3vw, 4.35rem);
  font-weight: 900;
}
.hero-text {
  margin-top: 20px;
  max-width: 700px;
  font-size: 1.1rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.feature-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mini-card, .info-card, .seo-card, .gallery-card, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.mini-card {
  padding: 18px;
}
.mini-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.mini-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
.mini-icon { font-size: 16px; }
.hero-side {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.promo-card {
  border-radius: 32px;
  padding: 28px;
  min-height: 230px;
  box-shadow: var(--shadow-md);
}
.promo-dark {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, #111827, #0f172a 65%, #1e293b);
  color: #fff;
}
.promo-card p { color: rgba(255,255,255,.83); max-width: 540px; }
.info-card, .seo-card, .gallery-card, .form-card { padding: 26px; }
.eyebrow {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.eyebrow.light { color: #cbd5e1; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 12px 0;
  color: #334155;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--green);
}
.section {
  padding: 82px 0;
}
.section-muted {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
}
.section-head p,
.areas-grid p,
.gallery-head p,
.quote-grid p,
.seo-card p,
.service-card p,
.gallery-copy p,
.review-card p,
.contact-points,
.form-note {
  color: var(--muted);
}
.services-grid, .gallery-grid, .reviews-grid {
  display: grid;
  gap: 20px;
}
.services-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.service-card h3,
.gallery-copy h3 { margin: 0 0 10px; font-size: 1.25rem; }
.areas-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.gallery-head > p { max-width: 520px; }
.gallery-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-card { padding: 0; overflow: hidden; }
.gallery-image {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-weight: 700;
  color: #64748b;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}
.roof-bg { background: linear-gradient(145deg, #d7dee8, #edf2f7); }
.fence-bg { background: linear-gradient(145deg, #dce6ef, #f1f5f9); }
.paint-bg { background: linear-gradient(145deg, #dbe4ee, #f8fafc); }
.gallery-copy { padding: 22px; }
.reviews-section {
  background: linear-gradient(145deg, #111827, #0f172a 72%);
  color: #fff;
}
.section-head.narrow { max-width: 520px; }
.reviews-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
}
.review-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.05);
}
.review-card p { color: #cbd5e1; }
.stars {
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: .12em;
}
.quote-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: .95fr 1.05fr;
  align-items: start;
}
.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  font-size: .98rem;
}
.quote-form {
  display: grid;
  gap: 16px;
}
.form-row.two-up {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}
.submit-btn .submit-loading { display: none; }
.submit-btn.is-loading .submit-text { display: none; }
.submit-btn.is-loading .submit-loading { display: inline; }
.form-note { margin: 0; font-size: .92rem; }
code {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px 7px;
  font-size: .9em;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}
.footer-wrap { padding: 34px 0; align-items: flex-start; }
.footer-brand { color: var(--text); }
.footer-contact { text-align: right; }
.footer-contact a { font-weight: 700; }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible,
.visible-on-load {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, #f8fafc, #fff);
}
.success-card {
  width: min(680px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 32px;
  padding: 42px;
  text-align: center;
}
.success-card h1 { margin-top: 0; font-size: clamp(2rem, 1.5rem + 1vw, 3rem); }
.success-card p { color: var(--muted); }
@media (max-width: 1024px) {
  .hero-grid,
  .areas-grid,
  .quote-grid,
  .services-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid,
  .areas-grid,
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .nav-wrap,
  .footer-wrap,
  .gallery-head,
  .brand-wrap,
  .footer-brand-wrap { flex-direction: column; align-items: flex-start; }
  .hero-grid { padding: 40px 0 56px; }
  .feature-cards,
  .hero-side,
  .services-grid,
  .gallery-grid,
  .reviews-grid,
  .form-row.two-up {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .footer-contact { text-align: left; }
  .brand-logo { width: 62px; }
}
