/* Селеган Про — лендинг страница
   Палитра: дълбоко зелено (доверие) + злато на гинко лист (акцент)
   Типография: Alegreya (заглавия) + Source Sans 3 (текст), едра база за 60+ */

:root {
  --ink: #21372B;        /* дълбоко зелено — основен текст */
  --ink-soft: #43584C;   /* по-мек текст */
  --paper: #FFFFFF;
  --tint: #EFF5EE;       /* блед зелен фон на секции */
  --gold: #C9950C;       /* злато — акцент "гинко" */
  --gold-soft: #F7EFD8;
  --green: #2E6B4F;      /* бутони, връзки */
  --green-dark: #235340;
  --line: #D7E2D6;
  --radius: 14px;
  --focus: 3px solid #B87E00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 20px; /* едра база — уголемява се с бутоните А+/А− */
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.2rem; }
.container--narrow { max-width: 780px; }

h1, h2, h3 { font-family: "Alegreya", Georgia, serif; line-height: 1.2; }

a:focus-visible, button:focus-visible { outline: var(--focus); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Лента за размер на текста ---- */
.text-size-bar { background: var(--ink); color: #fff; padding: 0.45rem 0; }
.text-size-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.text-size-bar__label { font-size: 0.85rem; }
.text-size-bar__controls { display: flex; gap: 0.5rem; }
.text-size-btn {
  font: inherit; font-weight: 700; font-size: 0.95rem;
  background: #fff; color: var(--ink);
  border: none; border-radius: 8px;
  padding: 0.25rem 0.9rem; cursor: pointer;
  min-width: 3.2rem; min-height: 2.2rem;
}
.text-size-btn:hover { background: var(--gold-soft); }

/* ---- Хедър ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand__logo { height: 2.4rem; width: auto; display: block; }
.brand__divider { width: 1px; height: 2rem; background: var(--line); }
.brand__name { font-family: "Alegreya", Georgia, serif; font-size: 1.45rem; }
.brand__name strong { color: var(--green); }

/* ---- Бутони ---- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; border-radius: var(--radius);
  padding: 0.8rem 1.6rem; min-height: 3rem;
  transition: background 0.15s ease;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--secondary { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn--secondary:hover { background: var(--tint); }
.btn--big { font-size: 1.1rem; padding: 1rem 2rem; }
.btn--header { padding: 0.55rem 1.2rem; min-height: auto; }

/* ---- Герой ---- */
.hero { padding: 3rem 0 3.5rem; background: linear-gradient(180deg, var(--paper) 60%, var(--gold-soft) 160%); }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2.5rem; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  margin-bottom: 0.8rem;
}
.hero h1 { font-size: 2.7rem; font-weight: 800; margin-bottom: 1.1rem; }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 34rem; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }

.hero__months {
  display: flex; align-items: center; gap: 1rem;
  background: var(--gold-soft); border: 2px solid var(--gold);
  border-radius: var(--radius); padding: 0.9rem 1.2rem; max-width: 30rem;
}
.hero__months-num {
  font-family: "Alegreya", Georgia, serif; font-weight: 800;
  font-size: 1.7rem; color: var(--gold); white-space: nowrap; line-height: 1.1;
}
.hero__months-label { font-size: 0.95rem; color: var(--ink-soft); }
.hero__months-label strong { color: var(--ink); }

.hero__visual { position: relative; text-align: center; }
.hero__photo {
  width: min(420px, 100%); height: auto;
  filter: drop-shadow(0 18px 28px rgba(33, 55, 43, 0.28));
}
.hero__badge {
  margin: -1.4rem auto 0; position: relative; max-width: 280px;
  background: #fff; border: 2px solid var(--gold);
  border-radius: var(--radius); padding: 0.8rem 1rem;
  box-shadow: 0 6px 18px rgba(33, 55, 43, 0.08);
}
.hero__badge-num { display: block; font-family: "Alegreya", Georgia, serif; font-size: 2rem; font-weight: 800; color: var(--gold); }
.hero__badge-num small { font-size: 1rem; }
.hero__badge-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ---- Секции ---- */
.section { padding: 3.2rem 0; }
.section--tint { background: var(--tint); }
.section__title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.section__intro { max-width: 42rem; color: var(--ink-soft); margin-bottom: 1.8rem; }

