/* ==========================================================================
   Implant Retained Overdentures – Page Stylesheet
   Prefix: pv-
   ========================================================================== */


/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
body .pv-page {
    --brand-primary: #4C5F49;
    --brand-secondary: #c29063;
    --brand-dark: #1A1A1A;
    --brand-body: #5C5C5C;
    --brand-white: #FFFFFF;
    --brand-bg-cream: #F6F3EE;
    --brand-border: #D1CCC2;

    --ff-heading: "Nantes Bold", "Georgia", serif;
    --ff-body: "Founders Grotesk", "Inter", sans-serif;

    --section-padding-x: 0;
    --section-padding-y: 5vmax;
    --container-max: 1440px;

    font-family: var(--ff-body);
    color: var(--brand-body);
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   CONTAINER
   -------------------------------------------------------------------------- */
body .pv-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
}

/* --------------------------------------------------------------------------
   FADE-IN ANIMATION
   -------------------------------------------------------------------------- */
body .pv-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body .pv-fade-in.pv-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
body .pv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 34px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.3s ease;
}

body .pv-btn:hover {
    background: #8C9372;
    color: var(--brand-white);
}

body .pv-btn--outline {
    background: transparent;
    border: 1.5px solid var(--brand-white);
    color: var(--brand-white);
}

body .pv-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

body .pv-btn-subtext {
    display: block;
    font-size: 14px;
    color: var(--brand-body);
    margin-top: 8px;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   ACCENT + UTILITIES
   -------------------------------------------------------------------------- */
body .pv-accent {
    color: var(--brand-secondary);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   RISK LIST
   -------------------------------------------------------------------------- */
body .pv-risk-icon {
    color: #C4873B;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

body .pv-risk-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

body .pv-risk-list li strong {
    display: block;
    margin-bottom: 4px;
}

body .pv-table-label i {
    color: var(--brand-secondary);
    margin-right: 6px;
}

/* ==========================================================================
   SECTION: Hero
   ========================================================================== */
body .pv-hero {
    background-color: var(--brand-bg-cream);
}

body .pv-hero>.pv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 50px;
}

body .pv-hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

body .pv-hero__title {
    font-family: var(--ff-heading);
    font-size: 64px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--brand-dark);
    margin: 0;
}

body .pv-hero__desc {
    font-size: 20px;
    line-height: 1.3;
    color: var(--brand-body);
    max-width: 76%;
}

body .pv-hero__subdesc {
    font-size: 20px;
    line-height: 1.3;
    color: var(--brand-body);
    max-width: 76%;
}

body .pv-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* ==========================================================================
   SECTION: Marquee
   ========================================================================== */
body .pv-marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    background: var(--brand-bg-cream);
}

body .pv-marquee-track {
    display: inline-block;
    animation: pv-marquee 25s linear infinite;
    padding-right: 2rem;
}

@keyframes pv-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

body .pv-marquee-track span {
    font-family: "Domine", serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--brand-primary);
    padding-inline: 20px;
}

body .pv-dot {
    color: var(--brand-secondary);
    font-size: 40px;
    font-weight: 700;
}

/* ==========================================================================
   SECTION: Split (2-column text + image)
   ========================================================================== */
body .pv-split>.pv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

body .pv-split__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body .pv-split__title {
    font-family: var(--ff-heading);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--brand-dark);
    margin: 0;
}

body .pv-split__subtitle {
    font-family: var(--ff-heading);
    font-size: 28px;
    font-weight: 300;
    color: var(--brand-dark);
    margin: 0;
}

body .pv-split__text {
    font-size: 20px;
    line-height: 1.3;
    color: var(--brand-body);
}

body .pv-split__text a {
    color: var(--brand-secondary);
    text-decoration: underline;
}

body .pv-split__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

body .pv-split--reverse .pv-split__image {
    order: -1;
}

/* ==========================================================================
   SECTION: Comparison Tables
   ========================================================================== */
