/* ============================================================
   Iva Tasheva — Nutritional Therapy
   Design system v2 — soft, airy, editorial.
   Palette from the client's brief (Сайт Идеи.pdf, last page).
   ============================================================ */

:root {
  /* Palette from the brief */
  --green-900: #394333;   /* primary accent — buttons, headings accents */
  --green-800: #46543f;
  --green-700: #64755c;   /* sage */
  --green-100: #dde3d6;   /* light sage */
  --tan-600:   #8f6746;   /* caramel */
  --sand-400:  #c8b29d;
  --sand-300:  #e7d6c3;
  --cream-200: #f2e8de;
  --cream-100: #faf7f2;   /* page background */
  --ink:       #2e2620;   /* primary text */
  --ink-soft:  #5b5143;   /* secondary text */
  --white:     #ffffff;

  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans:  'Nunito Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 30px rgba(58, 47, 40, 0.09);
  --shadow-lift: 0 18px 44px rgba(58, 47, 40, 0.15);
  --container: 1160px;
  --header-h: 84px;

  /* Decorative line-art branch (sage) */
  --deco-branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%2371816a' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M50 96 C48 62 52 36 61 6'/%3E%3Cpath d='M54 72 C40 64 32 52 30 37'/%3E%3Cpath d='M57 50 C70 44 77 34 79 21'/%3E%3Cellipse cx='29' cy='34' rx='3.6' ry='7.5' transform='rotate(-32 29 34)'/%3E%3Cellipse cx='79' cy='18' rx='3.6' ry='7.5' transform='rotate(26 79 18)'/%3E%3Cellipse cx='61' cy='5' rx='3.2' ry='6.5' transform='rotate(12 61 5)'/%3E%3Cellipse cx='43' cy='58' rx='3' ry='6' transform='rotate(-24 43 58)'/%3E%3Cellipse cx='68' cy='38' rx='3' ry='6' transform='rotate(30 68 38)'/%3E%3C/g%3E%3C/svg%3E");
  --deco-branch-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23faf7f2' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M50 96 C48 62 52 36 61 6'/%3E%3Cpath d='M54 72 C40 64 32 52 30 37'/%3E%3Cpath d='M57 50 C70 44 77 34 79 21'/%3E%3Cellipse cx='29' cy='34' rx='3.6' ry='7.5' transform='rotate(-32 29 34)'/%3E%3Cellipse cx='79' cy='18' rx='3.6' ry='7.5' transform='rotate(26 79 18)'/%3E%3Cellipse cx='61' cy='5' rx='3.2' ry='6.5' transform='rotate(12 61 5)'/%3E%3Cellipse cx='43' cy='58' rx='3' ry='6' transform='rotate(-24 43 58)'/%3E%3Cellipse cx='68' cy='38' rx='3' ry='6' transform='rotate(30 68 38)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--cream-100); overflow-x: clip; color-scheme: only light; }
body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  opacity: 1;
  transition: opacity 0.28s ease;
}

/* FOUC guard: the page stays invisible until fonts, partials and i18n are
   ready (main.js lifts it, capped at ~700ms). Without JS it never engages. */
html.js-loading body { opacity: 0; }

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.35rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; margin: 0 0 0.5em; color: var(--ink); }

p { margin: 0 0 1em; }

a { color: var(--green-900); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tan-600); }

:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-100); }

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

.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream-200); }
.section--sage { background: var(--green-100); }
.section--white { background: var(--white); }

/* Eyebrow label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--tan-600);
  opacity: .6;
}
.section-head--center .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--tan-600);
  opacity: .6;
}

/* Handwritten accent (Caveat) */
.script-accent {
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--tan-600);
  line-height: 1.3;
}

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.lead { font-size: 1.16rem; color: var(--ink-soft); line-height: 1.75; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-900);
  color: var(--cream-100);
  box-shadow: 0 10px 22px rgba(57, 67, 51, 0.22);
}
.btn-primary:hover { background: var(--green-800); color: var(--white); box-shadow: 0 14px 28px rgba(57, 67, 51, 0.28); }

.btn-outline { background: transparent; color: var(--green-900); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream-100); }

