/* =========================================================
   Casa del Sol - основен стилов файл
   Пренесено и изчистено от Claude Design макета
   ("Casa del Sol - Начална страница.dc.html" /
   "Casa del Sol - Полезни съвети.dc.html").
   ========================================================= */

/* ---------- Токени ---------- */
:root {
  --surface: #FBF8F2;
  --bg: #F3EDE3;
  --sand: #ECE1CC;
  --ink: #241B14;
  --muted: #6B5D4F;
  --muted-sand: #55483A;
  --bronze: #B07D45;
  --bronze-deep: #96682F;
  --selected: #F7EBD9;
  --rule: #E2D8C8;
  --rule-sand: #DCCFB5;
  --rule-thin: #C9B896;
  --dark: #1C1512;
  --dark-2: #2A2016;
  --taupe: #7A6047;
  --cream: #F6EEDF;
  --gold: #F3DCB0;
  --hero-text: #EFE6D8;
  --error: #A5502E;

  --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  --gap-section: 56px;
  --radius-pill: 999px;
}

/* ---------- Reset / база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-deep); }
::selection { background: var(--bronze); color: var(--surface); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.sec { padding-left: 56px; padding-right: 56px; }
.px { padding-left: 56px; padding-right: 56px; }
.wrap { max-width: 1360px; margin: 0 auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bronze);
  text-transform: uppercase;
}
.eyebrow--muted { color: var(--muted); font-weight: 400; }
.eyebrow--gold { color: var(--gold); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--surface); padding: 12px 20px;
  font-family: var(--font-mono); font-size: 13px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}
.site-nav.is-stuck {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 2px 16px rgba(36, 27, 20, 0.1);
}
.site-nav__addr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.site-nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  color: var(--ink);
  transition: font-size 0.2s ease;
}
.site-nav.is-stuck .site-nav__brand { font-size: 19px; }

/* Секциите с id стават цели на котви - компенсираме лепкавия хедър,
   за да не спира скролът точно под него. Стойността се пресмята
   динамично в main.js (initStickyHeader) според реалната височина. */
section[id] { scroll-margin-top: var(--header-h, 90px); }
.site-nav__links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links a { color: var(--ink); }
.site-nav__links a:hover { color: var(--bronze); }
.site-nav__links .is-current {
  color: var(--bronze-deep);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 2px;
}

/* =========================================================
   HERO (начална страница)
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero__video {
  width: 100%; height: 78vh; min-height: 620px;
  object-fit: cover; display: block; opacity: 0.75;
}
.hero__overlay-v {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,21,18,0.35) 0%, rgba(28,21,18,0.08) 28%, rgba(28,21,18,0.18) 55%, rgba(28,21,18,0.88) 100%);
}
/* Тъмно петно зад текста долу вляво - видеото има много светли кадри
   (бяла рокля, крака под лампите), върху които заглавието иначе се губи. */
