/* ===================================================================
   PANCHAKARMA LP — page-specific extensions
   Builds on ../css/style.css design tokens (forest green + gold + saffron).
   Keeps the visual language of the abhyanga LP — adds only the
   panchakarma-specific blocks: positioning compare, program-tier cards,
   bejárós steps, price anchor, 5 classic methods, contraindications,
   állapotfelmérés-first offer, price table, closer CTA.
   =================================================================== */

/* ─────────────── Utilities ─────────────── */
.section--tight {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.pk-top-strip {
  padding-top: clamp(0.65rem, 1.4vw, 0.9rem);
  padding-bottom: clamp(0.65rem, 1.4vw, 0.9rem);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.10), transparent 22%, transparent 78%, rgba(212, 175, 55, 0.08)),
    var(--c-charcoal);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.pk-top-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.2vw, 0.75rem);
  margin: 0;
  padding: 0;
  border: 0;
}
.pk-top-stats .stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(248, 244, 234, 0.76);
  font-family: var(--f-body);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  white-space: normal;
}
.pk-top-stats .stat strong {
  display: inline;
  flex: 0 0 auto;
  color: var(--c-gold-light);
  font-family: var(--f-body);
  font-size: clamp(0.86rem, 1.05vw, 0.96rem);
  font-weight: 700;
  line-height: 1.2;
}
.pk-top-stats .stat span {
  display: inline;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────── §2 PANCHAKARMA vs. (pozicionáló elhatárolás) ─────────────── */
.pk-vs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.pk-vs__col {
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  box-shadow: var(--sh-sm);
}
.pk-vs__col h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin: 0 0 var(--sp-md);
}
.pk-vs__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.pk-vs__col li {
  font-size: 0.97rem;
  line-height: 1.55;
  padding-left: 1.5em;
  position: relative;
}
.pk-vs__col--neg {
  background: var(--c-cream-deep, #efe6d4);
  border: 1px solid var(--c-line);
}
.pk-vs__col--neg h3 { color: var(--c-text-mid); }
.pk-vs__col--neg li { color: var(--c-text-mid); }
.pk-vs__col--neg li::before {
  content: "✕";
  position: absolute; left: 0;
  color: #b5462e;
  font-weight: 700;
}
.pk-vs__col--pos {
  background: #fff;
  border: 1px solid var(--c-leaf);
}
.pk-vs__col--pos h3 { color: var(--c-leaf, #5B7A4A); }
.pk-vs__col--pos li::before {
  content: "";
  position: absolute; left: 0;
}

/* ─────────────── §4 PROGRAM-TIER CARDS ─────────────── */
.pk-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pk-program-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.pk-program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-gold);
}
.pk-program-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-cream-deep, #efe6d4);
}
.pk-program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pk-program-card__days {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  padding: 0.3em 0.8em;
  background: rgba(27, 20, 16, 0.82);
  color: var(--c-gold);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  backdrop-filter: blur(2px);
}
.pk-program-card__flag {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  padding: 0.3em 0.8em;
  background: var(--c-saffron);
  color: #fff;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  box-shadow: var(--sh-saffron);
}
.pk-program-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-lg);
}
.pk-program-card__body h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin: 0 0 var(--sp-xs, 0.4rem);
  color: var(--c-charcoal);
}
.pk-program-card__body p {
  font-size: 0.94rem;
  color: var(--c-text-mid);
  line-height: 1.55;
  margin: 0 0 var(--sp-md);
  flex: 1;
}
.pk-program-card__price {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--c-charcoal);
  margin-bottom: var(--sp-md);
}
.pk-program-card__price em {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-gold);
}
.pk-program-card__price--quote {
  font-style: italic;
  color: var(--c-text-mid);
  font-size: 1.05rem;
}
.pk-program-card .btn { align-self: flex-start; }

.pk-program-card--featured {
  border-color: var(--c-gold);
  box-shadow: var(--sh-md);
}
.pk-program-card--custom {
  background: linear-gradient(180deg, #fff 0%, var(--c-cream, #f8f1e4) 100%);
  border-style: dashed;
  border-color: var(--c-gold);
}
.pk-program-card__media--icon {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-charcoal);
}
.pk-program-card__glyph {
  font-size: 3rem;
  color: var(--c-gold);
  line-height: 1;
}
.pk-program-grid__note {
  max-width: 820px;
  margin: var(--sp-xl) auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--c-text-mid);
  line-height: 1.6;
}

