/* ============================================================
   CleanTella.com — Stylesheet
   Typography: Playfair Display (display) + DM Sans (body) + IBM Plex Mono (stats)
   Palette: Warm White #FFFDF8 · Sand #F5F0E8 · Deep Forest #1B3A2D
            Warm Amber #E8A838 · Soft Sage #7BAF8E · Charcoal #2C2C2C
   ============================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2C2C;
  background: #FFFDF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .35s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(232, 168, 56, .2);
  color: #1B3A2D;
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1B3A2D;
}

h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
}

p {
  max-width: 62ch;
}

.label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9B9485;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
}

.accent-text {
  color: #E8A838;
}

.sage-text {
  color: #7BAF8E;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 36px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

.section-gap {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .section-gap {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8A838;
  margin-bottom: 16px;
}

/* ============================================================
   4. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .25s; }
.reveal-delay-4 { transition-delay: .35s; }
.reveal-delay-5 { transition-delay: .45s; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(27, 58, 45, .06),
    0 4px 16px rgba(27, 58, 45, .04);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  color: #1B3A2D;
  letter-spacing: -0.02em;
}

.logo span {
  color: #E8A838;
}

.nav-links {
  display: none;
  gap: 28px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1B3A2D;
  letter-spacing: 0.01em;
  transition: color .35s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8A838;
  border-radius: 1px;
  transition: width .35s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #E8A838;
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  height: 2px;
  background: #1B3A2D;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

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

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================================
   6. MOBILE NAVIGATION
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 253, 248, .98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px 24px 48px;
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 8px 40px rgba(27, 58, 45, .08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #1B3A2D;
  transition: color .35s ease;
  padding: 8px 0;
}

.mobile-nav a:hover {
  color: #E8A838;
}

.mobile-nav .btn {
  margin-top: 20px;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  transition: all .35s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #E8A838;
  color: #fff;
}

.btn-primary:hover {
  background: #D49730;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(232, 168, 56, .3),
    0 8px 24px rgba(232, 168, 56, .15);
}

.btn-outline {
  background: transparent;
  color: #1B3A2D;
  border: 1.5px solid #1B3A2D;
}

.btn-outline:hover {
  background: #1B3A2D;
  color: #FFFDF8;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(27, 58, 45, .2),
    0 8px 24px rgba(27, 58, 45, .1);
}

.btn-white {
  background: #FFFDF8;
  color: #1B3A2D;
  border: 1px solid rgba(27, 58, 45, .08);
}

.btn-white:hover {
  background: #F5F0E8;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(43, 43, 43, .08),
    0 8px 20px rgba(43, 43, 43, .04);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-arrow::after {
  content: '→';
  transition: transform .35s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: #FFFDF8;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Warm decorative blob — top right */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 168, 56, .06) 0%, transparent 70%);
  pointer-events: none;
}

/* Soft sage blob — bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 175, 142, .05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 55% 45%;
    gap: 48px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero .section-label {
  margin-bottom: 20px;
}

.hero h1 {
  color: #1B3A2D;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: #E8A838;
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  color: #6B6560;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Visual Container */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   9. MAC HEALTH METER
   ============================================================ */
.health-meter {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 36px;
  background: #FFFDF8;
  border: 1px solid rgba(27, 58, 45, .08);
  border-radius: 16px;
  box-shadow:
    0 2px 4px rgba(43, 43, 43, .03),
    0 8px 20px rgba(43, 43, 43, .06),
    0 24px 48px rgba(43, 43, 43, .04);
}

.health-meter-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1B3A2D;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.health-meter-subtitle {
  font-size: 13px;
  color: #9B9485;
  margin-bottom: 32px;
}

.health-bar {
  margin-bottom: 24px;
}

.health-bar:last-child {
  margin-bottom: 0;
}

.health-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.health-bar-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #2C2C2C;
}

.health-bar-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
  color: #1B3A2D;
  transition: color .6s ease;
}

.health-bar-value.is-good {
  color: #7BAF8E;
}

.health-bar-track {
  height: 10px;
  background: #F5F0E8;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.health-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1.8s cubic-bezier(.4, 0, .2, 1), background-color 1.2s ease;
  position: relative;
}

/* Initial state: amber/reddish */
.health-bar-fill.performance {
  width: 35%;
  background: #E8A838;
}

.health-bar-fill.storage {
  width: 22%;
  background: #D4654A;
}

.health-bar-fill.security {
  width: 45%;
  background: #E8A838;
}

/* Animated final state: sage green */
.health-bar-fill.performance.animate {
  width: 98%;
  background: #7BAF8E;
}

.health-bar-fill.storage.animate {
  width: 85%;
  background: #7BAF8E;
}

