:root {
  --sc-primary: #1f2326;
  --sc-secondary: #343a40;
  --sc-accent: #d98924;
  --sc-accent-dark: #b86d12;
  --sc-bg: #f6f3ee;
  --sc-bg-alt: #eee8df;
  --sc-surface: #ffffff;
  --sc-text: #232629;
  --sc-muted: #6c737a;
  --sc-border: #d9d3ca;
  --sc-heading-font: "Barlow Condensed", Arial, sans-serif;
  --sc-body-font: "Inter", Arial, sans-serif;
  --sc-radius: 1rem;
  --sc-radius-sm: .65rem;
  --sc-shadow: 0 18px 45px rgba(31, 35, 38, .10);
  --sc-shadow-sm: 0 10px 28px rgba(31, 35, 38, .08);
  --sc-transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--sc-text);
  background: var(--sc-surface);
  font-family: var(--sc-body-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sc-accent-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(217, 137, 36, .55); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 2000;
  padding: .75rem 1rem; border-radius: .5rem; background: #fff; color: #111;
  box-shadow: var(--sc-shadow-sm); transition: top var(--sc-transition);
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--sc-heading-font);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
}
h1 { font-size: clamp(3.1rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--sc-bg); }
.section-dark { background: var(--sc-primary); color: #fff; }
.section-title { max-width: 760px; margin-bottom: 2.4rem; }
.section-title.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: .85rem; color: var(--sc-accent-dark); font-size: .82rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .13em;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: #f0b261; }
.lead-muted { color: var(--sc-muted); font-size: 1.08rem; }

.btn-sc {
  --bs-btn-padding-y: .82rem; --bs-btn-padding-x: 1.25rem;
  --bs-btn-font-weight: 800; --bs-btn-border-radius: .65rem;
  --bs-btn-color: #161616; --bs-btn-bg: var(--sc-accent);
  --bs-btn-border-color: var(--sc-accent);
  --bs-btn-hover-color: #111; --bs-btn-hover-bg: #e49b40; --bs-btn-hover-border-color: #e49b40;
  --bs-btn-active-bg: #c77b1d; --bs-btn-active-border-color: #c77b1d;
}
.btn-outline-light-sc {
  color: #fff; border: 1px solid rgba(255,255,255,.68); padding: .82rem 1.25rem;
  border-radius: .65rem; font-weight: 800; transition: all var(--sc-transition);
}
.btn-outline-light-sc:hover { background: #fff; color: var(--sc-primary); border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35,38,41,.08);
}
.navbar { min-height: 78px; }
.navbar-brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--sc-primary); font-size: 1.5rem; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; display: inline-grid; place-items: center; font-size: 2rem; color: var(--sc-accent); }
.nav-link { color: var(--sc-primary); font-weight: 700; font-size: .92rem; }
.nav-link:hover, .nav-link.active { color: var(--sc-accent-dark); }
.navbar-toggler { border: 0; padding: .45rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(217,137,36,.3); }
.offcanvas .nav-link { font-size: 1.08rem; padding: .65rem 0; }

/* Hero */
.hero {
  position: relative; min-height: min(860px, 88vh); display: flex; align-items: center;
  color: #fff; background: var(--sc-primary); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,20,22,.92) 0%, rgba(18,20,22,.76) 46%, rgba(18,20,22,.22) 78%, rgba(18,20,22,.08) 100%);
  z-index: 1;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; max-width: 840px; padding: 6.5rem 0 5rem; }
