/* =========================================================================
   Kateřina Podzemská — Psycholožka & terapeutka
   Design direction: "Klid" — organic editorial warmth
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette — warm paper, sage, clay */
  --paper:       #F3EADC;
  --paper-deep:  #ECDFCC;
  --cream:       #FBF6EC;
  --ink:         #2A2620;
  --ink-2:       #5E564A;
  --ink-3:       #8B8273;
  --line:        rgba(42, 38, 32, 0.12);
  --line-2:      rgba(42, 38, 32, 0.06);

  --sage:        #586B4D;
  --sage-2:      #6F8264;
  --sage-soft:   #AEBBA0;
  --clay:        #C26A41;
  --clay-2:      #A9532D;
  --rose:        #E6BBA3;
  --forest:      #232a1d;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.1, 1);
  --slow:      0.9s;

  /* Radius & shadow */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;
  --shadow-soft: 0 2px 8px rgba(42,38,32,.04), 0 16px 40px -18px rgba(42,38,32,.22);
  --shadow-lift: 0 4px 14px rgba(42,38,32,.06), 0 32px 70px -30px rgba(42,38,32,.34);

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 84px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: 88px; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--clay); color: var(--cream); }

/* Keyboard focus — visible everywhere, including the visually-hidden radios */
:focus-visible { outline: 2px solid var(--clay-2); outline-offset: 3px; border-radius: 5px; }
.segmented input:focus-visible + label { outline: 2px solid var(--clay-2); outline-offset: 2px; }
.consent input:focus-visible { outline: 2px solid var(--clay-2); outline-offset: 2px; }

/* Skip link — off-screen until focused */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10001;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: none; }
main:focus { outline: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.eyebrow {
  font-family: var(--body);
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-2);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .55;
}

.lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; color: var(--ink-2); font-weight: 300; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(80px, 13vh, 180px); }
@media (max-width: 600px) { .section-pad { padding-block: clamp(56px, 9vh, 92px); } }

/* =========================================================================
   Grain + cursor + global atmosphere
   ========================================================================= */
.grain {
  position: fixed; inset: -50%; z-index: 9990; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: multiply;
  will-change: transform;
  animation: grainshift 7s steps(6) infinite;
}
@keyframes grainshift {
  0%{transform:translate(0,0)}20%{transform:translate(-6%,3%)}40%{transform:translate(4%,-5%)}
  60%{transform:translate(-3%,6%)}80%{transform:translate(5%,2%)}100%{transform:translate(0,0)}
}