.btn-tan { background: var(--tan-600); color: var(--white); box-shadow: 0 10px 22px rgba(165, 124, 91, 0.25); }
.btn-tan:hover { background: #946e4f; color: var(--white); }

.btn-ghost { background: var(--cream-200); color: var(--ink); }
.btn-ghost:hover { background: var(--sand-300); color: var(--ink); }

.btn-lg { padding: 18px 38px; font-size: 0.86rem; }
.btn-sm { padding: 12px 24px; font-size: 0.74rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 178, 157, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.site-header .container { max-width: 1280px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__sprig { width: 72px; height: 17px; display: block; margin-bottom: 3px; opacity: 0.9; }
.brand__name {
  font-family: 'Parisienne', var(--font-serif), cursive;
  font-size: 1.95rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand__tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-top: 2px;
}
.brand:hover .brand__name { color: var(--green-900); }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
}
.main-nav a:hover { color: var(--green-900); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--tan-600);
  transition: right .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--green-900); font-weight: 700; }
.main-nav .btn { display: none; }   /* shown only inside the mobile panel */
.main-nav .btn::after { content: none; }
.main-nav a.btn-primary { color: var(--cream-100); }
.main-nav a.btn-primary:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Language switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--sand-300);
  background: var(--white);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.lang-switch button.active { background: var(--green-900); color: var(--cream-100); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: 100px 0 92px; overflow: hidden; position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.16rem; margin-bottom: 36px; max-width: 500px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .script-accent { display: block; margin-top: 26px; }

.hero__media { position: relative; }
.hero__media::before {
  content: '';
  position: absolute;
  top: -34px;
  right: -30px;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-100) 0%, rgba(221, 227, 214, 0) 70%);
  pointer-events: none;
}
/* ---------- Photo placeholder (until real photos arrive) ---------- */

.ph-photo {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    var(--deco-branch) no-repeat center / 120px,
    radial-gradient(120% 90% at 20% 10%, var(--cream-200) 0%, var(--sand-300) 60%, var(--sand-400) 115%);
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
}
.ph-photo span {
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.ph-photo--tall { min-height: 480px; }
.ph-photo--wide { min-height: 280px; }
.ph-photo--arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--green-100);
  padding: 52px 0;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-band__grid .stat:not(:first-child) { border-left: 1px solid rgba(57, 67, 51, 0.14); }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-800);
  opacity: .75;
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--sand-400); }

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-soft); }
.card--cream { background: var(--cream-100); }

.card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream-200), var(--green-100));
  border: 1px solid rgba(113, 129, 106, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 22px;
}

/* Vintage "postal stamp" variant — brand glyphs on cream with a dashed ring */
.card__icon--stamp {
  background: var(--cream-100);
  border: 1.5px dashed var(--sand-400);
  box-shadow: inset 0 0 0 4px var(--white);
}
.card__icon--stamp svg {
  width: 25px;
  height: 25px;
  fill: var(--tan-600);
}
.card:hover .card__icon--stamp { border-color: var(--tan-600); }
.card:hover .card__icon--stamp svg { fill: var(--green-800); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Check list ---------- */

.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 36px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* "Gift voucher" note — dashed coupon card with the icon in a soft chip */
.bonus-note {
  display: flex;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
  border: 1.5px dashed var(--sand-400);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
  position: relative;
  overflow: hidden;
}
.bonus-note::after {
  content: '';
  position: absolute;
  top: -22px;
  right: -22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-100);
  opacity: .55;
  pointer-events: none;
}
.bonus-note .ms {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand-300);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--tan-600);
}
.bonus-note span:last-child { position: relative; z-index: 1; }

/* ---------- Areas / category chips ---------- */

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.area-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--sand-400); }
.area-item__emoji {
  width: 50px; height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream-200), var(--green-100));
  border: 1px solid rgba(113, 129, 106, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Recipe / blog category pills */
.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 52px;
}
.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  transition: color .18s ease;
}
.cat-pill__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand-300);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.cat-pill:hover .cat-pill__icon { transform: translateY(-3px); }
.cat-pill.active { color: var(--green-900); font-weight: 700; }
.cat-pill.active .cat-pill__icon { background: var(--green-100); border-color: var(--green-700); }

/* ---------- Testimonials ---------- */

