/* ============================================================
   Maftuna Kadambayeva — landing
   Design system: feeding (sage) + sleep (lavender) duality
   ============================================================ */

/* ---------- Fonts ---------- */
/* Headings: Baloo 2 (rounded, friendly). Pulang files live in /fonts/pulang
   but are intentionally not used — the owner preferred Baloo 2. */
/* Segoe UI for body text on non-Windows devices (uses system copy when present). */
@font-face {
  font-family: "Segoe UI";
  src: local("Segoe UI"),
       url("../fonts/segoe-ui-4-cufonfonts/Segoe UI.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: local("Segoe UI Bold"),
       url("../fonts/segoe-ui-4-cufonfonts/Segoe UI Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --lavender: #A390E9;
  --sage: #B1D4AA;
  --cream: #EEF6E1;
  --gray: #7C7C7C;
  --plum: #623FB5;

  /* derived */
  --lavender-soft: #EDE8FB;
  --lavender-deep: #5733a8;
  --sage-soft: #E6F2E0;
  --sage-deep: #5E8C52;
  --ink: #2B2740;
  --ink-soft: #55506b;
  --white: #ffffff;
  --bg: #fbfaff;

  /* type */
  --font-head: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --maxw: 1140px;
  --gut: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  /* effects */
  --shadow-sm: 0 4px 16px rgba(98, 63, 181, 0.07);
  --shadow-md: 0 14px 40px rgba(98, 63, 181, 0.12);
  --shadow-lg: 0 24px 70px rgba(98, 63, 181, 0.18);
  --ring: 0 0 0 3px var(--white), 0 0 0 6px var(--plum);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 9vw, 104px); position: relative; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 14px;
  display: inline-block;
}
.section-head { max-width: 620px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.06rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--plum); color: #fff; padding: 10px 18px;
  border-radius: 10px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.note {
  font-size: .82rem; color: var(--gray); font-style: italic;
  margin-top: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.1em; height: 1.1em; }

.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #51309c; box-shadow: var(--shadow-lg); }

.btn-sage { background: var(--sage-deep); color: #fff; box-shadow: 0 10px 26px rgba(94,140,82,.22); }
.btn-sage:hover { background: #517a47; }

.btn-lav { background: var(--lavender); color: #fff; box-shadow: 0 10px 26px rgba(163,144,233,.3); }
.btn-lav:hover { background: #8f7adf; }

.btn-ghost { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 2px var(--lavender-soft), var(--shadow-sm); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--lavender), var(--shadow-md); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--lavender-soft); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--plum); margin-right: auto; }
.brand .logo-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
}
.brand .logo-icon svg, .brand .logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name { font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); }
.brand .brand-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: var(--lavender-soft); color: var(--plum); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* lang switch — night-sky toggle; the active language is a white full moon */
.lang-switch {
  position: relative; display: inline-flex; gap: 4px; padding: 4px;
  background: radial-gradient(circle at 25% 30%, #463579 0%, #2a2150 75%);
  border-radius: 100px;
  box-shadow: inset 0 0 12px rgba(0,0,0,.35);
}
.lang-switch::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.6) .8px, transparent 1.3px),
    radial-gradient(circle, rgba(255,255,255,.75) .9px, transparent 1.4px);
  background-repeat: no-repeat;
  background-position: 16% 26%, 50% 78%, 84% 28%;
}
.lang-switch button {
  position: relative; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 800; font-size: .76rem; letter-spacing: .03em;
  color: rgba(255,255,255,.62);
  transition: color .25s, background-color .25s, box-shadow .25s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] {
  background:
    radial-gradient(circle 5px at 70% 26%, rgba(98,63,181,.12) 99%, transparent),
    radial-gradient(circle 3.5px at 28% 66%, rgba(98,63,181,.1) 99%, transparent),
    radial-gradient(circle at 32% 28%, #ffffff 0%, #f6f3fd 60%, #e9e4f6 100%);
  color: var(--plum);
  box-shadow: 0 0 10px rgba(255,255,255,.65), 0 0 22px rgba(255,255,255,.3);
}

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.4px; background: var(--plum);
  border-radius: 3px; transition: transform .3s, opacity .2s; margin-inline: auto;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after  { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--lavender-soft) 0%, transparent 55%),
    radial-gradient(110% 80% at 5% 110%, var(--sage-soft) 0%, transparent 55%),
    var(--bg);
  padding-block: clamp(48px, 8vw, 90px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px; font-weight: 700; font-size: .9rem;
  background: #fff; box-shadow: var(--shadow-sm);
}
.badge.feed { color: var(--sage-deep); box-shadow: inset 0 0 0 1.5px var(--sage), var(--shadow-sm); }
.badge.sleep { color: var(--lavender-deep); box-shadow: inset 0 0 0 1.5px var(--lavender), var(--shadow-sm); }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.05;
}
/* brand palette only: lavender base, key words (**слово** в админке) in dark plum */
.hero h1 { color: var(--lavender); font-weight: 700; }
.hero h1 .hl,
.hero h1 .accent-feed,
.hero h1 .accent-sleep { color: var(--plum); }
.hero-sub { margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft); max-width: 30ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust .stat strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--plum); display: block; }
.hero-trust .stat span { font-size: .86rem; color: var(--gray); }

