/* ============================================================
   OHSO YOGA — SHARED DESIGN SYSTEM
   Derived from Ohso Yoga Brand Guidelines v2.2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Mulish:wght@400;600;700;800&family=Caveat:wght@500;600&display=swap');

:root {
  --white: #FFFFFF;
  --cream: #F2EBEB;
  --slate: #505359;
  --taupe: #6C534B;
  --blue: #526688;
  --clay: #4A3A33;
  --sky: #8DA3C2;
  --sand: #D9C9B8;

  --rule: rgba(80, 83, 89, 0.18);
  --rule-soft: rgba(80, 83, 89, 0.10);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Mulish", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;

  --page-pad: clamp(20px, 5vw, 96px);
  --measure: 62ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--clay);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--taupe);
  margin: 0 0 0.4em;
  line-height: 1.12;
}

.display {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.display em, h1 em, h2 em {
  font-style: italic;
  color: var(--blue);
}

h2.section-title { font-size: clamp(30px, 4vw, 44px); }
h3.card-title { font-size: 22px; }

p { margin: 0 0 1em; max-width: var(--measure); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); display: inline-block;
}

.script-accent {
  font-family: var(--script);
  font-weight: 600;
  color: var(--taupe);
}

.lede {
  font-size: 19px;
  color: var(--slate);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--taupe); color: var(--cream); }
.btn-primary:hover { background: var(--clay); }
.btn-outline { background: transparent; color: var(--taupe); border-color: var(--taupe); }
.btn-outline:hover { background: var(--taupe); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--taupe); }
.btn-light:hover { background: var(--white); }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.site-nav .logo { display: flex; align-items: center; }
.site-nav .logo img { height: 54px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  font-family: var(--serif); font-style: normal; font-weight: 500;
  font-size: 16px; letter-spacing: 0.01em;
}
.nav-links a { color: var(--slate); }
.nav-links a:hover { color: var(--taupe); }
.nav-links a.active {
  color: var(--taupe);
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 2px;
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--rule); border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  padding: 8px; margin: 6px 0 0; list-style: none;
  min-width: 210px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 60;
}
.nav-dropdown-menu::before {
  content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 6px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 5px;
  font-family: var(--sans); font-style: normal; font-weight: 700;
  font-size: 13px; letter-spacing: 0.02em; color: var(--slate);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: var(--cream); color: var(--taupe); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  background: none; border: none; font-family: var(--sans);
  font-weight: 700; font-size: 13px; color: var(--taupe); cursor: pointer;
  padding: 6px 2px;
}
.nav-toggle-icon {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--taupe);
  transition: background 0.15s ease;
}
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--taupe); transition: transform 0.15s ease;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.site-nav.nav-open .nav-toggle-icon { background: transparent; }
.site-nav.nav-open .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.site-nav.nav-open .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-dropdown-menu { display: none; }
  .site-nav .logo img { height: 40px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 9px 16px; font-size: 12px; }
  .nav-toggle { padding: 6px; gap: 0; }
  .site-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 24px rgba(0,0,0,0.08);
    padding: 8px var(--page-pad) 20px;
  }
  .site-nav.nav-open .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 18px;
  }
  .site-nav.nav-open .nav-links li:last-child a { border-bottom: none; }
  .site-nav.nav-open .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; border-radius: 0;
    background: transparent;
    padding: 0 0 6px 16px;
    margin: 0;
    min-width: 0;
  }
  .site-nav.nav-open .nav-dropdown-menu a {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: none;
    color: var(--slate);
  }
}

@media (max-width: 400px) {
  .nav-toggle { font-size: 0; }
  .nav-cta .btn { padding: 8px 12px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--clay); color: var(--sand);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h5 {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--white); opacity: 0.7; margin-bottom: 16px;
}
.site-footer a { color: var(--sand); display: block; margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.site-footer .foot-logo { font-family: var(--serif); font-size: 26px; color: var(--white); margin-bottom: 12px; }
.foot-bottom {
  max-width: 1200px; margin: 48px auto 0; padding: 24px var(--page-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: var(--sand); opacity: 0.7;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-footer .foot-logo-img { height: 30px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.site-footer .social-row { display: flex; flex-direction: column; gap: 10px; }
.site-footer .social-row a { display: flex; align-items: center; gap: 8px; margin-bottom: 0; }
.site-footer .social-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Consistent page header (title sits at the same height on every interior page) ---------- */
.page-header { padding: 48px 0 0; }
.page-header-row {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.page-header-text { flex: 1; min-width: 0; }
.page-header-cta { flex-shrink: 0; }
.page-title { font-size: clamp(32px, 4.5vw, 48px); margin: 0; }
@media (max-width: 760px) {
  .page-header-row { flex-direction: column; align-items: flex-start; min-height: 0; }
  .page-header-cta { align-self: flex-start; margin-top: 16px; }
}

/* ---------- Scrollable testimonial / video strips (retreat detail pages) ---------- */
.scroll-strip {
  display: flex; gap: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 14px; scroll-snap-type: x proximity;
}
.scroll-strip::-webkit-scrollbar { height: 6px; }
.scroll-strip::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }
.scroll-strip .card { flex: 0 0 280px; scroll-snap-align: start; }
.scroll-strip .video-card { flex: 0 0 220px; }
.scroll-strip .video-card.landscape-card { flex-basis: 300px; }
.scroll-hint { font-size: 13px; color: var(--slate); margin-top: 8px; }

