/* ============================================================
   GoYoga — portable static site
   Brand accent kept faithful to the original: #cb8354
   ============================================================ */

:root {
  --clay:        #cb8354;   /* brand accent (original theme color) */
  --clay-dark:   #a5673f;
  --clay-soft:   #e7c7ac;
  --ink:         #2c2620;
  --ink-soft:    #5c5348;
  --sand:        #f7f2ea;
  --sand-2:      #efe7da;
  --white:       #ffffff;
  --line:        #e3d8c8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(44, 38, 32, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin: 0 0 0.6em;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clay);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--clay-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero video, .hero .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(44,38,32,0.72) 0%, rgba(44,38,32,0.35) 55%, rgba(203,131,84,0.25) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 0.4em;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 40ch;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.6em;
}
.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--clay-dark); text-decoration: none; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.about { background: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1 / 1; background: var(--sand-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card-body p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.more-toggle {
  margin-top: 1rem;
  align-self: flex-start;
  background: none;
  border: 0;
  color: var(--clay-dark);
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}
.more-toggle:hover { text-decoration: underline; }
.more-text { display: none; }
.card.open .more-text { display: inline; }

/* ---------- Contact ---------- */
.contact { background: var(--sand-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact-info p { color: var(--ink-soft); max-width: 42ch; }
.contact-detail { margin-top: 1.8rem; }
.contact-detail .label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; color: var(--clay-dark); margin-bottom: 0.25rem;
}
.contact-detail .value { font-size: 1.05rem; color: var(--ink); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 0.4rem; color: var(--ink);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--sand);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(203,131,84,0.45), transparent 70%);
}
.legal-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.2rem); position: relative; z-index: 1; }
.legal-hero .updated { color: var(--clay-soft); font-weight: 600; position: relative; z-index: 1; }

.legal-body { background: var(--white); padding: 64px 0 88px; }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 {
  font-size: 1.45rem; margin-top: 2.4rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body strong { color: var(--ink); }
.callout {
  background: var(--sand);
  border-left: 3px solid var(--clay);
  padding: 1rem 1.3rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 44px 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex; gap: 1rem; align-items: center;
  z-index: 100;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); flex: 1; }
.cookie-banner .cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-banner button {
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; border: 1px solid var(--line);
}
.cookie-banner .accept { background: var(--clay); color: #fff; border-color: var(--clay); }
.cookie-banner .decline { background: transparent; color: var(--ink-soft); }
.cookie-banner.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 24px 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  section { padding: 64px 0; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