/* hero art: brand photo + floating chips */
.hero-art {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-art .hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-art .float {
  position: absolute; display: grid; place-items: center; z-index: 2;
}
.hero-art .chip {
  background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(6px); border-radius: 16px; padding: 9px 14px;
  display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: .86rem;
  box-shadow: 0 10px 28px rgba(43,39,64,.22);
  white-space: nowrap;
}
.hero-art .chip .dot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.hero-art .chip.c-feed .dot { background: var(--sage-soft); }
.hero-art .chip.c-sleep .dot { background: var(--lavender-soft); }

/* chip positions (desktop) */
.hero-art .p1 { top: 9%;    left: 6%; }
.hero-art .p2 { top: 7%;    right: 7%; }
.hero-art .p3 { top: 30%;   right: 4%; }
.hero-art .p4 { top: 32%;   left: 4%; }
.hero-art .p5 { bottom: 30%; left: 5%; }
.hero-art .p6 { bottom: 28%; right: 6%; }
.hero-art .p7 { bottom: 8%;  left: 8%; }
.hero-art .p8 { bottom: 6%;  right: 9%; }

/* floating animation */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty-slow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes twinkle { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes drift { 0%,100% { transform: translateY(0) rotate(-6deg);} 50% { transform: translateY(-14px) rotate(4deg);} }

.anim-floaty { animation: floaty 5s var(--ease) infinite; }
.anim-floaty-slow { animation: floaty-slow 7s var(--ease) infinite; }
.anim-drift { animation: drift 8s var(--ease) infinite; }
.anim-twinkle { animation: twinkle 3s ease-in-out infinite; }

/* ============================================================
   Directions (two branches)
   ============================================================ */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); }
.dir-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dir-card.feed  { background: linear-gradient(160deg, var(--sage-soft), #fff); border: 1px solid var(--sage); }
.dir-card.sleep { background: linear-gradient(160deg, var(--lavender-soft), #fff); border: 1px solid var(--lavender); }
.dir-card .dir-icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 20px;
}
.dir-card.feed .dir-icon { background: var(--sage); }
.dir-card.sleep .dir-icon { background: var(--lavender); }
.dir-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.dir-card.feed h3 { color: var(--sage-deep); }
.dir-card.sleep h3 { color: var(--lavender-deep); }
.dir-card p { color: var(--ink-soft); margin-bottom: 18px; }
.dir-card ul.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.dir-card ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
}
.dir-card.feed ul.ticks li::before { background: var(--sage-deep); }
.dir-card.sleep ul.ticks li::before { background: var(--lavender); }
.dir-card ul.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about-portrait {
  position: relative; border-radius: var(--radius-lg); aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--lavender-soft), var(--sage-soft));
  display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-md);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .ph { text-align: center; color: var(--plum); padding: 24px; }