.hero h1 { margin-bottom: 1.2rem; max-width: 900px; }
.hero-copy { max-width: 700px; color: rgba(255,255,255,.83); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; margin-top: 2.25rem; color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-row i { color: #f0b261; }

/* Stats */
.stats-band { position: relative; z-index: 3; margin-top: -2.6rem; }
.stats-card { background: #fff; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); padding: 1.15rem 1rem; }
.stat-item { padding: .8rem 1rem; text-align: center; border-right: 1px solid var(--sc-border); }
.stat-item:last-child { border-right: 0; }
.stat-number { display: block; font-family: var(--sc-heading-font); font-size: 2.2rem; font-weight: 800; color: var(--sc-primary); line-height: 1; }
.stat-label { color: var(--sc-muted); font-size: .88rem; margin-top: .35rem; }

/* Cards */
.service-card, .benefit-card, .testimonial-card, .trust-card {
  height: 100%; background: #fff; border: 1px solid var(--sc-border); border-radius: var(--sc-radius);
  padding: 1.55rem; transition: transform var(--sc-transition), box-shadow var(--sc-transition), border-color var(--sc-transition);
}
.service-card:hover, .benefit-card:hover, .testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--sc-shadow-sm); border-color: rgba(217,137,36,.45); }
.icon-box {
  width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: .85rem;
  background: #f5e6d3; color: var(--sc-accent-dark); font-size: 1.4rem; margin-bottom: 1rem;
}
.service-card p, .benefit-card p { color: var(--sc-muted); margin-bottom: .85rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--sc-accent-dark); font-weight: 800; font-size: .92rem; }

/* Image panels */
.image-panel { position: relative; min-height: 520px; height: 100%; border-radius: var(--sc-radius); overflow: hidden; box-shadow: var(--sc-shadow-sm); }
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.image-badge { position: absolute; right: 1rem; bottom: 1rem; max-width: 210px; padding: 1rem; background: rgba(255,255,255,.95); border-radius: .8rem; box-shadow: var(--sc-shadow-sm); }
.check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem 1rem; margin: 1.5rem 0; }
.check-item { display: flex; gap: .55rem; align-items: flex-start; font-weight: 700; }
.check-item i { color: var(--sc-accent-dark); margin-top: .15rem; }