.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 4px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1;
  color: var(--sand-300);
  pointer-events: none;
}
.testimonial-card__stars { color: var(--tan-600); font-size: 0.92rem; letter-spacing: 4px; }
.testimonial-card__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
  margin: 0;
}
.testimonial-card__author { font-weight: 700; font-size: 0.95rem; }
.testimonial-card__meta { font-size: 0.78rem; color: var(--ink-soft); opacity: .8; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rating-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.rating-badge__score { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 700; color: var(--green-900); }
.rating-badge__stars { color: var(--tan-600); letter-spacing: 3px; }
.rating-badge__count { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.price-card__name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 8px;
}
.price-card__tagline { font-size: 0.92rem; color: var(--ink-soft); min-height: 46px; margin-bottom: 16px; }
.price-card__price {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card__per { font-size: 0.74rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 24px; }
.price-card .check-list { text-align: left; font-size: 0.94rem; flex: 1; }
.price-card .btn { margin-top: auto; }

.price-card--featured {
  border: 2px solid var(--green-700);
  background: linear-gradient(180deg, var(--white) 55%, rgba(221, 227, 214, 0.35) 100%);
  transform: scale(1.045);
  z-index: 1;
}
.price-card--featured:hover { transform: scale(1.045) translateY(-6px); }
.price-card__flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-900);
  color: var(--cream-100);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(57, 67, 51, 0.25);
}

/* ---------- Steps ---------- */

.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
}
.step__num {
  counter-increment: step;
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--green-100);
  border: 1px solid rgba(113, 129, 106, 0.3);
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__num::before { content: counter(step); }
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(118deg, var(--green-900) 0%, var(--green-800) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 52px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 280px;
  height: 280px;
  background: var(--deco-branch-light) no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(-12deg);
}
.cta-band h2, .cta-band h3 { color: var(--cream-100); }
.cta-band p { color: rgba(250, 247, 242, 0.85); }
.cta-band .check-list li { color: rgba(250, 247, 242, 0.88); }
.cta-band .check-list li::before { background: rgba(250, 247, 242, 0.16); color: var(--green-100); }
.cta-band__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-band > *, .cta-band--split > *, .cards-2 > *, .cards-3 > *, .cards-4 > *, .bmi-grid > * { min-width: 0; }
.cta-band .btn-primary { background: var(--cream-100); color: var(--green-900); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--green-900); }

.cta-band--split { grid-template-columns: 1fr 0.9fr; padding: 0; overflow: hidden; }
.cta-band--split .cta-band__body { padding: 60px 52px; position: relative; z-index: 1; }
.cta-band--split .ph-photo { border-radius: 0; min-height: 100%; border: 0; box-shadow: none; }

/* ---------- FAQ accordion (native details) ---------- */

.faq-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--tan-600);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 28px 24px; color: var(--ink-soft); }
.faq-item[open] { border-color: var(--green-700); box-shadow: var(--shadow-soft); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-soft);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 9px;
}
.form-field label .req { color: var(--tan-600); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream-100);
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-sm);
  padding: 14px 17px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(113, 129, 106, 0.12);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--sand-400); }

.form-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }

/* Checkbox row (consent) */
.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--green-900);
  flex: 0 0 18px;
}

/* Range (readiness scale) */
.form-field input[type="range"] {
  width: 100%;
  accent-color: var(--green-900);
  margin: 10px 0 4px;
}
.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.range-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 10px;
}

.form-success {
  display: none;
  background: var(--green-100);
  border: 1px solid var(--green-700);
  color: var(--green-900);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 18px;
}
.form-success.visible { display: block; }
.form-error {
  display: none;
  background: #f7e7e1;
  border: 1px solid #b0654c;
  color: #8a4630;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 18px;
}
.form-error.visible { display: block; }

/* ---------- Calendly placeholder panel ---------- */

.bk-panel {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.bk-panel__note {
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 24px;
  text-align: center;
}

.bk-hint { text-align: center; padding: 0 24px 18px; margin: 0;
}

/* ---------- BMI / Helpful resources ---------- */

.bmi-section {
  background: var(--cream-200);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.bmi-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.bmi-card {
  background: var(--white);
  border: 1px solid rgba(200, 178, 157, 0.4);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-soft);
}
.bmi-card__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.bmi-result { text-align: center; margin-top: 28px; display: none; }
.bmi-result.visible { display: block; }
.bmi-result__num {
  font-family: var(--font-serif);
  font-size: 3.3rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1;
}
.bmi-result__cat { margin-top: 8px; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.bmi-resources { list-style: none; padding: 0; margin: 22px 0 0; }
.bmi-resources li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--ink-soft);
}
.bmi-resources li::before {
  content: '✦';
  position: absolute;
  left: 6px;
  color: var(--tan-600);
  font-size: 0.8rem;
  line-height: 2.1;
}

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