.health-bar-fill.security.animate {
  width: 100%;
  background: #7BAF8E;
}

/* Pulse glow on final state */
.health-bar-fill.animate::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(123, 175, 142, .4));
  border-radius: 0 5px 5px 0;
  animation: healthPulse 2s ease-in-out infinite;
}

@keyframes healthPulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}

.health-meter-caption {
  margin-top: 24px;
  font-size: 12px;
  color: #9B9485;
  text-align: center;
  font-style: italic;
}

/* ============================================================
   10. TRUST BADGES
   ============================================================ */
.trust-badges {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(27, 58, 45, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.trust-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #9B9485;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7BAF8E;
  flex-shrink: 0;
}

/* ============================================================
   11. PROBLEM SECTION — "Why Your Mac Slows Down"
   ============================================================ */
.problem-section {
  background: #F5F0E8;
  position: relative;
}

/* Soft organic divider wave at top */
.problem-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #FFFDF8, transparent);
  pointer-events: none;
}

.problem-header {
  margin-bottom: 64px;
  max-width: 580px;
}

.problem-header p {
  color: #9B9485;
  margin-top: 16px;
  font-size: 17px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 36px;
  padding: 48px 0;
  border-top: 1px solid rgba(27, 58, 45, .08);
}

.problem-item:last-child {
  border-bottom: 1px solid rgba(27, 58, 45, .08);
}

.problem-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(56px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(27, 58, 45, .07);
  padding-top: 4px;
}

.problem-content h3 {
  margin-bottom: 12px;
  color: #1B3A2D;
}

.problem-content p {
  color: #6B6560;
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 599px) {
  .problem-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .problem-number {
    font-size: 48px;
  }
}

/* Stagger on desktop — editorial offset */
@media (min-width: 900px) {
  .problem-item:nth-child(even) {
    padding-left: 80px;
  }
}

/* ============================================================
   12. SERVICES & PRICING
   ============================================================ */
.services-section {
  background: #FFFDF8;
  position: relative;
}

.services-header {
  margin-bottom: 56px;
}

.services-header p {
  color: #9B9485;
  margin-top: 12px;
  font-size: 17px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Service Cards — alternating, NOT grid */
.service-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 32px 28px;
  background: #FFFDF8;
  border: 1px solid rgba(27, 58, 45, .08);
  border-radius: 14px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

@media (min-width: 768px) {
  .service-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 36px 36px;
  }
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(43, 43, 43, .03),
    0 8px 20px rgba(43, 43, 43, .06);
  border-color: rgba(27, 58, 45, .14);
}

/* Featured card — larger, highlighted */
.service-card--featured {
  background: #F5F0E8;
  border-color: #E8A838;
  border-width: 2px;
  padding: 40px 36px;
  position: relative;
}

@media (min-width: 768px) {
  .service-card--featured {
    padding: 48px 44px;
    grid-template-columns: 1fr auto;
  }
}

.service-card--featured:hover {
  border-color: #D49730;
  box-shadow:
    0 4px 12px rgba(232, 168, 56, .1),
    0 12px 32px rgba(232, 168, 56, .08);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 16px;
  background: #E8A838;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
}

.service-card-content h3 {
  margin-bottom: 8px;
  color: #1B3A2D;
}

.service-card-content p {
  color: #6B6560;
  font-size: 15px;
  line-height: 1.65;
}

.service-price-col {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.service-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: #1B3A2D;
  white-space: nowrap;
}

.service-card--featured .service-price {
  font-size: 32px;
  color: #E8A838;
}

.service-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #E8A838;
  white-space: nowrap;
  transition: color .35s ease;
}

.service-cta:hover {
  color: #1B3A2D;
}

/* Alternating card offsets on desktop */
@media (min-width: 900px) {
  .service-card:nth-child(even):not(.service-card--featured) {
    margin-left: 60px;
  }

  .service-card:nth-child(odd):not(.service-card--featured) {
    margin-right: 60px;
  }
}

/* ============================================================
   13. HOW IT WORKS
   ============================================================ */
.steps-section {
  background: #F5F0E8;
}

.steps-header {
  margin-bottom: 64px;
  text-align: center;
}

.steps-header h2 {
  margin-bottom: 12px;
}

.steps-header p {
  color: #9B9485;
  margin: 0 auto;
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* Curved connecting line (desktop) */
@media (min-width: 768px) {
  .steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.666% + 24px);
    right: calc(16.666% + 24px);
    height: 2px;
    background: linear-gradient(90deg, #E8A838, #7BAF8E);
    border-radius: 1px;
  }
}

.step-item {
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .step-item {
    text-align: left;
  }
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1B3A2D;
  color: #E8A838;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .step-number {
    margin: 0 0 24px;
  }
}

