/* ============================================================
   Lila Movement Collective — Brand Stylesheet
   To customize colors: edit the :root variables below.
   ============================================================ */

:root {
  --ink: #1A1A1A;
  --charcoal: #4A4A4A;
  --warm-gray: #8A7B6B;
  --muted: #B8B0A8;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --divider: #E8E2D8;
  --terra: #C47A5A;
  --terra-deep: #9D6248;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: 56px; line-height: 1.1; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p  { font-size: 16px; line-height: 1.75; color: var(--charcoal); }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: var(--cream);
  border-bottom: 0.5px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terra);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 96px 48px;
}

.section.cream  { background: var(--cream); }
.section.white  { background: var(--white); }
.section.dark   { background: var(--ink); color: var(--cream); }
.section.terra  { background: var(--terra); color: var(--cream); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.center { text-align: center; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

.eyebrow.light { color: var(--cream); opacity: 0.85; }

.rule {
  width: 36px;
  height: 1px;
  background: var(--terra);
  margin: 16px 0;
}

.rule.center { margin: 16px auto; }
.rule.light  { background: var(--cream); opacity: 0.6; }

h2.center, h1.center { text-align: center; }

p.light { color: var(--muted); }
p.large { font-size: 18px; }
p.small { font-size: 14px; }
p.italic { font-style: italic; }

p + p { margin-top: 16px; }

p.intro {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 8px;
  margin-top: 8px;
}

.btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
}

.btn.outline {
  background: transparent;
  color: var(--ink);
}

.btn.outline:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn.terra {
  background: var(--terra);
  border-color: var(--terra);
}

.btn.terra:hover {
  background: var(--terra-deep);
  border-color: var(--terra-deep);
}

.btn.invert {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn.invert:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ============================================================
   LAYOUT GRIDS
   ============================================================ */

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

.grid-2-60 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.grid-2-40 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}

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

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

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ============================================================
   IMAGES (placeholders + real images)
   ============================================================ */

.image-block {
  background: var(--cream);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
}

.image-block.tall   { aspect-ratio: 3 / 5; }
.image-block.wide   { aspect-ratio: 5 / 3; }
.image-block.square { aspect-ratio: 1 / 1; }

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
  display: block;
}

/* ============================================================
   CARDS
   ============================================================ */

.service-card .img {
  background: var(--cream);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  overflow: hidden;
}

.service-card .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
  display: block;
}

.service-card .card-rule {
  width: 24px;
  height: 1px;
  background: var(--terra);
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.service-card .link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  transition: opacity 0.2s ease;
}

.service-card .link:hover { opacity: 0.7; }

/* ============================================================
   STEPS (How it works)
   ============================================================ */

.step {
  text-align: center;
}

.step .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--terra);
  font-weight: 400;
}

.step .label {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin: 8px 0 6px;
}

.step .desc {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ============================================================
   PILLARS / FEATURE COLUMNS
   ============================================================ */

.pillar {
  padding-top: 18px;
  border-top: 1px solid var(--terra);
}

.pillar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   PACKAGES (Corporate)
   ============================================================ */

.package {
  background: var(--white);
  padding: 28px;
  border-left: 2px solid var(--terra);
  margin-bottom: 16px;
}

.section.cream .package { background: var(--white); }

.package .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--terra);
  letter-spacing: 1px;
}

.package h3 {
  font-size: 22px;
  margin: 6px 0 12px;
}

.package p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.package .best-for {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--terra);
  text-transform: uppercase;
}

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  text-align: center;
  line-height: 1.5;
  max-width: 720px;
  margin: 24px auto 16px;
}

.attr {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  text-align: center;
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.5;
  border-left: 2px solid var(--terra);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
}

/* ============================================================
   CHECKLIST
   ============================================================ */

.checklist {
  list-style: none;
}

.checklist li {
  font-size: 15px;
  padding: 16px 0 16px 32px;
  position: relative;
  border-bottom: 0.5px solid var(--divider);
  color: var(--charcoal);
  line-height: 1.6;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 16px;
  height: 1px;
  background: var(--terra);
}

/* ============================================================
   WEEK TABLE
   ============================================================ */

.week-table {
  width: 100%;
  border-collapse: collapse;
}

.week-table td {
  padding: 14px 0;
  border-bottom: 0.5px solid var(--divider);
  font-size: 14px;
}

.week-table td:first-child {
  font-family: var(--serif);
  color: var(--ink);
  width: 35%;
  font-size: 17px;
}

.week-table td:last-child {
  color: var(--charcoal);
}

/* ============================================================
   FAQ (uses <details>)
   ============================================================ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  padding: 18px 0;
  border-bottom: 0.5px solid var(--divider);
  cursor: pointer;
}

.faq summary {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--terra);
  font-family: var(--sans);
  font-weight: 300;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
}

/* ============================================================
   FORMS (Netlify Forms compatible)
   ============================================================ */

.form {
  max-width: 520px;
  margin: 0 auto;
}

.form .form-row {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--divider);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

.section.dark .form input,
.section.dark .form select,
.section.dark .form textarea {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: var(--cream);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--terra);
}

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

.form .form-actions {
  margin-top: 24px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 48px 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer h4 {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer p, .footer a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.footer a:hover { color: var(--terra); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 0.5px solid #333;
  font-size: 11px;
  color: #6B6B6B;
  text-align: center;
  letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE — mobile first breakpoints
   ============================================================ */

@media (max-width: 900px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .section { padding: 64px 24px; }
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 24px;
    border-bottom: 0.5px solid var(--divider);
    gap: 20px;
  }
  .nav-toggle { display: block; }

  .grid-2,
  .grid-2-60,
  .grid-2-40,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .btn { padding: 14px 24px; font-size: 10px; }
  .quote { font-size: 20px; }

  /* On 6-card grids, go to 2 columns on tablet */
  @media (min-width: 600px) {
    .grid-6 { grid-template-columns: 1fr 1fr; }
  }
}

/* Page-specific tweaks */
.hero { padding: 120px 48px; min-height: 80vh; display: flex; align-items: center; }
.hero .container { width: 100%; }

@media (max-width: 900px) {
  .hero { padding: 80px 24px; min-height: auto; }
}
