:root {
  --cream: #faf6f0;
  --warm-white: #fff9f2;
  --brown: #5c3d2e;
  --gold: #c8973a;
  --muted: #9e8a78;
  --text: #2e1f14;
  --soft: #ede5d8;
}

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

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  background: var(--brown);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
}

.nav-brand {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  padding: 0.9rem 0;
  text-decoration: none;
  flex: 1;
  margin-right: 1rem;
  /* Clamp to avoid overflow on mid-size screens */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Animate hamburger → X */
.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); }

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 0.65rem;
  display: block;
  transition: color 0.2s;
  font-weight: 400;
  white-space: nowrap;
}

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

/* ── HERO ── */
.hero {
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(200,151,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em { color: var(--gold); font-style: italic; }

.hero p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(250,246,240,0.8);
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.hero-sm { padding: 3rem 1.5rem; }

/* ── SECTIONS ── */
.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ── MEETING GRID ── */
.meeting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.meeting-card {
  background: var(--warm-white);
  border: 1px solid var(--soft);
  border-radius: 4px;
  padding: 1.75rem;
  position: relative;
}

.meeting-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
}

.meeting-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.meeting-time {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.meeting-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.zoom-info {
  background: var(--soft);
  border-radius: 3px;
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--text);
}

.zoom-info strong { display: block; margin-bottom: 0.3rem; color: var(--brown); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--brown);
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.8rem;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── QUOTE ── */
.quote-block {
  background: var(--brown);
  color: var(--cream);
  padding: 3rem 1.5rem;
  text-align: center;
}

.quote-block blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: rgba(250,246,240,0.92);
}

/* ── STEPS LIST ── */
.steps-list {
  counter-reset: steps;
  list-style: none;
}

.steps-list li {
  counter-increment: steps;
  padding: 1.25rem 1rem 1.25rem 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--soft);
  font-size: 0.95rem;
}

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

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

/* ── PHONE GRID ── */
.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.phone-item {
  background: var(--warm-white);
  border: 1px solid var(--soft);
  padding: 0.6rem 1rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

.phone-item strong { display: block; color: var(--brown); font-size: 0.8rem; font-weight: 500; }

/* ── CONTACT ── */
.contact-box {
  background: var(--warm-white);
  border: 1px solid var(--soft);
  border-radius: 4px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 500px;
  margin: 2rem auto 0;
}

.contact-box a { color: var(--gold); font-weight: 500; }

/* ── MISC ── */
.donar-note {
  background: var(--soft);
  border-radius: 4px;
  padding: 1.75rem;
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 1.5rem;
}

.sitios-card {
  background: var(--warm-white);
  border: 1px solid var(--soft);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.sitios-card:hover { border-color: var(--gold); }
.sitios-card .arrow { margin-left: auto; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

.faq-item { border-bottom: 1px solid var(--soft); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q { font-weight: 500; color: var(--brown); margin-bottom: 0.5rem; }
.faq-a { color: var(--muted); font-size: 0.9rem; }

/* ── FOOTER ── */
footer {
  background: var(--brown);
  color: rgba(250,246,240,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

footer a { color: var(--gold); text-decoration: none; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Show hamburger, hide inline links */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--brown);
    border-top: 1px solid rgba(200,151,58,0.3);
    padding: 0.5rem 0 1rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: normal;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .hero {
    padding: 2.5rem 1.25rem 2.5rem;
  }

  .hero-sm {
    padding: 2.5rem 1.25rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .meeting-grid {
    grid-template-columns: 1fr;
  }

  .phone-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .steps-list li {
    padding-left: 3rem;
  }

  .contact-box {
    padding: 1.75rem 1.25rem;
  }

  .donar-note {
    padding: 1.25rem;
  }
}

@media (max-width: 400px) {
  .nav-brand {
    font-size: 0.85rem;
  }

  .phone-grid {
    grid-template-columns: 1fr 1fr;
  }
}
