/* ============================================================
   Paathway2Yoga — style.css
   Earthy, calm, mobile-first. No frameworks, no build step.
   Palette: sage green · warm beige · terracotta · off-white
   ============================================================ */

:root {
  --cream: #FAF7F1;        /* page background */
  --beige: #F1EAE0;        /* alternate section background */
  --sand: #E7DCC9;         /* deeper beige, borders on beige */
  --sage: #7D8F69;         /* brand green */
  --sage-deep: #5C6F52;    /* darker green, hovers */
  --sage-tint: #E9EEDF;    /* pale green fills, chips */
  --ink: #2E3A2A;          /* near-black green, headings/body */
  --ink-soft: #55614C;     /* secondary text */
  --terra: #BC6A4A;        /* terracotta accent */
  --terra-deep: #99512F;   /* terracotta buttons (AA on white text) */
  --wa: #128C7E;           /* WhatsApp teal (AA with white) */
  --wa-bright: #25D366;    /* WhatsApp brand green, FAB only */
  --line: #E4DCCD;         /* hairlines on cream */
  --radius: 16px;
  --shadow: 0 6px 24px rgba(46, 58, 42, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset (lite) ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 550;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 2.4vw, 1.45rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: min(1120px, 92%); margin-inline: auto; }
.container-narrow { width: min(760px, 92%); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.bg-beige { background: var(--beige); }
.bg-sage { background: var(--sage-tint); }
.center { text-align: center; }

.overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 0.7rem;
}
.section-head { max-width: 640px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--ink-soft); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--terra-deep); color: #fff; }
.btn-primary:hover { background: #7E401F; color: #fff; }
.btn-outline { background: transparent; color: var(--sage-deep); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage-tint); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; display: inline-flex; align-items: center; gap: 0.55rem; }
.btn-wa:hover { background: #0E6E63; color: #fff; }
.btn-wa svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.25rem; letter-spacing: -0.01em; white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--terra-deep); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: ""; display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav { display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.4rem); }
.site-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: 0.97rem; padding: 0.35rem 0.15rem;
}
.site-nav a:hover { color: var(--terra-deep); }
.site-nav a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--terra); }
.site-nav a.nav-cta {
  background: var(--terra-deep); color: #fff;
  padding: 0.5rem 1.15rem; border-radius: 999px; box-shadow: none;
}
.site-nav a.nav-cta:hover { background: #7E401F; }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.4rem 4% 1rem;
    box-shadow: var(--shadow);
  }
  .site-nav a { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a.active { box-shadow: none; color: var(--terra-deep); }
  .site-nav a.nav-cta { margin-top: 0.9rem; text-align: center; border-bottom: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(2.6rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.hero-chips li {
  background: var(--sage-tint); color: var(--sage-deep);
  font-size: 0.86rem; font-weight: 700;
  padding: 0.38rem 0.85rem; border-radius: 999px; margin: 0;
}

/* ---------- Placeholder images ---------- */
.ph { position: relative; margin: 0; }
.ph img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.ph-badge {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(46, 58, 42, 0.82); color: #FAF7F1;
  font-size: 0.72rem; font-weight: 600; line-height: 1.3;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  max-width: calc(100% - 20px);
}
/* ✏️ WHEN REAL PHOTOS ARE IN PLACE:
   remove the two comment markers around the rule below to hide
   every "Placeholder" badge across the whole site in one step. */
/*
.ph-badge { display: none; }
*/

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid-2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: 0 2px 10px rgba(46, 58, 42, 0.04);
}
.bg-beige .card { border-color: var(--sand); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .card-link { font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sage-tint); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.95rem;
}
.card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terra-deep); background: #F6E7DE;
  padding: 0.18rem 0.6rem; border-radius: 999px; margin-bottom: 0.7rem;
}

