/* tantra-funs.com — dizajnový systém "calm wellness"
   Paleta: piesková/ivory, terakota akcent, šalviová zelená, uhľová text. */

:root {
  --sand:        #f7f2ea;
  --ivory:       #fffdf8;
  --cream:       #efe6d8;
  --terracotta:  #c26b4f;
  --terracotta-d:#a9553b;
  --sage:        #7c9273;
  --sage-d:      #5f7357;
  --charcoal:    #2f2a26;
  --muted:       #6f665c;
  --line:        #e4d9c8;
  --gold:        #caa04a;
  --bronze:      #b07a49;
  --gray-badge:  #9a938a;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 10px 30px rgba(60,46,32,.08);
  --shadow-sm:   0 4px 14px rgba(60,46,32,.06);
  --maxw:        1160px;
  --serif:       Georgia, "Times New Roman", "Noto Serif JP", serif;
  --sans:        system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .3em; }
p  { margin: 0 0 1em; color: var(--muted); }
a  { color: var(--terracotta-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 74px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .74rem;
  font-weight: 700; color: var(--terracotta); margin-bottom: .8em;
}
.center { text-align: center; }
.lead { font-size: 1.12rem; max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px; padding: .72em 1.5em;
  font: inherit; font-weight: 600; font-size: .95rem; transition: .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-d); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { background: var(--ivory); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-d); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,253,248,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: .55em; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--charcoal); }