.hero__overlay-h {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 0% 78%, rgba(28,21,18,0.78) 0%, rgba(28,21,18,0.45) 45%, rgba(28,21,18,0) 80%),
    linear-gradient(90deg, rgba(28,21,18,0.45) 0%, rgba(28,21,18,0.15) 40%, rgba(28,21,18,0) 62%);
}
.hero__content {
  position: absolute; left: 56px; right: 56px; bottom: 120px;
  display: flex; flex-direction: column; gap: 26px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: 1.05;
  color: var(--hero-text);
  max-width: 860px;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(20,15,11,0.45);
}
.hero__content .eyebrow { text-shadow: 0 1px 12px rgba(20,15,11,0.6); }
.hero__cta-row { display: flex; gap: 16px 24px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--bronze);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 28px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover, .btn:focus-visible { background: var(--bronze-deep); color: var(--surface); }
.btn--sm { font-size: 14px; padding: 16px 28px; }
.btn[disabled], .btn:disabled {
  background: var(--rule-sand); color: var(--muted); cursor: not-allowed;
}
.hero__stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(20,15,11,0.72);
  backdrop-filter: blur(6px);
  list-style: none; margin: 0; padding: 0;
}
.hero__stats li {
  padding: 18px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--hero-text);
  text-align: center;
  border-left: 1px solid rgba(239,230,216,0.16);
}
.hero__stats li:first-child { border-left: none; }
.hero__stats li.is-accent { color: var(--bronze); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  padding: 104px 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.manifesto__rule-row { display: flex; align-items: center; gap: 16px; }
.manifesto__rule { width: 72px; height: 1px; background: var(--rule-thin); }
.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.2;
  max-width: 920px;
  text-wrap: balance;
}
.manifesto__quote em { font-style: italic; color: var(--bronze-deep); }
.manifesto__note { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.manifesto__diamond { width: 5px; height: 5px; background: var(--bronze); transform: rotate(45deg); flex: none; }

/* =========================================================
   CAROUSEL "10 причини"
   ========================================================= */
.carousel { padding: 64px 0; background: var(--surface); display: flex; flex-direction: column; gap: 36px; border-bottom: 1px solid var(--rule); }
.carousel__header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.carousel__stage { overflow: hidden; position: relative; }
.carousel__arrow {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  font-size: 20px; box-shadow: 0 2px 10px rgba(36,27,20,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.carousel__arrow:hover, .carousel__arrow:focus-visible { background: var(--bronze); color: var(--surface); border-color: var(--bronze); }
.carousel__arrow--prev { left: max(6px, calc(50% - 460px)); }
.carousel__arrow--next { right: max(6px, calc(50% - 460px)); }
.carousel__track { display: flex; gap: 24px; transition: transform 0.55s cubic-bezier(0.22,0.61,0.36,1); will-change: transform; }
.carousel__slide {
  flex: none; width: min(880px, calc(100vw - 64px)); aspect-ratio: 880 / 520;
  border: 1px solid var(--rule); background: var(--bg); overflow: hidden;
  cursor: pointer; padding: 0; display: block; font: inherit;
  transition: opacity 0.55s, transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide.is-inactive { opacity: 0.16; transform: scale(0.68); }
.carousel__caption { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.carousel__caption-title { font-family: var(--font-display); font-weight: 600; font-size: 28px; }
.carousel__caption-desc { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 640px; }
.carousel__dots { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.carousel__dot {
  width: 8px; height: 8px; border-radius: 4px; border: none; padding: 0;
  background: var(--rule-sand); transition: all 0.3s; cursor: pointer;
}
.carousel__dot.is-active { width: 26px; background: var(--bronze); }

/* =========================================================
   ЗА НАС
   ========================================================= */
.about { padding: 80px 56px; background: var(--bg); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 48px; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: stretch; }
.about__col { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.about__title { font-family: var(--font-display); font-weight: 500; font-size: 46px; line-height: 1.08; }
.about__lede { font-size: 16px; line-height: 1.7; max-width: 560px; }
.about__sub { font-size: 15px; line-height: 1.7; color: var(--muted); }
.about__meta { display: flex; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.about__meta .is-accent { color: var(--bronze-deep); }
.about__photo { position: relative; min-height: 520px; border: 1px solid var(--rule); overflow: hidden; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__photo-caption {
  position: absolute; left: 0; bottom: 0;
  background: rgba(20,15,11,0.72); backdrop-filter: blur(6px);
  color: var(--hero-text); padding: 12px 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
}
.about__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.card__list { list-style: none; margin: 0; padding: 0; }
.card__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.card__list li::before { content: '✓'; color: var(--bronze-deep); }
/* Обвивка за етикета (по избор) + снимката - винаги на самото дъно на
   картата, независимо колко текст има над нея (картите са с различна дължина). */
.card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.card__label {
  border-top: 1px solid var(--rule); padding-top: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bronze-deep);
}
.card__photo { height: 140px; overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 24px; text-align: center; color: var(--bronze-deep); text-wrap: balance; }

/* =========================================================
   CTA лента към "Полезни съвети"
   ========================================================= */
.cta-band {
  background: var(--dark-2); padding: 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(239,230,216,0.14);
}
.cta-band__text { max-width: 600px; display: flex; flex-direction: column; gap: 10px; }
.cta-band__title { font-family: var(--font-display); font-weight: 500; font-size: 34px; color: var(--hero-text); }
.cta-band__desc { font-size: 14px; line-height: 1.65; color: rgba(239,230,216,0.7); }
.cta-band__right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band__counters { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 12px; color: rgba(239,230,216,0.7); flex-wrap: wrap; }
.cta-band--taupe { background: var(--taupe); padding: 72px 56px; border-bottom: none; }

/* =========================================================
   ФОРМА "НОВИ КЛИЕНТИ"
   ========================================================= */
.booking { padding: 80px 56px; background: var(--surface); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 40px; }
.booking__intro { max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.booking__intro a { font-weight: 600; }
.booking__steps { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.booking__stepnum { font-family: var(--font-mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.booking__bars { display: flex; gap: 6px; }
.booking__bar { width: 34px; height: 4px; background: var(--rule-sand); }
.booking__bar.is-active { background: var(--bronze); }

.booking__panel { display: none; }
.booking__panel.is-active { display: block; }

/* Стъпка 1 */
.booking__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.booking__pitch { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.booking__pitch-title { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.1; }
.booking__pitch-sub { font-size: 19px; line-height: 1.5; color: var(--muted); }
.booking__list { list-style: none; margin: 0; padding: 0; }
.booking__list > li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); }
.booking__list .num { font-family: var(--font-mono); font-size: 12px; color: var(--bronze); }
.booking__list .label { font-size: 16px; }
.booking__terms { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.booking__terms p + p { margin-top: 10px; }

.booking__form { background: var(--bg); border: 1px solid var(--rule); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="date"], .field textarea {
  background: var(--surface); border: 1px solid var(--rule-sand); padding: 14px 16px;
  font-family: inherit; font-size: 15px; color: var(--ink); outline: none; width: 100%;
  transition: border-color 0.15s; resize: vertical;
  box-sizing: border-box;
}
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--bronze); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 3px; flex: none; }
/* Honeypot против ботове - извън екрана, но не display:none (някои ботове го проверяват). */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-error { font-size: 13px; color: var(--error); display: none; }
.form-error.is-visible { display: block; }
.booking__note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); text-align: center; }

/* Вариант на формата за тъмен (кафяв) фон - секция "Контакти". */
.form--on-dark .field__label { color: var(--gold); }
.form--on-dark .field input, .form--on-dark .field textarea {
  background: rgba(246, 238, 223, 0.08); border: 1px solid rgba(246, 238, 223, 0.35); color: var(--cream);
}
.form--on-dark .field input::placeholder, .form--on-dark .field textarea::placeholder { color: rgba(246, 238, 223, 0.45); }
.form--on-dark .field input:focus-visible, .form--on-dark .field textarea:focus-visible { border-color: var(--gold); }
.form--on-dark .consent { color: rgba(246, 238, 223, 0.75); }
.form--on-dark .consent a { color: var(--gold); }
.form--on-dark .form-error { color: #F3B08A; }

/* Потвърждение след успешно изпратена форма (Контакти, Рекламация). */
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; background: var(--selected); border: 1px solid var(--rule-sand); border-top: 3px solid var(--bronze); margin-top: 8px; }
.form-success[hidden] { display: none; }
.form-success__check { width: 40px; height: 40px; border-radius: 50%; background: var(--bronze); color: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.form-success__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0; }
.form-success p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-sand); }
/* На тъмен фон (Контакти) - светли варианти на същите класове. */
.contacts .form-success { background: rgba(246, 238, 223, 0.08); border-color: rgba(246, 238, 223, 0.3); }
.contacts .form-success__title { color: var(--cream); }
.contacts .form-success p { color: rgba(246, 238, 223, 0.8); }

/* Стъпка 2 - анализ на кожата */
.quiz__header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.quiz__title { font-family: var(--font-display); font-weight: 500; font-size: 44px; }
.quiz__desc { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 670px; }
.quiz__counter { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--bronze); white-space: nowrap; }
.quiz__prefill-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--bronze-deep); background: var(--selected); padding: 10px 14px; border-left: 2px solid var(--bronze); }
.quiz__prefill-note[hidden] { display: none; }
.quiz__question { border: 0; /* border-top: 1px solid var(--rule); */ padding: 26px 0; display: flex; flex-direction: column; gap: 16px; }
.quiz__question legend { padding: 0; margin: 0 0 4px; width: 100%; }
.quiz__qtitle { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.quiz__status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--bronze-deep); display: block; margin-top: 4px; height: 14px; }
.quiz__options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.quiz__option { position: relative; }
.quiz__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz__option label {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 12px; border: 1px solid var(--rule); background: var(--surface);
  cursor: pointer; text-align: center; transition: border-color 0.15s, background 0.15s;
}
.quiz__option label:hover { border-color: var(--bronze); }
.quiz__option input:focus-visible + label { outline: 2px solid var(--bronze); outline-offset: 2px; }
.quiz__option input:checked + label { border-color: var(--bronze); background: var(--selected); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--bronze); }
.quiz__swatch { width: 46px; height: 46px; border-radius: 50%; flex: none; border: 1px solid rgba(36,27,20,0.18); }
.quiz__optlabel { font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.quiz__footer { border-top: 1px solid var(--rule); padding-top: 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.quiz__skip { font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--rule-sand); padding-bottom: 2px; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.quiz__skip:hover { color: var(--ink); }
.quiz__hint { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Стъпка 3 - резултат */
.result { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 0; text-align: center; }
.result__check { width: 56px; height: 56px; border-radius: 50%; background: var(--bronze); color: var(--surface); font-size: 24px; display: flex; align-items: center; justify-content: center; }
.result__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; max-width: 640px; text-wrap: balance; }
.result-card { text-align: left; max-width: 760px; width: 100%; background: var(--surface); border: 1px solid var(--rule-sand); border-top: 3px solid var(--bronze); padding: 34px 36px; display: flex; flex-direction: column; gap: 22px; }
.result-card__eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--bronze-deep); }
.result-card__name { font-family: var(--font-display); font-weight: 500; font-size: 32px; }
.result-card__grid { display: grid; grid-template-columns: 190px 1fr; gap: 28px; }
.result-card__photo { position: relative; aspect-ratio: 190 / 253; overflow: hidden; background: var(--bg); border: 1px solid var(--rule); }
.result-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.result-card__photo-tag {
  position: absolute; left: 0; bottom: 0; background: rgba(251,248,242,0.82);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; padding: 6px 10px; color: var(--ink);
}
.result-card__desc { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.result-card__specs { display: flex; flex-direction: column; }
.result-card__spec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.result-card__spec-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--bronze-deep); text-transform: uppercase; }
.result-card__spec-value { font-family: var(--font-display); font-size: 24px; }
.result-card__spec-value.is-accent { color: var(--bronze-deep); font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.result-card__advice { font-size: 14px; line-height: 1.7; background: var(--selected); border-left: 2px solid var(--bronze); padding: 16px 18px; }
.result-card__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }
.result__note { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 560px; }

