:root {
  --brand: #1D3557;
  /* navy */
  --accent: #2A9D8F;
  /* teal */
  --bg: #fafafa;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 4.2vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.75;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.fine {
  color: var(--muted);
  font-size: .95rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: #f5f7fb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.nav {
  display: flex;
  gap: 22px;
  justify-self: end;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  opacity: .85;
}

.nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

.header-cta {
  display: inline-flex;
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
  }

  .nav.open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand), #0f2747);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #cbd5e1;
}

/* Hero background */
.hero-bg {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/cleaning-supply-wood-flatlay_1200x1200.webp') center/cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 19, 33, .45), rgba(13, 19, 33, .35));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.hero-content h1 {
  color: #fff;
}

.hero-content .lead {
  color: #e5e7eb;
}

.cta-group {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.trust-badges {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  color: #e5e7eb;
  padding: 0;
  list-style: none;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card .content {
  padding: 18px;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.estimator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimator label,
.estimator fieldset {
  display: grid;
  gap: 8px;
}

.estimator select,
.estimator input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.addons {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  align-items: center;
}

.price {
  grid-column: 4;
  justify-self: end;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .estimator {
    grid-template-columns: 1fr 1fr;
  }

  .price {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .estimator {
    grid-template-columns: 1fr;
  }

  .price {
    grid-column: 1;
    justify-self: start;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #cbd5e1, #94a3b8);
}

.stars {
  color: #f59e0b;
  font-weight: 700;
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .grid label {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.contact-aside li {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.legal details>summary {
  cursor: pointer;
  font-weight: 600;
}

.legal details>p {
  margin: 10px 0 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s ease;
}