.about-portrait .ph .big { font-family: var(--font-head); font-size: 4rem; line-height: 1; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-text p strong { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-soft);
}
.stat-card strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--plum); display: block; }
.stat-card span { font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   Services
   ============================================================ */
.svc-block + .svc-block { margin-top: clamp(40px, 6vw, 64px); }
.svc-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.svc-block-head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

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

.svc-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid #f0edf9;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card.accent-sleep:hover { border-color: var(--lavender); }
.svc-card.accent-feed:hover { border-color: var(--sage); }
.svc-card .pill {
  align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.svc-card.accent-sleep .pill { background: var(--lavender-soft); color: var(--lavender-deep); }
.svc-card.accent-feed .pill { background: var(--sage-soft); color: var(--sage-deep); }
.svc-card .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.svc-card .pills .pill { margin-bottom: 0; }
.svc-card .pills .pill.theme { background: var(--lavender-soft); color: var(--lavender-deep); }
.svc-card h4 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card .desc { color: var(--ink-soft); font-size: .98rem; flex-grow: 1; }
.svc-card .meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .85rem; color: var(--gray); }
.svc-card .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--plum); margin-top: 16px; }
.svc-card .price .cur { font-size: .9rem; color: var(--gray); }
.svc-card .card-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.svc-card .card-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   Certificates
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-soft); text-align: left; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-thumb {
  aspect-ratio: 1/1.41; background: var(--cream); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cert-thumb .ph { color: var(--gray); text-align: center; padding: 20px; font-size: .85rem; }
.cert-thumb .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(98,63,181,.9); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.cert-card:hover .zoom { opacity: 1; transform: scale(1); }
.cert-num {
  position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--plum); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem;
}
.cert-body { padding: 20px; }
.cert-body h4 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 8px; }
.cert-body .cert-meta { font-size: .85rem; color: var(--gray); display: flex; gap: 10px; flex-wrap: wrap; }
.cert-body .cert-date { color: var(--plum); font-weight: 600; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(35,28,64,.86); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: var(--lavender); color: #fff; border-radius: 50%;
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  transition: background-color .2s, transform .2s;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--plum); transform: scale(1.08); }
.lightbox .lb-nav.prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox .lb-nav.next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .95rem; text-align: center; width: 90%; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { background: linear-gradient(180deg, var(--bg), var(--lavender-soft) 120%); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; border: 1px solid #f0edf9;
}
.review-card .topic {
  align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.review-card .topic.feed { background: var(--sage-soft); color: var(--sage-deep); }
.review-card .topic.sleep { background: var(--lavender-soft); color: var(--lavender-deep); }
.review-card .stars { color: #f4b740; margin-bottom: 12px; letter-spacing: 2px; }
.review-card .quote { color: var(--ink); font-size: 1rem; flex-grow: 1; }
.review-card .author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); color: #fff; font-size: 1.1rem; flex: none;
}
.review-card .author .name { font-weight: 700; font-size: .95rem; }
.review-card .author .role { font-size: .82rem; color: var(--gray); }

