/* PRIVE CLINIC - novinky (URL: /novinky)
   = styly podstranky diagnostiky + _build-skripty/nv-page.css.
   Sklada to nvbuild.py, subor rucne neupravujte. */

/* PRIVE CLINIC - diagnostika-pleti (URL: /diagnostika-pleti)
   Zakladne prvky (tokeny, typografia, page-hero, tlacidla) su prevzate
   z cennik.css, aby podstranka sedela so zvyskom webu.
   Zvysok je v _build-skripty/dg-page.css. Skladá to dgbuild.py.
   Spolocna hlavicka a paticka su v assets/css/base.css. */

:root {
      --bg: #F8F2EA;
      --bg-alt: #EFE3D4;
      --card: #FFFDF9;
      --text: #2D2926;
      --text-soft: #6F6259;
      --line: #E5D7C3;
      --gold: #B8916A;
      --gold-deep: #7A5C42;
      --gold-light: #D4B896;

      --serif: 'Cormorant Garamond', 'Times New Roman', serif;
      --sans: 'Manrope', system-ui, -apple-system, sans-serif;

      --radius-s: 4px;
      --radius-m: 10px;
      --radius-l: 22px;

      --shadow-soft: 0 14px 40px -20px rgba(122, 92, 66, 0.18);
      --shadow-card: 0 30px 60px -30px rgba(122, 92, 66, 0.22);

      --container: 1240px;
      --section-y: clamp(72px, 9vw, 130px);
    }
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
      font-family: var(--sans);
      font-weight: 400;
      line-height: 1.65;
      color: var(--text);
      background: var(--bg);
      overflow-x: hidden;
      font-feature-settings: "ss01", "kern";
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,
h2,
h3,
h4,
.serif {
      font-family: var(--serif);
      font-weight: 400;
      letter-spacing: 0.005em;
      color: var(--text);
    }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.25; font-weight: 500; }
.eyebrow {
      font-family: var(--sans);
      font-size: 0.75rem;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--gold-deep);
      font-weight: 500;
      margin-bottom: 1.4rem;
      display: inline-flex;
      align-items: center;
      gap: 14px;
    }
.eyebrow::before {
      content: "";
      width: 36px;
      height: 1px;
      background: var(--gold);
    }
.section-intro {
      max-width: 740px;
      margin: 0 auto 4rem;
      text-align: center;
    }
.section-intro p { font-size: 1.05rem; margin-top: 1rem; }
.container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 28px;
    }
section { padding: var(--section-y) 0; position: relative; }
.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 28px;
      font-family: var(--sans);
      font-size: 0.78rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-weight: 600;
      border-radius: var(--radius-s);
      transition: all .3s ease;
      cursor: pointer;
      white-space: nowrap;
    }
.btn-primary {
      background: var(--gold-deep);
      color: var(--card);
      border: 1px solid var(--gold-deep);
    }
.btn-primary:hover { background: var(--text); border-color: var(--text); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--card); }
.page-hero {
      position: relative;
      min-height: 500px;
      display: flex;
      align-items: flex-end;
      padding-top: 130px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(45,41,38,.76) 0%, rgba(45,41,38,.48) 52%, rgba(45,41,38,.72) 100%),
        radial-gradient(circle at 78% 18%, rgba(212,184,150,.34), transparent 38%),
        linear-gradient(135deg, #2D2926 0%, #5B4636 100%);
    }
.page-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,253,249,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,253,249,.045) 1px, transparent 1px);
      background-size: 82px 82px;
      mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
      -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
      pointer-events: none;
    }
.page-hero::after {
      content: "CENNÍK";
      position: absolute;
      right: -34px;
      bottom: 12px;
      font-family: var(--serif);
      font-size: clamp(5rem, 15vw, 13rem);
      letter-spacing: .16em;
      color: rgba(255,253,249,.055);
      line-height: 1;
      pointer-events: none;
      font-weight: 300;
    }
.page-hero-content {
      position: relative;
      z-index: 2;
      padding: 60px 0 70px;
      max-width: 780px;
    }
.page-hero .breadcrumb {
      font-family: var(--sans);
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,253,249,.56);
      margin-bottom: 22px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