/* ---------- Tables (schedule / pricing) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 560px; }
table.data caption {
  text-align: left; font-weight: 700; padding: 1rem 1.2rem 0.4rem;
  font-family: var(--font-head); font-size: 1.15rem;
}
table.data th, table.data td { text-align: left; padding: 0.8rem 1.2rem; border-top: 1px solid var(--line); vertical-align: top; }
table.data thead th {
  border-top: none; background: var(--sage-tint); color: var(--sage-deep);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
table.data tbody tr:nth-child(even) { background: #FCFAF6; }
.note {
  font-size: 0.9rem; color: var(--ink-soft);
  background: var(--sage-tint); border-radius: 10px;
  padding: 0.7rem 1rem; margin-top: 0.9rem;
}
.note-warn { background: #F6E7DE; color: #7E401F; }

/* ---------- Schedule strip (home) ---------- */
.slots { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.1rem; text-align: center;
}
.slot .slot-time { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.slot .slot-label { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.25rem; }
.slot-accent { background: var(--sage-tint); border-color: var(--sage); }

/* ---------- Quote / testimonial cards ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative;
}
.quote-card::before {
  content: "\201C"; font-family: var(--font-head);
  font-size: 3rem; line-height: 1; color: var(--terra);
  display: block; margin-bottom: 0.4rem;
}
.quote-card p { color: var(--ink-soft); font-size: 0.99rem; }
.quote-card .quote-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; margin-top: 0.9rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0; margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 1.2rem;
  list-style: none; position: relative; padding-right: 2.6rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--terra-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* ---------- Bands / callouts ---------- */
.band {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 5vw, 3.2rem);
  background: var(--sage-tint);
  border: 1px solid #D8E0C6;
}
.band-terra { background: #F6E7DE; border-color: #EBD2C2; }
.band h2 { margin-bottom: 0.8rem; }
.band p { color: var(--ink-soft); max-width: 62ch; }
.band .btn-row { margin-top: 1.3rem; }

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; list-style: none; margin: 1.2rem 0; }
.area-chips li { margin: 0; }
.area-chips a {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  color: var(--sage-deep); text-decoration: none; font-weight: 700; font-size: 0.9rem;
  padding: 0.42rem 0.95rem; border-radius: 999px;
}
.area-chips a:hover { border-color: var(--sage); background: var(--sage-tint); }
.area-block { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.area-block h3 { margin-bottom: 0.45rem; }
.area-block p { color: var(--ink-soft); max-width: 70ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .full { grid-column: 1 / -1; }
}
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field .req { color: var(--terra-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #CFC6B4; border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(125, 143, 105, 0.35); border-color: var(--sage);
}
.form .btn { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.hp-field { display: none !important; }

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.9rem; }
.info-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; stroke: var(--sage-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.map-embed {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--beige);
}
.map-embed iframe { width: 100%; height: 340px; border: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid .ph img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-cap { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.45rem; }

/* ---------- Blog ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.post-card h3 { font-size: 1.22rem; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--terra-deep); }
.post-meta { font-size: 0.84rem; color: var(--ink-soft); }
.post-card p { color: var(--ink-soft); font-size: 0.96rem; }

.prose { width: min(720px, 92%); margin-inline: auto; }
.prose h2 { margin: 2.2rem 0 0.8rem; font-size: 1.55rem; }
.prose h3 { margin: 1.7rem 0 0.6rem; }
.prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose .post-meta { margin-bottom: 2rem; }
.breadcrumbs { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--ink-soft); }
.author-box {
  display: flex; gap: 1rem; align-items: center;
  background: var(--sage-tint); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; margin-top: 2.5rem;
}
.author-box .ph { width: 72px; flex: none; }
.author-box .ph img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: none; }
.author-box p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.author-box strong { color: var(--ink); }
.disclaimer { font-size: 0.85rem; color: var(--ink-soft); border-left: 3px solid var(--sand); padding-left: 1rem; margin-top: 2rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.3rem; margin: 0;
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--terra-deep); color: #fff; font-weight: 700;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.steps p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9DFCF; margin-top: clamp(2rem, 6vw, 4rem); }
.site-footer a { color: #EDF1E4; }
.site-footer a:hover { color: #E8B69B; }
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; } }
.site-footer h3 {
  color: #fff; font-size: 0.85rem; font-family: var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.site-footer p { font-size: 0.95rem; }
.brand-footer { color: #fff; margin-bottom: 0.9rem; }
.brand-footer .brand-text em { color: #E8B69B; }
.footer-areas { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 1.6rem 0; }
.footer-areas p { font-size: 0.92rem; color: #BFC8AF; max-width: 90ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.2rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  justify-content: space-between; font-size: 0.85rem; color: #A9B398;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-bright);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab:hover { background: #1EBE5A; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.small { font-size: 0.88rem; color: var(--ink-soft); }
.two-col { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.divider { border: none; border-top: 1px solid var(--line); margin: clamp(2rem, 5vw, 3.2rem) 0; }

/* 404 */
.err-wrap { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.err-wrap h1 { margin-bottom: 0.8rem; }

/* ---------- Real logo assets ---------- */
.brand img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.img-crop-wide { aspect-ratio: 16 / 11; object-fit: cover; }
.gallery-grid .ph img { aspect-ratio: 4 / 3; object-fit: cover; }