.site-footer { background: var(--cream-200); border-top: 1px solid rgba(200, 178, 157, 0.5); }

/* Brand strip above the link columns */
.site-footer__brand {
  text-align: center;
  padding: 68px 0 46px;
  border-bottom: 1px solid rgba(200, 178, 157, 0.45);
}
.footer-brand-name {
  font-family: 'Parisienne', var(--font-serif), cursive;
  font-size: 2.9rem;
  color: var(--ink);
  line-height: 1.1;
  display: block;
}
.footer-brand-tag {
  max-width: 560px;
  margin: 14px auto 26px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.footer-social-row { display: flex; justify-content: center; gap: 16px; }
.footer-social-row a {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sand-300);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social-row a:hover { transform: translateY(-3px); background: var(--green-900); border-color: var(--green-900); }
.footer-social-row svg { width: 23px; height: 23px; fill: var(--green-800); transition: fill .2s ease; }
.footer-social-row a:hover svg { fill: var(--cream-100); }

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1.15fr;
  gap: 52px;
  padding: 56px 0 44px;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tan-600);
  margin: 0 0 24px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { font-size: 1.02rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--green-900); }

.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }

/* Credentials band — logos sit directly on the page, no white tiles */
.cred-band {
  border-top: 1px solid rgba(200, 178, 157, 0.5);
  padding: 40px 0 8px;
}
.cred-band__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tan-600);
  margin: 0 0 28px;
  text-align: center;
}
.cred-band__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: start;
}
.cred {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.cred__logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred__logo img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}
/* the navy plate is part of the Worcester mark — round its corners */
.cred__logo--dark img { border-radius: 5px; }
.cred__label {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 190px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(200, 178, 157, 0.5);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.site-footer__bottom a { color: var(--ink-soft); }
.site-footer__bottom a:hover { color: var(--green-900); }
.site-footer__copy { margin-left: auto; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--tan-600);
  opacity: .6;
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .price-card:hover, .area-item:hover { transform: none; }
}

/* ---------- Icons (Material Symbols Outlined) ---------- */

.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: 300;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'opsz' 40, 'FILL' 0, 'GRAD' 0;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.card__icon .ms { font-size: 1.8rem; color: var(--green-800); }
.area-item__emoji .ms { font-size: 1.45rem; color: var(--green-800); }
.cat-pill__icon .ms { font-size: 1.5rem; color: var(--green-800); }
.cat-pill.active .cat-pill__icon .ms { color: var(--green-900); }
.recipe-card__visual .ms,
.blog-card__visual .ms { font-size: 3.4rem; font-weight: 200; color: var(--tan-600); }
.bonus-note .ms { font-size: 1.2rem; color: var(--tan-600); flex: 0 0 auto; margin-top: 1px; }

/* Inline icon inside a text string (i18n-injected) */
.ms-in { font-size: 1.05em; vertical-align: -0.18em; color: inherit; }

/* ---------- Card visual photos (recipes / blog) ---------- */

