/* ============================================================
   Smaragda Monou Yoga — Design Tokens
   Palette: warm ivory + soft sage + dusty blush (light/airy)
   Display: Fraunces (soft, organic serif) · Body: Jost (clean geometric sans)
   Signature: breathing circle motif (inhale/exhale) in the hero
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --ivory: #FAF7F1;
  --ivory-deep: #F1ECE2;
  --sage: #B9C4AE;
  --sage-deep: #77876A;
  --blush: #E7CFC0;
  --blush-deep: #C99C86;
  --ink: #33352E;
  --muted: #8D8A7E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Open Sans', sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-deep); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ivory-deep);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.logo span { color: var(--sage-deep); }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a.active,
.nav-links a:hover { color: var(--sage-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--sage-deep);
}
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}
@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 20px 32px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--ivory-deep);
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* Breathing circle signature element */
.breath-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.breath-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--sage-deep);
  opacity: 0.35;
}
.breath-ring.r1 { width: 100%; height: 100%; }
.breath-ring.r2 { width: 76%; height: 76%; border-color: var(--blush-deep); }
.breath-ring.r3 { width: 52%; height: 52%; }
.breath-core {
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sage) 0%, var(--sage-deep) 75%);
  animation: breathe 8s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(119,135,106,0.35);
}
.breath-label {
  position: absolute;
  bottom: -6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fade-cycle 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.82); }
  50% { transform: scale(1.08); }
}
@keyframes fade-cycle {
  0%, 45% { content: 'inhale'; }
}
@media (prefers-reduced-motion: reduce) {
  .breath-core { animation: none; transform: scale(0.95); }
  .breath-label { animation: none; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .breath-wrap { order: -1; max-width: 260px; }
}

/* ---------- Section basics ---------- */
section { padding: 90px 0; }
.section-head { max-width: 620px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-alt { background: var(--ivory-deep); }

/* ---------- Offer cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  padding: 38px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--ivory-deep);
}
.card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--blush-deep);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0;}

/* ---------- About preview / split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img.portrait {
  width: 100%;
  border-radius: var(--radius);
  filter: saturate(0.92);
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ivory-deep); }
.blog-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--blush) 100%);
}
.blog-body { padding: 26px 26px 30px; }
.blog-date { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blush-deep); margin-bottom: 10px; display:block; }
.blog-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.blog-body p { color: var(--muted); font-size: 0.92rem; }
.read-more { font-size: 0.85rem; color: var(--sage-deep); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage-deep);
  color: var(--ivory);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--sage-deep); }
.cta-band .btn-primary:hover { background: var(--ivory); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--ivory-deep);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 500;
}
footer.site-footer p, footer.site-footer a { color: rgba(250,247,241,0.72); font-size: 0.92rem; }
footer.site-footer a:hover { color: var(--sage); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.social-row { display: flex; gap: 16px; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,241,0.14);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(250,247,241,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero .eyebrow { display: block; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--sage) 0%, var(--blush) 100%);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
form.contact-form { display: grid; gap: 20px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ivory-deep);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  border-radius: var(--radius);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sage-deep);
}
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); }
#form-success {
  display: none;
  background: var(--ivory-deep);
  border-left: 3px solid var(--sage-deep);
  padding: 16px 20px;
  font-size: 0.92rem;
}

/* ---------- Contact info list ---------- */
.contact-info { display: grid; gap: 26px; }
.contact-info .item .eyebrow { margin-bottom: 6px; }
.contact-info .item p { margin: 0; }

/* ---------- Utility ---------- */
.mt-lg { margin-top: 60px; }
.text-center { text-align: center; }

/* ---------- Logo mark (icon + wordmark) ---------- */
.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark svg { display: block; height: 34px; width: auto; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  margin-right: 6px;
}
.lang-switch .sep { color: var(--muted); }
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 4px 2px;
}
.lang-btn.active {
  color: var(--sage-deep);
  font-weight: 600;
}
.lang-btn:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 859px) {
  .nav-right { gap: 12px; }
}
