:root,
[data-theme="light"] {
  --bg: #f7f4ef;
  --surface: #fcfaf7;
  --surface-2: #f1ece5;
  --surface-3: #e7dfd4;
  --text: #201d19;
  --muted: #6f675d;
  --primary: #0d6b67;
  --primary-dark: #084d4a;
  --gold: #b88b2e;
  --border: rgba(32, 29, 25, 0.12);
  --shadow: 0 12px 32px rgba(30, 25, 20, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #191715;
  --surface: #201d1a;
  --surface-2: #27231f;
  --surface-3: #322d27;
  --text: #f1ece6;
  --muted: #b7afa4;
  --primary: #5eb4ad;
  --primary-dark: #88ccc7;
  --gold: #d3ac58;
  --border: rgba(241, 236, 230, 0.12);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10000;
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: clamp(3.8rem, 7vw, 7rem) 0;
}

.soft-bg {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

p {
  max-width: 70ch;
  color: var(--text);
}

.page-main {
  padding-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus {
  color: var(--primary);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
}

.hero-slides {
  position: relative;
  min-height: calc(100vh - 82px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 21, 29, 0.78), rgba(8, 21, 29, 0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.hero-content p,
.hero-content h1,
.hero-content h2 {
  color: #fff;
}

.hero-copy {
  max-width: 58ch;
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-indicators {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
}

.indicator.active {
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.full-width {
  width: 100%;
}

.intro-grid,
.two-col-layout,
.contact-layout,
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.stat-grid,
.services-grid {
  display: grid;
  gap: 1.2rem;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.service-card,
.card-surface,
.result-panel,
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat-card,
.service-card,
.result-panel,
.card-surface,
.quote-card {
  padding: 1.5rem;
}

.service-card.accent-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, var(--surface)), var(--surface));
}

.section-head,
.split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1.3rem;
}

.alt-grid {
  grid-template-columns: 1fr 1fr;
}

.feature-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tall-card img {
  aspect-ratio: 4 / 5;
}

.feature-body {
  padding: 1.3rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 4rem 0 1rem;
}

.form-card {
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
}

.result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 600;
}

.success-box {
  min-height: 120px;
  display: flex;
  align-items: center;
}

.rate-list,
.plain-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.rate-list li,
.plain-list li {
  list-style: disc;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.contact-info iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.stacked-media {
  display: grid;
  gap: 1rem;
}

.stacked-media img {
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 1.5rem;
  padding: 2.2rem 0;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .site-nav.active {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-block;
  }

  .intro-grid,
  .two-col-layout,
  .contact-layout,
  .about-layout,
  .footer-grid,
  .feature-grid,
  .stat-grid,
  .services-grid,
  .alt-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .split-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    text-align: center;
  }

  .container {
    width: min(92%, 100%);
  }
}