/* =========================================================
   ОТЗИВИ
   ========================================================= */
.reviews { padding: 64px 56px; background: var(--sand); display: flex; flex-direction: column; gap: 24px; }
.reviews__summary { background: var(--surface); border: 1px solid var(--rule-sand); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.reviews__brand { font-size: 20px; }
.reviews__brand strong { font-weight: 700; }
.reviews__score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.reviews__score-num { font-size: 26px; font-weight: 700; }
.reviews__stars { color: var(--bronze); font-size: 18px; letter-spacing: 0.12em; }
.reviews__count { font-size: 13px; color: var(--muted); }
.reviews__cta { display: inline-block; background: var(--ink); color: var(--surface); font-size: 14px; font-weight: 600; padding: 14px 26px; border-radius: var(--radius-pill); transition: background 0.15s; }
.reviews__cta:hover { background: var(--bronze); color: var(--surface); }
.reviews__disclosure { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.reviews__disclosure[hidden] { display: none; }
.review-card__head a { color: inherit; }
.review-card__head a:hover .review-card__name { color: var(--bronze-deep); }
.review-card__avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card__flag { font-size: 11px; color: var(--muted); align-self: flex-start; }
.reviews__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.review-card { background: var(--surface); border: 1px solid var(--rule-sand); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--surface); font-weight: 700; flex: none; }
.review-card__badge { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #4285F4; }
.review-card__name { font-size: 14px; font-weight: 600; }
.review-card__time { font-size: 12px; color: var(--muted); }
.review-card__stars { color: var(--bronze); font-size: 14px; }
.review-card__text { font-size: 14px; line-height: 1.6; }
.reviews__dots { display: flex; gap: 8px; justify-content: center; }
.reviews__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-sand); }
.reviews__dots span:first-child { background: var(--bronze); }