.leaf-mark { display: inline-block; width: 0.85rem; height: 0.85rem; background: var(--gold); border-radius: 50% 50% 50% 0; flex-shrink: 0; }

/* ---- Ползи ---- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.benefit__icon { font-size: 2rem; margin-bottom: 0.6rem; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.benefit p { color: var(--ink-soft); }

/* ---- Състав ---- */
.table-wrap { overflow-x: auto; margin-bottom: 1.8rem; }
.sastav-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sastav-table th, .sastav-table td { text-align: left; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line); }
.sastav-table th { background: var(--ink); color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.sastav-table td:last-child { font-weight: 700; white-space: nowrap; }
.sastav-table__hero td { background: var(--gold-soft); font-weight: 700; }
.sastav-table tr:last-child td { border-bottom: none; }

.dose-card {
  display: flex; gap: 1.1rem; align-items: center;
  background: var(--tint); border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.dose-card__icon { font-size: 2.2rem; }
.dose-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }

/* ---- Аптеки ---- */
.pharmacies { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.pharmacy {
  display: flex; flex-direction: column; gap: 0.3rem; height: 100%;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; text-decoration: none; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pharmacy:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(33, 55, 43, 0.1); }
.pharmacy__name { font-family: "Alegreya", Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.pharmacy__desc { color: var(--ink-soft); }
.pharmacy__cta { margin-top: 0.55rem; font-weight: 700; color: var(--green); }
.pharmacy:hover .pharmacy__cta { text-decoration: underline; }
.pharmacies__note { margin-top: 1.6rem; color: var(--ink-soft); max-width: 42rem; }

/* ---- За кого е подходящ ---- */
.who-list { list-style: none; display: grid; gap: 0.9rem; }
.who-list li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--tint); border-radius: var(--radius);
  padding: 1rem 1.3rem; font-size: 1.05rem;
}
.who-list__check {
  flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* ---- Изпратете на близък ---- */
.share-card {
  margin-top: 2.2rem; display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--tint); border-radius: var(--radius); padding: 1.6rem 1.8rem;
}
.share-card__icon { font-size: 2.2rem; }
.share-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.share-card p { color: var(--ink-soft); margin-bottom: 1rem; }
.share-card__buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn--viber { background: #7360F2; color: #fff; }
.btn--viber:hover { background: #5E4DD8; }

/* ---- Често задавани въпроси ---- */
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.1rem;
  padding: 1.1rem 1.4rem; list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--green);
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---- Плаващ бутон (само мобилни) ---- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(33, 55, 43, 0.1);
  transition: transform 0.25s ease;
}
.sticky-cta--hidden { transform: translateY(110%); }
.sticky-cta__btn { display: block; width: 100%; }

/* ---- Селеган Плюс банер ---- */
.section--plus { padding-top: 0; }
.plus-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--gold-soft); border: 2px solid var(--gold); border-radius: var(--radius);
  padding: 1.6rem 2rem; text-decoration: none; color: var(--ink);
  transition: box-shadow 0.15s ease;
}
.plus-banner:hover { box-shadow: 0 8px 22px rgba(33, 55, 43, 0.12); }
.plus-banner h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.plus-banner p { color: var(--ink-soft); max-width: 34rem; }
.plus-banner__cta { font-weight: 700; color: var(--green); white-space: nowrap; }
.plus-banner:hover .plus-banner__cta { text-decoration: underline; }
@media (max-width: 820px) {
  .plus-banner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ---- Футър ---- */
.site-footer { background: var(--ink); color: #DCE7DD; padding: 2.2rem 0; }
.site-footer__disclaimer { font-size: 0.85rem; max-width: 46rem; margin-bottom: 1rem; }
.site-footer__copy { font-size: 0.85rem; opacity: 0.75; }

/* ---- Мобилни ---- */
@media (max-width: 820px) {
  body { padding-bottom: 5.5rem; }
  .sticky-cta { display: block; }
  .share-card { flex-direction: column; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__photo { width: min(280px, 90%); }
  .hero h1 { font-size: 2.1rem; }
  .brand__logo { height: 2rem; }
  .benefits, .pharmacies { grid-template-columns: 1fr; }
  .section__title { font-size: 1.65rem; }
}