/* Projects */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter-btn {
  border: 1px solid var(--sc-border); background: #fff; color: var(--sc-primary); border-radius: 999px;
  padding: .55rem .9rem; font-weight: 800; font-size: .9rem; transition: all var(--sc-transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--sc-primary); color: #fff; border-color: var(--sc-primary); }
.project-card { position: relative; height: 100%; overflow: hidden; border-radius: var(--sc-radius); background: var(--sc-primary); box-shadow: var(--sc-shadow-sm); }
.project-card[hidden] { display: none !important; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 350ms ease; }
.project-card:hover img { transform: scale(1.035); }
.project-meta { position: absolute; inset: auto 0 0 0; padding: 1.25rem; color: #fff; background: linear-gradient(transparent, rgba(18,20,22,.94)); }
.project-meta small { color: #efb364; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-meta h3 { margin: .25rem 0 0; font-size: 1.55rem; }

.case-study { background: var(--sc-primary); color: #fff; border-radius: calc(var(--sc-radius) + .3rem); overflow: hidden; }
.case-study-img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.case-copy { padding: clamp(2rem, 5vw, 4rem); }
.case-copy p { color: rgba(255,255,255,.78); }
.case-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin: 1.25rem 0 1.5rem; }
.case-fact { border: 1px solid rgba(255,255,255,.14); border-radius: .7rem; padding: .8rem; }
.case-fact small { display: block; color: rgba(255,255,255,.6); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }

/* Process */
.process-list { position: relative; }
.process-list::before { content: ""; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 2px; background: #dacfbf; }
.process-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 0 0 1.7rem; }
.process-step:last-child { padding-bottom: 0; }
.step-num { position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--sc-primary); color: #fff; font-family: var(--sc-heading-font); font-size: 1.18rem; font-weight: 800; }
.process-step h3 { margin-bottom: .25rem; }
.process-step p { color: var(--sc-muted); margin: 0; }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--sc-radius) + .35rem); background: var(--sc-primary); color: #fff; padding: clamp(2rem, 5vw, 4rem); }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 54px solid rgba(217,137,36,.12); right: -80px; top: -90px; }
.cta-band > * { position: relative; z-index: 1; }

/* Testimonials */
.stars { color: #d57f17; letter-spacing: .1em; margin-bottom: .75rem; }
.testimonial-card blockquote { margin: 0 0 1rem; color: var(--sc-text); }
.testimonial-card footer { color: var(--sc-muted); font-size: .9rem; }

/* FAQ */
.accordion-item { border: 1px solid var(--sc-border); border-radius: .8rem !important; overflow: hidden; margin-bottom: .75rem; }
.accordion-button { font-weight: 800; background: #fff; color: var(--sc-primary); }
.accordion-button:not(.collapsed) { color: var(--sc-primary); background: #f8f4ee; box-shadow: none; }
.accordion-button:focus { box-shadow: inset 0 0 0 2px rgba(217,137,36,.32); }

/* Form */
.estimate-shell { background: var(--sc-bg); border-radius: calc(var(--sc-radius) + .35rem); overflow: hidden; }
.estimate-intro { background: var(--sc-primary); color: #fff; height: 100%; padding: clamp(2rem, 5vw, 3.5rem); }
.estimate-intro p { color: rgba(255,255,255,.76); }
.estimate-form { padding: clamp(1.5rem, 4vw, 3rem); }
.form-label { font-weight: 800; font-size: .9rem; }
.form-control, .form-select { min-height: 50px; border-color: #cfc7bc; border-radius: .65rem; }
textarea.form-control { min-height: 145px; }
.form-control:focus, .form-select:focus { border-color: var(--sc-accent); box-shadow: 0 0 0 .2rem rgba(217,137,36,.16); }
.form-check-input:checked { background-color: var(--sc-accent-dark); border-color: var(--sc-accent-dark); }
.demo-success { display: none; border: 1px solid #9bc1a6; background: #eff8f1; color: #1f5e2f; border-radius: .8rem; padding: 1rem; }
.demo-success.show { display: block; }

/* Contact/Footer */
.contact-list { display: grid; gap: .9rem; }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-item i { color: var(--sc-accent-dark); font-size: 1.15rem; margin-top: .15rem; }
.site-footer { background: #17191b; color: rgba(255,255,255,.74); padding-top: 4rem; }
.site-footer h3, .site-footer h4 { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a:hover { color: #f0b261; }
.social-links { display: flex; gap: .65rem; margin-top: 1rem; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); }
.footer-bottom { margin-top: 3rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 1020; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sc-accent); color: #111; box-shadow: var(--sc-shadow-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--sc-transition); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Utility */
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .7rem; border-radius: 999px; background: #f5e6d3; color: #75470d; font-weight: 800; font-size: .78rem; }
.muted { color: var(--sc-muted); }

@media (max-width: 991.98px) {
  .section { padding: 4.7rem 0; }
  .hero { min-height: 760px; }
  .hero::before { background: linear-gradient(90deg, rgba(18,20,22,.92) 0%, rgba(18,20,22,.76) 62%, rgba(18,20,22,.48) 100%); }
  .navbar .desktop-cta { display: none; }
  .stats-band { margin-top: -1.8rem; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--sc-border); }
  .image-panel { min-height: 440px; }
  .case-study-img { min-height: 420px; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 72px; }
  .navbar { min-height: 70px; }
  .hero { min-height: auto; }
  .hero-content { padding: 5.5rem 0 4.7rem; }
  .hero::before { background: rgba(18,20,22,.78); }
  .stats-band { margin-top: 0; padding-top: 1rem; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--sc-border); }
  .stat-item:last-child { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .image-panel { min-height: 360px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-study-img { min-height: 330px; }
  .process-list::before { left: 23px; }
  .process-step { grid-template-columns: 48px 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 1rem; }
  .cta-band { text-align: left; }
}

@media (max-width: 575.98px) {
  .section { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.1rem); }
  .hero-actions { display: grid; }
  .hero-actions .btn, .hero-actions .btn-outline-light-sc { width: 100%; text-align: center; }
  .trust-row { display: grid; gap: .65rem; }
  .stats-card { padding-inline: .75rem; }
  .filter-bar { gap: .45rem; }
  .filter-btn { padding: .5rem .75rem; font-size: .82rem; }
  .project-meta { padding: 1rem; }
  .image-badge { right: .75rem; bottom: .75rem; max-width: calc(100% - 1.5rem); }
  .back-to-top { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