/* =========================================================
   КОНТАКТИ
   ========================================================= */
.contacts { background: var(--taupe); color: var(--cream); display: grid; grid-template-columns: 1fr 1fr; }
.contacts__col { padding: 64px 56px; }
.contacts__col--left { border-right: 1px solid rgba(246,238,223,0.2); display: flex; flex-direction: column; gap: 28px; }
.contacts__col--right { display: flex; flex-direction: column; gap: 24px; }
.contacts__title { font-family: var(--font-display); font-weight: 500; font-size: 30px; }
.contacts__list { list-style: none; margin: 0; padding: 0; }
.contacts__list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(246,238,223,0.2); }
.contacts__list .num { color: var(--gold); font-family: var(--font-mono); font-size: 12px; }
.contacts__rows { display: flex; flex-direction: column; }
.contacts__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(246,238,223,0.2); font-family: var(--font-mono); font-size: 14px; }
.contacts__row .is-accent { color: var(--gold); }
.contacts__map {
  position: relative; height: 220px; border: 1px solid rgba(246,238,223,0.2); overflow: hidden;
  background: repeating-linear-gradient(45deg, #6E563E, #6E563E 12px, #654E37 12px, #654E37 24px);
}
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__map-link {
  align-self: flex-start; margin-top: -8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--gold);
}
.contacts__map-link:hover, .contacts__map-link:focus-visible { color: var(--cream); }

