/* ===== Design tokens: Qezullavri — Fresh Green Cardio ===== */
:root {
  --color-bg: #f3fbf6;
  --color-bg-alt: #e2f5ea;
  --color-ink: #0d2e1f;
  --color-muted: #4f7865;
  --color-primary: #1ca355;
  --color-primary-dark: #147d41;
  --color-secondary: #1f7ad1;
  --color-secondary-dark: #175ea0;
  --color-accent: #ffb400;
  --color-surface: #ffffff;
  --ff-head: "Rubik", sans-serif;
  --ff-body: "Mulish", sans-serif;
  --radius: 20px;
  --shadow-color: rgba(13,46,31,0.18);
  --header-bg: rgba(243, 251, 246, 0.92);
  --footer-bg: #072015;
  --footer-accent: var(--color-accent);
  --footer-muted: #8ab09d;
  --footer-border: #103524;
  --footer-dim: #4f7865;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-ink);
  font-family: var(--ff-body); line-height: 1.6; font-size: 16px; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 400; line-height: 1.2; margin: 0 0 0.6em; color: var(--color-ink); }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: auto; background: var(--color-primary); color: #fff;
  padding: 0.8em 1.2em; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; top: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem; }
.logo { display: flex; align-items: center; gap: 0.55rem; font-family: var(--ff-head); font-weight: 400; font-size: 1.2rem; color: var(--color-ink); text-decoration: none; }
.logo__mark { width: 11px; height: 11px; border-radius: 50%; background: var(--color-primary); display: inline-block; flex-shrink: 0; }
.nav-desktop { display: none; gap: 1.6rem; }
.nav-desktop a { color: var(--color-ink); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--color-primary); }
.header__actions { display: flex; align-items: center; gap: 0.8rem; }
.menu-toggle {
  background: none; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center; color: var(--color-ink); cursor: pointer;
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 380px) {
  .header__bar { gap: 0.5rem; padding: 0.8rem 0.8rem; }
  .logo { font-size: 1rem; gap: 0.4rem; }
  .header__actions { gap: 0.5rem; }
  .header__actions .btn--primary { padding: 0.6em 0.85em; font-size: 0.82rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.75em 1.4em;
  border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, opacity 0.15s ease; white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--outline { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn--block { width: 100%; }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; inset: 0; background: var(--color-bg); z-index: 200; display: flex; flex-direction: column;
  padding: 1.25rem; transform: translateX(100%); transition: transform 0.25s ease; visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: flex-end; }
.mobile-menu__close { background: none; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-ink); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.mobile-menu__links a { font-family: var(--ff-head); font-size: 1.4rem; color: var(--color-ink); text-decoration: none; }
.mobile-menu__foot { margin-top: auto; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section--first { padding-top: 3rem; }
.section--alt { background: var(--color-bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.7em;
}
.eyebrow::before { content: ""; width: 3px; height: 1em; background: var(--color-accent); display: inline-block; }

/* ===== Stat strip ===== */
.stat-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.stat-strip__item {
  flex: 1 1 200px; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-bg-alt);
  border-radius: var(--radius); padding: 1.6rem; text-align: center;
}
.stat-strip__num { display: block; font-family: var(--ff-head); font-weight: 400; font-size: 2rem; color: var(--color-primary); }
.stat-strip__label { display: block; font-size: 0.78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.5rem; }

/* ===== Benefit split ===== */
.benefit-split { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.benefit-split__media { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.benefit-split__copy { flex: 1 1 420px; min-width: 0; }
.benefit-split__list { margin-top: 1.4rem; }
.benefit-split__list li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.benefit-split__list li:last-child { margin-bottom: 0; }
.benefit-split__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 0.9rem;
}

/* ===== Cards ===== */
.card-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.card {
  flex: 1 1 280px; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-bg-alt);
  border-radius: var(--radius); padding: 1.7rem;
}

/* ===== CTA banner ===== */
.cta-banner {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between;
  background: var(--color-surface); border: 1px solid var(--color-bg-alt); border-radius: var(--radius); padding: 2.2rem;
}
.lead-form { display: flex; flex-direction: column; gap: 0.7rem; }
.lead-form__row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.lead-form__row input { flex: 1 1 180px; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 0.75em 1em; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.15);
  font-family: var(--ff-body); font-size: 0.95rem; background: #fff; color: var(--color-ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-msg { font-size: 0.85rem; min-height: 1.2em; margin: 0; }
.form-msg.is-error { color: #c0392b; }
.form-msg.is-success { color: #1e8f52; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-bg-alt); border-radius: var(--radius); overflow: hidden; }
.faq-item__trigger {
  width: 100%; text-align: left; background: none; border: none; padding: 1.2rem 1.4rem; font-weight: 700;
  font-size: 0.98rem; color: var(--color-ink); display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 1rem; font-family: var(--ff-body);
}
.faq-item__icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; background: var(--color-primary); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 14px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item.is-open .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item__panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.is-open .faq-item__panel { max-height: 500px; }
.faq-item__panel-inner { padding: 0 1.4rem 1.2rem; color: var(--color-muted); }

/* ===== Footer ===== */
.footer { background: var(--footer-bg); color: var(--footer-muted); padding: 3.5rem 0 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; padding-bottom: 2.5rem; }
.footer__brand { flex: 1 1 280px; min-width: 0; }
.footer__brand-logo { display: flex; align-items: center; gap: 0.55rem; font-family: var(--ff-head); font-size: 1.15rem; color: #fff; text-decoration: none; margin-bottom: 0.8rem; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 2.5rem; flex: 2 1 400px; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; flex: 1 1 140px; min-width: 0; }
.footer__col-title { color: var(--footer-accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.footer__col a { color: var(--footer-muted); text-decoration: none; font-size: 0.92rem; }
.footer__col a:hover { color: #fff; }
.footer__col p { margin: 0; font-size: 0.92rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; border-top: 1px solid var(--footer-border);
  padding: 1.2rem 0; font-size: 0.8rem; color: var(--footer-dim);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; background: var(--color-surface);
  border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 1.3rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; max-width: 640px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; font-size: 0.88rem; flex: 1 1 280px; min-width: 0; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ===== Generic widget helpers ===== */
input[type="range"] { width: 100%; accent-color: var(--color-primary); height: 6px; padding: 0; background: transparent; }

/* ===== Simple content pages (privacy/terms/faq/contact) ===== */
.prose h2 { margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.contact-grid__form { flex: 1 1 380px; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-bg-alt); border-radius: var(--radius); padding: 1.8rem; }
.contact-grid__info { flex: 1 1 280px; min-width: 0; }
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.info-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
.info-list__item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); margin-bottom: 0.2rem; }
