/* ==========================================================================
   Maruthi Builders — Design System
   ========================================================================== */

:root {
  /* Palette: deep forest ink + warm terracotta/gold on sand */
  --ink: #142019;
  --ink-soft: #1f2f26;
  --ink-fade: #45564c;
  --sand: #f6f1e7;
  --sand-deep: #ece3d1;
  --surface: #ffffff;
  --text: #22291f;
  --muted: #6c6357;
  --line: #ded4bd;
  --terracotta: #bf6a45;
  --terracotta-dark: #a3562f;
  --gold: #c79a4b;
  --gold-soft: #e7d3a1;
  --success: #4c7a5c;

  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 32, 25, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 32, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 32, 25, 0.16);

  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terracotta);
  display: inline-block;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--ink { background: var(--ink); color: #efe9da; }
.section--ink h2, .section--ink h3, .section--ink p.lede { color: #f4efe3; }
.section--ink p { color: #c7bfa9; }
.section--sand-deep { background: var(--sand-deep); }
.section--surface { background: var(--surface); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-fade);
  max-width: 620px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .lede { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  border-color: rgba(20, 32, 25, 0.22);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-on-dark {
  border-color: rgba(239, 233, 218, 0.35);
  color: #efe9da;
}
.btn-on-dark:hover { border-color: #efe9da; }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--terracotta), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--terracotta-dark); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
}
.nav-phone strong { color: var(--ink); font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #efe9da;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(199, 154, 75, 0.28), transparent 45%),
    radial-gradient(circle at 8% 88%, rgba(191, 106, 69, 0.24), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero-copy .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: #fbf7ee; }
.hero-copy p.lede { color: #c7bfa9; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  border-top: 1px solid rgba(239, 233, 218, 0.18);
  padding-top: 28px;
}
.hero-stats .stat-num { font-family: var(--font-head); font-size: 2.1rem; color: var(--gold-soft); }
.hero-stats .stat-label { font-size: 0.8rem; color: #a79c86; letter-spacing: 0.03em; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #26382d, #1a251d 60%, #142019);
  border: 1px solid rgba(239, 233, 218, 0.14);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  background: rgba(20, 32, 25, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(239, 233, 218, 0.18);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-visual-badge div strong { display: block; font-family: var(--font-head); color: var(--gold-soft); font-size: 1.1rem; }
.hero-visual-badge div span { font-size: 0.78rem; color: #c7bfa9; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(6px, 1.8vw, 28px);
  justify-content: space-between;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.62rem, 1.55vw, 0.88rem);
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
}
.trust-item .dot { flex-shrink: 0; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }

/* ==========================================================================
   Cards: services / values / process
   ========================================================================== */

.grid {
  display: grid;
  gap: 26px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(191,106,69,0.16), rgba(199,154,75,0.16));
  color: var(--terracotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta-dark);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold-soft);
  opacity: 0.7;
  display: block;
  margin-bottom: 10px;
}
.section--ink .process-step h3 { color: #f4efe3; }
.process-step p { color: var(--muted); font-size: 0.92rem; }
.section--ink .process-step p { color: #b6ac95; }

/* ==========================================================================
   Projects
   ========================================================================== */

.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--terracotta); }
.filter-btn.is-active { background: var(--ink); color: #efe9da; border-color: var(--ink); }

.project-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.project-card:has(.card-link) { cursor: pointer; }
.project-card .card-link::after { content: ""; position: absolute; inset: 0; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.project-thumb svg { width: 100%; height: 100%; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.project-status.completed { background: rgba(76, 122, 92, 0.9); color: #fff; }
.project-status.ongoing { background: rgba(199, 154, 75, 0.92); color: #22291f; }
.project-status.upcoming { background: rgba(191, 106, 69, 0.92); color: #fff; }

.project-body { padding: 24px 24px 26px; }
.project-loc { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.project-meta {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--ink-fade);
}
.project-meta strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--line);
}
.testimonial-quote { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--terracotta), var(--gold));
  color: #fff; font-weight: 700; font-family: var(--font-head);
}
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { font-size: 0.8rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--terracotta-dark); }

/* ==========================================================================
   Project detail pages
   ========================================================================== */
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.detail-specs > div { padding: 14px 0; border-top: 1px dashed var(--line); }
.detail-specs > div:nth-child(1), .detail-specs > div:nth-child(2) { border-top: none; }
.detail-specs dt { font-weight: 700; color: var(--ink); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 4px; }
.detail-specs dd { margin: 0; color: var(--ink-fade); font-size: 0.9rem; line-height: 1.5; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenity-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.area-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.area-table th, .area-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.area-table th { font-family: var(--font-head); color: var(--ink); background: var(--sand); }
.rera-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sand-deep); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: 0.8rem;
  font-weight: 700; color: var(--ink-soft); margin-bottom: 18px;
}
@media (max-width: 720px) {
  .detail-specs { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #c7bfa9; padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239, 233, 218, 0.12);
}
.footer-brand p { color: #a79c86; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #efe9da; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b6ac95; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8b8271;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--sand);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(191,106,69,0.14);
}
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(76,122,92,0.12);
  border: 1px solid rgba(76,122,92,0.35);
  color: var(--success);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-success.is-visible { display: block; }

.contact-info-card {
  background: var(--ink);
  color: #efe9da;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-card h3 { color: #efe9da; }
.contact-info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(239,233,218,0.12); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .ci-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(199,154,75,0.16); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-row strong { display: block; margin-bottom: 4px; color: #f4efe3; }
.contact-info-row span, .contact-info-row a { color: #b6ac95; font-size: 0.92rem; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--ink);
  color: #efe9da;
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(199,154,75,0.22), transparent 50%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: #a79c86; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-soft); }
.page-hero h1 { color: #fbf7ee; max-width: 760px; }
.page-hero .lede { color: #c7bfa9; }

/* ==========================================================================
   Timeline / values (about page)
   ========================================================================== */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--sand);
  box-shadow: 0 0 0 2px var(--terracotta);
}
.timeline-year { font-family: var(--font-head); color: var(--terracotta-dark); font-size: 1.1rem; margin-bottom: 4px; }

.value-row { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: none; }
.value-num { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); width: 50px; flex-shrink: 0; }

.leader-grid { gap: 28px; }
.leader-card {
  perspective: 1400px;
  cursor: pointer;
}
.leader-card-inner {
  position: relative;
  height: 340px;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.leader-card.is-flipped .leader-card-inner { transform: rotateY(180deg); }
.leader-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px;
  overflow-y: auto;
  transition: border-color 0.25s ease;
}
.leader-card:hover .leader-face--front,
.leader-card:focus-visible .leader-face--front { border-color: var(--terracotta); }
.leader-face--front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.leader-face--front h3 { font-size: 1.7rem; margin-bottom: 6px; }
.leader-face--back { transform: rotateY(180deg); text-align: left; }
.leader-role { color: var(--terracotta-dark); font-weight: 600; font-size: 0.88rem; display: block; margin-bottom: 14px; }
.leader-face--front .leader-role { font-size: 1.05rem; margin-bottom: 0; }
.leader-hint { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }
.leader-face--back p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.leader-face--back p:last-child { margin-bottom: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.faq-q .plus { font-size: 1.4rem; color: var(--terracotta); transition: transform 0.25s ease; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq-item.is-open .faq-a { max-height: 240px; margin-top: 12px; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(199,154,75,0.16);
  color: var(--terracotta-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav drawer */
body.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--sand);
  flex-direction: column;
  padding: 24px 28px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
body.nav-open .nav-phone {
  display: flex;
  position: absolute;
  top: calc(100% + 210px);
  left: 28px;
  text-align: left;
}