/* Форма "Свържи се с нас" - трети блок на цяла ширина под двете колони. */
.contacts__form-block {
  grid-column: 1 / -1;
  padding: 48px 56px 64px;
  border-top: 1px solid rgba(246, 238, 223, 0.2);
  display: flex; flex-direction: column; gap: 20px;
  display: none!important;
}
.contacts__form-block form, .contacts__form-block .form-success { max-width: 640px; }
.contacts__form-block form { display: flex; flex-direction: column; gap: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 40px 56px; background: var(--dark-2); color: var(--cream); display: flex; flex-direction: column; gap: 20px; }
.site-footer__row1 { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; }
.site-footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.site-footer__links { display: flex; gap: 24px; font-size: 13px; font-weight: 500; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer__links a { color: var(--cream); }
.site-footer__links a:hover { color: var(--bronze); }
.site-footer__links .is-current { color: var(--gold); }
.site-footer__row2 { display: flex; gap: 20px; font-size: 12px; color: rgba(246,238,223,0.6); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-footer__row2 a { color: inherit; }
.site-footer__row2 a:hover { color: var(--gold); }

/* =========================================================
   ПОЛЕЗНИ СЪВЕТИ - страница
   ========================================================= */
.tips-hero { background: var(--dark); display: grid; grid-template-columns: 1.15fr 1fr; }
.tips-hero__col { padding: 88px 56px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.tips-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 4.2vw, 68px); line-height: 1.05; color: var(--hero-text); text-wrap: balance; }
.tips-hero__desc { font-size: 16px; line-height: 1.7; color: rgba(239,230,216,0.75); max-width: 520px; }
.tips-hero__stats { display: flex; gap: 12px 28px; border-top: 1px solid rgba(239,230,216,0.16); padding-top: 20px; font-family: var(--font-mono); font-size: 12px; color: rgba(239,230,216,0.7); flex-wrap: wrap; }
.tips-hero__stats .is-accent { color: var(--bronze); }
.tips-hero__photo { position: relative; min-height: 460px; border-left: 1px solid rgba(239,230,216,0.16); overflow: hidden; }
.tips-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.intro-skin { padding: 80px 56px; background: var(--bg); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 32px; }
.intro-skin__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.intro-skin__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.12; }
.intro-skin p { font-size: 15px; line-height: 1.75; color: var(--muted-sand); }
.intro-skin p + p { margin-top: 16px; }
.phototype-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); font-size: 14px; }
.phototype-table caption { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bronze-deep); padding-bottom: 10px; text-transform: uppercase; }
.phototype-table th, .phototype-table td { padding: 12px 14px; border-top: 1px solid var(--rule); text-align: left; }
.phototype-table thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); border-top: none; text-transform: uppercase; }
.phototype-table td:first-child, .phototype-table th:first-child { font-family: var(--font-display); font-size: 18px; }