.page-hero .breadcrumb a { color: rgba(255,253,249,.56); transition: color .2s; }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: var(--gold-light); }
.page-hero h1 {
      font-family: var(--serif);
      font-size: clamp(2.8rem, 5.5vw, 5rem);
      font-weight: 300;
      color: var(--card);
      line-height: 1.05;
      margin-bottom: 24px;
    }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero .lead {
      font-size: 1.1rem;
      color: rgba(255,253,249,.72);
      max-width: 600px;
      line-height: 1.7;
    }
.page-hero-line {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      z-index: 3;
    }
.btn-gold {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 36px;
      background: var(--gold);
      color: var(--card);
      font-family: var(--sans);
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 600;
      border-radius: 8px;
      border: 1px solid var(--gold);
      transition: all .3s ease;
    }
.btn-gold:hover {
      background: var(--gold-light);
      border-color: var(--gold-light);
      color: var(--text);
      transform: translateY(-2px);
      box-shadow: 0 12px 30px -10px rgba(184,145,106,.5);
    }
.btn-ghost-light {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 36px;
      background: transparent;
      color: rgba(255,253,249,.75);
      font-family: var(--sans);
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 600;
      border-radius: 8px;
      border: 1px solid rgba(255,253,249,.2);
      transition: all .3s ease;
    }
.btn-ghost-light:hover {
      border-color: rgba(255,253,249,.5);
      color: var(--card);
      background: rgba(255,253,249,.06);
    }
.reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .9s ease, transform .9s ease;
      transition-delay: var(--d, 0s);
    }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
:root { --section-y: 70px; }.page-hero { min-height: 410px; padding-top: 100px; }.page-hero-content { padding: 55px 0 58px; }
}
@media (max-width: 640px) {
.container { padding: 0 20px; }.page-hero h1 { font-size: 2.55rem; }.page-hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
}


/* ================== SPOLOČNÉ PRVKY PODSTRÁNKY ================== */

/* Šípka v navigačnej ceste — bez rozmeru by SVG zabralo celú šírku. */
.page-hero .breadcrumb svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  font-weight: 300;
}

.section-head h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

.section-head > p {
  color: var(--text-soft);
  font-size: .96rem;
  padding-bottom: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ================== ŠTÍTOK NOVINKA ================== */

.dg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(212, 184, 150, .5);
  border-radius: 999px;
  background: rgba(212, 184, 150, .14);
  color: var(--gold-light);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.dg-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}

.dg-badge-light {
  border-color: rgba(122, 92, 66, .32);
  background: rgba(184, 145, 106, .12);
  color: var(--gold-deep);
}

.dg-badge-light::before {
  background: var(--gold-deep);
}

/* ================== HERO ================== */

/* Vodoznak v pozadí hero sekcie. Zo základu (cennik.css) prichádza text
   „CENNÍK“ — tu ho meníme a zmenšujeme tak, aby sa celé slovo zmestilo
   a nikde sa neorezalo. Na malých displejoch sa skrýva (je len ozdobný). */
.dg-hero::after {
  content: "DIAGNOSTIKA";
  right: 28px;
  bottom: 16px;
  font-size: clamp(2.2rem, 7.2vw, 7.4rem);
  letter-spacing: .1em;
  white-space: nowrap;
}

.dg-hero .hero-actions {
  margin-top: 34px;
}

/* Hero má tmavé pozadie — obrysové tlačidlo musí byť svetlé. */
.dg-hero .hero-actions .btn-outline {
  border-color: rgba(255, 253, 249, .4);
  color: var(--card);
}

.dg-hero .hero-actions .btn-outline:hover {
  background: rgba(255, 253, 249, .13);
  border-color: rgba(255, 253, 249, .6);
  color: var(--card);
}

.dg-hero-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 34px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 253, 249, .16);
  border-radius: var(--radius-m);
  background: rgba(255, 253, 249, .06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dg-hero-price strong {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-light);
}

.dg-price-old {
  font-size: 1.05rem;
  color: rgba(255, 253, 249, .5);
  text-decoration: line-through;
}

.dg-price-note {
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .62);
}

/* ================== ČO TO JE ================== */

.dg-intro {
  background: var(--bg);
}

.dg-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.dg-intro-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.14;
  font-weight: 300;
  margin-bottom: 22px;
}

.dg-intro-copy h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

.dg-intro-copy p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.dg-intro-copy strong {
  color: var(--text);
  font-weight: 600;
}

.dg-facts {
  list-style: none;
  display: grid;
  gap: 2px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.dg-facts li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dg-facts strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--gold-deep);
}

