/* ============================================================
   STORYTELLING ADVERTORIAL — SLOVENIAN
   style.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Gaur:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --cream:       #f5f0eb;
  --cream-deep:  #ede7de;
  --dark:        #1a2e35;
  --dark-mid:    #2d4a42;
  --accent:      #c8a882;
  --accent-deep: #a88660;
  --green:       #4a7c6f;
  --green-light: #e8f0ee;
  --text:        #2a2a2a;
  --text-muted:  #6b6b6b;
  --text-light:  rgba(255,255,255,0.85);
  --text-light-muted: rgba(255,255,255,0.62);
  --white:       #fefefe;
  --border:      rgba(200,168,130,0.25);
  --border-dark: rgba(255,255,255,0.12);

  --font-display: 'Cormorant Gaur', Georgia, serif;
  --font-body:    'Outfit', Arial, sans-serif;

  --nav-h: 0px; /* no sticky nav in this mode */

  --radius-sm: 4px;
  --radius-md: 8px;

  --max-article: 720px;
  --max-wide:    1060px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-deep); }

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

/* --- On-dark scope --- */
.on-dark { color: var(--text-light); }
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 { color: #fff; }
.on-dark p  { color: var(--text-light-muted); }
.on-dark a:not(.btn) { color: var(--accent); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.container--article {
  max-width: var(--max-article);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ============================================================
   ADVERTORIAL DISCLOSURE BAR
   ============================================================ */
.disclosure-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 20px;
  line-height: 1.5;
}
.disclosure-bar a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================================================
   EDITORIAL HEADER
   ============================================================ */
.editorial-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.article-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.13;
  color: var(--dark);
  margin-bottom: 28px;
  max-width: 680px;
}

.article-title em {
  font-style: italic;
  color: var(--green);
}

/* Author block */
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: var(--cream-deep);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.byline__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.byline__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.byline__bio {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   LEAD FIGURE (after header)
   ============================================================ */
.lead-figure {
  margin: 0;
  padding: 40px 0 0;
}

.lead-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.article-body {
  padding: 56px 0 0;
}

.article-section {
  margin-bottom: 52px;
  position: relative;
}

.article-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.25;
}
.article-section h2 em {
  font-style: italic;
  color: var(--accent-deep);
}

.article-section p {
  font-size: 17px;
  line-height: 1.82;
  color: var(--text);
}

/* Inline figure inside article */
.inline-figure {
  margin: 36px 0;
}
.inline-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 440px;
  display: block;
}

/* Two-column image pair */
.figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0;
}
.figure-pair img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ============================================================
   INLINE CTA (soft, link style)
   ============================================================ */
.inline-cta {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 40px 0;
}
.inline-cta p {
  font-size: 15.5px;
  color: var(--dark-mid);
  margin: 0;
  line-height: 1.65;
}
.inline-cta a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid var(--green);
  transition: color 0.2s, border-color 0.2s;
}
.inline-cta a:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* ============================================================
   PRODUCT TURN — facts + badges
   ============================================================ */
.product-turn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  margin: 52px 0;
}

.product-turn__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-turn__photo {
  position: relative;
}
.product-turn__photo img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.product-turn__content h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.product-turn__content .product-brand {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}
.product-turn__content p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.2em;
}

/* Facts table — full width of product block */
.facts {
  width: 100%;
  margin: 36px 0 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  table-layout: fixed;
}
.facts th,
.facts td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: none;
}
.facts th {
  width: 32%;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--cream);
}
.facts td {
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  word-wrap: break-word;
}

/* Price line */
.product-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 24px;
}

/* External CTA link styled as underline-only button */
.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  cursor: pointer;
}
.btn-external:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn-external svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ============================================================
   ICON BADGE ROW
   ============================================================ */
.badge-section {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.badge-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.badge-row__item svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  flex: none;
}
.badge-row__item span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 36px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }

.faq-chevron {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
}
.faq-chevron svg {
  width: 10px;
  height: 10px;
  color: var(--accent-deep);
  transition: transform 0.3s;
}
.faq-item[open] .faq-chevron {
  background: var(--green-light);
}
.faq-item[open] .faq-chevron svg {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-muted);
}
.faq-body p { margin-bottom: 0.8em; }
.faq-body a {
  color: var(--green);
  text-decoration: underline;
}