.step-item h3 {
  margin-bottom: 10px;
  color: #1B3A2D;
}

.step-item p {
  color: #6B6560;
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .step-item p {
    max-width: 280px;
  }
}

/* ============================================================
   14. DIY TIPS
   ============================================================ */
.tips-section {
  background: #FFFDF8;
}

.tips-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.tips-header h2 {
  margin: 12px 0 16px;
}

.tips-header p {
  color: #6B6560;
  font-size: 17px;
  line-height: 1.7;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tip-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
  padding: 40px 0;
  border-top: 1px solid rgba(27, 58, 45, .08);
}

.tip-item:last-child {
  border-bottom: 1px solid rgba(27, 58, 45, .08);
}

.tip-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: rgba(27, 58, 45, .07);
  padding-top: 2px;
}

.tip-content h3 {
  margin-bottom: 10px;
  color: #1B3A2D;
  font-size: 18px;
}

.tip-content p {
  color: #6B6560;
  font-size: 15px;
  line-height: 1.7;
}

.tip-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  background: rgba(27, 58, 45, .05);
  padding: 2px 8px;
  border-radius: 4px;
  color: #1B3A2D;
  border: 1px solid rgba(27, 58, 45, .06);
}

.tip-content kbd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(27, 58, 45, .12);
  box-shadow: 0 1px 2px rgba(43, 43, 43, .06);
  color: #1B3A2D;
}

@media (max-width: 599px) {
  .tip-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tip-number {
    font-size: 32px;
  }
}

/* Tips CTA Callout */
.tips-cta {
  margin-top: 64px;
  padding: 48px 40px;
  background: #F5F0E8;
  border: 1px solid rgba(27, 58, 45, .08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.tips-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(232, 168, 56, .06) 0%, transparent 60%);
  pointer-events: none;
}

.tips-cta p {
  color: #6B6560;
  font-size: 17px;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 24px;
  position: relative;
  text-align: center;
}

.tips-cta strong {
  color: #1B3A2D;
  font-weight: 600;
}

.tips-cta .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 599px) {
  .tips-cta {
    padding: 32px 24px;
  }
}

/* ============================================================
   15. REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-section {
  background: #F5F0E8;
}

.reviews-header {
  margin-bottom: 56px;
}

/* Masonry-style layout with varying heights */
.reviews-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
  }
}

.reviews-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  background: #FFFDF8;
  border: 1px solid rgba(27, 58, 45, .06);
  border-radius: 16px;
  padding: 36px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(43, 43, 43, .03),
    0 8px 20px rgba(43, 43, 43, .06),
    0 20px 40px rgba(43, 43, 43, .04);
}

.review-card.featured {
  padding: 44px;
}

.review-stars {
  color: #E8A838;
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.review-text {
  font-size: 16px;
  line-height: 1.75;
  color: #2C2C2C;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card.featured .review-text {
  font-size: 19px;
  line-height: 1.7;
}

.review-author {
  font-weight: 600;
  color: #1B3A2D;
  font-size: 15px;
}

.review-role {
  font-size: 13px;
  color: #9B9485;
  margin-top: 3px;
}

@media (max-width: 599px) {
  .review-card {
    padding: 24px;
  }

  .review-card.featured {
    padding: 28px;
  }
}

/* ============================================================
   16. CONTACT FORM
   ============================================================ */
.contact-section {
  background: #FFFDF8;
}

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

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 72px;
  }
}

.contact-form-wrapper h2 {
  margin-bottom: 12px;
}

.contact-form-wrapper > p {
  color: #9B9485;
  margin-bottom: 36px;
  font-size: 16px;
}

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

