:root {
  --ink: #17211c;
  --muted: #5d6b63;
  --paper: #fbfaf5;
  --mist: #eef4ee;
  --sage: #5f7f68;
  --sage-dark: #314f3c;
  --amber: #c9873f;
  --line: rgba(23, 33, 28, 0.14);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 32, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-toggle:focus-visible {
  border-radius: 50%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.94);
  box-shadow: 0 10px 30px rgba(18, 32, 24, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 140px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 31, 25, 0.76), rgba(20, 31, 25, 0.44) 42%, rgba(20, 31, 25, 0.04) 82%),
    linear-gradient(0deg, rgba(20, 31, 25, 0.48), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 720px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 570px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--sage-dark);
  box-shadow: 0 16px 34px rgba(26, 56, 37, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 30px clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.trust-band strong {
  display: block;
  color: var(--sage-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.trust-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading p:last-child,
.feature-panel p,
.appointment p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 32, 24, 0.06);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-index {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: stretch;
  background: var(--mist);
}

.feature-panel {
  display: grid;
  align-content: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: rotate(-45deg);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  min-height: 420px;
}

.product-strip article {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.1), rgba(23, 33, 28, 0.74)),
    linear-gradient(135deg, #9fb0a2, #314f3c);
}

.product-strip article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.08), rgba(23, 33, 28, 0.72)),
    linear-gradient(135deg, #d8c6a2, #735b40);
}

.product-strip article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.08), rgba(23, 33, 28, 0.72)),
    linear-gradient(135deg, #9ab2ba, #2e5561);
}

.product-strip span {
  font-weight: 700;
  opacity: 0.82;
}

.product-strip strong {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.appointment {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-full,
.appointment-form .button,
.form-note {
  grid-column: 1 / -1;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.appointment-form input:focus,
.appointment-form select:focus {
  outline: 3px solid rgba(95, 127, 104, 0.22);
  border-color: var(--sage);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--sage-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 44px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p,
.site-footer address {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.7;
}

.footer-brand {
  color: var(--white);
}

@media (max-width: 980px) {
  .section-heading,
  .split-section,
  .appointment {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-strip {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    color: var(--ink);
    background: rgba(251, 250, 245, 0.98);
    box-shadow: 0 18px 30px rgba(18, 32, 24, 0.1);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(20, 31, 25, 0.82), rgba(20, 31, 25, 0.52)),
      linear-gradient(0deg, rgba(20, 31, 25, 0.48), transparent 48%);
  }

  .trust-band,
  .service-grid,
  .product-strip,
  .appointment-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

.wa-float {
  position: fixed;
  z-index: 20;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  animation: wa-pulse 2.5s ease-out infinite;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.12);
  background: #1ebd5a;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  animation: none;
}

.wa-icon {
  transition: transform 200ms ease;
}

.wa-float:hover .wa-icon,
.wa-float:focus-visible .wa-icon {
  transform: rotate(12deg) scale(1.1);
}

.wa-tooltip {
  position: absolute;
  right: 80px;
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: var(--shadow);
}

.wa-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink);
}

.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 520px) {
  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }
  .wa-tooltip { display: none; }
}