/* reviews channel link */
.rev-channel {
  text-align: center; margin-top: 26px; font-weight: 600; color: var(--ink);
}
.rev-channel a {
  color: var(--plum); text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.rev-channel a:hover { color: var(--lavender-deep); }

/* ============================================================
   Show more (mobile-only collapse)
   ============================================================ */
.show-more {
  display: none; margin: 20px auto 0; padding: 12px 26px; border-radius: 100px;
  background: #fff; color: var(--plum); font-weight: 700; font-size: .95rem;
  box-shadow: inset 0 0 0 1.5px var(--lavender), var(--shadow-sm);
  align-items: center; gap: 8px;
}
.show-more::after { content: "▾"; transition: transform .3s var(--ease); }
.show-more[aria-expanded="true"]::after { transform: rotate(180deg); }

@media (max-width: 760px) {
  .show-more { display: flex; }
  .collapsible.collapsed:not(.keep-1):not(.keep-3) > *:nth-child(n+3) { display: none; }
  .collapsible.keep-1.collapsed > *:nth-child(n+2) { display: none; }
  .collapsible.keep-3.collapsed > *:nth-child(n+4) { display: none; }

  /* inline expanders inside cards / about */
  .dir-card .show-more, .about-text .show-more {
    margin: 12px 0 0; padding: 9px 18px; font-size: .85rem;
  }

  /* tighter sections & contact card on phones */
  .section { padding-block: 44px; }
  .contact-card { padding: 28px 20px; }
  .contact-link { padding: 12px 18px; font-size: .92rem; }
  .section-head { margin-bottom: 26px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: #fff; border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  border: 1px solid var(--lavender-soft); box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 22px 24px; font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq-tag {
  flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.faq-tag.feed { background: var(--sage-soft); color: var(--sage-deep); }
.faq-tag.sleep { background: var(--lavender-soft); color: var(--lavender-deep); }
.faq-q .q-icon {
  margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--lavender-soft); color: var(--plum); display: grid; place-items: center;
  transition: transform .3s var(--ease), background-color .2s;
  font-size: 1.3rem; line-height: 1;
}
.faq-item[aria-expanded="true"] .q-icon, .faq-q[aria-expanded="true"] .q-icon { transform: rotate(45deg); background: var(--plum); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--ink-soft); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: radial-gradient(120% 100% at 50% 0%, var(--lavender-soft), var(--bg) 70%); }
.contact-card {
  background: linear-gradient(150deg, var(--plum), #7a52cf);
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); color: #fff;
  text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact-card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact-card p { color: rgba(255,255,255,.88); margin-top: 14px; max-width: 52ch; margin-inline: auto; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; position: relative; z-index: 1; }
.contact-link {
  display: inline-flex; align-items: center; gap: 11px; padding: 15px 24px; border-radius: 100px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600;
  transition: background-color .25s, transform .25s;
}
.contact-link:hover { background: #fff; color: var(--plum); transform: translateY(-2px); }
.contact-link.primary { background: #fff; color: var(--plum); }
.contact-link.primary:hover { background: var(--cream); }
.contact-link .ic { width: 22px; height: 22px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding-block: 28px; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-legal { font-size: .82rem; opacity: .8; text-align: center; margin: 0; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; }
  .cert-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .lang-switch.desktop { display: none; }
  .menu-toggle { display: grid; place-items: center; }

  .mobile-menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg);
    box-shadow: var(--shadow-lg); padding: 18px var(--gut) 28px;
    transform: translateY(-130%); transition: transform .35s var(--ease);
    z-index: 90; border-bottom: 1px solid var(--lavender-soft);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: 14px 10px; font-weight: 600; border-radius: 12px; color: var(--ink); }
  .mobile-menu a:hover { background: var(--lavender-soft); }
  .mobile-menu .lang-switch { margin-top: 14px; }

  .dir-grid, .cards.cols-2, .cards.cols-3, .cert-grid, .review-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  body { font-size: 16px; }

  /* lighter hero art on small screens: 6 chips, mirrored 3+3 grid */
  .hero-art .hide-m { display: none; }
  .hero-art .chip { font-size: .78rem; padding: 7px 11px; }
  .hero-art .chip .dot { width: 24px; height: 24px; }

  .hero-art .p1 { top: 6%;    left: 4%;  right: auto; bottom: auto; }
  .hero-art .p2 { top: 6%;    right: 4%; left: auto;  bottom: auto; }
  .hero-art .p5 { bottom: 44%; left: 4%;  right: auto; top: auto; }
  .hero-art .p3 { bottom: 44%; right: 4%; left: auto;  top: auto; }
  .hero-art .p7 { bottom: 6%;  left: 4%;  right: auto; top: auto; }
  .hero-art .p8 { bottom: 6%;  right: 4%; left: auto;  top: auto; }
}

@media (max-width: 420px) {
  .hero-art .chip { padding: 9px 12px; font-size: .82rem; }
  .about-stats { grid-template-columns: 1fr; }
}

.mobile-menu { display: none; }
@media (max-width: 760px) { .mobile-menu { display: block; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