/* Click ripple — a soft ring blooms at the click point, then fades. */
.click-ring {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 1.5px solid var(--clay-2); mix-blend-mode: multiply;
  animation: click-ripple .55s var(--ease) forwards;
}
@keyframes click-ripple {
  0%   { transform: scale(0.25); opacity: .65; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* =========================================================================
   Loader
   ========================================================================= */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader[data-done="true"] { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__breath {
  width: 64px; height: 64px; margin: 0 auto 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--clay) 0%, var(--clay-2) 55%, transparent 72%);
  animation: breathe 4.5s var(--ease-soft) infinite;
}
@keyframes breathe { 0%,100%{transform:scale(.7);opacity:.55} 50%{transform:scale(1);opacity:1} }
.loader__name { font-family: var(--display); font-size: 20px; letter-spacing: .02em; color: var(--ink); }
.loader__count { font-family: var(--body); font-size: 12px; letter-spacing: .3em; color: var(--ink-3); margin-top: 10px; }

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 2.2vh, 26px) var(--gutter);
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.scrolled {
  background: rgba(243,234,220,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-block: 14px;
  box-shadow: 0 1px 0 var(--line-2);
}
/* When the mobile menu is open the nav must NOT establish a containing block
   (backdrop-filter would do that), or the fixed full-screen panel collapses. */
.nav.open {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
.nav__brand, .nav__toggle { position: relative; z-index: 950; }
.nav__brand { font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; display:flex; align-items:center; gap:11px; }
.nav__brand .dot { width:9px; height:9px; border-radius:50%; background: var(--clay); flex:0 0 auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.nav__link {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2);
  letter-spacing: .01em; transition: color .3s var(--ease);
}
.nav__link::after {
  content:""; position:absolute; left:0; bottom:-5px; width:100%; height:1.5px;
  background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav__menu-links { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; z-index: 950;
  }
  .nav__toggle span { width: 24px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
  .nav.open .nav__toggle span:nth-child(1){ transform: translateY(6.6px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3){ transform: translateY(-6.6px) rotate(-45deg); }
  .nav__mobile {
    position: fixed; inset: 0; background: var(--paper); z-index: 940;
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding: var(--gutter);
    clip-path: circle(0% at calc(100% - var(--gutter)) clamp(28px, 3vh, 42px));
    transition: clip-path .7s var(--ease), visibility .7s;
    visibility: hidden; pointer-events: none;
  }
  .nav.open .nav__mobile {
    clip-path: circle(150% at calc(100% - var(--gutter)) clamp(28px, 3vh, 42px));
    visibility: visible; pointer-events: auto;
  }
  .nav__mobile a { font-family: var(--display); font-size: clamp(30px, 9vw, 52px); color: var(--ink); }
  .nav__mobile .btn { margin-top: 28px; align-self: flex-start; font-family: var(--body); font-size: 16px; color: var(--cream); }
}
@media (min-width: 961px) { .nav__mobile { display: none; } }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 100px;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  background: var(--clay); color: var(--cream);
  box-shadow: 0 5px 14px -10px rgba(169,83,45,.5);
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--clay-2); box-shadow: 0 7px 18px -10px rgba(169,83,45,.55); }

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--lg { padding: 20px 38px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--clay-2);
  font-size: 15px;
}

/* magnetic class kept as a hook but no longer moves — classic hover only */
.magnetic { display: inline-block; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 60px; overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(98deg, var(--paper) 14%, rgba(243,234,220,.72) 36%, rgba(243,234,220,0) 60%);
}
@media (max-width: 760px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(243,234,220,0) 0%, rgba(243,234,220,.45) 34%, var(--paper) 64%);
  }
}
.hero__bg-fallback {
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(60% 50% at 72% 30%, rgba(230,187,163,.55), transparent 70%),
    radial-gradient(55% 55% at 25% 70%, rgba(174,187,160,.5), transparent 70%),
    radial-gradient(40% 40% at 60% 75%, rgba(194,106,65,.25), transparent 70%);
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__title {
  font-size: clamp(46px, 8.5vw, 132px);
  line-height: 0.94; letter-spacing: -0.025em; margin: 22px 0 0;
  font-weight: 400;
}
.hero__title em { font-style: italic; color: var(--clay-2); font-weight: 400; }
.hero__title .line { display: block; padding-bottom: 0.1em; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__sub { margin-top: 30px; max-width: 540px; }
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__name-tag {
  position:absolute; right: var(--gutter); bottom: 16%; z-index: 2; text-align: right;
  font-family: var(--display); font-size: clamp(14px,1.2vw,17px); color: var(--ink-2); line-height:1.4;
}
.hero__name-tag b { color: var(--ink); font-weight: 500; display:block; font-size:1.25em; }
@media (max-width: 980px){ .hero__name-tag { display:none; } }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-2);
}
.scroll-cue .track { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .track::after {
  content:""; position:absolute; top:0; left:0; width:100%; height:40%;
  background: var(--clay); animation: scrolldown 2.2s var(--ease-soft) infinite;
}
@keyframes scrolldown { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(280%)} }

/* =========================================================================
   Marquee
   ========================================================================= */
.marquee {
  border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden;
  background: var(--paper-deep);
}
.marquee__track { display: flex; gap: 60px; width: max-content; will-change: transform; }
.marquee__item {
  font-family: var(--display); font-size: clamp(28px, 4vw, 56px);
  color: var(--ink); white-space: nowrap; display:flex; align-items:center; gap:60px;
}
.marquee__item::after { content:"✶"; font-style: normal; color: var(--clay); font-size: .5em; }

/* =========================================================================
   Welcome / intro statement
   ========================================================================= */
.welcome { text-align: center; }
.welcome__headline {
  font-size: clamp(28px, 4.4vw, 60px); line-height: 1.12; max-width: 16ch; margin: 26px auto 0;
  font-weight: 400;
}
.welcome__headline .word { display: inline-block; }
.welcome__body { max-width: 56ch; margin: 34px auto 0; }

/* reveal word fill effect */
.reveal-fill .word { color: var(--line); transition: color .5s var(--ease); }

/* =========================================================================
   About
   ========================================================================= */
.about__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 90px); align-items: center;
}
.portrait { position: relative; }
.portrait__photo { position: relative; } /* anchors the floating badge to the photo, above the quick-facts card */
.portrait__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 893 / 1200; /* matches the photo — no crop */
  box-shadow: var(--shadow-lift); background: var(--paper-deep);
}
.portrait__media img { width:100%; height:100%; object-fit: cover; display: block; }
.portrait__frame {
  position:absolute; inset: 14px; border:1px solid rgba(251,246,236,.4); border-radius: calc(var(--r-xl) - 14px);
  z-index:2; pointer-events:none;
}
.portrait__badge {
  position:absolute; left: -22px; bottom: 34px; z-index: 3;
  background: var(--cream); border-radius: 100px; padding: 12px 22px;
  box-shadow: var(--shadow-soft); display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600;
}
.portrait__badge .pulse { width:9px;height:9px;border-radius:50%;background:var(--sage); position:relative; }
.portrait__badge .pulse::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--sage);animation:ping 2.4s var(--ease) infinite;}
@keyframes ping{0%{transform:scale(1);opacity:.6}80%,100%{transform:scale(2.6);opacity:0}}