@media (min-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #1B3A2D;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  padding: 14px 16px;
  border: 1px solid rgba(27, 58, 45, .1);
  border-radius: 10px;
  background: #FFFDF8;
  color: #2C2C2C;
  font-size: 15px;
  transition: border-color .35s ease, box-shadow .35s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #E8A838;
  box-shadow: 0 0 0 3px rgba(232, 168, 56, .12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #C4BDB2;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #D4654A;
  box-shadow: 0 0 0 3px rgba(212, 101, 74, .1);
  animation: formShake .4s ease;
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

.form-error-msg {
  font-size: 12px;
  color: #D4654A;
  font-weight: 500;
  display: none;
}

.form-error-msg.show {
  display: block;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239B9485' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-success {
  padding: 20px 24px;
  background: rgba(123, 175, 142, .1);
  border: 1px solid rgba(123, 175, 142, .25);
  border-radius: 12px;
  color: #1B3A2D;
  font-weight: 500;
  display: none;
  grid-column: 1 / -1;
  animation: fadeInUp .5s ease;
}

.form-success.show {
  display: block;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contact Info — right column */
.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  margin-bottom: 24px;
  color: #1B3A2D;
}

.contact-detail {
  margin-bottom: 24px;
}

.contact-detail .label {
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail p {
  font-size: 16px;
  color: #2C2C2C;
  font-weight: 500;
}

.contact-detail a:hover {
  color: #E8A838;
}

.contact-callout {
  margin-top: 36px;
  padding: 24px;
  background: #F5F0E8;
  border-radius: 12px;
  border: 1px solid rgba(27, 58, 45, .06);
}

.contact-callout p {
  font-size: 15px;
  color: #6B6560;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-callout a {
  font-weight: 600;
  color: #E8A838;
  font-size: 18px;
  transition: color .35s ease;
}

.contact-callout a:hover {
  color: #1B3A2D;
}

/* ============================================================
   17. FAQ ACCORDION
   ============================================================ */
.faq-section {
  background: #F5F0E8;
}

.faq-header {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid rgba(27, 58, 45, .08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1B3A2D;
  cursor: pointer;
  background: none;
  border: none;
  transition: color .35s ease;
}

.faq-question:hover {
  color: #E8A838;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform .3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), padding .4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: #6B6560;
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  background: #1B3A2D;
  padding: 80px 0 40px;
  color: rgba(255, 253, 248, .55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand .logo {
  color: #FFFDF8;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 253, 248, .45);
  margin-bottom: 20px;
  font-style: italic;
}

.footer-contact-item {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact-item a:hover {
  color: #E8A838;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 253, 248, .8);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 253, 248, .45);
  padding: 5px 0;
  transition: color .35s ease;
}

.footer-col a:hover {
  color: #E8A838;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, .08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 253, 248, .3);
}

/* Footer Disclaimer */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 253, 248, .06);
  padding: 20px 0 8px;
  margin-top: 16px;
}

.footer-disclaimer p {
  font-size: 13px;
  color: rgba(255, 253, 248, .35);
  text-align: center;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   19. COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #F5F0E8;
  border-top: 1px solid rgba(27, 58, 45, .08);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 -4px 20px rgba(43, 43, 43, .06);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.cookie-text {
  font-size: 14px;
  color: #6B6560;
}

.cookie-text a {
  color: #E8A838;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* ============================================================
   20. LEGAL PAGES
   ============================================================ */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
  background: #FFFDF8;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 8px;
  color: #1B3A2D;
}

.legal-updated {
  font-size: 14px;
  color: #9B9485;
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #1B3A2D;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #1B3A2D;
}

.legal-content p {
  margin-bottom: 16px;
  color: #2C2C2C;
  font-size: 16px;
  line-height: 1.8;
  max-width: 100%;
}

.legal-content ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
}

.legal-content ul li {
  color: #2C2C2C;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: #E8A838;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .35s ease;
}

.legal-content a:hover {
  color: #1B3A2D;
}

.legal-content strong {
  font-weight: 600;
  color: #1B3A2D;
}

.legal-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  background: rgba(27, 58, 45, .04);
  padding: 2px 6px;
  border-radius: 4px;
  color: #1B3A2D;
}

/* Legal page header — always scrolled appearance */
.legal-header {
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(27, 58, 45, .06),
    0 4px 16px rgba(27, 58, 45, .04);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
}

/* ============================================================
   21. ACCESSIBILITY
   ============================================================ */

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: #E8A838;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  z-index: 10001;
  transition: top .3s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #E8A838;
  outline-offset: 2px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .health-bar-fill {
    transition: none;
  }
}

/* ============================================================
   22. RESPONSIVE
   ============================================================ */

/* --- Small screens (max 599px) --- */
@media (max-width: 599px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .health-meter {
    max-width: 320px;
    padding: 28px 24px;
  }

  .trust-badges {
    gap: 10px 20px;
  }

  .trust-badge {
    font-size: 13px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card--featured {
    padding: 28px 24px;
  }

  .service-price {
    font-size: 22px;
  }

  .service-card--featured .service-price {
    font-size: 26px;
  }

  .steps-header {
    text-align: left;
  }

  .step-item {
    text-align: left;
  }

  .step-number {
    margin: 0 0 20px;
  }

  .contact-grid {
    gap: 40px;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px 0;
  }

  .footer-grid {
    gap: 36px;
  }
}

/* --- Tablet (768px+) --- */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .legal-page {
    padding: 160px 0 100px;
  }
}

/* --- Desktop (900px+) --- */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 55% 45%;
  }
}

/* --- Large screens (1024px+) --- */
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: 80px;
  }

  .problem-item {
    grid-template-columns: 120px 1fr;
    gap: 0 48px;
  }
}

/* --- Extra large (1440px+) --- */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .cookie-banner,
  .mobile-nav {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