.dg-facts span {
  font-size: .92rem;
  color: var(--text-soft);
}

.dg-intro-visual {
  position: relative;
}

/* Fotka prístroja s tabletom sa neorezáva — prístroj aj obrazovka tabletu
   sú vždy celé, na každej šírke displeja. */
.dg-intro-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1066 / 1350;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

/* Štítok je hore vpravo na prázdnej stene — dole by zakryl tablet. */
.dg-intro-tag {
  position: absolute;
  top: 32px;
  right: -14px;
  padding: 18px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  max-width: 240px;
}

.dg-intro-tag strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.dg-intro-tag span {
  font-size: .78rem;
  letter-spacing: .07em;
  color: var(--text-soft);
}

/* ================== SVETELNÉ SPEKTRÁ ================== */

.dg-light {
  background: var(--bg-alt);
}

/* Štyri karty — štyri svetelné spektrá prístroja.
   Na širokom displeji všetky v jednom rade, na tablete 2 + 2. Vždy súmerne. */
.dg-light-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.dg-light-card {
  position: relative;
  flex: 1 1 240px;
  max-width: calc(25% - 17px);
  padding: 32px 28px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: transform .35s ease, box-shadow .35s ease;
}

.dg-light-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.dg-light-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.dg-light-card h3 {
  font-size: 1.24rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.dg-light-card p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Skutočné výstupy z prístroja — mriežka 3 × 3 snímok. Obrázok sa
   neorezáva, inak by z mriežky zmizli celé riadky. */
.dg-texture {
  max-width: 1040px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.dg-texture img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}

.dg-texture figcaption {
  max-width: 520px;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.78;
  padding-left: 26px;
  border-left: 2px solid var(--gold-light);
}

.dg-texture figcaption strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.dg-texture figcaption p {
  margin: 0;
}

.dg-texture-rows {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.dg-texture-rows li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.55;
}

.dg-texture-rows span {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ================== REPORT ================== */

.dg-report {
  background: var(--bg);
}

.dg-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.dg-report-card {
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: transform .35s ease, box-shadow .35s ease;
}

.dg-report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.dg-report-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(212, 184, 150, .18);
  color: var(--gold-deep);
}

.dg-report-icon svg {
  width: 21px;
  height: 21px;
}

.dg-report-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.dg-report-card p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.72;
}

/* ================== PRE KOHO ================== */

.dg-who {
  background: var(--bg-alt);
}

.dg-who-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.dg-who-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  font-weight: 300;
  margin-bottom: 18px;
}

.dg-who-copy h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

.dg-who-copy > p {
  color: var(--text-soft);
  margin-bottom: 26px;
}

.dg-who-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.dg-who-list li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.dg-who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

.dg-note {
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.dg-note strong {
  color: var(--text);
  font-weight: 600;
}

.dg-who-visual img {
  width: 100%;
  height: clamp(320px, 40vw, 470px);
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

/* ================== PRIEBEH ================== */

.dg-steps {
  background: var(--bg);
}

.dg-steps-list {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.dg-steps-list li {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.dg-step-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
}

.dg-steps-list h3 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 9px;
}

.dg-steps-list p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.72;
}

/* Prístroj zblízka — dve fotky pod krokmi, vedľa seba aj na telefóne. */
.dg-device {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.6vw, 30px);
  max-width: 820px;
  margin: clamp(44px, 6vw, 76px) auto 0;
}

.dg-device-item {
  margin: 0;
}

.dg-device-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

.dg-device-item figcaption {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 2px solid var(--gold-light);
}

.dg-device-item strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

.dg-device-item span {
  display: block;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ================== VIDEO ================== */

.dg-video {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--text) 0%, #352E28 100%);
  color: rgba(255, 253, 249, .78);
}

/* Jemný zlatý svit vľavo hore — rovnaký jazyk ako panel novinky a CTA. */
.dg-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 15%, rgba(212, 184, 150, .16), transparent 46%);
  pointer-events: none;
}

.dg-video > .container {
  position: relative;
}

.dg-video-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.dg-video-copy .eyebrow {
  color: var(--gold-light);
}

.dg-video-copy .eyebrow::before {
  background: var(--gold-light);
}

.dg-video-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  font-weight: 300;
  color: var(--card);
  margin-bottom: 18px;
}