.about__title { font-size: clamp(34px, 4.6vw, 66px); margin: 20px 0 0; }
.about__title .about__deg { font-size: .4em; font-style: italic; font-weight: 400; color: var(--clay-2); letter-spacing: 0; }
.about__verified { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 16px 8px 12px; background: rgba(88,107,77,.1); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--sage); }
.about__verified svg { width: 19px; height: 19px; flex: 0 0 auto; }
.about__lead { margin-top: 22px; }
.about__tags { margin-top: 30px; }
.about__tags-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-2); margin-bottom: 12px; }
.about__tags ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about__tags li { background: var(--cream); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
/* Quick-facts card under the portrait — directory-style scan rows */
.about__card {
  list-style: none; margin: 18px 0 0; padding: 22px 24px;
  display: grid; gap: 14px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-soft);
}
.about__card-row {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  font-size: 14.5px; line-height: 1.45; color: var(--ink-2);
}
.about__card-row svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; color: var(--sage); }
.about__card-row strong { color: var(--ink); font-weight: 600; }

/* Restored multi-paragraph warm bio */
.about__bio { margin-top: 22px; }
.about__bio .about__lead { margin-top: 0; }
.about__bio p + p { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); font-weight: 300; }

/* The single typographic accent: one italic Fraunces pull-quote */
.about__quote {
  margin: 30px 0 0; padding: 2px 0 2px 22px;
  border-left: 2px solid var(--sage-soft);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; color: var(--sage);
}

