/* ============================================================
   Crabapple Roofing Contractors — Style System
   ============================================================ */

:root {
  --dark: #141a26;
  --dark-surface: #1b2233;
  --primary: #a63d20;
  --primary-hover: #c04928;
  --primary-dim: rgba(166, 61, 32, 0.15);
  --accent: #c9a84c;
  --accent-hover: #d4b35a;
  --accent-dim: rgba(201, 168, 76, 0.12);
  --cream: #f3eee7;
  --cream-dark: #e6ded3;
  --white: #ffffff;
  --text-dark: #1d1d1d;
  --text-mid: #5a5651;
  --text-light: #cec7bc;
  --text-on-dark: #e4dfd8;
  --text-on-primary: #fff;
  --nav-height: 72px;
  --section-pad: 100px;
  --max-w: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font: inherit; }

/* ---- Typography ---- */
.h-display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h-section {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.label-sm {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(20, 26, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-phone {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--white); }
.nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-brand { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 32px clamp(20px, 4vw, 48px);
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) clamp(20px, 4vw, 48px) 0;
}

/* Diagonal roof-line texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -25deg,
      transparent,
      transparent 48px,
      rgba(201, 168, 76, 0.035) 48px,
      rgba(201, 168, 76, 0.035) 49px
    ),
    repeating-linear-gradient(
      25deg,
      transparent,
      transparent 48px,
      rgba(201, 168, 76, 0.035) 48px,
      rgba(201, 168, 76, 0.035) 49px
    );
  pointer-events: none;
}

/* Warm radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(166, 61, 32, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

/* Secondary glow - top left */
.hero-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 100px;
}
.hero-label {
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  color: var(--text-light);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero right panel - architectural accent */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-accent-block {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  position: relative;
}
/* Layered geometric panels evoking roof angles */
.hero-accent-block::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 0;
  bottom: 10%;
  background: var(--dark-surface);
  border: 1px solid rgba(201, 168, 76, 0.08);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}
.hero-accent-block::after {
  content: '';
  position: absolute;
  top: 5%;
  left: 0;
  width: 75%;
  bottom: 15%;
  background: linear-gradient(135deg, rgba(166, 61, 32, 0.2), rgba(166, 61, 32, 0.05));
  border: 1px solid rgba(166, 61, 32, 0.15);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}
.hero-accent-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}
.hero-accent-inner .big-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.8;
}
.hero-accent-inner .big-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-inner { padding-bottom: 80px; }
}

/* Roof peak divider */
.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 3;
}
.hero-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 4px 20px rgba(166, 61, 32, 0.35);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 28px rgba(166, 61, 32, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn-accent {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-surface);
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 4;
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  color: var(--text-on-primary);
  flex: 1;
  min-width: 140px;
}
.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

@media (max-width: 560px) {
  .stat-item { min-width: 50%; padding: 20px 12px; }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section--cream { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.section-label {
  color: var(--primary);
  margin-bottom: 16px;
}
.section--dark .section-label { color: var(--accent); }

.section-heading {
  margin-bottom: 20px;
}
.section--dark .section-heading { color: var(--white); }

.section-intro {
  max-width: 600px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 56px;
}
.section--dark .section-intro { color: var(--text-light); }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}
.about-highlight {
  padding: 28px 32px;
  background: var(--white);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
}
.about-highlight-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.about-highlight p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

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

/* ============================================================
   Services Grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-2px);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::before { opacity: 1; }
.service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}
.service-card .card-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.service-card:hover .card-arrow { color: var(--white); }

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

/* ============================================================
   Process
   ============================================================ */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.process-step {
  counter-increment: step;
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--cream-dark);
}
.process-step-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.process-step p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

/* ============================================================
   Reviews
   ============================================================ */
.reviews-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.reviews-stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.reviews-meta {
  font-size: 0.9rem;
}
.reviews-meta strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 32px 24px;
}
.review-card .stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-card blockquote {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 18px;
}
.review-card cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 0.6;
}

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

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--dark-surface);
  padding: 80px clamp(20px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -25deg,
      transparent,
      transparent 60px,
      rgba(201, 168, 76, 0.03) 60px,
      rgba(201, 168, 76, 0.03) 61px
    );
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(166, 61, 32, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-banner p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 64px clamp(20px, 4vw, 48px) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  opacity: 0.5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block {
  margin-bottom: 32px;
}
.contact-info-block h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-block p,
.contact-info-block a {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-info-block a:hover { color: var(--primary); }

.contact-form {
  background: var(--white);
  padding: 44px 36px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 4px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Page Header (interior pages)
   ============================================================ */
.page-header {
  background: var(--dark);
  padding: calc(var(--nav-height) + 52px) clamp(20px, 4vw, 48px) 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -25deg,
      transparent,
      transparent 48px,
      rgba(201, 168, 76, 0.025) 48px,
      rgba(201, 168, 76, 0.025) 49px
    );
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(166, 61, 32, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header .label-sm { color: var(--accent); margin-bottom: 16px; }
.page-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 600px;
}
.page-header p {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-top: 16px;
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================================
   Services Detail Page
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.service-detail-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  text-align: right;
  padding-top: 4px;
}
.section--dark .service-detail-num {
  color: var(--accent);
  opacity: 0.15;
}
.service-detail-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section--dark .service-detail-body h2 { color: var(--white); }
.service-detail-body p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-detail-body ul { margin-top: 8px; }
.service-detail-body li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.65;
}
.service-detail-body li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-section:nth-child(odd) { background: var(--cream); }
.service-section:nth-child(even) { background: var(--dark); color: var(--text-on-dark); }
.service-section:nth-child(even) .service-detail-body p { color: var(--text-light); }
.service-section:nth-child(even) .service-detail-body li { color: var(--text-light); }

@media (max-width: 768px) {
  .service-detail { grid-template-columns: 1fr; gap: 12px; }
  .service-detail-num { font-size: 3rem; text-align: left; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Area badges
   ============================================================ */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.area-tag {
  padding: 8px 18px;
  background: var(--cream-dark);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
}