/* ---------- What's included / not included lists (brand guideline tick/cross) ---------- */
.included-list, .excluded-list {
  list-style: none; padding: 0; margin: 0;
}
.included-list li, .excluded-list li {
  padding: 12px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: baseline;
}
.included-list li:last-child, .excluded-list li:last-child { border-bottom: none; }
.included-list li::before { content: "\2713"; color: var(--blue); font-weight: 600; }
.excluded-list li::before { content: "\2715"; color: var(--clay); font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; margin-top: 16px; }
.gallery-grid .ph { aspect-ratio: 1/1; }
.gallery-grid .ph.wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 720px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}

/* ---------- Sections & layout helpers ---------- */

section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-clay { background: var(--clay); color: var(--sand); }
.section-clay h2, .section-clay h3 { color: var(--white); }
.section-clay p { color: var(--sand); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .included-grid { gap: 0; }
  /* retreat listing cards use an inline 1fr/1.4fr grid rather than .grid-2,
     so they need their own override to stack on smaller screens */
  #retreats-grid .card { grid-template-columns: 1fr !important; }
}

#retreats-grid .card { background: var(--cream); }
#retreats-grid .tag { background: var(--white); border: 1px solid var(--rule); }
#destinations-grid .card { background: var(--cream); }

/* photo placeholders — swap src for real photography */
.ph {
  aspect-ratio: 4/5;
  border-radius: 4px;
  display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: 700;
  background-size: cover; background-position: center;
}
.ph--clay { background: linear-gradient(155deg, #8a6a5c, #4A3A33); }
.ph--blue { background: linear-gradient(155deg, #7f95b8, #40506b); }
.ph--sand { background: linear-gradient(155deg, #e6d8c8, #b8a189); color: var(--clay); }
.ph--sage { background: linear-gradient(155deg, #a9b39a, #667260); }
.ph.wide { aspect-ratio: 16/9; }
.ph.square { aspect-ratio: 1/1; }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.card .card-body { padding: 28px; }
.card .price-tag { font-family: var(--serif); color: var(--taupe); font-size: 22px; }

.pull-quote {
  font-family: var(--serif); font-style: italic; font-size: 26px;
  color: var(--taupe); max-width: 46ch; line-height: 1.35;
}
.pull-quote::before { content: "\201C"; color: var(--blue); }
.pull-quote::after { content: "\201D"; color: var(--blue); }
.attribution { font-size: 13px; color: var(--slate); margin-top: 12px; letter-spacing: 0.02em; }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: var(--cream); color: var(--taupe);
}

.divider { border: none; border-top: 1px solid var(--rule); margin: 56px 0; }

/* forms */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--rule); border-radius: 4px;
  font-family: var(--sans); font-size: 15px; background: var(--white); color: var(--clay);
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-note { font-size: 12px; color: var(--slate); margin-top: 8px; }

/* faq accordion */
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-family: var(--serif); font-size: 18px;
  color: var(--taupe); list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding-bottom: 22px; color: var(--slate); max-width: 68ch; }
.faq-q { margin: 0; font: inherit; color: inherit; }

/* expandable full-length reviews (Trustpilot / WeTravel / written / video transcripts) */
.review-item { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.review-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.review-item summary::-webkit-details-marker { display: none; }
.review-item summary::after { content: "+"; font-size: 20px; color: var(--blue); flex-shrink: 0; line-height: 1.4; }
.review-item[open] summary::after { content: "\2212"; }
.review-name { font-family: var(--serif); font-size: 17px; color: var(--taupe); display: block; }
.review-meta { font-size: 12px; color: var(--slate); letter-spacing: 0.02em; display: block; margin-top: 2px; }
.review-preview { font-size: 14px; color: var(--slate); margin-top: 8px; max-width: 62ch; display: block; }
.review-full { color: var(--slate); max-width: 68ch; font-size: 14px; }
.review-item[open] .review-full { margin-top: 14px; }
.review-item-short .review-full { margin-top: 8px; }
.review-category { margin-top: 72px; }
.review-category:first-child { margin-top: 0; }

/* misc */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.badge-locked {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,0.55); padding: 5px 12px; border-radius: 999px;
}

/* video testimonials — support both landscape and portrait */
.video-card .ph.video-landscape { aspect-ratio: 16/9; }
.video-card .ph.video-portrait { aspect-ratio: 9/16; }

/* real YouTube video embeds (as opposed to .ph placeholder blocks) */
.video-embed { position: relative; width: 100%; border-radius: 4px; overflow: hidden; background: #000; }
.video-embed.landscape { aspect-ratio: 16/9; }
.video-embed.portrait { aspect-ratio: 9/16; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; object-fit: cover; }

/* testimonial filter tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 32px; }
.filter-tab {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--white); color: var(--slate); cursor: pointer;
}
.filter-tab.active { background: var(--taupe); color: var(--cream); border-color: var(--taupe); }
.filter-tab:hover:not(.active) { border-color: var(--taupe); color: var(--taupe); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--white); border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
  display: flex; justify-content: center;
  padding: 20px var(--page-pad);
}
.cookie-banner-inner {
  width: 100%; max-width: 1200px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 360px; margin: 0; font-size: 14px; color: var(--slate); line-height: 1.5;
}
.cookie-banner-toggles {
  display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto;
}
.cookie-toggle {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--clay);
  font-family: var(--sans); cursor: pointer;
}
.cookie-toggle input { width: 16px; height: 16px; accent-color: var(--taupe); cursor: pointer; }
.cookie-toggle small { color: var(--slate); font-weight: 400; }
.cookie-banner-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex: 0 0 auto;
}
.cookie-banner-actions .btn { padding: 12px 22px; font-size: 13px; }
.cookie-save-link {
  background: none; border: none; padding: 4px; font-family: var(--sans);
  font-size: 12px; font-weight: 700; color: var(--slate); text-decoration: underline;
  cursor: pointer;
}
.cookie-save-link:hover { color: var(--taupe); }
@media (max-width: 760px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-start; }
}
.foot-cookie-link {
  background: none; border: none; padding: 0; margin-bottom: 10px; display: block;
  font-family: var(--sans); font-size: 14px; color: var(--sand); text-decoration: underline;
  cursor: pointer; text-align: left;
}
.foot-cookie-link:hover { color: var(--white); }

/* visually hidden but accessible — used to keep heading hierarchy logical without changing visual design */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