/* Tidy ruled credentials list */
.about__creds-wrap { margin-top: 34px; }
.about__creds { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.about__cred { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.about__cred-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; position: relative; top: 1px; box-shadow: 0 0 0 4px rgba(88,107,77,.12); }
.about__cred-text { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.about__cred-text strong { font-weight: 600; color: var(--ink); }

@media (max-width: 860px){ .about__grid { grid-template-columns: 1fr; } .portrait { max-width: 440px; } .portrait__badge { left: 12px; bottom: 18px; } }

/* =========================================================================
   Approach / values
   ========================================================================= */
.approach { background: var(--paper-deep); }
.approach__head { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:end; margin-bottom: 60px; }
.approach__title { font-size: clamp(34px,4.8vw,72px); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; }
.value {
  background: var(--paper-deep); padding: clamp(28px,3.4vw,52px);
  position: relative; transition: background .5s var(--ease);
}
.value:hover { background: var(--cream); }
.value__num { font-family: var(--display); font-size: 18px; color: var(--clay-2); }
.value h3 { font-size: clamp(23px, 2.4vw, 32px); margin: 16px 0 12px; }
.value p { color: var(--ink-2); font-size: 16px; max-width: 40ch; }
.value__icon { position:absolute; top: clamp(28px,3.4vw,52px); right: clamp(28px,3.4vw,52px); width:34px;height:34px; color: var(--sage); opacity:.85; }
@media (max-width:780px){ .approach__head{grid-template-columns:1fr;gap:18px;} .values{grid-template-columns:1fr;} }

/* =========================================================================
   Space (the room)
   ========================================================================= */
.space__head { max-width: 700px; margin: 0 auto clamp(40px,5vw,64px); text-align: center; }
.space__title { font-size: clamp(34px,4.8vw,72px); margin: 18px 0; }
.space__media { position: relative; }
.space__img {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-lift); background: var(--paper-deep);
}
.space__img > div { position: absolute; inset: -8% 0; }
.space__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.space__frame {
  position: absolute; inset: 16px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(251,246,236,.45); border-radius: calc(var(--r-xl) - 16px);
}
.space__card {
  position: absolute; left: clamp(20px,3.5vw,44px); bottom: clamp(20px,3.5vw,44px); z-index: 3;
  max-width: 380px; background: var(--cream); border-radius: var(--r-lg);
  padding: clamp(24px,2.4vw,34px); box-shadow: var(--shadow-lift);
}
.space__card > p { font-family: var(--display); font-style: italic; font-size: clamp(18px,1.6vw,23px); line-height: 1.32; color: var(--ink); }
.space__chips { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.space__chips li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.space__chips svg { width: 20px; height: 20px; color: var(--sage); flex: 0 0 auto; }
@media (max-width: 680px) {
  .space__img { aspect-ratio: 4/3; }
  /* relative + z-index so the card paints ABOVE the (position:relative) image it overlaps */
  .space__card { position: relative; z-index: 3; max-width: none; margin: -36px clamp(10px,4vw,22px) 0; }
}

/* =========================================================================
   Services
   ========================================================================= */
.services__head { max-width: 640px; margin-bottom: 56px; }
.services__title { font-size: clamp(34px,4.8vw,72px); margin: 18px 0 18px; }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service {
  position: relative; padding: clamp(26px,2.6vw,38px); border-radius: var(--r-lg);
  background: var(--cream); box-shadow: var(--shadow-soft);
  overflow: hidden; isolation:isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service::after {
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  background: linear-gradient(160deg, var(--sage) 0%, var(--forest) 100%);
  opacity:0; transition: opacity .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service:hover::after { opacity:1; }
.service:hover h3, .service:hover p, .service:hover .service__ico, .service:hover .service__idx { color: var(--cream); }
.service__idx { font-family: var(--display); font-size:15px; color: var(--clay-2); transition: color .5s var(--ease); }
.service__ico { margin-top: 18px; color: var(--sage); transition: color .5s var(--ease); }
.service__ico svg { width: 36px; height: 36px; display: block; }
.service h3 { font-size: clamp(20px,1.9vw,26px); margin: 16px 0 10px; transition: color .5s var(--ease); }
.service p { font-size: 15px; color: var(--ink-2); transition: color .5s var(--ease); }
@media (max-width: 920px){ .services__grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 560px){ .services__grid{grid-template-columns:1fr;} }

/* =========================================================================
   Process timeline
   ========================================================================= */
.process { background: var(--forest); color: var(--cream); }
.process .eyebrow { color: var(--rose); }
.process__head { max-width: 640px; margin-bottom: 64px; }
.process__title { font-size: clamp(34px,4.8vw,72px); color: var(--cream); margin: 18px 0; }
.process__sub { color: rgba(251,246,236,.7); }
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 130px 1fr; gap: clamp(20px,4vw,60px);
  padding: clamp(28px,3.2vw,46px) 0; border-top: 1px solid rgba(251,246,236,.15);
  align-items: start; position: relative;
}
.step:last-child { border-bottom: 1px solid rgba(251,246,236,.15); }
.step__num { font-family: var(--display); font-size: clamp(40px,5vw,84px); line-height:1; color: rgba(230,187,163,.5); transition: color .5s var(--ease); }
.step:hover .step__num { color: var(--rose); }
.step__title { font-family: var(--display); font-size: clamp(24px,2.6vw,38px); margin-bottom: 12px; }
.step__text { color: rgba(251,246,236,.72); max-width: 52ch; }
.step__cta { margin-top: 28px; }
@media (max-width:620px){ .step{grid-template-columns:1fr;gap:6px;} }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing__head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.pricing__title { font-size: clamp(34px,4.8vw,72px); margin: 18px 0; }
.prices { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price {
  display:flex; flex-direction:column; padding: clamp(28px,3vw,44px); border-radius: var(--r-lg);
  background: var(--cream); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.price--feature { background: var(--sage); color: var(--cream); border-color: transparent; }
.price--feature .price__desc { color: rgba(251,246,236,.92); }
.price--feature .price__tag { color: var(--rose); }
.price__flag { font-size:12px; letter-spacing:.18em; text-transform:uppercase; font-weight:600; color: var(--rose); margin-bottom: 14px; }
.price h3 { font-size: clamp(22px,2.2vw,30px); }
.price__amount { font-family: var(--display); font-size: clamp(34px,4vw,52px); margin: 16px 0 4px; }
.price__amount small { font-size:.4em; color: var(--ink-2); font-family: var(--body); font-weight: 500; }
.price--feature .price__amount small { color: rgba(251,246,236,.85); }
.price__desc { color: var(--ink-2); font-size: 15px; margin-top: 10px; flex: 1; }
.price__tag { font-family:var(--display); color: var(--clay-2); margin-bottom: 6px; }
@media (max-width: 880px){ .prices{grid-template-columns:1fr; max-width:460px; margin-inline:auto;} }

/* insurer-contribution banner (under pricing) */
.insurers {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 32px);
  background: var(--paper-deep); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
}
.insurers__text { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.insurers__text strong { font-weight: 600; }
.insurers__text .link-arrow { margin-top: 12px; }
.insurers__logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.insurer { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-soft); }
.insurer img { height: 20px; width: auto; display: block; }
@media (max-width: 720px) { .insurers { flex-direction: column; align-items: flex-start; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__grid { display:grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(34px,5vw,80px); align-items:stretch; }
.faq__title { font-size: clamp(34px,4.8vw,66px); margin: 18px 0; position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width:100%; text-align:left; display:flex; justify-content:space-between; gap:24px; align-items:center;
  padding: 26px 0; font-family: var(--display); font-size: clamp(19px,1.8vw,25px); color: var(--ink);
  transition: color .3s var(--ease);
}
.faq-item__q:hover { color: var(--clay-2); }
.faq-item__icon { position:relative; width:22px;height:22px;flex:0 0 auto; }
.faq-item__icon::before, .faq-item__icon::after { content:""; position:absolute; background: var(--clay); transition: transform .4s var(--ease); }
.faq-item__icon::before { top:50%; left:0; width:100%; height:1.6px; transform: translateY(-50%); }
.faq-item__icon::after  { left:50%; top:0; height:100%; width:1.6px; transform: translateX(-50%); }
.faq-item.open .faq-item__icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item__a { overflow: hidden; height: 0; }
.faq-item__a-inner { padding: 0 0 28px; color: var(--ink-2); max-width: 60ch; }
@media (max-width:780px){ .faq__grid{grid-template-columns:1fr;} .faq__title{position:static;} }

/* =========================================================================
   Booking
   ========================================================================= */
.booking { background: var(--paper-deep); overflow:hidden; }
.booking__grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,100px); align-items: start; }
.booking__title { font-size: clamp(38px,5.5vw,84px); margin: 18px 0; line-height: .98; }
.booking__title em { font-style: italic; color: var(--clay-2); }
.booking__sub { max-width: 44ch; }
.booking__note { margin-top: 26px; padding: 20px 24px; background: var(--cream); border-radius: var(--r-md); font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow-soft); display:flex; gap:14px; }
.booking__note svg { flex:0 0 auto; color: var(--sage); }

.form { background: var(--cream); padding: clamp(28px,3.4vw,46px); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.field { position: relative; margin-bottom: 22px; }
.field label { display:block; font-size: 13px; font-weight:600; letter-spacing:.02em; color: var(--ink-2); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width:100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 18px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: auto; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(88,107,77,.14); background: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: #6E6657; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-input { display: grid; grid-template-columns: minmax(112px, 132px) 1fr; gap: 10px; }

.segmented { display:flex; gap:10px; }
.segmented label {
  flex:1; cursor:pointer; text-align:center; padding: 13px; border-radius: var(--r-sm);
  border:1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: all .3s var(--ease);
}
.segmented input { position:absolute; opacity:0; pointer-events:none; }
.segmented input:checked + label, .segmented label:hover { border-color: var(--sage); background: rgba(88,107,77,.08); color: var(--ink); }
.segmented input:checked + label { background: var(--sage); color: var(--cream); border-color: var(--sage); }

.consent { display:flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-bottom: 24px; cursor:pointer; }
.consent input { width:20px;height:20px; flex:0 0 auto; accent-color: var(--sage); margin-top:2px; }
.form .btn { width: 100%; justify-content: center; }
.form__micro { text-align:center; font-size: 13px; color: var(--ink-2); margin-top: 16px; display:flex; align-items:center; justify-content:center; gap:8px; }

.form__success {
  display: none; text-align:center; padding: 30px 10px;
}
.form.sent .form__body { display:none; }
.form.sent .form__success { display:block; animation: pop .6s var(--ease); }
@keyframes pop { 0%{transform:scale(.92);opacity:0} 100%{transform:scale(1);opacity:1} }
.form__success .check { width:64px;height:64px;border-radius:50%;background:var(--sage);display:grid;place-items:center;margin:0 auto 20px;color:var(--cream); }
.form__success h3 { font-size: 28px; margin-bottom: 10px; }
.form__success p { color: var(--ink-2); }
@media (max-width: 820px){ .booking__grid{grid-template-columns:1fr;} .field-row{grid-template-columns:1fr;} }
@media (max-width: 420px){ .phone-input { grid-template-columns: 112px 1fr; } }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--forest); color: rgba(251,246,236,.78); padding-block: clamp(64px,9vh,120px); }
.footer__top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(251,246,236,.14); }
.footer__brand { font-family: var(--display); font-size: clamp(30px,4vw,56px); color: var(--cream); line-height: 1.04; }
.footer__brand .dot { color: var(--clay); }
.footer__claim { margin-top: 18px; max-width: 36ch; color: rgba(251,246,236,.62); }
.footer h4 { font-family: var(--body); font-size: 13px; letter-spacing:.18em; text-transform:uppercase; color: var(--rose); margin-bottom: 18px; }
.footer__col a, .footer__col p { display:block; color: rgba(251,246,236,.78); margin-bottom: 10px; transition: color .3s var(--ease); font-size: 15.5px; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom { display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 13px; color: rgba(251,246,236,.5); }
.footer__bottom a:hover { color: var(--cream); }
@media (max-width: 760px){ .footer__top{grid-template-columns:1fr; gap:36px;} }

/* =========================================================================
   Floating CTA
   ========================================================================= */
.float-cta {
  position: fixed; right: clamp(18px,3vw,40px); bottom: clamp(18px,3vw,40px); z-index: 800;
  transform: translateY(140%) scale(.9); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.float-cta.show { transform: translateY(0) scale(1); opacity: 1; }
.float-cta .btn { box-shadow: 0 18px 50px -14px rgba(169,83,45,.7); }
@media (max-width: 560px){ .float-cta .btn span.txt { display:none; } .float-cta .btn { padding: 18px; } }

/* =========================================================================
   Reveal primitives (GSAP toggles these via inline; CSS fallback below)
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); }

.divider-curve { display:block; width:100%; height: clamp(40px,6vw,90px); color: var(--paper-deep); }

/* =========================================================================
   Blog — listing, cards, article
   ========================================================================= */
.wrap-narrow { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---- shared post card (listing + homepage) ---- */
.post-card {
  display: flex; flex-direction: column; background: var(--cream);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-deep); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 11px; flex: 1; }
.post-card__cat { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-2); }
.post-card__title { font-family: var(--display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.14; letter-spacing: -.01em; }
.post-card__excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--ink-2); opacity: .8; margin-top: 4px; }

/* ---- blog listing page ---- */
.blog-hero { text-align: center; padding-top: clamp(120px, 18vh, 184px); padding-bottom: clamp(8px, 3vw, 36px); }
.blog-hero__title { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.0; margin: 18px 0; letter-spacing: -.025em; }
.blog-hero__title em { font-style: italic; color: var(--clay-2); }
.blog-hero .lead { max-width: 58ch; margin-inline: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }

.post-card--feature { display: grid; grid-template-columns: 1.08fr 1fr; margin-bottom: 30px; }
.post-card--feature .post-card__media { aspect-ratio: auto; min-height: 340px; }
.post-card--feature .post-card__body { padding: clamp(28px, 3.4vw, 52px); justify-content: center; }
.post-card--feature .post-card__title { font-size: clamp(27px, 3.2vw, 42px); }
.post-card--feature .post-card__excerpt { font-size: clamp(15px, 1.2vw, 17px); flex: none; margin-top: 4px; }

/* ---- article page ---- */
.article { padding-top: clamp(112px, 15vh, 152px); padding-bottom: clamp(50px, 8vh, 92px); }
.article__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; transition: color .3s var(--ease); }
.article__back span { display: inline-block; transition: transform .3s var(--ease); }
.article__back:hover { color: var(--clay-2); }
.article__back:hover span { transform: translateX(-3px); }
.article .article__cat { display: block; margin-bottom: 14px; }
.article__title { font-size: clamp(32px, 5vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.article__lead { font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; color: var(--ink-2); line-height: 1.5; margin-top: 20px; }
.article__byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.article__byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.article__byline b { color: var(--ink); font-weight: 600; }

.article__cover { margin: clamp(34px, 5vw, 60px) auto; max-width: 1120px; padding-inline: var(--gutter); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.article__cover figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 11px; text-align: center; }
.article__cover figcaption a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.article__body { font-size: clamp(17px, 1.15vw, 19px); line-height: 1.78; color: var(--ink); }
.article__body > * + * { margin-top: 1.3em; }
.article__body h2 { font-family: var(--display); font-size: clamp(25px, 2.6vw, 35px); line-height: 1.15; letter-spacing: -.01em; margin-top: 1.9em; }
.article__body h3 { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); margin-top: 1.5em; }
.article__body strong { font-weight: 600; }
.article__body a { color: var(--clay-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article__body a:hover { color: var(--clay); }
.article__body ul, .article__body ol { padding-left: 1.35em; }
.article__body li { margin-top: .55em; padding-left: .2em; }
.article__body li::marker { color: var(--sage); font-weight: 600; }
.article__body figure { margin-block: clamp(26px, 4vw, 44px); }
.article__body figure img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-soft); }
.article__body figure figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; text-align: center; }
.article__body hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }

.article__sources { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 3vw, 34px); background: var(--paper-deep); border-radius: var(--r-md); }
.article__sources h2 { font-family: var(--display); font-size: 21px; margin-bottom: 14px; }
.article__sources ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.article__sources li { font-size: 14px; line-height: 1.5; padding-left: 18px; position: relative; }
.article__sources li::before { content: "→"; position: absolute; left: 0; color: var(--sage); }
.article__sources a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.article__sources a:hover { color: var(--clay-2); }

.article__promo { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 34px); align-items: center; margin-top: clamp(40px, 6vw, 64px); padding: clamp(26px, 3.4vw, 44px); background: var(--sage); color: var(--cream); border-radius: var(--r-lg); }
.article__promo-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 22px -8px rgba(35,42,29,.5); }
.article__promo h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); color: var(--cream); margin-bottom: 8px; }
.article__promo p { color: rgba(251,246,236,.9); margin-bottom: 20px; max-width: 50ch; }
.article__promo .btn { background: var(--clay); }
.article__promo .btn:hover { background: var(--clay-2); }

/* ---- homepage blog teaser ---- */
.home-blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.home-blog__title { font-size: clamp(34px, 4.8vw, 66px); }
.home-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

@media (max-width: 920px) { .blog-grid, .home-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .post-card--feature { grid-template-columns: 1fr; }
  .post-card--feature .post-card__media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 600px) { .blog-grid, .home-blog__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .article__promo { grid-template-columns: 1fr; text-align: center; }
  .article__promo-img { margin-inline: auto; }
  .article__promo p { margin-inline: auto; }
}