.tips-grid-section { padding: 80px 56px; background: var(--surface); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 40px; }
.tips-grid-section__header, .indepth__header, .faq-section__header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tip-card { background: var(--surface); padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.tip-card__num { font-family: var(--font-mono); font-size: 12px; color: var(--bronze); }
.tip-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.tip-card__text { font-size: 14px; line-height: 1.65; color: var(--muted); }

.faq-section { padding: 80px 56px; background: var(--sand); border-bottom: 1px solid var(--rule-sand); display: flex; flex-direction: column; gap: 36px; }
.faq-section__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-section__col { display: flex; flex-direction: column; gap: 18px; }
.faq-section__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.12; }
.faq-section__desc { font-size: 15px; line-height: 1.7; color: var(--muted); }
.faq-section__photo { height: 260px; border: 1px solid var(--rule-sand); overflow: hidden; }
.faq-section__photo img { width: 100%; height: 100%; object-fit: cover; }
.accordion { border-top: 1px solid var(--rule-thin); }
.accordion__item { border-bottom: 1px solid var(--rule-thin); }
.accordion__trigger {
  width: 100%; background: none; border: none; text-align: left;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 22px 4px; cursor: pointer;
}
.accordion__q { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); }
.accordion__sym { font-family: var(--font-mono); font-size: 20px; color: var(--bronze-deep); flex: none; }
.accordion__panel { padding: 0 4px 26px; }
.accordion__panel[hidden] { display: none; }
.accordion__panel p { font-size: 15px; line-height: 1.75; color: var(--muted-sand); max-width: 640px; }

.indepth { padding: 80px 56px; background: var(--surface); display: flex; flex-direction: column; gap: 36px; }
.indepth__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.12; max-width: 700px; }
.indepth .accordion { border-top-color: var(--rule); }
.indepth .accordion__item { border-bottom-color: var(--rule); }
.article__trigger {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 24px; padding: 26px 4px;
}
.article__num { font-family: var(--font-mono); font-size: 12px; color: var(--bronze); }
.article__title { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--ink); }
.article__right { display: flex; align-items: center; gap: 18px; }
.article__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.article__sym { font-family: var(--font-mono); font-size: 20px; color: var(--bronze-deep); }
.article__panel { padding: 0 4px 34px 84px; }
.article__panel[hidden] { display: none; }
.article__panel p { font-size: 15px; line-height: 1.8; color: var(--muted-sand); max-width: 760px; white-space: pre-line; }

/* =========================================================
   ПРАВНИ СТРАНИЦИ
   ========================================================= */