/* ============================================================
   CLOSING CTA BLOCK
   ============================================================ */
.closing-cta {
  background: var(--dark);
  padding: 64px 0;
  margin-top: 0;
  text-align: center;
}
.closing-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.closing-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.btn-closing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #000;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.btn-closing:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-1px);
}
.btn-closing svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  font-size: 13px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links span {
  color: rgba(255,255,255,0.25);
}

.footer-disclosure {
  max-width: 680px;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  text-align: center;
}
.footer-disclosure p { margin-bottom: 0.6em; }
.footer-disclosure p:last-child { margin-bottom: 0; }

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 2px solid var(--accent);
  padding: 20px;
  display: none;
  font-family: var(--font-body);
}
.cookie-banner.is-visible { display: block; }

.cookie-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.cookie-btn--accept {
  background: var(--accent);
  color: var(--dark);
}
.cookie-btn--accept:hover { background: #d4b896; }
.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn--reject:hover { background: rgba(255,255,255,0.05); color: #fff; }
.cookie-btn--configure {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: none;
  font-size: 12px;
  font-weight: 400;
  text-decoration: underline;
  padding: 9px 10px;
}
.cookie-btn--configure:hover { color: rgba(255,255,255,0.8); }

/* Configure panel */
.cookie-configure-panel {
  display: none;
  width: 100%;
  margin-top: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.cookie-configure-panel.is-open { display: block; }

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}
.cookie-category__desc {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
}

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; gap: 8px; flex: none; }
.toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 22px;
  transition: background 0.2s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(16px); }
.toggle input:disabled + .toggle-slider { cursor: default; opacity: 0.6; }

.cookie-save-btn {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-save-btn:hover { background: var(--dark-mid); }

/* ============================================================
   PHOTO PLACEHOLDER (fallback only)
   ============================================================ */
.photo-placeholder {
  background: linear-gradient(135deg, #ff6eb4, #ff3d9a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: inherit;
}
.photo-placeholder__icon { font-size: 32px; }
.photo-placeholder__label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: sans-serif;
  text-align: center;
  padding: 0 16px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Load animation */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-title  { animation: fade-up 0.9s ease forwards; }
.anim-kicker { animation: fade-up 0.7s ease 0.1s forwards; opacity: 0; }
.anim-byline { animation: fade-up 0.7s ease 0.25s forwards; opacity: 0; }
.anim-lead   { animation: fade-up 0.8s ease 0.35s forwards; opacity: 0; }

/* ============================================================
   PRIVACY PAGE SPECIFIC
   ============================================================ */
.legal-page {
  padding: 64px 0 80px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: block;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin: 32px 0 12px;
}
.legal-page p,
.legal-page li {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1em;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 1em;
}
.legal-page a { color: var(--green); text-decoration: underline; }

/* Legal page header (mini) */
.legal-header {
  background: var(--dark);
  padding: 18px 0;
}
.legal-header .legal-header__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .product-turn__inner {
    grid-template-columns: 1fr;
  }
  .product-turn {
    padding: 24px 20px;
  }
  .badge-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .figure-pair {
    grid-template-columns: 1fr;
  }
  .figure-pair img {
    height: 280px;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .facts th {
    width: 38%;
    padding: 12px 14px;
  }
  .facts td {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .badge-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .badge-row__item:last-child {
    grid-column: span 1;
  }
  .closing-cta {
    padding: 48px 0;
  }
}

/* Progressive-enhancement safety (injected by builder): scroll-reveal blocks stay VISIBLE
   unless JS confirms it can animate them by adding .js-anim to <html>. Guarantees a
   truncated page or a failed script can never leave content permanently hidden. */
html:not(.js-anim) .reveal,
html:not(.js-anim) .reveal-left,
html:not(.js-anim) .reveal-right,
html:not(.js-anim) .reveal-scale,
html:not(.js-anim) .stagger-child {
  opacity: 1 !important;
  transform: none !important;
}