body .pv-comparison {
    background: var(--brand-bg-cream);
}

body .pv-comparison>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-comparison__intro {
    margin-bottom: 3rem;
}

body .pv-table-label {
    font-family: var(--ff-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

body .pv-comparison__tables table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 0;
}

body .pv-comparison__tables tr:nth-child(odd) {
    background: #E8E2D8;
}

body .pv-comparison__tables tr:nth-child(even) {
    background: #F0EBE3;
}

body .pv-comparison__tables td {
    padding: 16px 20px;
    font-size: 18px;
    line-height: 1.4;
    vertical-align: top;
}

body .pv-comparison__tables td:first-child {
    font-weight: 600;
    white-space: nowrap;
    width: 30%;
    color: var(--brand-dark);
}

/* ==========================================================================
   SECTION: Checklist
   ========================================================================== */
body .pv-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

body .pv-checklist__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

body .pv-checklist__icon {
    color: var(--brand-primary);
    font-size: 18px;
    flex-shrink: 0;
}

body .pv-checklist__text {
    font-size: 18px;
    color: var(--brand-body);
}

body .pv-candidate__note {
    font-size: 16px;
    line-height: 1.5;
    color: var(--brand-body);
    margin-top: 1rem;
}

body .pv-candidate__note a {
    color: var(--brand-secondary);
    text-decoration: underline;
}

/* ==========================================================================
   SECTION: Process Steps (2-column)
   ========================================================================== */
body .pv-process-wrap {
    background-color: #fff;
}

body .pv-process-wrap>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-process__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

body .pv-process__left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 2rem;
}

/* ==========================================================================
   SECTION: Process Timeline
   ========================================================================== */
body .pv-timeline {
    position: relative;
    padding-left: 102.5px;
    box-sizing: border-box;
}

body .pv-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 27.5px;
    width: 1px;
    background-color: var(--brand-border);
    z-index: 0;
}

body .pv-timeline__step {
    position: relative;
    margin-bottom: 20px;
}

body .pv-timeline__step:last-child {
    margin-bottom: 0;
}

body .pv-timeline__marker {
    position: absolute;
    top: 50%;
    left: -102.5px;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
}

body .pv-timeline__ticket {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #E8E2D8;
    border-radius: 20px;
    padding: 20px 20px 20px 30px;
}

body .pv-timeline__text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body .pv-timeline__title {
    font-family: var(--ff-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

body .pv-timeline__text p {
    font-size: 17px;
    line-height: 1.4;
    color: var(--brand-body);
    margin: 0;
}

/* ==========================================================================
   SECTION: Oral Care Checklist
   ========================================================================== */
body .pv-oralcare {
    background: var(--brand-bg-cream);
}

body .pv-oralcare>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-oralcare__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

body .pv-oralcare ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body .pv-oralcare li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 18px;
    line-height: 1.4;
}

body .pv-oralcare li i {
    color: var(--brand-secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION: Benefits
   ========================================================================== */
body .pv-benefits {
    background-color: var(--brand-primary);
}

body .pv-benefits>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-benefits .pv-split__title {
    color: var(--brand-white);
}

body .pv-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

body .pv-benefit-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body .pv-benefit-card__icon {
    font-size: 28px;
    color: var(--brand-secondary);
}

body .pv-benefit-card__title {
    font-family: var(--ff-heading);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--brand-white);
}

body .pv-benefit-card__text {
    font-size: 18px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SECTION: Risks
   ========================================================================== */
body .pv-risks {
    background: #fff;
}

body .pv-risks>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-risks__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

body .pv-risk-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

body .pv-risks .pv-split__title {
    color: var(--brand-dark);
}

body .pv-risks .pv-split__text {
    color: var(--brand-body);
}

/* ==========================================================================
   SECTION: Gallery Carousel
   ========================================================================== */
body .pv-gallery {
    background: var(--brand-bg-cream);
}

body .pv-gallery>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-gallery__title {
    font-family: var(--ff-heading);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--brand-dark);
    margin-bottom: 2rem;
}

/* ==========================================================================
   CAROUSEL COMPONENT
   ========================================================================== */
body .pv-carousel {
    position: relative;
}

body .pv-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

body .pv-carousel__track::-webkit-scrollbar {
    display: none;
}

body .pv-carousel__slide {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
}

body .pv-carousel__slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery: square images */
body .pv-gallery .pv-carousel__slide img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Services: 320x232 images */
body .pv-services .pv-carousel__slide {
    flex: 0 0 calc((100% - 60px) / 4);
}

body .pv-services .pv-carousel__slide img {
    aspect-ratio: 320 / 232;
    object-fit: contain;
    background: var(--brand-bg-cream);
}

body .pv-carousel__slide--link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

body .pv-carousel__slide--link:hover {
    transform: scale(1.03);
}

/* Carousel arrows */
body .pv-carousel__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--brand-border);
    background: var(--brand-white);
    color: var(--brand-dark);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

body .pv-carousel__arrow:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
    border-color: var(--brand-primary);
}