/* ─────────────── §4B PROGRAM INCLUDES (ez mind a program része) ─────────────── */
.pk-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pk-includes--icon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1040px;
  margin: 0 auto;
}
.pk-includes__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.pk-includes__item--icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: clamp(1.35rem, 2.5vw, 1.8rem) clamp(1rem, 2vw, 1.35rem);
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
  border: 1px solid rgba(31, 61, 30, 0.12);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(31, 61, 30, 0.10);
  overflow: hidden;
}
.pk-includes__item--icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.14), transparent 42%);
  pointer-events: none;
}
.pk-includes__num {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: var(--r-full);
  background: rgba(31, 61, 30, 0.08);
  color: var(--c-leaf);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.82rem;
}
.pk-includes__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-leaf);
}
.pk-includes__art-wrap {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(126px, 14vw, 164px);
  aspect-ratio: 1.18 / 1;
  margin-bottom: var(--sp-md);
  overflow: hidden;
  background: #fff7e6;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(31, 61, 30, 0.10);
}
.pk-includes__art {
  display: block;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translate(-5.4%, -5.4%);
}
.pk-includes__item h3 {
  position: relative;
  z-index: 1;
  max-width: 24ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  margin: 0 0 var(--sp-sm);
  color: var(--c-charcoal);
}
.pk-includes__item p {
  position: relative;
  z-index: 1;
  max-width: 27ch;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.55;
}
.pk-includes__note {
  max-width: 820px;
  margin: var(--sp-xl) auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.6;
}

/* ─────────────── §5 BEJÁRÓS — 3 step + price anchor ─────────────── */
.pk-bejaros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.pk-bejaros__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  box-shadow: var(--sh-sm);
}
.pk-bejaros__icon {
  display: inline-flex;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--sp-sm);
}
.pk-bejaros__item h3 {
  font-size: 1.1rem;
  margin: 0 0 var(--sp-sm);
  color: var(--c-charcoal);
}
.pk-bejaros__item p {
  font-size: 0.94rem;
  color: var(--c-text-mid);
  line-height: 1.6;
  margin: 0;
}
.pk-anchor {
  margin-top: var(--sp-xl);
  background: var(--c-charcoal);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--sh-md);
  border-left: 4px solid var(--c-gold);
}
.pk-anchor__body {
  color: var(--c-cream);
  font-size: 1.02rem;
  line-height: 1.7;
}
.pk-anchor__body strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--c-gold);
  margin-bottom: var(--sp-sm);
}

/* ─────────────── §6 FOLYAMAT — összekötött ikonos timeline ─────────────── */
.pk-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
}
.pk-timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: var(--sp-lg);
  padding-bottom: var(--sp-xl);
}
.pk-timeline__step:last-child { padding-bottom: 0; }
/* connecting line between the markers */
.pk-timeline__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  bottom: -0.1rem;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, var(--c-gold), rgba(212, 175, 55, 0.25));
}
.pk-timeline__marker {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-gold);
  color: var(--c-charcoal);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: var(--r-full);
  box-shadow: var(--sh-sm);
}
.pk-timeline__content {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.pk-timeline__content:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--c-gold);
}
.pk-timeline__icon {
  position: absolute;
  top: var(--sp-lg);
  right: var(--sp-lg);
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.85;
}
.pk-timeline__content h4 {
  margin: 0 0 var(--sp-sm);
  padding-right: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--c-charcoal);
}
.pk-timeline__content p {
  margin: 0 0 var(--sp-md);
  color: var(--c-text-mid);
  line-height: 1.65;
  font-size: 0.95rem;
}
.pk-timeline__time {
  display: inline-block;
  padding: 0.3em 0.85em;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-text-mid);
  background: var(--c-cream, #f8f1e4);
  border-radius: var(--r-full);
}
@media (max-width: 540px) {
  .pk-timeline__step {
    grid-template-columns: 2.4rem 1fr;
    column-gap: var(--sp-md);
  }
  .pk-timeline__marker { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
  .pk-timeline__step:not(:last-child)::before { left: 1.2rem; top: 2.4rem; }
}

/* ─────────────── §7 5 CLASSIC METHODS ─────────────── */
.pk-methods__title {
  margin: var(--sp-xl) 0 var(--sp-sm);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--c-charcoal);
}
.pk-methods__lead {
  margin: 0 0 var(--sp-lg);
  color: var(--c-text-mid);
  line-height: 1.65;
}
.pk-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}
.pk-method {
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-gold);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  text-align: center;
  box-shadow: var(--sh-sm);
}
.pk-method__name {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-charcoal);
}
.pk-method__desc {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-mid);
  margin-top: 0.2rem;
}
.pk-methods__foot {
  margin: var(--sp-lg) 0 0;
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.6;
  font-style: italic;
}