.legal { padding: 72px 56px 100px; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.legal__title { font-family: var(--font-display); font-weight: 500; font-size: 42px; }
.legal__updated { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-top: 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--muted-sand); }
.legal ul { padding-left: 20px; }
.legal mark { background: var(--gold); color: var(--ink); padding: 1px 6px; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .site-nav { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 16px 20px; }
  .site-nav__addr { display: none; }
  .site-nav__links { justify-content: center; flex-wrap: wrap; row-gap: 8px; }
  /* Телефон/таблет: видеото, градиентите и текстът са в една клетка на grid-а,
     а статистиките слизат под видеото, за да не го закриват. Видеото е 16:9 и
     тук се реже отстрани, а хората в кадрите са предимно вдясно от центъра. */
  .hero { display: grid; grid-template-columns: 100%; }
  .hero > * { grid-area: 1 / 1; }
  .hero__video { height: 72vh; height: 72svh; min-height: 480px; object-position: 62% center; }
  /* relative, не static: видеото е с opacity и се рисува над static блокове. */
  .hero__overlay-v, .hero__overlay-h { position: relative; inset: auto; }
  /* Тук текстът заема цялата ширина, затова тъмното идва отдолу, не отляво. */
  .hero__overlay-v { background: linear-gradient(180deg, rgba(28,21,18,0.3) 0%, rgba(28,21,18,0.05) 25%, rgba(28,21,18,0.42) 45%, rgba(28,21,18,0.66) 62%, rgba(28,21,18,0.88) 100%); }
  .hero__content { position: relative; left: auto; right: auto; bottom: auto; align-self: end; padding: 0 20px 32px; }
  .hero__title { font-size: 38px; }
  .hero__stats { position: static; grid-area: 2 / 1; grid-template-columns: 1fr 1fr; }
  .hero__stats li { border-left: none; border-top: 1px solid rgba(239,230,216,0.16); padding: 12px 20px; font-size: 11px; }
  .hero__stats li:last-child { grid-column: 1 / -1; }
  .sec, .px { padding-left: 20px; padding-right: 20px; }
  .manifesto, .carousel, .about, .booking, .reviews, .cta-band, .tips-grid-section, .faq-section, .indepth { padding-left: 20px; padding-right: 20px; }
  .about__grid, .booking__grid, .field-row, .opts, .quiz__options, .contacts, .tips-hero, .tips-grid, .faq-section__grid, .about__cards, .reviews__grid, .intro-skin__grid { grid-template-columns: 1fr; }
  .quiz__options { grid-template-columns: 1fr 1fr; }
  .about__photo { min-height: 300px; }
  .booking__form { padding: 24px 20px; }
  .contacts__map { height: 280px; } /* атрибуцията на OSM тук е на 3 реда */
  .contacts__col--left { border-right: none; border-bottom: 1px solid rgba(246,238,223,0.2); }
  .contacts__form-block { padding: 32px 20px 48px; }
  .result-card__grid { grid-template-columns: 1fr; }
  .result-card__photo { max-width: 220px; }
  .article__trigger { grid-template-columns: 28px 1fr auto; gap: 12px; }
  .article__title { font-size: 21px; }
  .article__tag { display: none; }
  .article__panel { padding-left: 44px; }
}
/* Между мобилното меню и широкия екран адресът + центрираната марка + 5 линка
   не се събират: линковете се пренасят на 2 реда и влизат под марката.
   Тук марката отива вляво, линковете вдясно, адресът се скрива. */
@media (min-width: 861px) and (max-width: 1240px) {
  .site-nav { grid-template-columns: auto 1fr; gap: 32px; padding-left: 32px; padding-right: 32px; }
  .site-nav__addr { display: none; }
  .site-nav__brand { text-align: left; }
}
@media (min-width: 861px) and (max-width: 1120px) {
  .reviews__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .quiz__options { grid-template-columns: 1fr 1fr; }
  .booking__stepnum { font-size: 10px; }
}

/* Печат - за черновите на правни страници и полезните съвети */
@media print {
  .site-nav, .site-footer, .cta-band, .carousel__arrow { display: none !important; }
  body { background: #fff; }
}
