/* ============================================================
   MINISPAA — calm & natural brochure site
   Palette: charcoal + sage green + warm wood + cream
   ============================================================ */

:root {
  --cream:      #F6F2EA;
  --cream-deep: #EFE9DC;
  --paper:      #FFFFFF;
  --charcoal:   #23241E;
  --charcoal-2: #3A3B33;
  --muted:      #6F7064;
  --sage:       #7C8C5E;
  --sage-deep:  #5E6B45;
  --sage-light: #A8B884;
  --fresh:      #9CB36A;
  --wood:       #B17F4A;
  --line:       rgba(35, 36, 30, 0.10);
  --shadow:     0 18px 40px -22px rgba(35, 36, 30, 0.35);
  --radius:     18px;
  --maxw:       1140px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* decorative branches sit off-canvas — never scroll sideways */
  -webkit-tap-highlight-color: transparent; /* no grey box when tapping headings on mobile */
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: .8rem;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-sub { color: var(--muted); margin-top: .9rem; }

/* ---------- Botanical decorations (nature & freshness) ---------- */
.leaf-divider { display: flex; justify-content: center; margin: 1rem 0 .2rem; color: var(--fresh); }
.leaf-divider svg { width: 64px; height: auto; }
.branch-accent { position: absolute; pointer-events: none; color: var(--sage); opacity: .9; z-index: 1; }
.viht-figure { color: var(--sage-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(20,21,16,.28); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(20,21,16,.5); }
.btn-phone { background: var(--charcoal); color: #fff; padding: .6rem 1.1rem; font-size: .88rem; }
.btn-phone:hover { background: var(--sage-deep); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 8px 0;
}
/* scrim keeps the white logo + controls legible over bright hero areas; fades once solid */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20,21,16,.5), rgba(20,21,16,0));
  transition: opacity .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; flex-shrink: 0; }
.header-actions { flex-shrink: 0; }
.scrolled .brand { color: var(--charcoal); }
.brand-mark { color: var(--sage); display: inline-flex; }
.scrolled .brand-mark { color: var(--sage-deep); }
.brand-name { font-family: "Fraunces", serif; font-weight: 600; letter-spacing: .18em; font-size: 1.15rem; }

.nav { display: flex; gap: 1.7rem; }
.nav a {
  color: rgba(255,255,255,.92);
  font-size: .92rem; font-weight: 500;
  position: relative;
}
.scrolled .nav a { color: var(--charcoal-2); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--sage); transition: width .25s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .9rem; }

.lang-switch { display: inline-flex; gap: 2px; background: rgba(255,255,255,.18); border-radius: 999px; padding: 3px; }
.scrolled .lang-switch { background: var(--cream-deep); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.85); padding: .3rem .55rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.scrolled .lang-switch button { color: var(--muted); }
.lang-switch button.is-active { background: var(--sage); color: #fff; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 60; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease); }
.scrolled .menu-toggle span { background: var(--charcoal); }
/* when open, the menu panel is light — force dark bars + morph to an X */
.menu-toggle.is-open span { background: var(--charcoal); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,21,16,.78) 0%, rgba(20,21,16,.30) 45%, rgba(20,21,16,.30) 100%);
}
/* soft, feathered blend from the dark hero into the cream About section below */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(246,242,234,0) 0%,
    rgba(246,242,234,0) 50%,
    rgba(246,242,234,.06) 63%,
    rgba(246,242,234,.2) 75%,
    rgba(246,242,234,.5) 87%,
    rgba(246,242,234,.8) 95%,
    rgba(246,242,234,1) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(130px, 14vw, 150px); padding-top: 120px; max-width: 760px; }