.dg-video-copy h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.dg-video-copy p {
  font-size: .94rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Zoznam „čo vo videu uvidíte“ — dáva sekcii obsah, aby ľavá strana
   nepôsobila prázdno vedľa vysokého zvislého prehrávača. */
.dg-video-list {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 30px 0 26px;
  padding: 0;
  border-top: 1px solid rgba(255, 253, 249, .14);
}

.dg-video-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 253, 249, .14);
}

.dg-video-list-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: .04em;
}

.dg-video-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--card);
  margin-bottom: 5px;
}

.dg-video-list span {
  display: block;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255, 253, 249, .72);
}

.dg-video-source {
  display: inline-block;
  padding-left: 14px;
  border-left: 2px solid rgba(212, 184, 150, .45);
  font-size: .78rem !important;
  line-height: 1.6;
  color: rgba(255, 253, 249, .5);
  margin-bottom: 0 !important;
}



/* ── Zvislé video (Facebook reel, YouTube Shorts) ──
 * Facebook vykreslí prehrávač v pevnej veľkosti a sám sa neprispôsobí.
 * Rámček preto necháme v pomere 9:16 a samotný iframe doškáluje skript
 * (assets/js/theme.js) na skutočnú šírku miesta. Štýly prehrávača samotného
 * sú v assets/css/base.css, aby sa dali použiť aj na úvodnej stránke. */
.dg-video--vertical .dg-video-inner {
  grid-template-columns: 1fr minmax(300px, 364px);
  align-items: center;
}

.dg-video--vertical .pc-video {
  max-width: 320px;
}

/* ================== CENA ================== */

.dg-price {
  background: var(--bg-alt);
}

.dg-price-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

.dg-price-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 300;
  margin-bottom: 22px;
}

.dg-price-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.dg-price-figure strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-deep);
}

.dg-price-figure .dg-price-old {
  font-size: 1.5rem;
  color: var(--text-soft);
}

.dg-price-sub {
  font-size: .84rem;
  letter-spacing: .07em;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.dg-price-list {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 470px;
  margin: 0 auto 34px;
  text-align: left;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.dg-price-list li {
  position: relative;
  padding-left: 30px;
  font-size: .93rem;
  color: var(--text-soft);
}

.dg-price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

.dg-price-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ================== FAQ ================== */

.dg-faq {
  background: var(--bg);
}

/* Otázky sú v strede stránky — na počítači aj na telefóne. */
.dg-faq .section-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.dg-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dg-faq-item {
  border-bottom: 1px solid var(--line);
}

.dg-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--text);
  transition: color .25s ease;
}

.dg-faq-item summary::-webkit-details-marker {
  display: none;
}

.dg-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s ease;
}

.dg-faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.dg-faq-item summary:hover {
  color: var(--gold-deep);
}

.dg-faq-item p {
  padding: 0 0 24px;
  max-width: 720px;
  font-size: .94rem;
  color: var(--text-soft);
  line-height: 1.78;
}

/* ================== CTA ================== */

.dg-cta {
  background: var(--bg-alt);
}

.dg-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 78px);
  text-align: center;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--text), #3B332C);
  color: rgba(255, 253, 249, .78);
}

.dg-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(212, 184, 150, .22), transparent 45%);
  pointer-events: none;
}

.dg-cta-panel .eyebrow {
  color: var(--gold-light);
}

.dg-cta-panel .eyebrow::before {
  background: var(--gold-light);
}

.dg-cta-panel h2 {
  position: relative;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 300;
  color: var(--card);
  margin-bottom: 18px;
}

.dg-cta-panel h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.dg-cta-panel > p {
  position: relative;
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: .96rem;
  line-height: 1.75;
}

.dg-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.dg-cta-actions .btn-outline {
  border-color: rgba(255, 253, 249, .38);
  color: var(--card);
}

.dg-cta-actions .btn-outline:hover {
  background: rgba(255, 253, 249, .12);
  color: var(--card);
}

/* ================== RESPONSIVE ================== */

