/* =====================================================================
   Detail procedury – layout & komponenty
   Sladěno s design systémem webu DKI: font Oddval (dědí se),
   krémové plochy, broskvový akcent (#efcf9d), tmavá #2e2e2e.
   Žádná zlatá, žádné nové fonty. Scoped pod .pd.
   ===================================================================== */

.pd {
  --pd-ink: #2e2e2e;
  --pd-ink-soft: #5b544c;
  --pd-ink-faint: #8c8378;
  --pd-cream: #fbf7f1;
  --pd-cream2: #f3ece1;
  --pd-paper: #fcfaf7;
  --pd-card: #f2ebe1;
  --pd-line: #e7ddcd;
  --pd-line-soft: #efe7da;
  --pd-peach: #efcf9d;
  --pd-peach-soft: #f6e3c6;
  --pd-sec-y: clamp(64px, 9vw, 130px);
  color: var(--pd-ink);
}
.pd .pd-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: clamp(20px,5vw,64px); padding-right: clamp(20px,5vw,64px); }
.pd .pd-section { padding-top: var(--pd-sec-y); padding-bottom: var(--pd-sec-y); }
.pd .pd-paper { background: var(--pd-paper); }
.pd .pd-cream { background: var(--pd-cream); }
.pd .pd-dark { background: var(--pd-ink); color: var(--pd-paper); }

/* nadtitulek */
.pd .pd-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pd-ink-faint); }
.pd .pd-dark .pd-eyebrow { color: var(--pd-peach); }
.pd .pd-lead { font-size: clamp(17px,1.5vw,20px); line-height: 1.6; font-weight: 300; color: var(--pd-ink-soft); }
.pd .pd-muted { color: var(--pd-ink-soft); font-weight: 300; }

/* split – sticky nadpis vlevo */
.pd .pd-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,6vw,90px); align-items: start; }
.pd .pd-split .pd-stickyhead { position: sticky; top: 120px; }
@media (max-width: 880px){ .pd .pd-split { grid-template-columns: 1fr; gap: 28px; } .pd .pd-split .pd-stickyhead { position: static; } }

/* ===== HERO ===== */
.pd .pd-hero { background: linear-gradient(115deg, #f4c99a, #f8e3c7 64%, var(--pd-cream)); }
.pd .pd-hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,72px); align-items: center; padding-top: clamp(120px,16vw,180px); padding-bottom: clamp(56px,8vw,110px); }
.pd .pd-crumb { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.pd .pd-crumb a { color: var(--pd-ink-soft); } .pd .pd-crumb a:hover { color: var(--pd-ink); }
.pd .pd-crumb .sep { color: #c79a55; }
.pd .pd-hero h1 { font-size: clamp(40px,5.2vw,64px); line-height: 1.1; letter-spacing: -.01em; margin: 6px 0 0; }
.pd .pd-hero .pd-lead { margin-top: 22px; max-width: 46ch; }
.pd .pd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pd .pd-hero-media { aspect-ratio: 5/6; background: #f0dcbe; overflow: hidden; }
.pd .pd-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px){ .pd .pd-hero-inner { grid-template-columns: 1fr; } .pd .pd-hero-media { order: -1; } }

/* sekundární tlačítko (ghost) – ladí s tmavým tlačítkem webu */
.pd .pd-btn-ghost { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--pd-ink); color: var(--pd-ink); background: transparent; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; padding: 17px 26px; transition: .2s; }
.pd .pd-btn-ghost:hover { background: var(--pd-ink); color: var(--pd-paper); }

/* ===== EFEKTY (číslovaný seznam) ===== */
.pd .pd-efflist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pd-line); }
.pd .pd-efflist li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--pd-line); }
.pd .pd-efflist .n { font-size: 15px; font-weight: 600; color: var(--pd-ink-faint); }
.pd .pd-efflist .t { font-size: 17px; line-height: 1.55; }
.pd .pd-efflist .t b { font-weight: 600; }

/* ===== OBLASTI (karty s liniemi) ===== */
.pd .pd-cards { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--pd-line); border-right: 0; border-bottom: 0; }
.pd .pd-area { position: relative; padding: 34px 30px 38px; border-right: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line); transition: background .25s; }
.pd .pd-area:hover { background: var(--pd-cream2); }
.pd .pd-area .idx { position: absolute; top: 18px; right: 22px; font-size: 13px; color: var(--pd-ink-faint); }
.pd .pd-area h4 { font-size: 21px; margin: 8px 0 10px; line-height: 1.15; }
.pd .pd-area p { font-size: 15.5px; line-height: 1.55; color: var(--pd-ink-soft); }
@media (max-width: 820px){ .pd .pd-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .pd .pd-cards { grid-template-columns: 1fr; } }

/* tip box */
.pd .pd-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 26px 30px; background: var(--pd-peach-soft); border: 1px solid var(--pd-peach); }
.pd .pd-note .badge { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; background: var(--pd-peach); color: var(--pd-ink); }
.pd .pd-note p { font-size: 16px; line-height: 1.6; }
@media (max-width: 560px){ .pd .pd-note { flex-direction: column; gap: 12px; } }

/* ===== PRO KOHO ===== */
.pd .pd-reasons { list-style: none; margin: 0; padding: 0; }
.pd .pd-reasons li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pd-line); font-size: 17px; line-height: 1.55; }
.pd .pd-reasons .chk { color: #c79a55; font-size: 18px; line-height: 1.4; }
.pd .pd-contra { margin-top: 34px; padding: 28px 30px; background: var(--pd-cream2); border: 1px solid var(--pd-line); }
.pd .pd-contra h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pd-ink-soft); margin: 0 0 16px; }
.pd .pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pd .pd-tags .tag { font-size: 14px; padding: 9px 14px; background: var(--pd-paper); border: 1px solid var(--pd-line); }
.pd .pd-contra p { font-size: 15px; color: var(--pd-ink-soft); }