.hero-eyebrow {
  font-size: .82rem; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 600; color: #d7dcc6; margin-bottom: 1rem;
}
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 560px; margin-top: 1.2rem; color: rgba(255,255,255,.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* hero botanical branch — top-right freshness accent */
.hero-branch { top: 76px; right: -10px; width: clamp(140px, 22vw, 280px); color: #cdd8ad; opacity: .55; transform: rotate(8deg); }
.hero-branch svg { width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }

/* ============ ABOUT ============ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.3rem; }
.about-text p { color: var(--charcoal-2); margin-bottom: 1rem; max-width: 52ch; }
.about-stats { display: grid; gap: 18px; }
.stat {
  background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.6rem;
  border: 1px solid var(--line); display: flex; align-items: baseline; gap: 1rem;
}
.stat-num { font-family: "Fraunces", serif; font-size: 1.9rem; color: var(--sage-deep); font-weight: 600; }
.stat-label { color: var(--muted); font-size: .95rem; }

.about { position: relative; overflow: hidden; }
/* viht (sauna whisk) sits beside the stats */
.about-stats { position: relative; }
.about-viht { display: flex; justify-content: center; margin-top: 4px; }
.about-viht svg { width: clamp(90px, 18vw, 130px); height: auto; color: var(--sage-deep); }
.about-viht figcaption { margin-top: .5rem; text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ============ FEATURES ============ */
.features { background: var(--cream-deep); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border-radius: var(--radius); padding: 2rem 1.6rem;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(124,140,94,.14); color: var(--sage-deep); font-size: 1.5rem; margin-bottom: 1.1rem;
}
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ============ PRICING ============ */
.pricing { background: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.price-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 660px; }
.price-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { border-color: var(--sage); box-shadow: var(--shadow); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sage); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.price-amount { font-family: "Fraunces", serif; font-size: 2.6rem; color: var(--sage-deep); font-weight: 600; }
.price-desc { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.price-cta { text-align: center; margin-top: 2.6rem; }

/* ============ GALLERY ============ */
.gallery { background: var(--cream-deep); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
/* full-width sauna shots use the photo's native 16:9 so the whole sauna is visible */
.gallery-item--full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-item--half { aspect-ratio: 4 / 3; }
.gallery-placeholder {
  display: grid; place-items: center; background: var(--paper);
  border: 1.5px dashed var(--line); color: var(--muted); font-size: .9rem; letter-spacing: .04em;
}

/* ============ CONTACT ============ */
.contact { background: var(--charcoal); color: #fff; text-align: center; position: relative; overflow: hidden; }
.contact .branch-accent { color: var(--sage); opacity: .35; }
.contact-branch-l { bottom: -20px; left: -30px; width: clamp(120px, 18vw, 220px); transform: rotate(-18deg); }
.contact-branch-r { top: -20px; right: -30px; width: clamp(120px, 18vw, 220px); transform: rotate(160deg); }
.contact-inner { position: relative; z-index: 2; }
.contact .eyebrow { color: #b9c39a; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.contact-lead { color: rgba(255,255,255,.78); margin-top: 1rem; }
.contact-phone {
  display: inline-block; font-family: "Fraunces", serif; font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem); margin: 1.4rem 0 .6rem; color: #fff;
  transition: color .25s var(--ease);
}
.contact-phone:hover { color: #b9c39a; }
.contact-hint { color: rgba(255,255,255,.55); font-size: .95rem; }
.contact-spec { color: rgba(255,255,255,.4); font-size: .82rem; letter-spacing: .02em; margin-top: .5rem; }

/* ============ FOOTER ============ */
.site-footer { background: #1A1B15; color: rgba(255,255,255,.7); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand--footer { color: #fff; flex-direction: column; align-items: flex-start; gap: .2rem; }
.brand-tag { font-family: "Inter", sans-serif; font-size: .85rem; letter-spacing: normal; color: rgba(255,255,255,.55); }
.footer-phone { font-family: "Fraunces", serif; font-size: 1.4rem; color: #fff; }
.footer-copy { font-size: .85rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 1.02rem; letter-spacing: .12em; }
  .header-actions { gap: .45rem; }

  /* slide-in mobile menu */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--cream); flex-direction: column; gap: 0;
    padding: 96px 28px 40px; box-shadow: -10px 0 40px -20px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 45;
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--charcoal); font-size: 1.05rem; padding: .95rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .btn-phone { display: none; }

  /* looser rhythm + CTAs lower, still clear of the cream fade */
  .hero-content { padding-top: 88px; padding-bottom: 120px; }
  .hero-lead { margin-top: 1.4rem; }
  .hero-cta { margin-top: 2.6rem; gap: .85rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--half { aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-branch { display: none; }                 /* keep hero text uncluttered on phones */
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }              /* full-width tap targets */
  .stat { padding: 1.1rem 1.3rem; }
  .lang-switch button { padding: .42rem .6rem; }  /* larger tap target */
  .contact-branch-l, .contact-branch-r { opacity: .22; }
}

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