.recipe-card__visual, .blog-card__visual { position: relative; overflow: hidden; }
.visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .visual-photo { transform: scale(1.045); }
.visual-chip {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(58, 47, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-chip .ms { font-size: 1.25rem; color: var(--green-800); }

.section, .section--tight { position: relative; }
.section > .container, .section--tight > .container { position: relative; z-index: 1; }

/* ---------- Floral side columns (client reference: thin flowing lines + sparse sprigs) ---------- */

.floral-col {
  position: absolute;
  top: 0;
  width: 300px;              /* 230px арт + 70px място за листата към съдържанието */
  overflow: hidden;          /* нищо не стърчи под footer-а (иначе удължава страницата) */
  z-index: 5;
  pointer-events: none;
}
.floral-col--left { left: 0; }
.floral-col--right { right: 0; }
.floral-col svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* китките се появяват, когато линията стигне до тях */
.fl-sprig {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.fl-sprig.grown { opacity: 1; }

@media (max-width: 1700px) {
  .floral-col { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-sprig { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-photo, .card:hover .visual-photo { transition: none; transform: none; }
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.divider { border: 0; border-top: 1px solid var(--sand-300); margin: 60px 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid, .bmi-grid, .cta-band, .cta-band--split { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .cards-3, .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .hero { padding: 64px 0 60px; }
  .section { padding: 68px 0; }
}

/* Header collapses earlier — the full nav needs ~1120px */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream-100);
    border-bottom: 1px solid var(--sand-300);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
  }
  .nav-open .main-nav { display: flex; }
  .header-actions .btn { display: none; }
  .nav-open .main-nav .btn { display: inline-flex; }
}

@media (max-width: 900px) {
  .cred-band__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .cards-4 { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
  .cred-band__grid { grid-template-columns: repeat(2, 1fr); }
  .cred__logo { height: 52px; }
  .cards-2, .area-grid, .form-grid, .bmi-card__fields { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-band__grid .stat:not(:first-child) { border-left: 0; border-top: 1px solid rgba(57, 67, 51, 0.14); padding-top: 26px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .cta-band, .cta-band--split .cta-band__body { padding: 44px 30px; }
  .form-card { padding: 32px 24px; }
  .site-footer__copy { margin-left: 0; }
}


/* ---------- Интро „разцъфващо цвете" (клик върху цветето отваря сайта) ---------- */

.iv-intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: var(--cream-100);
  overflow: hidden;
  opacity: 1; transition: opacity .7s ease;
}
.iv-intro.leaving { opacity: 0; pointer-events: none; }

.iv-intro__brand {
  font-family: 'Parisienne', var(--font-serif), cursive;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--green-900);
  line-height: 1;
  opacity: 0;
  animation: ivFade 1s ease .3s forwards;
  position: relative; z-index: 2;
}
.iv-intro__hint {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: ivFade 1s ease 2.4s forwards, ivPulse 2.6s ease-in-out 3.4s infinite;
  position: relative; z-index: 2;
}

.iv-stage { position: relative; z-index: 2; }
.iv-mid { position: relative; width: min(66vw, 48vh); aspect-ratio: 1; z-index: 2; }
.iv-canvas { position: absolute; inset: 0; z-index: 1; }
.iv-canvas canvas { width: 100%; height: 100%; display: block; }
.iv-flower {
  width: min(66vw, 48vh);
  aspect-ratio: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease;
}
.iv-stage::after {
  content: '';
  position: absolute; left: 50%; bottom: -4%;
  width: 74%; height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(58, 47, 40, 0.16) 0%, transparent 68%);
  pointer-events: none;
}
.iv-flower:hover { transform: scale(1.03); }
.iv-flower svg { width: 100%; height: 100%; display: block; overflow: visible; background-color: var(--cream-100); }
.iv-flower--vid { width: min(78vw, 56vh); }
.iv-flower--vid video { width: 100%; height: 100%; object-fit: contain; display: block; }
.iv-flower.iv-breathe { animation: ivBreathe 6.5s ease-in-out infinite; }
.iv-intro__brand, .iv-intro__hint { background-color: var(--cream-100); }
.iv-fall svg { background-color: var(--cream-100); border-radius: 50%; }

/* венчелистче: ротацията е на родителя <g>, разгъването — на детето */
.iv-p {
  transform-origin: 0 0;
  transform: scale(0.68, 0.2);
  animation: ivUnfold 1.6s cubic-bezier(.33, 1.12, .38, 1) forwards;
  animation-delay: var(--d, 0s);
}
.iv-sepal {
  transform-origin: 0 0;
  transform: scale(0.8, 0.45);
  animation: ivSepal 1.5s cubic-bezier(.33, 1.12, .38, 1) forwards;
  animation-delay: var(--d, 0.25s);
}
.iv-core {
  transform-origin: 0 0;
  transform: scale(0.5);
  animation: ivCore 1.1s cubic-bezier(.33, 1.12, .38, 1) 2.3s forwards;
}
.iv-bloom {
  transform-origin: 0 0;
  opacity: 0;
  animation: ivFade .45s ease .1s forwards, ivBreathe 7s ease-in-out 3.8s infinite;
}
.iv-intro.leaving .iv-p, .iv-intro.leaving .iv-core, .iv-intro.leaving .iv-sepal {
  animation: none;
  transition: transform .7s cubic-bezier(.45, 0, .85, .4), opacity .6s ease;
  transform: scale(1.9);
  opacity: 0;
}
.iv-flower.iv-nudge { animation: ivNudge .5s ease; }

/* падащи венчелистчета/листа — откъсват се от цветето */
.iv-fall {
  position: absolute; top: 0; left: 0; z-index: 1;
  pointer-events: none;
  will-change: transform, opacity;
  animation: ivFallY var(--fd, 8s) linear forwards;
}
.iv-fall__sway { animation: ivSwayX var(--sd, 2.8s) ease-in-out infinite alternate; }
.iv-fall__spin { animation: ivSpinR var(--fd, 8s) linear forwards; }
.iv-fall svg { display: block; }

@keyframes ivUnfold {
  0%   { transform: scale(0.68, 0.2); }
  55%  { transform: scale(0.93, 0.8); }
  82%  { transform: scale(1.04, 1.07); }
  100% { transform: scale(1, 1); }
}
@keyframes ivSepal {
  0%   { transform: scale(0.8, 0.45); }
  70%  { transform: scale(1.03, 1.05); }
  100% { transform: scale(1, 1); }
}
@keyframes ivCore {
  0%   { transform: scale(0.5); }
  75%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes ivBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.028); } }
@keyframes ivFade   { to { opacity: 1; } }
@keyframes ivPulse  { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes ivNudge  { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) scale(1.04); } 65% { transform: rotate(3deg); } }
@keyframes ivFallY {
  0%   { transform: translateY(0); opacity: 0; }
  6%   { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateY(106vh); opacity: 0; }
}
@keyframes ivSwayX { from { transform: translateX(-16px); } to { transform: translateX(16px); } }
@keyframes ivSpinR { from { transform: rotate(var(--r0, 0deg)); } to { transform: rotate(var(--r1, 220deg)); } }

@media (prefers-reduced-motion: reduce) {
  .iv-p, .iv-core, .iv-sepal { animation: none; transform: none; opacity: 1; }
  .iv-bloom { opacity: 1; }
  .iv-bloom, .iv-intro__hint, .iv-fall, .iv-fall__sway, .iv-fall__spin { animation: none; }
  .iv-intro__brand, .iv-intro__hint { opacity: 1; }
  .iv-fall { display: none; }
}

/* ---------- Мека фото-измивка по ръба на секция (briefing стр. 11) ---------- */

.photo-wash { position: relative; overflow: hidden; }
.photo-wash > .container { position: relative; z-index: 1; }
.photo-wash__img {
  position: absolute; top: 0; right: 0; height: 100%; width: 46%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.9) 25%, transparent 96%);
  mask-image: linear-gradient(to left, rgba(0,0,0,.9) 25%, transparent 96%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .photo-wash__img {
    width: 80%; opacity: .3;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.85) 15%, transparent 92%);
    mask-image: linear-gradient(to left, rgba(0,0,0,.85) 15%, transparent 92%);
  }
}

