/* =========================================================================
   KAAYA GLOW — HOMEPAGE PACKAGES + SEASONAL RITUALS ("pcz-")
   Journey steps 03 & 04 on the Home page only, merged into one section.

   Mobile-first, two-row zig-zag layout:
     - Single column is the default — text, then media, stacked.
     - One media query (768px) splits every row into a 2-column grid.
     - Row 2 ("04") pulls its media to the left with a single `order: -1`
       at that breakpoint — the DOM keeps text first for accessibility
       and SEO while the eye gets the alternating rhythm.
   ========================================================================= */

.pcz-section {
    padding: 96px 0;
    background: linear-gradient(165deg, #0B2B26 0%, #0F3A31 48%, #1B4A3F 100%);
}

.pcz-row {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 36px;
    align-items: center;
    padding: 56px 0;
}
.pcz-row + .pcz-row {
    border-top: 1px solid rgba(233, 222, 190, 0.16);
}

/* ---------------- Content column ---------------- */
.pcz-content {
    max-width: 480px;
}
.pcz-heading {
    margin: 0 0 20px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.06;
}
.pcz-lede {
    margin: 0 0 28px;
    max-width: 26rem;
}
.pcz-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 15px 28px;
    border-radius: 999px;
    background: #F6F1E6;
    color: #0E3A30;
    font-family: var(--kg-body-font, 'Poppins', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #F6F1E6;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pcz-cta svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.25s ease; }
.pcz-cta:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0E3A30;
    transform: translateY(-2px);
}
.pcz-cta:hover svg { transform: translateX(4px); }
.pcz-cta:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

.pcz-items {
    display: flex;
    flex-wrap: wrap;
    gap: 22px clamp(24px, 4vw, 40px);
    max-width: 26rem;
    margin-bottom: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(233, 222, 190, 0.28);
}
.pcz-item { flex: 1 1 150px; }
.pcz-item-title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--kg-heading-font, 'Cormorant Garamond', serif);
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    color: #FBF8F1;
}
.pcz-item-desc {
    margin: 0;
    font-family: var(--kg-body-font, 'Poppins', sans-serif);
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(234, 244, 236, 0.78);
}

/* ---------------- Media column ---------------- */
.pcz-media {
    position: relative;
    width: 100%;
    max-width: 560px;
}
/* main photo, front and centred — landscape crop */
.pcz-media-main {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -26px rgba(5, 31, 32, 0.45);
}
/* smaller accent photo, offset behind-top so it peeks out like a
   second card in the stack — also landscape, narrower strip */
.pcz-media-accent {
    position: absolute;
    z-index: 1;
    top: -9%;
    /* fixed px, not %: -8% of the photo (~40px) was wider than the page gutter
       on 1100-1300px screens and pushed the page sideways */
    right: -16px;
    width: 46%;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(5, 31, 32, 0.35);
}
.pcz-row--reverse .pcz-media-accent { right: auto; left: -16px; }

.pcz-media-main img,
.pcz-media-accent img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Below 1100px the accent photo's negative offset has no gutter to sit in and
   pushes the page sideways - keep it flush with the main photo's edge. */
@media (max-width: 1100px) {
    .pcz-media-accent { right: 0; }
    .pcz-row--reverse .pcz-media-accent { right: auto; left: 0; }
}

/* ---------------- 768px: split into a 2-column grid ---------------- */
@media (min-width: 768px) {
    .pcz-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 56px;
    }
    .pcz-media { justify-self: end; max-width: 520px; }
    .pcz-row--reverse .pcz-media {
        order: -1;
        justify-self: start;
    }
}

/* ---------------- Responsive tightening ---------------- */
@media (max-width: 480px) {
    .pcz-section { padding: 56px 0; }
    .pcz-row { padding: 40px 0; row-gap: 28px; }
    .pcz-heading { font-size: 32px; }
    .pcz-media { max-width: 100%; }
}