/* ─────────────── §8 CONTRAINDICATIONS ─────────────── */
.pk-contra {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-saffron);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--sh-sm);
}
.pk-contra__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.pk-contra__list li {
  position: relative;
  padding-left: 1.7em;
  font-size: 0.97rem;
  color: var(--c-text-mid);
  line-height: 1.55;
}
.pk-contra__list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em; height: 1.2em;
  background: var(--c-saffron);
  color: #fff;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: var(--r-full);
}
.pk-contra__note {
  margin: var(--sp-lg) 0 0;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--c-line);
  font-size: 0.94rem;
  color: var(--c-text-mid);
  line-height: 1.6;
}

/* ─────────────── §11 ÁLLAPOTFELMÉRÉS-FIRST OFFER ─────────────── */
.pk-first-step {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-gold);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--sh-md);
}
.pk-first-step__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.4rem;
}
.pk-first-step__lead h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 var(--sp-sm);
  color: var(--c-charcoal);
}
.pk-first-step__lead p {
  color: var(--c-text-mid);
  line-height: 1.65;
  margin: 0 0 var(--sp-md);
}
.pk-first-step__price {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--c-charcoal);
  margin-bottom: var(--sp-md);
}
.pk-first-step__price em {
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  color: var(--c-gold);
}
.pk-first-step__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.pk-first-step__list li {
  font-size: 0.97rem;
  color: var(--c-text-dark, var(--c-charcoal));
  line-height: 1.5;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-cream, #f8f1e4);
  border-radius: var(--r-md);
}

/* ─────────────── §11 PRICE TABLE ─────────────── */
.pk-pricetable {
  max-width: 720px;
  margin: var(--sp-2xl) auto 0;
}
.pk-pricetable__head {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mid);
  margin: 0 0 var(--sp-lg);
}
.pk-pricetable__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.pk-pricetable__table td {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--c-line);
  font-size: 0.97rem;
  color: var(--c-text-mid);
}
.pk-pricetable__table tr:last-child td { border-bottom: none; }
.pk-pricetable__table td:last-child {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-charcoal);
  white-space: nowrap;
}
.pk-pricetable__table tr:first-child td {
  background: var(--c-cream, #f8f1e4);
}
.pk-pricetable__table tr:first-child td:last-child { color: var(--c-gold); }
.pk-pricetable__note {
  margin: var(--sp-lg) 0 0;
  font-size: 0.88rem;
  color: var(--c-text-mid);
  line-height: 1.6;
  text-align: center;
}

/* ─────────────── §13 CLOSER CTA (below form) ─────────────── */
.pk-closer {
  margin-top: var(--sp-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}
.pk-closer span {
  color: rgba(248, 244, 234, 0.82);
  font-size: 1rem;
}

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 960px) {
  .pk-top-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pk-includes--icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .pk-top-strip {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .pk-top-stats {
    gap: 0.4rem;
  }
  .pk-top-stats .stat {
    min-height: 38px;
    padding: 0.48rem 0.55rem;
    border-radius: var(--r-md);
    font-size: 0.76rem;
  }
  .pk-top-stats .stat strong {
    font-size: 0.82rem;
  }
  .pk-includes--icon-grid {
    grid-template-columns: 1fr;
  }
  .pk-includes__item--icon {
    padding: var(--sp-lg) var(--sp-md);
  }
  .pk-first-step {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .pk-anchor { padding: var(--sp-lg); }
}

/* ─────────────── REDUCED-MOTION-SAFE CARD REVEAL ─────────────── */
@media (prefers-reduced-motion: no-preference) {
  .pk-program-card,
  .pk-bejaros__item,
  .pk-includes__item,
  .pk-method {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow var(--t-mid),
                border-color var(--t-mid);
  }
  .pk-program-grid.is-visible .pk-program-card,
  .pk-bejaros.is-visible .pk-bejaros__item,
  .pk-includes.is-visible .pk-includes__item,
  .is-visible .pk-method {
    opacity: 1;
    transform: translateY(0);
  }
  .pk-program-grid.is-visible .pk-program-card:nth-child(1) { transition-delay: 0.00s; }
  .pk-program-grid.is-visible .pk-program-card:nth-child(2) { transition-delay: 0.05s; }
  .pk-program-grid.is-visible .pk-program-card:nth-child(3) { transition-delay: 0.10s; }
  .pk-program-grid.is-visible .pk-program-card:nth-child(4) { transition-delay: 0.15s; }
  .pk-program-grid.is-visible .pk-program-card:nth-child(5) { transition-delay: 0.20s; }
  .pk-program-grid.is-visible .pk-program-card:nth-child(6) { transition-delay: 0.25s; }
}