/* ---------- Booking: избор на услуга + календар (briefing стр. 8) ---------- */

.booking-grid { display: grid; grid-template-columns: 0.92fr 1.15fr; }
.svc-col { padding: 28px 26px 24px; border-right: 1px solid rgba(200, 178, 157, 0.35); }
.cal-col { padding: 16px 10px 0; }
.svc-col__title { font-family: var(--font-serif); font-size: 1.22rem; margin: 0 0 4px; color: var(--ink); }
.cal-col .svc-col__title { padding-left: 14px; }
.svc-card {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--white);
  border: 1.5px solid rgba(200, 178, 157, 0.5);
  border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 12px;
  cursor: pointer; font-family: var(--font-sans);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.svc-card:hover { border-color: var(--green-700); }
.svc-card.is-active { border-color: var(--green-900); background: #f2f5ee; box-shadow: 0 6px 18px rgba(57, 67, 51, 0.10); }
.svc-card__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sand-400); flex: none; position: relative; }
.svc-card.is-active .svc-card__radio { border-color: var(--green-900); }
.svc-card.is-active .svc-card__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--green-900); }
.svc-card__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.svc-card__name { font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.35; }
.svc-card__meta { font-size: 0.78rem; color: var(--ink-soft); }
.svc-card__price { font-family: var(--font-serif); font-weight: 700; color: var(--green-900); font-size: 1.08rem; white-space: nowrap; }
.svc-note { margin-top: 14px; margin-bottom: 0; }
.svc-script { margin-top: 20px; }
.booking-steps {
  display: flex; justify-content: center; gap: 40px;
  padding: 22px 12px 10px;
  border-top: 1px solid rgba(200, 178, 157, 0.35);
  margin-top: 8px;
}
.bstep { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.bstep span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--sand-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
}
.bstep em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.bstep.is-done span, .bstep.is-active span { background: var(--green-900); border-color: var(--green-900); color: var(--cream-100); }
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
  .svc-col { border-right: 0; border-bottom: 1px solid rgba(200, 178, 157, 0.35); }
  .booking-steps { gap: 20px; flex-wrap: wrap; }
}