body .pv-carousel__arrow--prev,
body .pv-carousel__arrow--next {
    position: static;
    margin-top: 1.5rem;
    display: inline-flex;
}

body .pv-carousel__arrow--prev {
    margin-right: 0.75rem;
}

body .pv-carousel {
    text-align: center;
}

body .pv-carousel__track {
    text-align: left;
}

/* ==========================================================================
   SECTION: Why Choose
   ========================================================================== */
body .pv-why {
    background: var(--brand-bg-cream);
}

body .pv-why>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

body .pv-why-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--brand-white);
    border-radius: 20px;
}

body .pv-why-card__icon {
    font-size: 28px;
    color: var(--brand-secondary);
}

body .pv-why-card__title {
    font-family: var(--ff-heading);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--brand-dark);
}

body .pv-why-card__text {
    font-family: var(--ff-body);
    font-size: 18px;
    line-height: 1.4;
    color: var(--brand-body);
}

/* ==========================================================================
   SECTION: Stats Bar
   ========================================================================== */
body .pv-stats {
    background: #fff;
}

body .pv-stats>.pv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

body .pv-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--brand-border);
    padding-right: 2rem;
}

body .pv-stat:last-child {
    border-right: none;
    padding-right: 0;
}

body .pv-stat__icon {
    font-size: 24px;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

body .pv-stat__number {
    font-family: var(--ff-heading);
    font-size: 42px;
    font-weight: 400;
    color: var(--brand-primary);
    line-height: 1;
}

body .pv-stat__label {
    font-family: var(--ff-body);
    font-size: 17px;
    color: var(--brand-body);
}

/* ==========================================================================
   SECTION: FAQ (2-column accordion)
   ========================================================================== */
body .pv-faq {
    background-color: var(--brand-bg-cream);
}

body .pv-faq>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-faq__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

body .pv-faq__heading {
    font-family: var(--ff-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-dark);
    position: sticky;
    top: 2rem;
}

body .pv-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .pv-faq__item {
    background: #E8E2D8;
    border-radius: 12px;
    overflow: hidden;
}

body .pv-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 20px 24px;
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--brand-dark);
    cursor: pointer;
    list-style: none;
}

body .pv-faq__question::-webkit-details-marker {
    display: none;
}

body .pv-faq__icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--brand-body);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}

body .pv-faq__item[open] .pv-faq__icon {
    transform: rotate(45deg);
}

body .pv-faq__answer {
    padding: 0 24px 20px;
}

body .pv-faq__answer p {
    font-family: var(--ff-body);
    font-size: 17px;
    line-height: 1.5;
    color: var(--brand-body);
    margin: 0;
}

body .pv-faq__answer a {
    color: var(--brand-secondary);
    text-decoration: underline;
}