/* =========================================================================
   Social proof — hero trust line + testimonials
   ========================================================================= */
.hero__trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  font-size: 13px; letter-spacing: .015em; color: var(--ink-2);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }

.proof { background: var(--paper-deep); }
.proof__head { text-align: center; max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); }
.proof__title { font-size: clamp(32px, 4.6vw, 64px); margin: 18px 0; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.quote {
  display: flex; flex-direction: column; gap: 14px; margin: 0;
  background: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-soft);
}
.quote__mark { font-family: var(--display); font-size: 52px; line-height: .9; color: var(--sage); opacity: .4; }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.42; color: var(--ink); flex: 1; }
.quote__by { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
.proof__note { text-align: center; margin-top: clamp(28px, 4vw, 44px); font-size: 13px; color: var(--ink-2); opacity: .75; }
@media (max-width: 860px) { .proof__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader__breath { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none !important; }
  .click-ring { display: none; }
}

/* No-JS safety: show content if JS fails */
.no-js [data-reveal], .no-js [data-reveal-stagger] > *, .no-js .hero__title .line > span { opacity: 1 !important; transform: none !important; }
.no-js .loader { display: none; }
.no-js .faq-item__a { height: auto; } /* answers readable without JS */

/* =========================================================================
   Storno — cancellation one-liner + native <dialog> modal
   ========================================================================= */
.storno-line {
  margin: clamp(24px, 3vw, 34px) auto 0;
  max-width: 54ch;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.storno-trigger {            /* a real <button> styled as the inline clay link */
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--clay-2); font-weight: 600;
  border-bottom: 1px solid rgba(169, 83, 45, .32);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.storno-trigger svg { vertical-align: -2px; margin-left: 4px; transition: transform .3s var(--ease); }
.storno-trigger:hover, .storno-trigger:focus-visible { color: var(--clay); border-bottom-color: var(--clay); }
.storno-trigger:hover svg { transform: translateX(2px); }
.storno-trigger:focus-visible { outline: 2px solid var(--sage-soft); outline-offset: 4px; border-radius: 3px; }

.storno-modal {
  width: min(440px, calc(100vw - 40px));
  max-height: 85vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  margin: auto;
  padding: clamp(30px, 4vw, 42px) clamp(24px, 4vw, 38px) clamp(28px, 3.5vw, 34px);
  border: 0; border-radius: var(--r-lg);
  background: var(--cream); color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.storno-modal::backdrop {
  background: rgba(35, 42, 29, .42);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.storno-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--ink-2); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.storno-modal__close:hover { background: var(--paper-deep); color: var(--ink); border-color: transparent; }
.storno-modal__close:focus-visible { outline: 2px solid var(--sage-soft); outline-offset: 3px; }

.storno-modal__eyebrow { margin-bottom: 14px; }
.storno-modal__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2;
  margin: 0 0 14px; color: var(--ink); max-width: 18ch;
}
.storno-modal__intro { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 22px; }

.storno-tiers { list-style: none; padding: 0; margin: 0 0 22px; }
.storno-tier {
  display: flex; gap: 16px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid var(--line-2);
}
.storno-tier:last-child { border-bottom: 1px solid var(--line-2); }
.storno-tier__fee {
  flex: 0 0 96px; font-family: var(--display);
  font-size: clamp(18px, 2vw, 21px); line-height: 1.1;
  color: var(--clay-2); white-space: nowrap;
}
.storno-tier__fee--free { color: var(--sage); }
.storno-tier__desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.storno-modal__note {
  font-family: var(--display); font-style: italic;
  font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0;
}

.storno-modal[open] { animation: storno-pop .42s var(--ease) both; }
.storno-modal[open]::backdrop { animation: storno-fade .42s var(--ease) both; }
@keyframes storno-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes storno-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 480px) {
  .storno-tier { gap: 12px; }
  .storno-tier__fee { flex-basis: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .storno-modal[open], .storno-modal[open]::backdrop { animation: none; }
  .storno-trigger, .storno-trigger svg, .storno-modal__close { transition: none; }
}

/* =========================================================================
   Booking widget
   ========================================================================= */
.booking-app { background: var(--cream); padding: clamp(26px,3.2vw,42px); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.booking-noscript h3 { font-family: var(--display); font-size: 24px; margin-bottom: 10px; }
.booking-noscript p { color: var(--ink-2); font-size: 15px; }
.booking-noscript a { color: var(--clay-2); }

/* progress steps */
.booking-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 26px; flex-wrap: wrap; }
.booking-steps li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
.booking-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--paper-deep); color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease); }
.booking-steps li:not(:last-child)::after { content: ""; width: 14px; height: 1px; background: var(--line); }
.booking-steps li.is-active { color: var(--ink); }
.booking-steps li.is-active span { background: var(--sage); color: var(--cream); }
.booking-steps li.is-done span { background: var(--sage-soft); color: var(--forest); }

