/* ============================================================
   PANCHAKARMA CHIKITSA RETREAT — LUXURY REDESIGN STYLESHEET
   Matching Modi Retreat Master Design Language
   Palette: Deep Sanctuary Charcoal (#161e19) + Aged Champagne Gold (#b88e3e)
            + Warm Mineral Stone (#f8f6f2 / #ffffff)
   Typography: Marcellus (Roman Serifs) + Cormorant Garamond + DM Sans
   ============================================================ */

/* --- Page Canvas & Base Typography on Panchakarma --- */
body.is-panchakarma-page {
    background-color: var(--hr-cream, #f8f6f2);
    color: var(--hr-text-body, #3e4943);
    font-family: var(--hr-font-body, 'DM Sans', sans-serif);
    line-height: 1.75;
    overflow-x: hidden;
}

body.is-panchakarma-page h1,
body.is-panchakarma-page h2,
body.is-panchakarma-page h3:not(.pk-consult-title):not(.site-footer *),
body.is-panchakarma-page h4:not(.site-footer *),
.pk-title {
    font-family: var(--hr-font-head, 'Marcellus', Georgia, serif);
    color: var(--hr-charcoal-deep, #161e19);
    font-weight: 400;
    letter-spacing: 0.015em;
}

/* ============================================================
   1. CINEMATIC HEROBAR
   ============================================================ */
.pk-hero {
    position: relative;
    margin-top: 0 !important;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    background-color: #1a1410;
    background-image: linear-gradient(180deg, rgba(18, 14, 12, 0.38) 0%, rgba(18, 14, 12, 0.65) 100%), url('../images/panchkaram_hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

.pk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: auto 0;
    padding: 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pk-hero-title {
    font-family: var(--hr-font-head, 'Marcellus', Georgia, serif);
    font-size: clamp(1.75rem, 3.1vw, 2.5rem);
    line-height: 1.25;
    color: #ffffff !important;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    max-width: 980px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8),
                 0 6px 30px rgba(0, 0, 0, 0.6);
}

.pk-hero-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.4;
    color: #dfc285 !important;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 400;
    margin: 0.85rem auto 0;
    padding: 0;
    max-width: 820px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85),
                 0 4px 25px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   COMMON SECTION UTILITY (3rem Top & Bottom Padding)
   ============================================================ */
.pk-section {
    padding: 3rem 0;
}

/* ============================================================
   2. ABOUT PANCHAKARMA (EDITORIAL SPLIT)
   ============================================================ */
.pk-about-section {
    background: #ffffff;
}

.pk-about-section.pk-about-cream {
    background: var(--hr-cream, #f8f6f2) !important;
}

.pk-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pk-story-gallery {
    position: relative;
    max-width: 470px;
}

.pk-frame-main {
    width: 86%;
    height: 465px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(22, 30, 25, 0.08);
    background: #e9e4db;
}

.pk-frame-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-frame-inset {
    position: absolute;
    bottom: -32px;
    right: 0;
    width: 54%;
    height: 235px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(22, 30, 25, 0.16);
    border: 4px solid #ffffff;
    background: #e9e4db;
}

.pk-frame-inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-story-text p {
    font-size: 0.98rem;
    line-height: 1.82;
    color: var(--hr-text-body, #3e4943);
    margin-bottom: 1.5rem;
}

.pk-story-text p:last-child {
    margin-bottom: 0;
}

.pk-story-actions {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center;
}

.pk-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.85rem 1.85rem;
    border-radius: 4px;
    background: #c59f4f;
    border: 1.5px solid #c59f4f;
    color: #0d0b09 !important;
    font-family: var(--font-sans, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.025em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(197, 159, 79, 0.28);
    transition: all 0.28s ease;
    cursor: pointer;
}

.pk-btn-call svg {
    stroke: #0d0b09;
    stroke-width: 2.4;
    transition: all 0.28s ease;
}

.pk-btn-call:hover {
    background: #1a1614;
    border-color: #1a1614;
    color: #f5dfb2 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 22, 20, 0.32);
}

.pk-btn-call:hover svg {
    stroke: #f5dfb2;
}

.pk-btn-enquire {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.85rem 1.85rem;
    border-radius: 4px;
    background: #ffffff;
    border: 1.5px solid #c59f4f;
    color: #1a1614 !important;
    font-family: var(--font-sans, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.025em;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.28s ease;
    cursor: pointer;
}

.pk-btn-enquire svg {
    stroke: #c59f4f;
    stroke-width: 2.2;
    transition: all 0.28s ease;
}

.pk-btn-enquire:hover {
    background: #c59f4f;
    border-color: #c59f4f;
    color: #0d0b09 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 159, 79, 0.35);
}

.pk-btn-enquire:hover svg {
    stroke: #0d0b09;
}

/* ============================================================
   3. THE FIVE CLASSICAL PANCHAKARMAS
   ============================================================ */
.pk-karmas-section {
    background: var(--hr-cream, #f8f6f2);
    padding: 4.5rem 0 5rem;
}

/* ============================================================
   4. BENEFITS OF PANCHAKARMA
   ============================================================ */
.pk-benefits-section {
    background: #ffffff;
}

.pk-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 0.5rem;
}

.pk-benefit-card {
    background: #ffffff;
    border: 1px solid rgba(184, 142, 62, 0.18);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    box-shadow: 0 4px 20px rgba(30, 27, 24, 0.04);
    transition: box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease;
}

/* Subtle luxury top gold gradient line for cards */
.pk-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hr-gold, #c59f4f), transparent);
    opacity: 0.65;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.pk-benefit-card.has-image::before {
    display: none;
}

.pk-benefit-card:hover {
    box-shadow: 0 16px 36px rgba(30, 27, 24, 0.09);
    transform: translateY(-5px);
    border-color: rgba(197, 159, 79, 0.45);
}

.pk-benefit-card:hover::before {
    opacity: 1;
}

.pk-benefit-media {
    width: 100%;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #ede8e1;
    border: none;
    border-bottom: 1px solid rgba(184, 142, 62, 0.14);
    flex-shrink: 0;
    position: relative;
}

.pk-benefit-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pk-benefit-card:hover .pk-benefit-media img {
    transform: scale(1.05);
}

.pk-benefit-body {
    padding: 2.2rem 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    flex: 1;
    width: 100%;
}

.pk-benefit-card.has-image .pk-benefit-body {
    padding: 1.6rem 1.8rem 1.85rem;
    gap: 0.85rem;
}

.pk-benefit-icon-wrap,
.pk-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(197, 159, 79, 0.14) 0%, rgba(197, 159, 79, 0.04) 100%);
    border: 1px solid rgba(197, 159, 79, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-gold, #c59f4f);
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(197, 159, 79, 0.08);
}

.pk-benefit-card:hover .pk-benefit-icon-wrap,
.pk-benefit-card:hover .pk-benefit-icon {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(197, 159, 79, 0.22) 0%, rgba(197, 159, 79, 0.08) 100%);
    box-shadow: 0 6px 18px rgba(197, 159, 79, 0.22);
}

.pk-benefit-icon-wrap svg,
.pk-benefit-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.pk-benefit-title {
    font-family: var(--hr-font-head, 'Marcellus', Georgia, serif) !important;
    font-size: 1.22rem !important;
    font-weight: 400 !important;
    color: var(--hr-charcoal-deep, #1e1b18) !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em;
}

.pk-benefit-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--hr-text-body, #544e49);
    margin: 0;
    flex: 1;
}

.pk-phases-dining-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.pk-phase-dining-card {
    min-height: 440px;
    aspect-ratio: 3 / 4;
}

.pk-phase-dining-card .hr-dining-ref2-box {
    width: 90%;
    max-width: 325px;
    bottom: 16px;
    right: 16px;
    border-radius: 14px;
}

.pk-phase-dining-card .hr-dining-ref2-box-content {
    padding: 1.15rem 1.15rem 0.85rem;
}

.pk-phase-dining-card .hr-dining-ref2-top-row {
    margin-bottom: 0.45rem;
}

.pk-phase-dining-card .hr-dining-tag {
    font-size: 0.65rem;
    padding: 2px 10px;
    letter-spacing: 0.12em;
}

.pk-phase-dining-card .hr-dining-ref2-title {
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
    margin: 0 0 0.4rem !important;
}

.pk-phase-dining-card .hr-dining-ref2-meta {
    font-family: var(--hr-font-body, 'Plus Jakarta Sans', sans-serif) !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    font-style: normal;
}

.pk-phase-dining-card .hr-dining-ref2-btn {
    font-size: 0.82rem;
    padding: 0.65rem 0.45rem;
}

/* ============================================================
   6. FAQ — PANCHAKARMA
   ============================================================ */
.pk-faq-section {
    background: var(--hr-cream, #f8f6f2);
}

.pk-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.pk-faq-item {
    border-bottom: 1px solid rgba(184, 142, 62, 0.18);
}

.pk-faq-item:first-child {
    border-top: 1px solid rgba(184, 142, 62, 0.18);
}

.pk-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--hr-font-head, 'Marcellus', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--hr-charcoal-deep, #161e19);
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.pk-faq-question:hover,
.pk-faq-question[aria-expanded="true"] {
    color: var(--hr-gold, #b88e3e);
}

.pk-faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--hr-gold, #b88e3e);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pk-faq-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pk-faq-question[aria-expanded="true"] .pk-faq-icon {
    transform: rotate(180deg);
}

.pk-faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s ease, padding-bottom 0.28s ease;
    padding-bottom: 0;
}

.pk-faq-answer.is-open {
    max-height: 600px;
    padding-bottom: 1.35rem;
}

.pk-faq-answer p {
    font-size: 0.92rem;
    line-height: 1.82;
    color: var(--hr-text-body, #3e4943);
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid rgba(184, 142, 62, 0.35);
}

/* ============================================================
   5. RETREAT INCLUSIONS & CHARGEABLE SERVICES
   ============================================================ */
.pk-inclusions-section {
    background: var(--hr-cream, #f8f6f2);
}

.pk-inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pk-inc-card {
    background: #ffffff;
    border: 1px solid rgba(184, 142, 62, 0.18);
    border-radius: 12px;
    padding: 2.6rem 2.2rem;
    box-shadow: 0 8px 24px rgba(22, 30, 25, 0.04);
}

.pk-inc-title {
    font-family: var(--hr-font-head, 'Marcellus', serif);
    font-size: 1.65rem;
    color: var(--hr-charcoal-deep, #161e19);
    margin: 0 0 1.5rem;
    font-weight: 400;
}

.pk-inc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pk-inc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--hr-text-body, #3e4943);
}

.pk-inc-item-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pk-inc-item-icon--check {
    background: rgba(184, 142, 62, 0.12);
    color: var(--hr-gold, #b88e3e);
}

.pk-inc-item-icon--plus {
    background: rgba(22, 30, 25, 0.06);
    color: var(--hr-text-muted, #66726b);
}

/* ============================================================
   RESPONSIVE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 992px) {
    .pk-story-grid,
    .pk-inclusions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pk-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pk-phases-dining-grid {
        gap: 16px;
    }

    .pk-phase-dining-card {
        min-height: 400px;
    }

    .pk-phase-dining-card .hr-dining-ref2-box {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .pk-phase-dining-card .hr-dining-ref2-box-content {
        padding: 0.95rem 0.95rem 0.75rem;
    }

    .pk-phase-dining-card .hr-dining-ref2-title {
        font-size: 1.05rem !important;
    }

    .pk-phase-dining-card .hr-dining-ref2-meta {
        font-size: 0.78rem !important;
    }

    .pk-frame-main {
        width: 100%;
        height: 320px;
    }

    .pk-frame-inset {
        position: static;
        width: 60%;
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    .pk-phases-dining-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        max-width: 440px;
    }

    .pk-phase-dining-card {
        min-height: 420px;
        aspect-ratio: auto;
    }

    .pk-phase-dining-card .hr-dining-ref2-box {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .pk-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pk-hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 2rem 1rem;
    }

    .pk-hero-title {
        font-size: clamp(1.4rem, 4.8vw, 1.85rem);
        line-height: 1.25;
    }

    .pk-hero-subtitle {
        font-size: 1.05rem;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }

    .pk-inc-card {
        padding: 1.8rem 1.4rem;
    }
}
