/*
Theme Name: AINA Team
Theme URI: https://aina-team.kz
Author: AINA TEAM
Author URI: https://aina-team.kz
Description: Кастомная тема WordPress для сайта AINA TEAM — тренинги и курсы для родителей по авторской методике «Витамины Роста». Полностью адаптирована под дизайн лендинга. Готова к установке на хостинг Plesk.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aina-team
Tags: custom-theme, psychology, trainings, russian, one-page, landing
Requires at least: 5.5
Requires PHP: 7.4
*/

/* ============================================================
   AINA TEAM · Редизайн в стиле kabrita.kz
   Палитра: глубокий navy + кремовая бумага + теплое золото
   Шрифты: Cormorant Garamond (display) + Manrope (sans)
   ============================================================ */

:root{
  /* Brand */
  --navy:        #0E2A5C;     /* основной — близко к kabrita #002169 */
  --navy-deep:   #08183A;
  --navy-soft:   #2E4576;
  --gold:        #C9A24A;     /* золото из логотипа AINA */
  --gold-deep:   #A6822E;
  --gold-soft:   #E4C97E;
  --coral:       #E58F6E;     /* мягкий теплый акцент */
  --coral-soft:  #F4B89A;
  --cream:       #F9F1E2;     /* основной фон */
  --cream-2:     #FBF6EB;
  --paper:       #FFFBF1;
  --sand:        #EFE3CA;
  --line:        rgba(14, 42, 92, 0.12);
  --line-soft:   rgba(14, 42, 92, 0.07);
  --ink:         #1B2A4A;
  --ink-2:       #3A4A6E;
  --muted:       #7A8298;

  /* Shadows — теплые, мягкие как у kabrita */
  --sh-sm:  0 1px 2px rgba(14,24,58,0.05), 0 2px 6px rgba(14,24,58,0.04);
  --sh-md:  0 6px 14px -6px rgba(14,24,58,0.18), 0 14px 36px -10px rgba(14,24,58,0.10);
  --sh-lg:  0 20px 50px -20px rgba(14,24,58,0.30), 0 8px 20px -8px rgba(14,24,58,0.10);
  --sh-gold:0 18px 40px -18px rgba(166,130,46,0.55);

  --r:    16px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
section{ position: relative; }

.wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ============ TYPOGRAPHY ============ */
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
h1{ font-size: clamp(40px, 6vw, 78px); line-height: 1.02; font-weight: 500; letter-spacing: -0.02em;}
h2{ font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
h3{ font-size: clamp(22px, 2.2vw, 28px); }
h4{ font-size: 20px; }
p{ margin: 0; }
em, .italic{ font-style: italic; }
.script{ font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-deep); }
.lead{
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 58ch;
  font-weight: 400;
}

/* Mini eyebrow tag — стиль kabrita: маленькие капс с точкой */
.eyebrow{
  display:inline-flex; align-items:center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before{
  content:"";
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow.on-dark{ color: var(--gold-soft);}
.eyebrow.center::after{
  content:"";
  width: 28px; height: 1px;
  background: currentColor;
}

/* Decorative kazakh ornament svg — повторяет мотив с логотипа, но мягко */
.ornament{
  width: 100%;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='14' viewBox='0 0 80 14'><g fill='none' stroke='%23C9A24A' stroke-width='1' opacity='0.7'><path d='M0 7 L10 7 M14 3 L18 7 L14 11 M22 3 L18 7 L22 11 M26 7 L36 7 M40 1 L40 13 M44 7 L54 7 M58 3 L62 7 L58 11 M66 3 L62 7 L66 11 M70 7 L80 7'/><circle cx='40' cy='7' r='2'/></g></svg>");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.5;
}

/* ============ BUTTONS ============ */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 17px 32px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .25s, color .25s, border-color .25s;
}
.btn-primary{
  background: var(--navy);
  color: var(--cream-2);
  box-shadow: 0 14px 28px -10px rgba(14,42,92,0.45);
}
.btn-primary:hover{ background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(14,42,92,0.55); }
.btn-gold{
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--sh-gold);
}
.btn-gold:hover{ background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border-color: rgba(14,42,92,0.3);
}
.btn-outline:hover{ background: var(--navy); color: var(--cream-2); border-color: var(--navy); transform: translateY(-2px);}
.btn-ghost-light{
  background: rgba(255,251,241,0.08);
  color: var(--cream-2);
  border-color: rgba(255,251,241,0.3);
}
.btn-ghost-light:hover{ background: var(--cream-2); color: var(--navy); border-color: var(--cream-2);}
.btn-block{ width: 100%; }
.btn-lg{ font-size: 16px; padding: 20px 38px;}
.btn .arr{
  display:inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  align-items:center; justify-content: center;
  font-size: 13px; transition: transform .3s;
}
.btn:hover .arr{ transform: translateX(3px);}
.btn-gold .arr{ background: rgba(14,42,92,0.15);}
.btn-outline .arr{ background: rgba(14,42,92,0.08);}

/* ============ NAV ============ */
.nav{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(249,241,226,0.85);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled{ box-shadow: 0 4px 20px -8px rgba(14,24,58,0.08);}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 24px;
  padding: 14px 32px;
  max-width: 1240px; margin: 0 auto;
}
.brand{
  display:flex; align-items:center; gap:14px;
  text-decoration:none;
  flex-shrink: 0;
}
.brand-logo{
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--navy-deep);
  padding: 4px;
  box-shadow: var(--sh-sm), inset 0 0 0 1px rgba(201,162,74,0.4);
  overflow: hidden;
}
.brand-logo img{ width: 100%; height: 100%; object-fit: cover; border-radius: 8px;}
.brand-text{
  display:flex; flex-direction: column; line-height: 1;
}
.brand-text strong{
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: var(--navy); letter-spacing: 0.04em;
}
.brand-text small{
  margin-top: 4px;
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-links{ display:flex; gap: 32px; align-items:center;}
.nav-links a{
  color: var(--ink-2); text-decoration: none;
  font-size: 15px; font-weight: 600;
  transition: color .25s;
  position: relative;
}
.nav-links a::after{
  content:""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s;
}
.nav-links a:hover{ color: var(--navy);}
.nav-links a:hover::after{ transform: scaleX(1);}
.nav-cta{ padding: 12px 22px; font-size: 14px;}

.burger{
  display:none; width: 44px; height: 44px;
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 12px;
  align-items:center; justify-content:center;
  cursor: pointer;
  flex-direction: column; gap: 5px;
}
.burger span{ width: 18px; height: 2px; background: var(--navy); border-radius: 2px;}

@media (max-width: 980px){
  .nav-links, .nav .nav-cta{ display:none;}
  .burger{ display: inline-flex;}
  .nav-inner{ padding: 12px 20px;}
  .brand-logo{ width: 44px; height: 44px;}
  .brand-text strong{ font-size: 18px;}
  .brand-text small{ font-size: 10px;}
}

/* mobile drawer */
.drawer{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,24,58,0.55); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer.open{ opacity: 1; pointer-events: auto;}
.drawer-panel{
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 86vw;
  background: var(--cream-2);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 20px;
}
.drawer.open .drawer-panel{ transform: translateX(0);}
.drawer-panel a{
  font-family: var(--serif); font-size: 24px; color: var(--navy);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-panel a:last-of-type{ border-bottom: 0;}
.drawer-close{
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  cursor: pointer; font-size: 22px; color: var(--navy);
}

/* ============ HERO ============ */
.hero{
  padding: 60px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 100% 10%, rgba(201,162,74,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 90%, rgba(229,143,110,0.15) 0%, transparent 55%),
    linear-gradient(180deg, #FBF6EB 0%, #F9F1E2 100%);
  overflow: hidden;
}
.hero::before{
  content:""; position: absolute; left:-200px; top: 30%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,42,92,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 28px;
}

.hero-tag{
  display:inline-flex; align-items:center; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 18px;
  margin-bottom: 28px;
  box-shadow: var(--sh-sm);
}
.hero-tag .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #2EA567;
  box-shadow: 0 0 0 4px rgba(46,165,103,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100% { box-shadow: 0 0 0 4px rgba(46,165,103,0.18);}
  50% { box-shadow: 0 0 0 8px rgba(46,165,103,0.05);}
}
.hero-tag span{
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.hero-tag .pill{
  background: var(--navy);
  color: var(--cream-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
}

h1 .gold{ color: var(--gold-deep); font-style: italic; font-weight: 500;}
h1 .underline{
  position: relative;
  display: inline-block;
}
h1 .underline::after{
  content:""; position: absolute; left: 2%; right: 2%; bottom: 4px; height: 14px;
  background: var(--gold-soft); opacity: 0.55;
  z-index: -1; border-radius: 12px;
  transform: skewX(-2deg);
}

.hero-lead{
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 56ch;
}
.hero-cta{
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 36px;
}

.hero-trust{
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.hero-trust .ava{
  display: flex;
}
.hero-trust .ava span{
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
  background: var(--gold);
  display:flex; align-items:center; justify-content:center;
  color: var(--navy-deep); font-weight: 800; font-size: 13px;
  font-family: var(--sans);
}
.hero-trust .ava span:first-child{ margin-left: 0; background: var(--coral);}
.hero-trust .ava span:nth-child(2){ background: var(--gold); color: var(--navy-deep);}
.hero-trust .ava span:nth-child(3){ background: var(--navy-soft); color: var(--cream);}
.hero-trust .ava span:nth-child(4){ background: var(--gold-deep); color: #fff;}
.hero-trust .text{ font-size: 14px; color: var(--ink-2); line-height: 1.45;}
.hero-trust .stars{
  color: var(--gold-deep); letter-spacing: 1px; font-size: 14px;
  display: block;
}

/* Hero photo - стиль kabrita: круглые/мягкие кадры с decoration */
.hero-photo-wrap{
  position: relative;
  perspective: 1000px;
}
.hero-photo{
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 280px 280px 32px 32px;
  background: var(--navy-deep);
  overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(201,162,74,0.4);
}
.hero-photo img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.hero-photo::after{
  content:""; position: absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,24,58,0.35) 100%);
  pointer-events: none;
}
.photo-caption{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--cream-2);
  z-index: 2;
}
.photo-caption .name{
  font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500;
}
.photo-caption .role{
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); margin-top: 4px; font-weight: 600;
}

/* Decorative floating circle and ornament */
.deco-ring{
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(201,162,74,0.5);
  pointer-events: none;
  animation: rot 90s linear infinite;
}
.deco-ring.r1{
  width: 110%; height: 110%;
  top: -5%; left: -5%;
}
@keyframes rot{ to{ transform: rotate(360deg);} }

.deco-tag{
  position: absolute;
  background: var(--paper);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--sh-md);
  z-index: 3;
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px;
}
.deco-tag .ic{
  width: 40px; height: 40px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(201,162,74,0.15);
  color: var(--gold-deep);
  flex-shrink: 0;
}
.deco-tag .ic.green{ background: rgba(46,165,103,0.15); color: #2A8E5A;}
.deco-tag .lab{
  font-size: 10px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 2px;
}
.deco-tag .val{
  font-family: var(--serif); font-weight: 600; font-size: 17px;
  color: var(--navy); white-space: nowrap;
}
.deco-tag.t1{ top: 18%; left: -34px; transform: rotate(-3deg);}
.deco-tag.t2{ bottom: 20%; right: -36px; transform: rotate(2deg);}

/* Stat card under hero */
.hero-stats{
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.hero-stats .s{
  padding: 22px 24px;
  border-right: 1px solid var(--line-soft);
}
.hero-stats .s:last-child{ border-right: 0;}
.hero-stats .num{
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px);
  color: var(--navy); font-weight: 600; line-height: 1;
}
.hero-stats .num em{ color: var(--gold-deep); font-style: normal;}
.hero-stats .lab{
  margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.35;
}

@media (max-width: 1000px){
  .hero{ padding: 40px 0 70px;}
  .hero-grid{ grid-template-columns: 1fr; gap: 60px;}
  .hero-photo{ max-width: 400px;}
  .deco-tag.t1{ left: -10px;}
  .deco-tag.t2{ right: -10px;}
}
@media (max-width: 600px){
  .hero{ padding: 24px 0 60px;}
  .hero-grid{ gap: 48px; padding-top: 8px;}
  .hero-cta{ flex-direction: column; align-items: stretch;}
  .hero-cta .btn{ width: 100%;}
  .hero-tag{ font-size: 11px; padding-left: 14px;}
  .hero-tag span{ font-size: 12px;}
  .hero-tag .pill{ font-size: 11px; padding: 5px 10px;}
  .hero-stats{ grid-template-columns: 1fr;}
  .hero-stats .s{ border-right: 0; border-bottom: 1px solid var(--line-soft);}
  .hero-stats .s:last-child{ border-bottom: 0;}
  .deco-tag.t1{ top: 10%; left: -8px; padding: 10px 12px;}
  .deco-tag.t2{ bottom: 14%; right: -8px; padding: 10px 12px;}
  .deco-tag .val{ font-size: 14px;}
  .deco-tag .ic{ width: 32px; height: 32px;}
  .hero-photo{ border-radius: 200px 200px 24px 24px;}
}

/* ============ SECTION HEAD ============ */
.section{ padding: 120px 0; }
@media (max-width: 768px){ .section{ padding: 80px 0;}}

.section-head{
  max-width: 760px; margin: 0 auto 64px;
  text-align: center;
}
.section-head h2{ margin-top: 22px;}
.section-head .lead{ margin: 24px auto 0;}
.section-head .ornament{ margin: 24px auto 0; max-width: 200px;}

/* ============ PROBLEMS — soft cream cards ============ */
.problems{
  background: var(--cream);
  position: relative;
}
.problems::before{
  content:""; position: absolute; top:0; left:0; right:0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.problems-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.p-card{
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 36px 32px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-sm);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.p-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(201,162,74,0.4);
}
.p-card::before{
  content:""; position: absolute; top: 0; left: 32px; right: 32px;
  height: 3px; background: var(--gold);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.p-card:hover::before{ transform: scaleX(1);}
.p-icon{
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(201,162,74,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-deep);
}
.p-card:nth-child(2) .p-icon{ background: rgba(229,143,110,0.14); color: #B8612F;}
.p-card:nth-child(3) .p-icon{ background: rgba(14,42,92,0.08); color: var(--navy);}
.p-card:nth-child(4) .p-icon{ background: rgba(46,165,103,0.12); color: #2A8E5A;}
.p-card:nth-child(5) .p-icon{ background: rgba(201,162,74,0.12); color: var(--gold-deep);}
.p-card:nth-child(6) .p-icon{ background: rgba(229,143,110,0.14); color: #B8612F;}
.p-card h3{ font-size: 24px; font-weight: 600; margin-bottom: 12px;}
.p-card p{ color: var(--ink-2); font-size: 15px; line-height: 1.6;}

@media (max-width: 980px){ .problems-grid{ grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 640px){ .problems-grid{ grid-template-columns: 1fr; gap: 16px;} .p-card{ padding: 28px 24px;} }

/* ============ INSIGHT — large dark navy banner ============ */
.insight{
  padding: 130px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,162,74,0.20), transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(229,143,110,0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream-2);
  text-align: center;
  overflow: hidden;
}
.insight .quote-mark{
  font-family: var(--serif); font-size: 180px; line-height: 0.5;
  color: var(--gold); opacity: 0.55;
  font-style: italic;
  margin-bottom: 0;
}
.insight h2{
  color: var(--cream-2);
  max-width: 22ch; margin: 16px auto 32px;
  font-size: clamp(34px, 5.4vw, 64px);
}
.insight h2 em{ color: var(--gold-soft); font-style: italic;}
.insight .sub{
  max-width: 600px; margin: 0 auto 32px;
  color: rgba(255,251,241,0.78);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}
.insight .closer{
  display: inline-block;
  padding: 18px 32px;
  border-top: 1px solid rgba(201,162,74,0.4);
  border-bottom: 1px solid rgba(201,162,74,0.4);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--cream-2);
  max-width: 600px;
}
.insight .closer strong{ color: var(--gold-soft); font-style: normal; font-weight: 600; }
.insight-deco{
  position: absolute; pointer-events: none; opacity: 0.2;
}
.insight-deco.l{ left: 4%; top: 18%; }
.insight-deco.r{ right: 4%; bottom: 18%; }
.insight-deco svg{ width: 80px; color: var(--gold);}

@media (max-width: 768px){
  .insight{ padding: 80px 0;}
  .insight .quote-mark{ font-size: 120px; line-height: 0.6;}
  .insight-deco{ display: none;}
}

/* ============ VITAMINS ============ */
.vitamins{
  padding: 130px 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(229,143,110,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(201,162,74,0.10), transparent 60%),
    var(--cream);
}
.vitamins-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.vit{
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 36px 30px 32px;
  position: relative;
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.vit:hover{ transform: translateY(-6px); box-shadow: var(--sh-md);}
.vit-num{
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--serif); font-style: italic;
  font-size: 56px; color: var(--sand);
  line-height: 1;
  font-weight: 500;
}
.vit-icon{
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display:flex; align-items: center; justify-content:center;
  color: var(--navy-deep);
  margin-bottom: 24px;
  box-shadow: 0 8px 18px -8px rgba(201,162,74,0.6);
}
.vit:nth-child(2) .vit-icon{ background: linear-gradient(135deg, var(--coral) 0%, #B8612F 100%); color: #fff;}
.vit:nth-child(3) .vit-icon{ background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%); color: var(--gold-soft);}
.vit:nth-child(4) .vit-icon{ background: linear-gradient(135deg, #6B7F5C 0%, #4F6244 100%); color: var(--cream-2);}
.vit:nth-child(5) .vit-icon{ background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%); color: var(--navy-deep);}
.vit:nth-child(6) .vit-icon{ background: linear-gradient(135deg, var(--coral-soft) 0%, var(--coral) 100%); color: #fff;}
.vit h3{
  font-size: 26px; font-weight: 600; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.vit .quote{
  font-family: var(--serif); font-style: italic;
  font-size: 17px; line-height: 1.55;
  color: var(--ink-2);
  position: relative; padding-left: 16px;
  border-left: 2px solid var(--gold);
}

@media (max-width: 980px){ .vitamins-grid{ grid-template-columns: repeat(2,1fr);}}
@media (max-width: 600px){ .vitamins-grid{ grid-template-columns: 1fr;} }

/* ============ PROGRAM — dark navy with cream lines ============ */
.program{
  padding: 130px 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(201,162,74,0.1), transparent 60%),
    var(--navy-deep);
  color: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.program h2{ color: var(--cream-2);}
.program .section-head{ color: var(--cream-2);}
.program .section-head .lead{ color: rgba(255,251,241,0.72);}
.program-grid{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(201,162,74,0.25);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255,251,241,0.02);
}
.module{
  display:grid; grid-template-columns: auto 1fr; gap: 22px;
  padding: 32px 30px;
  border-bottom: 1px solid rgba(201,162,74,0.18);
  border-right: 1px solid rgba(201,162,74,0.18);
  transition: background .3s;
  position: relative;
}
.module:nth-last-child(-n+2){ border-bottom: 0;}
.module:nth-child(2n){ border-right: 0;}
.module:hover{ background: rgba(201,162,74,0.04);}
.module:hover .num-circle{
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.num-circle{
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(201,162,74,0.45);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--gold-soft);
  flex-shrink: 0;
  transition: all .3s;
}
.module h3{
  color: var(--cream-2);
  font-size: 22px; margin-bottom: 8px;
  font-weight: 600;
}
.module p{
  color: rgba(255,251,241,0.7); line-height: 1.6; font-size: 15px;
}
@media (max-width: 768px){
  .program-grid{ grid-template-columns: 1fr;}
  .module{ border-right: 0; padding: 26px 22px;}
  .module:nth-last-child(-n+2){ border-bottom: 1px solid rgba(201,162,74,0.18);}
  .module:last-child{ border-bottom: 0;}
}

/* ============ EXPERT — round photo + ornament frame ============ */
.expert{
  padding: 130px 0;
  background:
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(201,162,74,0.12), transparent 60%),
    var(--cream-2);
  overflow: hidden;
}
.expert-grid{
  display:grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}
.expert-photo-wrap{
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.expert-photo{
  width: 100%; max-width: 420px; aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(201,162,74,0.4);
}
.expert-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.expert-photo-deco{
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  pointer-events: none;
}
.expert-photo-deco svg{
  width: 100%; height: 100%;
  color: var(--gold);
  opacity: 0.15;
}
.expert-name{
  text-align: center;
}
.expert-name h3{
  font-size: 32px; margin-bottom: 8px;
}
.expert-name .role{
  font-size: 15px; color: var(--muted);
}
.expert-stats{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  width: 100%;
}
.expert-stats .s{
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 18px 16px;
  border: 1px solid var(--line-soft);
}
.expert-stats .n{
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  color: var(--navy);
}
.expert-stats .l{
  font-size: 13px; color: var(--muted); margin-top: 4px;
}
.expert-text{
  max-width: 640px;
}
.expert-text p{
  margin-bottom: 20px;
  line-height: 1.7;
}
.expert-chips{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.chip{
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--navy);
}

/* ============ PRICING ============ */
.pricing{
  padding: 130px 0;
  background: var(--cream);
}
.tiers{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tier{
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 36px 32px 32px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-sm);
  transition: transform .4s, box-shadow .4s, border-color .3s;
  position: relative;
}
.tier:hover{
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(201,162,74,0.4);
}
.tier-pop{
  border-color: var(--gold);
  box-shadow: var(--sh-gold);
}
.tier-pop::before{
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 5px;
  background: var(--gold);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.tier-badge{
  position: absolute;
  top: 18px; right: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.tier-tag{
  font-size: 13px; font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.tier-name{
  font-size: 28px; font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.tier-price{
  font-size: 48px; font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.tier-price small{
  font-size: 22px; font-weight: 500;
}
.tier-rassrochka{
  font-size: 14px; color: var(--muted);
  margin-bottom: 24px;
}
.tier-features{
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}
.tier-features li{
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.tier-features .check{
  color: var(--gold-deep);
  font-weight: 700;
}
.tier-detail{
  background: var(--cream-2);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.tier-detail strong{
  color: var(--navy);
}

@media (max-width: 980px){ .tiers{ grid-template-columns: 1fr;} }

/* ============ GUARANTEE — coral/gold gradient ============ */
.guarantee{
  padding: 90px 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(229,143,110,0.30), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201,162,74,0.30), transparent 60%),
    linear-gradient(135deg, #C9A24A 0%, #B8612F 100%);
  color: #FFF;
  text-align: center;
  overflow: hidden;
}
.guarantee-inner{
  display: grid; grid-template-columns: auto 1fr;
  gap: 36px;
  max-width: 920px; margin: 0 auto;
  text-align: left; align-items: center;
}
.shield{
  width: 110px; height: 130px;
  background: rgba(255,251,241,0.18);
  border: 1.5px solid rgba(255,251,241,0.4);
  border-radius: 16px 16px 50% 50% / 16px 16px 30% 30%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shield svg{ width: 50px; color: var(--cream-2);}
.guarantee h3{
  font-size: clamp(28px, 3.6vw, 42px);
  color: #FFF; margin-bottom: 12px;
}
.guarantee p{
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}
@media (max-width: 700px){
  .guarantee-inner{ grid-template-columns: 1fr; text-align: center; gap: 24px;}
  .shield{ margin: 0 auto;}
  .guarantee{ padding: 70px 0;}
}

/* ============ FAQ ============ */
.faq{
  padding: 130px 0 90px;
  background: var(--cream-2);
}
.faq-list{
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item{
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden; 
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open{
  border-color: var(--gold);
  box-shadow: var(--sh-sm);
}
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  font-size: 18px; font-weight: 600;
  color: var(--navy);
  background: none; border: none; text-align: left;
  cursor: pointer;
}
.faq-icon{
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  color: var(--gold-deep);
  transition: transform .3s;
}
.faq-item.open .faq-icon{ transform: rotate(45deg);}
.faq-a{
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .faq-a{ max-height: 500px;}
.faq-a-inner{
  padding: 0 28px 24px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ FINAL CTA ============ */
.final-cta{
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 10%, rgba(201,162,74,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 90%, rgba(229,143,110,0.10) 0%, transparent 55%),
    var(--navy-deep);
  color: var(--cream-2);
  text-align: center;
}
.final-cta h2{
  color: var(--cream-2);
  max-width: 22ch; margin: 0 auto 24px;
  font-size: clamp(34px, 5vw, 56px);
}
.final-cta h2 em{ color: var(--gold-soft); font-style: italic;}
.urge{
  max-width: 580px; margin: 0 auto 32px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255,251,241,0.85);
  line-height: 1.7;
}
.final-cta .signoff{
  margin-top: 28px;
  font-size: 14px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

/* ============ FOOTER ============ */
footer{
  background: var(--navy-deep);
  color: var(--cream-2);
  padding: 60px 0 40px;
  font-size: 15px;
}
footer .wrap{
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 18px;
}
footer .ornament{
  max-width: 200px; opacity: 0.6;
}
footer a{
  color: var(--gold-soft);
  text-decoration: none;
}
footer a:hover{ text-decoration: underline;}
footer .legal{
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center;
}

/* ============ ANIMATIONS ============ */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);}
.reveal.is-in{ opacity: 1; transform: none;}
.reveal-l{ opacity: 0; transform: translateX(-28px); transition: opacity .9s ease, transform .9s ease;}
.reveal-l.is-in{ opacity: 1; transform: none;}
.reveal-r{ opacity: 0; transform: translateX(28px); transition: opacity .9s ease, transform .9s ease;}
.reveal-r.is-in{ opacity: 1; transform: none;}
.stagger > *{ opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease;}
.stagger.is-in > *{ opacity: 1; transform: none;}
.stagger.is-in > *:nth-child(1){ transition-delay: .0s;}
.stagger.is-in > *:nth-child(2){ transition-delay: .08s;}
.stagger.is-in > *:nth-child(3){ transition-delay: .16s;}
.stagger.is-in > *:nth-child(4){ transition-delay: .24s;}
.stagger.is-in > *:nth-child(5){ transition-delay: .32s;}
.stagger.is-in > *:nth-child(6){ transition-delay: .40s;}
.stagger.is-in > *:nth-child(7){ transition-delay: .48s;}
.stagger.is-in > *:nth-child(8){ transition-delay: .56s;}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01s !important; transition-duration: .01s !important;}
}

/* ============ MOBILE WRAP TWEAKS + PREMIUM ICONS ============ */
.p-icon svg, .vit-icon svg, .shield svg {
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.p-card:hover .p-icon svg,
.vit:hover .vit-icon svg {
  transform: scale(1.08) translateY(-2px);
}
.p-card:hover .p-icon,
.vit:hover .vit-icon {
  box-shadow: 0 10px 25px -8px rgba(201,162,74,0.35);
}

@media (max-width: 640px){
  .wrap{ padding: 0 18px; }
  body{ font-size: 15.5px; line-height: 1.7; }
  .section{ padding: 70px 0; }
  .section-head{ margin-bottom: 48px; }
  h1{ font-size: clamp(32px, 7vw, 52px); }
  h2{ font-size: clamp(28px, 5vw, 42px); }
  .hero-lead, .lead{ font-size: 16px; max-width: 100%; }
  .p-card, .vit{ padding: 26px 22px; }
  .vit-num{ font-size: 42px; top: 22px; right: 22px; }
  .tier-detail{ font-size: 14.5px; line-height: 1.55; }
  .module p, .p-card p{ font-size: 14.5px; }
  .faq-a-inner{ font-size: 15px; line-height: 1.65; }
  h1 .underline::after{ height: 10px; bottom: 3px; }
  .hero-stats .num{ font-size: 26px; }
  .photo-caption .name{ font-size: 18px; }
  .expert-text p{ font-size: 15.5px; }
  .tier{ padding: 28px 20px 24px; }
  .tier-detail br{ display: none; } /* prevent awkward breaks on mobile */
  .tier-detail strong + br + strong{ display: block; margin-top: 6px; }
}

/* Extra safety for no overflow */
p, h3, .lead, .module p, .tier-detail {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* WordPress specific */
.admin-bar .nav{
  top: 32px;
}
@media screen and (max-width: 782px){
  .admin-bar .nav{ top: 46px;}
}