/* ---------- Плаващи отзиви (безкраен карусел, пауза при hover) ---------- */
.t-marquee--on {
  display: block;
  overflow: hidden;
  max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.t-track {
  display: flex;
  width: max-content;
  animation: tScroll 65s linear infinite;
}
.t-track .testimonial-card { flex: 0 0 360px; margin-right: 24px; }
.t-marquee--on:hover .t-track { animation-play-state: paused; }
@keyframes tScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .t-track .testimonial-card { flex-basis: 300px; } .t-track { animation-duration: 130s; } }
.t-marquee--on.is-paused .t-track { animation-play-state: paused; }
.t-marquee--on .testimonial-card { cursor: pointer; }
.t-pause {
  display: flex; align-items: center; gap: 6px; width: max-content; margin: 22px auto 0;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid rgba(200, 178, 157, 0.6); background: transparent;
  color: var(--ink-soft); font-family: var(--font-sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.t-pause .ms { font-size: 18px; }
.t-pause:hover { border-color: var(--green-700); color: var(--green-900); }

/* Въртящи се допълнителни курсове/дипломи */
.edu-strip { margin-top: 34px; text-align: center; }
.edu-strip__label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-600); margin-bottom: 14px; }
.edu-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.edu-track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.edu-track li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid rgba(200, 178, 157, 0.45); color: var(--ink); font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.edu-track li .ms { font-size: 20px; color: var(--green-700); }
.edu-marquee--on .edu-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: eduScroll var(--edu-dur, 36s) linear infinite; }
.edu-marquee--on:hover .edu-track { animation-play-state: paused; }
@keyframes eduScroll { from { transform: translateX(0); } to { transform: translateX(var(--edu-shift, -50%)); } }
@media (prefers-reduced-motion: reduce) { .edu-track { animation: none; } }
@media (prefers-reduced-motion: reduce) { .t-track { animation: none; } }


/* BMI справочна таблица */
.bmi-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 0.88rem; }
.bmi-table td { padding: 8px 10px; border-top: 1px solid rgba(200, 178, 157, 0.35); color: var(--ink-soft); }
.bmi-table td:last-child { text-align: right; font-weight: 700; color: var(--green-900); white-space: nowrap; }


/* ---------- Страница на статия (блог) ---------- */
.post-head { max-width: 820px; }
.post-head h1 { margin-bottom: .3em; }
.post-meta { font-size: .88rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 18px; }
.post-cover { margin: 36px 0 40px; border-radius: var(--radius-lg); overflow: hidden; border: 10px solid var(--white); box-shadow: var(--shadow-lift); max-height: 520px; }
.post-cover img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; display: block; }
.post-body { max-width: 760px; font-size: 1.08rem; line-height: 1.8; }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-size: 1.55rem; margin: 1.6em 0 .6em; }
.post-body ul { margin: 0 0 1.4em; padding-left: 1.3em; }
.post-body li { margin-bottom: .45em; }
a.blog-card { text-decoration: none; color: inherit; display: block; }
a.blog-card:hover h3 { color: var(--green-900); }