@media (max-width: 980px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 40px;
  }

  .dg-intro-grid,
  .dg-who-grid,
  .dg-video-inner,
  .dg-video--vertical .dg-video-inner {
    grid-template-columns: 1fr;
  }

  /* Na užšom displeji ide zvislé video pod text a zostáva v strede. */
  .dg-video--vertical .pc-video {
    max-width: 300px;
  }

  .pc-video-frame {
    width: 100%;
  }

  .dg-video-list {
    margin: 24px 0 20px;
  }

  .dg-video-list li {
    padding: 13px 0;
  }

  /* Fotka ide nad text a má obmedzenú šírku, inak by bola na tablete
     cez celú obrazovku a zbytočne vysoká. */
  .dg-intro-visual {
    order: -1;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }

  .dg-intro-tag {
    top: 16px;
    right: 16px;
  }

  .dg-texture {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 26px;
  }

  .dg-texture img {
    max-width: 500px;
  }

  .dg-texture figcaption {
    justify-self: stretch;
    max-width: none;
    padding-left: 20px;
  }
}

@media (max-width: 1100px) {
  /* Dve a dve — stále súmerne.
     Meniť treba aj základnú šírku (flex-basis), nielen max-width: samotné
     max-width rast obmedzí, ale do riadka by sa aj tak vošli tri karty. */
  .dg-light-card {
    flex: 1 1 calc(50% - 11px);
    max-width: calc(50% - 11px);
  }
}

@media (max-width: 620px) {
  .dg-facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dg-hero-price {
    width: 100%;
    padding: 14px 18px;
    gap: 8px 12px;
  }

  .dg-hero-price strong {
    font-size: 1.8rem;
  }

  .dg-price-actions > a,
  .dg-cta-actions > a,
  .hero-actions > a {
    width: 100%;
    justify-content: center;
  }

  .dg-faq-item summary {
    font-size: 1.02rem;
    padding: 19px 0;
  }

  .dg-faq-item p {
    padding-bottom: 20px;
    font-size: .9rem;
  }

  /* ── Karty svetiel: kompaktný riadok namiesto vysokej karty ──
     Bez toho by päť kariet pod sebou znamenalo zbytočne dlhé skrolovanie. */
  .dg-light-card {
    flex: 1 1 100%;
    max-width: none;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    align-items: baseline;
    padding: 20px 20px 21px;
  }

  .dg-light-num {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    font-size: 1.1rem;
  }

  .dg-light-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 7px;
    font-size: 1.08rem;
  }

  .dg-light-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: .89rem;
    line-height: 1.62;
  }

  .dg-light-grid {
    gap: 14px;
  }

  /* Štítok pri fotke ide pod obrázok — na úzkom displeji ho neprekrýva. */
  .dg-intro-tag {
    position: static;
    max-width: none;
    margin-top: 14px;
    text-align: center;
  }

  .dg-device-item img {
    border-radius: var(--radius-m);
  }

  .dg-device-item figcaption {
    margin-top: 12px;
    padding-left: 10px;
  }

  .dg-device-item strong {
    font-size: 1rem;
    line-height: 1.3;
  }

  .dg-device-item span {
    font-size: .8rem;
    line-height: 1.55;
  }

  /* Karty výsledkov: ikona vedľa nadpisu, nie nad ním. */
  .dg-report-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    align-items: center;
  }

  .dg-report-icon {
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }

  .dg-report-icon svg {
    width: 18px;
    height: 18px;
  }

  .dg-report-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    font-size: 1.06rem;
  }

  .dg-report-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 11px;
    font-size: .89rem;
    line-height: 1.62;
  }

  /* Kompaktnejšie odsadenia sekcií, aby stránka nebola zbytočne dlhá. */
  .dg-report-card,
  .dg-price-panel,
  .dg-cta-panel {
    padding: 22px 20px;
  }

  .dg-report-grid,
  .dg-steps-list {
    gap: 16px;
  }

  .dg-note {
    padding: 18px 20px;
    font-size: .86rem;
  }

  .dg-price-list {
    padding-top: 22px;
    margin-bottom: 26px;
  }

  .dg-steps-list li {
    padding-top: 20px;
  }

  .dg-step-num {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }
}


/* =====================================================================
 * PODSTRÁNKA NOVINKY (URL: /novinky)
 * Zdroj: _build-skripty/nv-page.css. Skladá to nvbuild.py:
 * novinky.css = diagnostika-pleti.css (rovnaký vzhľad hero, kariet, krokov,
 * otázok a výzvy na konci) + tento súbor.
 * ===================================================================== */

/* ================== HERO ================== */

.nv-hero::after {
  content: "NOVINKY";
}

/* Rýchle odkazy na tri prípravky priamo v hero. */
.nv-hero-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
}

