/* ==========================================================================
   Patient Testimonials Section Styling (pt- prefix namespace)
   ========================================================================== */

#testimonials-section {
    background-color: #F8F6F2;
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
    border-top: 3px double #c49e4f;
}

/* ── Botanical corner decorations (custom leaf-3 and leaf-4) ──────────────── */
.pt-corner {
    position: absolute;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.35;
}

.pt-corner--tl {
    top: 0;
    left: 0;
    background-image: url('../images/leaf-3.webp');
    background-position: top left;
}

.pt-corner--br {
    bottom: 0;
    right: 0;
    background-image: url('../images/leaf-4.webp');
    background-position: bottom right;
}

.pt-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* ── Section Header ─────────────────────────────────────────────────────── */
.pt-header {
    text-align: center;
    margin-bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pt-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6640;
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pt-leaf {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.85;
}

.pt-leaf--flip {
    transform: scaleX(-1);
}

.pt-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a2e22;
    line-height: 1.15;
    margin: 0 0 12px;
}

.pt-title-sep {
    display: flex;
    align-items: center;
    width: 140px;
    margin-bottom: 12px;
    color: #c49e4f;
}

.pt-title-sep__line {
    flex: 1;
    height: 1px;
    background-color: rgba(196, 158, 79, 0.4);
}

.pt-title-sep__lotus {
    width: 24px;
    height: 16px;
    margin: 0 10px;
    opacity: 0.9;
}

.pt-subtitle {
    font-size: 14px;
    color: #5a6e62;
    margin: 0;
    max-width: 600px;
}

/* ── 2-Column Columns Wrap ─────────────────────────────────────────────── */
.pt-columns-wrap {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 34px;
}

/* Cards Shared Base */
.pt-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 107, 63, 0.08);
}

.pt-card__video-wrap {
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.pt-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.pt-card:hover .pt-card__thumb {
    transform: scale(1.04);
    opacity: 1;
}

/* Central Play Button */
.pt-card__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pt-card:hover .pt-card__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #fff;
}

.pt-card__play-icon {
    font-size: 18px;
    color: #1a4028;
    margin-left: 3px;
    /* visual center alignment */
}

/* ── Left Featured Card Specifics ───────────────────────────────────────── */
.pt-column-featured {
    display: flex;
    flex-direction: column;
}

.pt-card--featured {
    height: 100%;
    flex: 1;
}

.pt-card--featured .pt-card__video-wrap {
    flex: 1;
    min-height: 280px;
    display: flex;
    align-items: stretch;
}

.pt-card--featured .pt-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Quote bubble on featured card */
.pt-card__quote-box {
    position: absolute;
    bottom: 24px;
    left: 20px;
    background-color: rgba(26, 64, 40, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 16px 10px 38px;
    max-width: 80%;
    z-index: 8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pt-card__quote-quote {
    position: absolute;
    left: 12px;
    top: 0px;
    font-size: 40px;
    color: #c49e4f;
    font-family: serif;
    line-height: 1;
}

.pt-card__quote-text {
    font-size: 13px;
    color: #fff;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

/* Bottom featured strip */
.pt-card__meta {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.pt-card__patient-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-card__name {
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0;
}

.pt-card__separator {
    color: #ddd;
    font-size: 14px;
}

.pt-card__condition {
    font-size: 13px;
    color: #66796d;
    font-weight: 500;
}

.pt-card__duration {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #F8F4EE;
    border: 1px solid #EAE3D6;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: #c49e4f;
}

.pt-card__clock-icon {
    width: 12px;
    height: 12px;
}

/* ── Right 2x2 Grid Specifics ───────────────────────────────────────────── */
.pt-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.pt-column-grid .pt-card__video-wrap {
    aspect-ratio: 16/9;
}

.pt-card__duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 5;
}

.pt-card__meta-small {
    padding: 12px 16px;
    background-color: #fff;
}

.pt-card__name-small {
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 4px;
}

.pt-card__condition-small {
    font-size: 12px;
    color: #66796d;
    margin: 0;
    font-weight: 500;
}

/* ── Bottom Banner Strip ────────────────────────────────────────────────── */
.pt-banner-strip {
    display: grid;
    grid-template-columns: 1fr auto 1.1fr auto auto;
    align-items: center;
    background-color: #F0EDE6;
    border: 1px solid #E4DDD2;
    border-radius: 12px;
    padding: 16px 24px;
    margin-top: 10px;
    gap: 16px;
}

.pt-banner-strip__col {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pt-banner-strip__icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    border: 1.5px solid rgba(196, 158, 79, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pt-banner-strip__icon-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.pt-banner-strip__icon-circle--youtube {
    border-color: rgba(224, 46, 36, 0.25);
    color: #e02e24;
}

.pt-banner-strip__icon-circle--youtube svg {
    width: 20px;
    height: 20px;
}

.pt-banner-strip__content {
    display: flex;
    flex-direction: column;
}

.pt-banner-strip__heading {
    font-size: 13px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 3px;
    line-height: 1.25;
}

.pt-banner-strip__sub {
    font-size: 11px;
    color: #5a6e62;
    margin: 0;
    line-height: 1.4;
    max-width: 250px;
}

.pt-banner-strip__sep {
    height: 48px;
    width: 1px;
    background-color: rgba(196, 158, 79, 0.2);
}

.pt-banner-strip__btn-wrap {
    margin-left: auto;
}

.pt-banner-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1a4028;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 64, 40, 0.15);
    white-space: nowrap;
}

.pt-banner-strip__btn:hover {
    background-color: #12301c;
    transform: translateY(-2px);
}

.pt-banner-strip__btn-icon {
    width: 14px;
    height: 14px;
}

.pt-banner-strip__arrow {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.pt-banner-strip__btn:hover .pt-banner-strip__arrow {
    transform: translateX(4px);
}

/* ── Lightbox Popup Modal ──────────────────────────────────────────────── */
.pt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.pt-lightbox[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.pt-lightbox__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

.pt-lightbox__content {
    position: relative;
    width: min(854px, calc(100% - 32px));
    aspect-ratio: 16/9;
    background-color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

.pt-lightbox[aria-hidden="false"] .pt-lightbox__content {
    transform: scale(1);
}

.pt-lightbox__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 100;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pt-lightbox__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.pt-lightbox__video-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.pt-lightbox__video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Responsive Styling ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pt-columns-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .pt-banner-strip {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .pt-banner-strip__col--center {
        grid-row: 1;
        grid-column: 2;
    }

    .pt-banner-strip__sep {
        display: none;
    }

    .pt-banner-strip__btn-wrap {
        grid-column: span 2;
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .pt-banner-strip__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #testimonials-section {
        padding: 40px 0;
    }

    .pt-title {
        font-size: 32px;
    }

    .pt-columns-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pt-column-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pt-card--featured .pt-card__video-wrap {
        min-height: 200px;
    }

    .pt-banner-strip {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pt-banner-strip__col--center {
        grid-row: auto;
        grid-column: auto;
    }

    .pt-banner-strip__btn-wrap {
        grid-column: auto;
    }

    .pt-card__quote-box {
        left: 12px;
        bottom: 16px;
        max-width: 90%;
        padding: 6px 12px 6px 28px;
    }

    .pt-card__quote-quote {
        left: 8px;
        font-size: 28px;
    }

    .pt-card__quote-text {
        font-size: 11px;
    }
}