/* ---------- Лента „Балансирана чиния“ (в подвала на всяка страница) ---------- */
/* Тийзър „Създай балансирана чиния" (partials/footer.html, всяка страница).
   Двуколонен блок върху кремав фон: вляво въведение + четирите хранителни
   групи, вдясно кръглата чиния с декоративни „+" маркери и съвет, отдолу
   централен бутон към plate.html. Само надгражданията върху main.css;
   всички класове са с представка pt-, за да не се застъпват с plate.css. */

.plate-teaser {
  background: var(--cream-200);
}

/* ---------- Разположение ---------- */

.pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- Лява колона: въведение ---------- */

.pt-pill {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.plate-teaser h2 { margin: 0 0 14px; }

.pt-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 44ch;
}

/* ---------- Хранителни групи ---------- */

.pt-groups {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.pt-group {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pt-group__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-200), var(--green-100));
  border: 1px solid rgba(113, 129, 106, 0.25);
}
.pt-group__icon .ms { font-size: 1.35rem; color: var(--green-800); }

/* тонирани варианти по групи */
.pt-group__icon--protein .ms { color: var(--green-700); }
.pt-group__icon--veg     .ms { color: var(--green-700); }
.pt-group__icon--fats    .ms { color: var(--green-800); }
.pt-group__icon--carbs {
  background: linear-gradient(135deg, var(--cream-200), var(--sand-300));
  border-color: rgba(143, 103, 70, 0.28);
}
.pt-group__icon--carbs .ms { color: var(--tan-600); }

.pt-group__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 3px 0 5px;
}
.pt-group__title--green7 { color: var(--green-700); }
.pt-group__title--tan    { color: var(--tan-600); }
.pt-group__title--green8 { color: var(--green-800); }

.pt-group__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Дясна колона: чиния + съвет ---------- */

.pt-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Кръгла чиния: 4 четвъртини + светла рамка (както в инструмента) */
.pt-plate {
  position: relative;
  width: clamp(260px, 34vw, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.pt-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: var(--cream-200);
  border: 14px solid var(--white);
  box-shadow: var(--shadow-lift), inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.pt-quad { position: relative; overflow: hidden; background: var(--cream-200); }
.pt-quad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.pt-plate:hover .pt-quad img { transform: scale(1.04); }

/* тънки светли разделители между четвъртините */
.pt-disc::before,
.pt-disc::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  z-index: 2;
  pointer-events: none;
}
.pt-disc::before { left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-1.5px); }
.pt-disc::after  { top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-1.5px); }

/* декоративни „+" маркери в ъглите на четвъртините */
.pt-mark {
  position: absolute;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--green-100);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  transform: translateY(-50%);
}
.pt-mark .ms { font-size: 1.25rem; }
.pt-mark--tl { top: 26%; left: -19px; }
.pt-mark--tr { top: 26%; right: -19px; }
.pt-mark--bl { top: 74%; left: -19px; }
.pt-mark--br { top: 74%; right: -19px; }

/* Съвет под чинията */
.pt-tip {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--cream-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  max-width: 460px;
}
.pt-tip__icon {
  flex: 0 0 auto;
  display: inline-flex;
}
.pt-tip__icon .ms { font-size: 1.5rem; color: var(--tan-600); }
.pt-tip__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Бутон ---------- */

.pt-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- Отзивчивост ---------- */

@media (max-width: 900px) {
  .pt-grid { grid-template-columns: 1fr; gap: 40px; }
  .pt-intro { text-align: center; }
  .pt-pill { margin-left: auto; margin-right: auto; }
  .pt-lead { margin-left: auto; margin-right: auto; }
  .pt-groups { max-width: 460px; margin-left: auto; margin-right: auto; text-align: left; }
  .pt-cta { margin-top: 40px; }
}

@media (max-width: 640px) {
  .pt-group { gap: 14px; }
  .pt-tip { flex-direction: column; text-align: center; padding: 20px 18px; }
  .pt-mark { width: 32px; height: 32px; }
  .pt-mark .ms { font-size: 1.05rem; }
  .pt-mark--tl, .pt-mark--bl { left: -12px; }
  .pt-mark--tr, .pt-mark--br { right: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-quad img,
  .pt-plate:hover .pt-quad img { transition: none; transform: none; }
}

/* на самата страница на инструмента лентата е излишна */
body[data-page="plate"] .plate-teaser { display: none; }
