:root {
  --bg: #f4efe5;
  --surface: #fffaf2;
  --surface-strong: #10231c;
  --text: #182119;
  --muted: #576358;
  --line: rgba(24, 33, 25, 0.12);
  --primary: #d96f32;
  --primary-strong: #b7531b;
  --accent: #184c3a;
  --accent-soft: #dbe9e1;
  --shadow: 0 22px 60px rgba(18, 30, 24, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 111, 50, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f1e6 0%, #f4efe5 45%, #fbf8f2 100%);
}

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

button {
  font: inherit;
}

.hero,
.section,
.footer {
  padding-left: 24px;
  padding-right: 24px;
}

.navbar,
.hero-content,
.about-layout,
.service-grid,
.highlight-layout,
.contact-panel,
.footer {
  max-width: var(--container);
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #f09d55);
  box-shadow: var(--shadow);
}

.brand-text {
  max-width: 220px;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.7);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding-top: 0;
  padding-bottom: 48px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  padding-top: 54px;
}

.hero-copy,
.hero-card,
.about-panel,
.checklist,
.service-card,
.highlight-card,
.contact-panel {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 48px;
  border-radius: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-text,
.about-panel p,
.check-item p,
.service-card p,
.highlight-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ee8f4e);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-stats div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(24, 76, 58, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  line-height: 1.5;
}

.hero-card {
  border-radius: 36px;
  padding: 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
}

.card-box {
  min-height: 220px;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 235, 226, 0.9));
  border: 1px solid var(--line);
}

.card-box.accent {
  color: #fff;
  background: linear-gradient(180deg, #1f5d47, #133729);
}

.card-box.wide {
  grid-column: 1 / -1;
  min-height: 160px;
}

.card-box span,
.service-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.card-box.accent span {
  color: #ffd7c0;
}

.card-box h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.card-box p {
  margin: 0;
  line-height: 1.55;
  color: inherit;
  opacity: 0.88;
}

.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
}

.about-panel,
.checklist,
.service-card,
.highlight-card {
  border-radius: var(--radius-lg);
}

.about-panel,
.checklist,
.contact-panel {
  padding: 30px;
}

.checklist {
  display: grid;
  gap: 16px;
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(24, 76, 58, 0.06);
}

.check-item span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent);
}

.service-grid,
.highlight-layout,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  padding: 28px;
}

.service-number {
  font-size: 1.05rem;
}

.highlights {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(217, 111, 50, 0.2), transparent 25%),
    linear-gradient(180deg, #163a2d 0%, #0f261e 100%);
}

.highlights .section-heading,
.highlights .section-heading .eyebrow,
.highlights .section-heading h2,
.highlights p {
  color: inherit;
}

.highlight-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel {
  border-radius: 36px;
}

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.contact-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(24, 76, 58, 0.06);
}

.contact-card p {
  margin-bottom: 0;
}

.footer {
  padding-top: 10px;
  padding-bottom: 32px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-content,
  .about-layout,
  .service-grid,
  .highlight-layout,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 20;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 88px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-copy,
  .hero-card,
  .about-panel,
  .checklist,
  .service-card,
  .highlight-card,
  .contact-panel {
    padding: 24px;
  }

  .hero-stats,
  .about-layout,
  .service-grid,
  .highlight-layout,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    max-width: 170px;
  }
}
