/* ============================================================
   SALT & LIGHT TUTORING — STYLESHEET
   Color Palette:
     Background:  #F5F2EE  (soft warm off-white)
     Warm Beige:  #EDE9E3  (section backgrounds)
     Text Dark:   #2C2420  (headings)
     Text Mid:    #6B5B52  (body text)
     Taupe:       #B5A090  (logo color / accents)
     Gold:        #C8A96E  (warm accent / CTA)
     Gold Light:  #D4B97E  (hover states)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: #F5F2EE;
  color: #6B5B52;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #2C2420;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem);        font-weight: 400; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 500; }

em { font-style: italic; color: #B5A090; }

p { font-weight: 300; font-size: 1.05rem; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 100px 0; }
.bg-warm     { background-color: #EDE9E3; }

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.1rem;
}

.section-title.left { text-align: left; }

.section-sub {
  color: #8A7268;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #C8A96E;
  color: #fff;
}
.btn-primary:hover {
  background-color: #B5956A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.3);
}

.btn-ghost {
  background-color: transparent;
  color: #2C2420;
  border: 1px solid #C8A96E;
}
.btn-ghost:hover {
  background-color: #C8A96E;
  color: #fff;
}

.btn-large { padding: 1.1rem 3rem; font-size: 0.9rem; }

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(245, 242, 238, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(181, 160, 144, 0.18);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

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

.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B5B52;
  transition: color 0.2s;
}
.nav-links a:hover { color: #C8A96E; }

.nav-cta {
  background-color: #C8A96E !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  transition: background-color 0.25s ease !important;
}
.nav-cta:hover { background-color: #B5956A !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #2C2420;
  transition: all 0.3s ease;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 0;
  background-color: #F5F2EE;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96E;
  margin-bottom: 1.2rem;
}

.hero-headline {
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #8A7268;
  max-width: 520px;
  margin-bottom: 2.4rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  opacity: 0.92;
}

.hero-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(181, 160, 144, 0.3), transparent);
}

/* ── SERVICES ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(181, 160, 144, 0.2);
  border-radius: 4px;
  padding: 2.8rem 2.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 36, 32, 0.07);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: #C8A96E;
  margin-bottom: 1.6rem;
}
.card-icon svg { width: 100%; height: 100%; }

.card-title { margin-bottom: 0.9rem; }

.card-body { color: #8A7268; line-height: 1.8; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(to right, #C8A96E, rgba(200, 169, 110, 0.3), #C8A96E);
}

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

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: #C8A96E;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  position: relative;
  z-index: 1;
}

.step-connector { display: none; }

.step-title { margin-bottom: 0.8rem; }
.step-body  { color: #8A7268; font-size: 1rem; }

/* ── METHOD ───────────────────────────────────────────────── */
.method-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.method-body {
  color: #8A7268;
  margin-bottom: 1.2rem;
  line-height: 1.85;
}

.method-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 3.5rem;
}

.pillar {
  background: #EDE9E3;
  border-left: 3px solid #C8A96E;
  padding: 1.6rem 1.4rem;
  border-radius: 0 4px 4px 0;
}

.pillar-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2C2420;
  margin-bottom: 0.5rem;
}

.pillar p { font-size: 0.92rem; color: #8A7268; line-height: 1.6; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: #fff;
  border-radius: 4px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(181, 160, 144, 0.2);
  position: relative;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: #C8A96E;
  line-height: 1;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.testimonial-text {
  color: #6B5B52;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
  font-style: italic;
}

.testimonial-author { border-top: 1px solid rgba(181, 160, 144, 0.2); padding-top: 1rem; }

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2C2420;
  letter-spacing: 0.04em;
}

.author-detail {
  display: block;
  font-size: 0.82rem;
  color: #B5A090;
  margin-top: 0.2rem;
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section { background-color: #F5F2EE; }

.cta-inner {
  max-width: 780px;
  text-align: center;
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-sub {
  color: #8A7268;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* Form */
.cta-form {
  text-align: left;
  background: #fff;
  border: 1px solid rgba(181, 160, 144, 0.2);
  border-radius: 4px;
  padding: 2.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full-width { margin-bottom: 1.5rem; }

label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B5B52;
}

input, select, textarea {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #2C2420;
  background: #F5F2EE;
  border: 1px solid rgba(181, 160, 144, 0.3);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: #C8A96E;
  background: #fff;
}

input::placeholder, textarea::placeholder { color: #C4B4AB; }

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

select { appearance: none; cursor: pointer; }

.form-submit { text-align: center; margin-top: 0.5rem; }

/* Success message */
.form-success {
  padding: 3rem;
  text-align: center;
}

.success-icon {
  font-size: 2rem;
  color: #C8A96E;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.form-success p { color: #8A7268; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background-color: #2C2420;
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(1.15) saturate(0.6) sepia(0.2);
  opacity: 0.75;
  margin: 0 auto;
  border-radius: 3px;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B5A090;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #C8A96E; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245, 242, 238, 0.3);
  margin-top: 0.5rem;
}

/* ── SCROLL REVEAL ANIMATION ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .method-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .method-pillars { padding-top: 0; }
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(245, 242, 238, 0.98);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(181, 160, 144, 0.2);
    padding: 1rem 0 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.9rem 2rem;
    width: 100%;
    text-align: center;
  }
  .nav-cta { margin: 0.5rem 2rem 0; width: calc(100% - 4rem); text-align: center; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-logo-wrap { order: -1; }
  .hero-logo { max-width: 260px; margin: 0 auto; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Steps */
  .steps-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .steps-row::before { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Method pillars */
  .method-pillars { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero { padding-top: 110px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}