/* ==========================================================================
   SECTION: Final CTA
   ========================================================================== */
body .pv-cta {
    background: var(--brand-primary);
}

body .pv-cta>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
    text-align: center;
}

body .pv-cta__content {
    max-width: 800px;
    margin: 0 auto;
}

body .pv-cta__title {
    font-family: var(--ff-heading);
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--brand-white);
    margin-bottom: 2rem;
}

body .pv-cta__text {
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

body .pv-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

body .pv-cta .pv-btn-subtext {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   SECTION: Services Carousel
   ========================================================================== */
body .pv-services {
    background: #fff;
}

body .pv-services>.pv-container {
    padding-top: var(--section-padding-y);
    padding-bottom: 5vmax;
}

body .pv-services__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

body .pv-services__title {
    font-family: var(--ff-heading);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--brand-dark);
}

/* ==========================================================================
   RESPONSIVE: Tablet (≤ 1024px)
   ==========================================================================*/
@media (max-width: 1024px) {
    body .pv-page {
        --section-padding-x: 6vw;
        --section-padding-y: 3vmax;
    }

    body .pv-hero>.pv-container {
        grid-template-columns: 1fr;
        padding-top: 50px;
        padding-bottom: 20px;
        gap: 2rem;
    }

    body .pv-hero__title {
        font-size: 60px;
        line-height: 1.25;
    }

    body .pv-hero__desc,
    body .pv-hero__subdesc {
        max-width: 100%;
    }

    body .pv-hero__image {
        order: -1;
    }

    body .pv-split>.pv-container,
    body .pv-comparison>.pv-container,
    body .pv-oralcare__inner,
    body .pv-risks__inner,
    body .pv-faq__inner,
    body .pv-process__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    body .pv-process__left,
    body .pv-faq__heading {
        position: static;
    }

    body .pv-faq__heading {
        font-size: 36px;
    }

    body .pv-split__text {
        max-width: 100%;
    }

    body .pv-split--reverse .pv-split__image {
        order: -1;
    }

    body .pv-benefits__grid,
    body .pv-why__grid {
        grid-template-columns: 1fr 1fr;
    }

    body .pv-split__title {
        font-size: 36px;
    }

    body .pv-services__header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    body .pv-stats>.pv-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    body .pv-stat {
        padding-right: 1rem;
    }

    body .pv-carousel__slide {
        flex: 0 0 45%;
    }

    body .pv-services .pv-carousel__slide {
        flex: 0 0 40%;
    }

    body .pv-services__btn {
        display: none;
    }
}

/* ==========================================================================
   RESPONSIVE: Mobile (≤ 767px)
   ==========================================================================*/
@media (max-width: 767px) {
    body .pv-hero__title {
        font-size: 40px;
    }

    body .pv-split__title {
        font-size: 28px;
    }

    body .pv-benefits__grid,
    body .pv-why__grid {
        grid-template-columns: 1fr;
    }

    body .pv-stats>.pv-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    body .pv-stat {
        border-right: none;
        border-bottom: 1px solid var(--brand-border);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    body .pv-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    body .pv-cta__title {
        font-size: 32px;
    }

    body .pv-gallery__title,
    body .pv-services__title {
        font-size: 28px;
    }

    body .pv-carousel__slide {
        flex: 0 0 80%;
    }

    body .pv-services .pv-carousel__slide {
        flex: 0 0 70%;
    }

    body .pv-comparison__tables td:first-child {
        white-space: normal;
        width: auto;
    }

    /* Timeline mobile */
    body .pv-timeline {
        padding-left: 30px;
    }

    body .pv-timeline::before {
        left: 0;
    }

    body .pv-timeline__marker {
        width: 27.5px;
        height: 27.5px;
        left: -44.5px;
        font-size: 12px;
    }

    body .pv-timeline__ticket {
        padding: 20px;
    }
}