/* ===== PRŮBĚH (dark) ===== */
.pd .pd-proc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: start; }
.pd .pd-proc-media { aspect-ratio: 5/6; background: #3a3633; overflow: hidden; }
.pd .pd-proc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd .pd-step { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.pd .pd-step:first-child { padding-top: 0; }
.pd .pd-step .n { font-size: 15px; font-weight: 600; color: var(--pd-peach); margin-bottom: 12px; }
.pd .pd-step h3 { font-size: clamp(22px,2.4vw,28px); margin: 0 0 12px; }
.pd .pd-step p { font-size: 16.5px; line-height: 1.6; color: #d7d1c9; font-weight: 300; }
.pd .pd-step .meta { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .04em; color: var(--pd-peach); }
@media (max-width: 820px){ .pd .pd-proc { grid-template-columns: 1fr; } }

/* ===== VÝSLEDKY ===== */
.pd .pd-results { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--pd-line); border: 1px solid var(--pd-line); }
.pd .pd-res { background: var(--pd-cream); padding: 30px 24px; }
.pd .pd-res .num { font-size: clamp(34px,3.6vw,46px); line-height: 1; letter-spacing: -.02em; }
.pd .pd-res .num .u { font-size: .4em; margin-left: 6px; color: #c79a55; letter-spacing: 0; }
.pd .pd-res .lab { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--pd-ink-soft); }
@media (max-width: 820px){ .pd .pd-results { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .pd .pd-results { grid-template-columns: 1fr; } }
.pd .pd-care { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd .pd-care .item { padding: 26px 28px; background: var(--pd-paper); border: 1px solid var(--pd-line); }
.pd .pd-care .when { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pd-ink-soft); margin-bottom: 10px; }
.pd .pd-care p { font-size: 16px; line-height: 1.55; }
@media (max-width: 640px){ .pd .pd-care { grid-template-columns: 1fr; } }

/* ===== KLINIKA ===== */
.pd .pd-clinic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.pd .pd-clinic-media { aspect-ratio: 4/3; background: #efe6d8; overflow: hidden; }
.pd .pd-clinic-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px){ .pd .pd-clinic { grid-template-columns: 1fr; } .pd .pd-clinic-media { order: -1; } }

/* ===== FAQ ===== */
.pd .pd-faq { border-top: 1px solid var(--pd-line); }
.pd .pd-faq details { border-bottom: 1px solid var(--pd-line); }
.pd .pd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px,2vw,24px); line-height: 1.25; }
.pd .pd-faq summary::-webkit-details-marker { display: none; }
.pd .pd-faq .ic { position: relative; flex: none; width: 22px; height: 22px; }
.pd .pd-faq .ic::before, .pd .pd-faq .ic::after { content: ""; position: absolute; background: #c79a55; transition: transform .3s, opacity .3s; }
.pd .pd-faq .ic::before { top: 10px; left: 0; width: 22px; height: 2px; }
.pd .pd-faq .ic::after { left: 10px; top: 0; width: 2px; height: 22px; }
.pd .pd-faq details[open] .ic::after { transform: scaleY(0); opacity: 0; }
.pd .pd-faq .ans { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.pd .pd-faq details[open] .ans { max-height: 600px; }
.pd .pd-faq .ans p { padding-bottom: 26px; font-size: 16.5px; line-height: 1.65; color: var(--pd-ink-soft); max-width: 70ch; }

/* promo proužek */
.pd .pd-promo { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding: 22px 28px; background: var(--pd-peach-soft); border: 1px solid var(--pd-peach); }
.pd .pd-promo .pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; background: var(--pd-peach); margin-bottom: 8px; }
.pd .pd-promo p { font-size: 15.5px; color: var(--pd-ink-soft); }
.pd .pd-textlink { white-space: nowrap; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .08em; border-bottom: 1px solid var(--pd-ink); padding-bottom: 3px; }
@media (max-width: 640px){ .pd .pd-promo { flex-direction: column; align-items: flex-start; } }

/* ===== CTA závěr ===== */
.pd .pd-cta { background: linear-gradient(120deg, #f4c99a, #efcf9d 70%, #e6bd84); }
.pd .pd-cta-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,6vw,80px); align-items: center; }
.pd .pd-cta h2 { font-size: clamp(30px,4vw,52px); line-height: 1.08; letter-spacing: -.01em; }
.pd .pd-cta .pd-lead { color: #463a28; }
.pd .pd-cta-card { background: var(--pd-paper); padding: clamp(28px,3vw,40px); }
.pd .pd-cta-card .row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--pd-line); font-size: 16px; }
.pd .pd-cta-card .row .ic { color: #c79a55; }
.pd .pd-cta-card a.pd-cta-btn { margin-top: 22px; }
@media (max-width: 820px){ .pd .pd-cta-inner { grid-template-columns: 1fr; } }

/* heading helper – sjednoceno s velikostmi webu (_h2) */
.pd .pd-h2 { font-size: clamp(34px,4.4vw,44px); line-height: 1.1; letter-spacing: -.01em; }
.pd .pd-h3 { font-size: clamp(22px,2.4vw,30px); line-height: 1.15; }

/* scroll reveal */
.pd .pd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.pd .pd-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .pd .pd-reveal { opacity: 1; transform: none; transition: none; } }