.booking-step__q { font-family: var(--display); font-size: clamp(21px,2.2vw,27px); font-weight: 400; margin: 0 0 18px; }
.booking-step.is-active { animation: bk-fade .4s var(--ease) both; }
@keyframes bk-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* service cards */
.booking-services { display: grid; gap: 10px; }
.booking-service { position: relative; text-align: left; display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.booking-service:hover { border-color: var(--sage-soft); }
.booking-service.is-on { border-color: var(--sage); background: rgba(88,107,77,.07); box-shadow: 0 0 0 1px var(--sage); }
.booking-service__badge { position: absolute; top: -9px; left: 16px; background: var(--clay); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.booking-service__name { font-size: 17px; font-weight: 600; color: var(--ink); }
.booking-service__meta { font-family: var(--display); font-size: 15px; color: var(--clay-2); }
.booking-service__desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }

/* location toggle */
.booking-loc { margin-top: 20px; }
.booking-loc__label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 9px; }
.booking-seg { display: flex; gap: 10px; flex-wrap: wrap; }
.booking-seg__opt { padding: 11px 18px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.booking-seg__opt:hover { border-color: var(--sage-soft); }
.booking-seg__opt.is-on { background: var(--sage); border-color: var(--sage); color: var(--cream); }

/* calendar */
.booking-cal { margin-bottom: 22px; }
.booking-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.booking-cal__month { font-weight: 600; font-size: 15.5px; text-transform: capitalize; }
.booking-cal__nav { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.booking-cal__nav:hover:not(:disabled) { background: var(--paper-deep); color: var(--ink); }
.booking-cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.booking-cal__dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px; }
.booking-cal__dow span { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.booking-cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.booking-cal__cell { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--paper); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.booking-cal__cell.is-empty { background: none; pointer-events: none; }
.booking-cal__cell:hover:not(.is-disabled) { background: var(--paper-deep); }
.booking-cal__cell.is-disabled { color: var(--ink-3); opacity: .35; cursor: not-allowed; background: none; }
.booking-cal__cell.is-today { box-shadow: inset 0 0 0 1px var(--sage-soft); }
.booking-cal__cell.is-on { background: var(--sage); color: var(--cream); }

/* slots */
.booking-slots__label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; text-transform: capitalize; }
.booking-slots__list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 20px; }
.booking-slot { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: all .2s var(--ease); }
.booking-slot:hover { border-color: var(--sage-soft); }
.booking-slot.is-on { background: var(--sage); border-color: var(--sage); color: var(--cream); }
.booking-slots__none { font-size: 14px; color: var(--ink-2); }
.booking-tznote { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); }
.booking-horizon { margin: 5px 0 0; font-size: 13px; color: var(--sage); }
.booking-cerr { margin: 14px 0 0; font-size: 13.5px; color: var(--clay-2); }

