/* =========================================================
   MAITRI HOME SERVICES — DESIGN TOKENS (v2, elegant pass)
   Deeper, quieter forest greens; a warmer antique-gold accent;
   a serif display face (Fraunces) for a calmer, more considered
   feel than the original rounded display face. Category colours
   are slightly muted so they read as accents, not confetti.
   ========================================================= */

:root {
  /* --- Core brand (deepened, less saturated) --- */
  --forest-950: #0b1f16;
  --forest-900: #10301f;
  --forest-800: #163e28;
  --forest-700: #1d4d33;
  --green-600: #2f6b47;
  --green-500: #3c8557;
  --green-400: #5a9c6f;
  --green-200: #c3ddc8;
  --green-100: #e7f1e6;

  --gold-600: #a8792f;
  --gold-500: #c69a4c;
  --gold-400: #d9b06a;
  --gold-100: #f7ecd7;

  /* --- Category accents (muted, jewel-toned rather than bright) --- */
  --cat-clean: #3c8557;
  --cat-cook: #c17f3f;
  --cat-repair: #3568b0;
  --cat-beauty: #8b5fb0;
  --cat-care: #c26f92;
  --cat-driver: #24827a;

  /* --- Neutrals (warmer, quieter paper) --- */
  --paper: #faf7f1;
  --paper-dim: #f1ece1;
  --ink-900: #16201a;
  --ink-700: #45524a;
  --ink-500: #74807a;
  --line: #e2dbc9;
  --line-soft: #ece6d8;
  --white: #ffffff;

  /* --- Type --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;

  /* --- Shape / motion --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.25,.8,.4,1);

  /* --- Elevation: layered, low-contrast shadows for a quieter look --- */
  --shadow-xs: 0 1px 2px rgba(16,32,22,.05);
  --shadow-sm: 0 1px 3px rgba(16,32,22,.06), 0 4px 10px -6px rgba(16,32,22,.08);
  --shadow-card: 0 2px 6px rgba(16,32,22,.05), 0 16px 32px -18px rgba(16,32,22,.16);
  --shadow-lift: 0 8px 16px -8px rgba(16,32,22,.16), 0 30px 50px -24px rgba(16,32,22,.22);
  --shadow-soft: 0 14px 40px -18px rgba(16,48,31,.35);
  --shadow-gold: 0 10px 26px -12px rgba(166,121,47,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  line-height: 1.1;
  margin: 0;
  color: var(--forest-950);
  letter-spacing: -0.012em;
}

h1 { font-weight: 480; }

em, .accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  color: var(--green-600);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold-100); color: var(--forest-950); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.eyebrow::after {
  content: "";
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), background .25s;
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  background: linear-gradient(155deg, var(--green-500) 0%, var(--forest-800) 100%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.btn-primary::after {
  /* Gold foil-sweep on hover — reinforces gold as a "premium seal"
     rather than just an accent color. */
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease-soft);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(16,48,31,.45); }

.btn-ghost {
  background: var(--white);
  color: var(--forest-800);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.btn-block { width: 100%; }

.section {
  padding: 108px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 16px;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-700);
  line-height: 1.65;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.pill-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
}

/* hairline divider — a quiet, elegant section separator */
.hairline {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
