:root {
  --ink: #15171b;
  --muted: #626b75;
  --line: rgba(21, 23, 27, .13);
  --paper: #f5f1eb;
  --soft: #ece6dc;
  --cream: #fff9f0;
  --dark: #15171b;
  --steel: #27313c;
  --red: #c33f2d;
  --red-dark: #8d2b22;
  --shadow: 0 24px 80px rgba(21, 23, 27, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { letter-spacing: 0; overflow-wrap: break-word; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 235, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(1220px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { font-weight: 950; white-space: nowrap; }
.brand span { color: var(--red); }
.navlinks { display: flex; gap: 18px; align-items: center; font-size: 14px; font-weight: 800; color: #3d464f; }
.navlinks a[aria-current="page"] { color: var(--red); }
.navcta, .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
}
.navcta, .btn.primary { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.btn.ghost { border-color: rgba(255,255,255,.58); color: #fff; }
.btn.outline { border-color: rgba(21,23,27,.24); color: var(--ink); }
.btn.full { width: 100%; }

.hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  background: linear-gradient(180deg, rgba(10,12,15,.05), rgba(10,12,15,.76)), var(--hero);
  background-size: cover;
  background-position: center;
}
.hero.page-hero { min-height: 66vh; }
.hero-copy {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 124px 22px 66px;
  color: #fff;
}
.eyebrow, .kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
}
.eyebrow { color: #ffd2c4; }
.kicker { color: var(--red); }
.hero h1 {
  max-width: 1080px;
  margin: 0 0 20px;
  font-size: clamp(44px, 7.2vw, 94px);
  line-height: .93;
}
.hero.page-hero h1 { max-width: 980px; font-size: clamp(40px, 6vw, 76px); }
.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.metric-strip div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 46px);
  background: var(--paper);
}
.metric-strip strong { font-size: clamp(34px, 4vw, 58px); line-height: .95; }
.metric-strip span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.band { padding: 86px 22px; background: var(--paper); }
.band.soft { background: var(--soft); }
.band.cream { background: var(--cream); }
.wrap { width: min(1220px, 100%); margin: 0 auto; }
.intro, .split, .estimate-layout, .cta-inner, .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.section-head { max-width: 900px; margin-bottom: 34px; }
.intro h2, .section-head h2, .split h2, .estimate-layout h2, .cta h2, .image-split h2 {
  margin: 0;
  font-size: clamp(34px, 5.1vw, 70px);
  line-height: .96;
}
.lead, .section-head p:not(.kicker), .split p:not(.kicker), .estimate-layout p:not(.kicker), .image-split p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card img { width: 100%; height: 285px; object-fit: cover; }
.service-card div { padding: 26px; }
.service-card h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.02; }
.service-card p:not(.kicker) { margin: 0; color: var(--muted); line-height: 1.55; }
.text-link { display: inline-flex; margin-top: 14px; color: var(--red); font-weight: 950; border-bottom: 2px solid currentColor; }

.image-split {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: var(--dark);
  color: #fff;
}
.image-split img { width: 100%; height: 100%; object-fit: cover; }
.image-split div { align-self: center; padding: 70px; }
.image-split p { color: rgba(255,255,255,.74); }
.image-split .text-link { color: #fff; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature, .check-panel, .step-panel, .form-demo, .process, .area-grid article, .contact-cards a {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 58px rgba(21,23,27,.08);
}
.feature, .process, .area-grid article { padding: 26px; }
.feature h3, .process h2, .area-grid h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.05; }
.feature p, .process p, .area-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.check-panel, .step-panel, .form-demo { padding: 30px; background: #fff; display: grid; gap: 16px; }
.check, .step-panel div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.check span {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(195,63,45,.12);
}
.check p, .step-panel p { margin: 6px 0 0; font-weight: 850; line-height: 1.38; }
.step-panel span, .process span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.mini-grid span {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 850;
}
.form-demo label { display: grid; gap: 8px; color: var(--muted); font-weight: 850; }
.form-demo input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 15px;
  font: inherit;
  background: #faf9f7;
  color: var(--ink);
}
.process-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.process span { margin-bottom: 22px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 300px; object-fit: cover; }
.gallery figcaption { display: grid; gap: 5px; padding: 22px; }
.gallery figcaption span { color: var(--muted); }

.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area-grid a { display: inline-flex; margin-top: 16px; color: var(--red); font-weight: 950; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.contact-cards a { padding: 22px; background: #fff; }
.contact-cards strong, .contact-cards span { display: block; }
.contact-cards span { color: var(--muted); margin-top: 6px; }

.cta { padding: 68px 22px; background: var(--cream); }
.cta-inner { padding: 40px; background: #fff; border-radius: 34px; box-shadow: var(--shadow); }
.footer { padding: 36px 22px; background: var(--dark); color: rgba(255,255,255,.68); }
.footer strong { display: block; color: #fff; font-size: 18px; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer-grid { align-items: start; }
.footer-grid div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.notfound { min-height: 72vh; display: grid; place-items: center; }
.notfound h1 { margin: 0 0 18px; font-size: clamp(46px, 7vw, 88px); line-height: .95; }

@media (max-width: 1020px) {
  .nav { flex-wrap: wrap; align-items: flex-start; }
  .navlinks { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .hero { min-height: 76vh; }
  .hero-copy { padding-top: 92px; }
  .intro, .split, .estimate-layout, .cta-inner, .footer-grid, .image-split { grid-template-columns: 1fr; }
  .service-grid, .three, .four, .gallery, .area-grid, .process-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-split { min-height: 0; }
  .image-split img { min-height: 420px; }
  .image-split div { padding: 58px 22px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid div:last-child { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .navcta { display: none; }
  .brand { width: 100%; }
  .navlinks { gap: 14px; font-size: 13px; }
  .hero h1, .hero.page-hero h1 { font-size: 38px; line-height: 1; }
  .hero-copy { padding: 84px 18px 48px; }
  .band { padding: 58px 18px; }
  .actions, .service-grid, .three, .four, .gallery, .area-grid, .process-row, .metric-strip, .mini-grid, .contact-cards { grid-template-columns: 1fr; }
  .actions { display: grid; }
  .btn { width: 100%; }
  .service-card img, .gallery img { height: 235px; }
  .service-card div, .feature, .process, .area-grid article, .check-panel, .step-panel, .form-demo { padding: 22px; }
  .intro h2, .section-head h2, .split h2, .estimate-layout h2, .cta h2, .image-split h2 { font-size: 34px; }
  .lead, .section-head p:not(.kicker), .split p:not(.kicker), .estimate-layout p:not(.kicker), .image-split p { font-size: 17px; }
  .image-split img { min-height: 300px; }
  .cta-inner { padding: 26px; border-radius: 24px; }
}

/* AI demo chat widget */
.chat-widget{position:fixed;left:22px;bottom:22px;z-index:120;font-family:inherit}.chat-bubble{width:64px;height:64px;border:0;border-radius:50%;background:#c8242f;color:#fff;font-weight:900;box-shadow:0 18px 45px rgba(200,36,47,.28);cursor:pointer}.chat-panel{position:absolute;left:0;bottom:78px;width:min(360px,calc(100vw - 32px));max-height:620px;display:none;overflow:hidden;border:1px solid rgba(19,24,32,.12);border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.2)}.chat-panel.open{display:block}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:linear-gradient(135deg,#111827,#c8242f);color:#fff}.chat-header strong{font-size:.96rem;color:#fff}.chat-header button{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:1.2rem;cursor:pointer}.chat-messages{max-height:390px;overflow:auto;padding:18px;background:linear-gradient(180deg,#fff 0%,#f7f8fb 100%)}.chat-msg{padding:13px 14px;border-radius:14px;font-size:.94rem;line-height:1.45}.chat-msg.bot{background:#fff;border:1px solid rgba(19,24,32,.12);color:#131820;margin-right:auto;max-width:88%;margin-bottom:10px}.chat-msg.user{margin-left:auto;background:#c8242f;color:#fff;max-width:82%;margin-bottom:10px}.demo-welcome-actions{display:grid;gap:10px;margin-top:14px}.demo-welcome-actions button{display:flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 14px;font-weight:900;text-align:center;border:1px solid rgba(19,24,32,.12);cursor:pointer;font:inherit;background:#fff;color:#131820}.ai-live-note{font-size:.78rem;line-height:1.35;color:#5f6875;padding:0 18px 14px;background:#f7f8fb}.chat-form{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid rgba(19,24,32,.12)}.chat-form input{min-width:0;flex:1;border:1px solid rgba(19,24,32,.12);border-radius:999px;padding:11px 13px;font:inherit}.chat-form button{border:0;border-radius:999px;background:#c8242f;color:#fff;font-weight:900;padding:0 16px;cursor:pointer}
@media(max-width:640px){.chat-widget{left:16px;bottom:18px}.chat-bubble{width:58px;height:58px}.chat-panel{bottom:70px}}