/* visible keyboard focus for the custom controls */
.booking-service:focus-visible, .booking-seg__opt:focus-visible,
.booking-cal__cell:focus-visible, .booking-slot:focus-visible,
.booking-cal__nav:focus-visible { outline: 2px solid var(--clay-2); outline-offset: 2px; }
.booking-step__q:focus { outline: none; }

/* nav row */
.booking-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 26px; }
.booking-nav .btn { justify-content: center; }
.booking-nav .booking-next { margin-left: auto; }
.booking-nav .btn--ghost { color: var(--ink-2); }
.btn.is-loading { opacity: .65; pointer-events: none; }

/* summary + payment */
.booking-summary { margin: 0; }
.booking-summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.booking-summary__row dt { color: var(--ink-2); font-size: 14px; }
.booking-summary__row dd { margin: 0; font-weight: 600; font-size: 14.5px; text-align: right; color: var(--ink); }

.booking-pay { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.booking-pay__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.booking-pay__title { font-weight: 600; font-size: 14px; color: var(--ink); }
.booking-pay__amount { font-family: var(--display); font-size: 20px; color: var(--clay-2); }
.booking-pay__hint { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin: 8px 0 16px; }
.booking-pay__row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.booking-pay__qr { background: #fff; padding: 10px; border-radius: 12px; box-shadow: var(--shadow-soft); flex: 0 0 auto; line-height: 0; }
.booking-pay__qr svg { width: 132px; height: 132px; display: block; }
.booking-pay__qrfail { font-size: 12.5px; color: var(--clay-2); max-width: 140px; display: inline-block; line-height: 1.4; }
.booking-pay__details { flex: 1 1 180px; margin: 0; }
.booking-pay__details .booking-summary__row { padding: 8px 0; }
.booking-pay__details dd { word-break: break-all; }

.booking-error { color: var(--clay-2); font-size: 14px; margin-top: 14px; }
.booking-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* success */
.booking-done { text-align: center; padding: 10px 0; animation: pop .6s var(--ease); }
.booking-done .check { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin: 0 auto 20px; color: var(--cream); }
.booking-done h3 { font-size: 27px; margin-bottom: 10px; }
.booking-done__text { color: var(--ink-2); line-height: 1.6; }
.booking-done__payment { max-width: 620px; margin: 24px auto 0; text-align: left; }
.booking-done__mail { margin-top: 18px; display: inline-flex; }

@media (max-width: 420px) {
  .booking-steps li:not(:last-child)::after { display: none; }
  .booking-pay__row { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-step.is-active, .booking-done { animation: none; }
}