.nv-hero-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 170px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 253, 249, .2);
  border-radius: var(--radius-m);
  background: rgba(255, 253, 249, .06);
  color: var(--card);
  text-decoration: none;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.nv-hero-list a:hover {
  background: rgba(255, 253, 249, .12);
  border-color: rgba(212, 184, 150, .6);
  transform: translateY(-2px);
}

.nv-hero-list strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.nv-hero-list span {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ================== ČO JE MEZOTERAPIA ================== */

.nv-basics {
  background: var(--bg);
}

/* Tri karty v rade (základ z diagnostiky počíta so štyrmi). */
.nv-actives .dg-light-card {
  max-width: calc(33.333% - 15px);
}

/* ================== PRÍPRAVKY ================== */

.nv-product {
  background: var(--bg);
  scroll-margin-top: 90px;
}

.nv-product--alt {
  background: var(--bg-alt);
}

.nv-product-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5.5vw, 80px);
  align-items: center;
}

/* Každý druhý prípravok má fotku vpravo — stránka tak nepôsobí jednotvárne. */
.nv-product--flip .nv-product-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
}

.nv-product--flip .nv-product-media {
  order: 2;
}

.nv-product-media {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.nv-product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

/* Cenovka na fotke. */
.nv-product-tag {
  position: absolute;
  left: -14px;
  bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.nv-product--flip .nv-product-tag {
  left: auto;
  right: -14px;
}

.nv-product-tag strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-deep);
}

.nv-product-tag span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nv-product-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  font-weight: 300;
  margin-bottom: 12px;
}

.nv-lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.nv-product-copy > p:not(.nv-lead) {
  color: var(--text-soft);
  margin-bottom: 14px;
}

.nv-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 26px 0 28px;
}

.nv-cols h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.nv-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.nv-list li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.nv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 12px;
  height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.nv-facts {
  display: grid;
  grid-template-columns: .8fr .6fr 1.6fr;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nv-facts > div {
  padding: 16px 18px 16px 0;
}

.nv-facts > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.nv-facts dt {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.nv-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--text);
}

.nv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ================== POROVNANIE ================== */

.nv-compare {
  background: var(--bg);
  scroll-margin-top: 90px;
}

.nv-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.nv-compare-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: var(--text);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.nv-compare-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-soft);
}

.nv-compare-need {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.nv-compare-card strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.nv-compare-note {
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.nv-compare-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.nv-compare-tip {
  max-width: 760px;
  margin: 38px auto 0;
  text-align: center;
  font-size: .94rem;
  color: var(--text-soft);
}

.nv-compare-tip a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================== PRIEBEH, OTÁZKY ================== */

.nv-steps {
  background: var(--bg-alt);
}

.nv-note {
  margin-top: 40px;
}

.nv-disclaimer {
  max-width: 860px;
  margin: 30px auto 0;
  text-align: center;
  font-size: .8rem;
  color: var(--text-soft);
}

/* ================== RESPONSIVE ================== */

@media (max-width: 1100px) {
  .nv-actives .dg-light-card {
    flex: 1 1 calc(50% - 11px);
    max-width: calc(50% - 11px);
  }
}

@media (max-width: 980px) {
  .nv-product-grid,
  .nv-product--flip .nv-product-grid {
    grid-template-columns: 1fr;
  }

  .nv-product--flip .nv-product-media {
    order: 0;
  }

  .nv-product-media {
    max-width: 380px;
  }

  .nv-compare-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .nv-hero-list {
    flex-direction: column;
  }

  .nv-hero-list a {
    min-width: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .nv-actives .dg-light-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .nv-product-media {
    max-width: 300px;
  }

  .nv-product-tag,
  .nv-product--flip .nv-product-tag {
    left: 12px;
    right: auto;
    bottom: 14px;
    padding: 10px 14px;
  }

  .nv-product-tag strong {
    font-size: 1.35rem;
  }

  .nv-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nv-facts {
    grid-template-columns: 1fr;
  }

  .nv-facts > div,
  .nv-facts > div + div {
    padding: 12px 0;
    border-left: 0;
  }

  .nv-facts > div + div {
    border-top: 1px solid var(--line);
  }

  .nv-actions > a {
    width: 100%;
    justify-content: center;
  }

  .nv-compare-card {
    padding: 24px 22px;
  }
}