.brand:hover { text-decoration: none; }
.brand .lotus { width: 26px; height: 26px; color: var(--terracotta); }
.brand em { color: var(--terracotta); font-style: normal; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--charcoal); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: .4em; background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: .45em .8em;
  cursor: pointer; font: inherit; font-size: .88rem; color: var(--charcoal);
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 150px; padding: 6px; display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; width: 100%; gap: .6em; align-items: center; background: transparent;
  border: 0; border-radius: 8px; padding: .5em .6em; cursor: pointer; font: inherit;
  font-size: .9rem; color: var(--charcoal); text-align: left;
}
.lang-menu button:hover { background: var(--sand); }
.lang-menu button[aria-current="true"] { color: var(--terracotta-d); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--ivory), var(--sand)); padding: 68px 0 60px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-art {
  aspect-ratio: 4/5; border-radius: 26px; background:
    radial-gradient(120% 120% at 20% 10%, #f3d9c9 0%, transparent 55%),
    radial-gradient(120% 120% at 90% 90%, #d5e0cd 0%, transparent 55%),
    linear-gradient(135deg, #e8ceba, #cdd8c2);
  position: relative; box-shadow: var(--shadow);
}
.hero-art .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: #b9714f; opacity: .55; }
.hero-art .glyph svg { width: 46%; height: 46%; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.trust-row .stat strong { font-family: var(--serif); font-size: 1.5rem; color: var(--charcoal); display: block; }
.trust-row .stat span { font-size: .82rem; color: var(--muted); }

/* search */
.search {
  margin-top: 26px; background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px;
}
.search .field { display: flex; flex-direction: column; gap: 3px; }
.search label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; padding-left: 4px; }
.search input, .search select {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: .6em .7em; font: inherit; font-size: .9rem; color: var(--charcoal);
}
.search .btn { align-self: end; height: 42px; justify-content: center; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em; font-size: .74rem; font-weight: 700;
  padding: .3em .7em; border-radius: 999px; letter-spacing: .01em; white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; }
.badge-high   { background: #f6ecd0; color: #8a6a1e; border: 1px solid var(--gold); }
.badge-medium { background: #f0e2d3; color: #8a5a2e; border: 1px solid var(--bronze); }
.badge-none   { background: #eeeae4; color: #6f665c; border: 1px solid var(--gray-badge); }

/* ---------- Verification explainer ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tier { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tier.is-high { border-color: var(--gold); box-shadow: 0 10px 30px rgba(202,160,74,.12); }
.tier .tier-badge { margin-bottom: 14px; }
.tier ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.tier li { margin-bottom: .4em; }

/* ---------- Coach cards ---------- */
.grid-coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.coach {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; transition: .18s ease;
}
.coach:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.coach-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach-id h3 { margin: 0; font-size: 1.12rem; }
.coach-id .role { font-size: .84rem; color: var(--terracotta-d); font-weight: 600; }
.coach-meta { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: .4em; margin-bottom: 10px; }
.coach-bio { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: 14px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.rating-line { display: flex; align-items: center; gap: .5em; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.rating-line b { color: var(--charcoal); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { font-size: .72rem; background: var(--sand); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: .2em .6em; }
.coach-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.empty { text-align: center; color: var(--muted); padding: 30px; grid-column: 1/-1; }

/* ---------- For coaches ---------- */
.for-coaches { background: var(--charcoal); color: #f3ece2; }
.for-coaches h2 { color: #fff; }
.for-coaches p { color: #cfc4b6; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; margin-bottom: 14px; }
.step h3 { color: #fff; }
.step p { color: #c3b8aa; margin: 0; font-size: .92rem; }
.for-coaches .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.tst { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tst .quote { font-family: var(--serif); font-size: 1.05rem; color: var(--charcoal); margin-bottom: 16px; }
.tst .who { display: flex; align-items: center; gap: 10px; }
.tst .who .avatar { width: 40px; height: 40px; font-size: .95rem; }
.tst .who span { font-size: .85rem; color: var(--muted); }
.tst .who b { display: block; color: var(--charcoal); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 54px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .5em; }
.foot-grid a { color: var(--charcoal); font-size: .92rem; }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.pill-18 { border: 1px solid var(--line); border-radius: 999px; padding: .2em .7em; font-weight: 700; }

/* ---------- Age gate ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 100; background: rgba(47,42,38,.62); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
}
.agegate[hidden] { display: none; }
.agegate .box { background: var(--ivory); border-radius: var(--radius); max-width: 440px; padding: 40px 34px; text-align: center; box-shadow: var(--shadow); }
.agegate .lotus { width: 44px; height: 44px; color: var(--terracotta); margin: 0 auto 16px; }
.agegate .box .btn { margin-top: 8px; }
.agegate .decline { display: block; margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* ---------- Profile modal ---------- */
.pm {
  position: fixed; inset: 0; z-index: 110; background: rgba(47,42,38,.62); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.pm[hidden] { display: none; }
.pm-box {
  position: relative; background: var(--ivory); border-radius: var(--radius); width: 100%; max-width: 540px;
  box-shadow: var(--shadow); overflow: hidden; max-height: calc(100vh - 40px); overflow-y: auto;
}
.pm-close {
  position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.85); color: var(--charcoal); font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: .15s ease;
}
.pm-close:hover { background: #fff; transform: rotate(90deg); }
.pm-hero { display: flex; align-items: center; gap: 18px; padding: 28px 30px 22px; background: var(--sand); border-bottom: 1px solid var(--line); }
.pm-hero .avatar { width: 92px; height: 92px; font-size: 2rem; }
.pm-hero h2 { margin: 0 0 4px; font-size: 1.5rem; }
.pm-hero .role { color: var(--terracotta-d); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.pm-body-in { padding: 24px 30px 30px; }
.pm-row { display: flex; align-items: center; gap: .5em; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.pm-section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 20px 0 8px; }
.pm-bio { font-size: 1rem; color: var(--charcoal); line-height: 1.6; }
.pm-note { margin-top: 24px; padding: 14px 16px; background: var(--sand); border: 1px dashed var(--line); border-radius: 12px; font-size: .85rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/10; }
  .search { grid-template-columns: 1fr 1fr; }
  .tiers, .grid-coaches, .steps, .tst-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .search { grid-template-columns: 1fr; }
  .header-actions .btn-register { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .pm-hero { flex-direction: column; text-align: center; }
  .pm-hero .role { text-align: center; }
}
