/* =========================================================
   TEETH EXTRACTION PAGE
   ========================================================= */

.ext-page {
    width: 100%;
    color: #282828;
    background: #ffffff;
    font-family: "Inter", sans-serif;
}

.ext-page *,
.ext-page *::before,
.ext-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   COMMON
   ========================================================= */

.ext-section {
    width: 100%;
    padding: 90px 6%;
}

.ext-small-label,
.ext-eyebrow {
    margin: 0 0 12px;

    color: #b18a1d;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.ext-yellow-line {
    width: 55px;
    height: 3px;

    margin: 18px 0 24px;

    background: #e5b93d;
}

.ext-page h1,
.ext-page h2,
.ext-page h3,
.ext-page h4,
.ext-page h5 {
    font-family: "Cormorant Garamond", serif;
}


/* =========================================================
   HERO
   ========================================================= */

.ext-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 70px;

    align-items: center;

    min-height: 680px;

    padding: 90px 7%;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 58%,
            #f7f6f2 100%
        );
}

.ext-hero-copy {
    max-width: 700px;
}

.ext-hero h1 {
    margin: 0;

    color: #282828;

    font-size: clamp(48px, 5vw, 76px);
    font-weight: 600;

    line-height: 0.98;
    letter-spacing: -1.5px;
}

.ext-hero h2 {
    margin: 28px 0 18px;

    color: #555555;

    font-size: 27px;
    font-weight: 500;

    line-height: 1.25;
}

.ext-hero-copy > p:not(.ext-eyebrow) {
    max-width: 650px;

    margin: 0;

    color: #666666;

    font-size: 16px;
    line-height: 1.85;
}

.ext-hero-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 35px;
}

.ext-btn,
.ext-outline-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 13px 23px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.ext-btn {
    color: #282828;
    background: #e5b93d;

    border: 1px solid #e5b93d;
}

.ext-btn:hover {
    transform: translateY(-2px);

    background: #d5a92f;
    border-color: #d5a92f;
}

.ext-outline-btn {
    color: #282828;
    background: transparent;

    border: 1px solid #cfc8b6;
}

.ext-outline-btn:hover {
    transform: translateY(-2px);

    color: #282828;

    background: #f7f6f2;
    border-color: #b18a1d;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.ext-hero-image {
    position: relative;

    min-height: 510px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f2f0ea;

    border-radius: 2px;
}

.ext-image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 510px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    color: #a69e8a;

    font-family: "Cormorant Garamond", serif;

    font-size: 48px;
    font-weight: 600;

    line-height: 0.95;

    letter-spacing: 2px;

    background:
        linear-gradient(
            135deg,
            #f7f6f2,
            #ece9df
        );
}

.ext-image-placeholder small {
    margin-top: 20px;

    color: #8c887e;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 1px;
}

.ext-image-note {
    position: absolute;

    right: 25px;
    bottom: 25px;

    padding: 17px 20px;

    color: #282828;

    background: rgba(255, 255, 255, 0.94);

    border-left: 3px solid #e5b93d;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    line-height: 1.05;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ext-image-note span {
    color: #b18a1d;

    font-weight: 700;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.ext-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.1fr)
        minmax(260px, 0.65fr);

    gap: 55px;

    align-items: center;

    background: #f7f6f2;
}

.ext-photo {
    min-height: 430px;

    overflow: hidden;

    background: #eceae4;
}

.ext-photo .ext-image-placeholder {
    min-height: 430px;

    font-size: 34px;
}

.ext-copy {
    max-width: 650px;
}

.ext-copy h2 {
    margin: 0;

    color: #282828;

    font-size: 46px;

    line-height: 1.05;
}

.ext-copy p:not(.ext-small-label) {
    margin: 0 0 18px;

    color: #626262;

    font-size: 15px;

    line-height: 1.85;
}

.ext-copy strong {
    color: #282828;
}

.ext-simple-box {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e5e1d9;

    box-shadow:
        0 18px 50px rgba(40, 40, 40, 0.06);
}

.ext-box-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: #f3e6b5;

    font-size: 24px;
}

.ext-simple-box h3 {
    margin: 0 0 14px;

    color: #282828;

    font-size: 25px;

    line-height: 1.15;
}

.ext-simple-box p {
    margin: 0;

    color: #6a6a6a;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   TREATMENT SECTION
   ========================================================= */

.ext-treatment {
    background: #ffffff;
}

.ext-treatment-heading {
    max-width: 850px;

    margin: 0 auto 50px;

    text-align: center;
}

.ext-treatment-heading .ext-yellow-line {
    margin-right: auto;
    margin-left: auto;
}

.ext-treatment-heading h2 {
    margin: 0;

    color: #282828;

    font-size: 48px;

    line-height: 1.05;
}

.ext-treatment-heading > p:last-child {
    max-width: 700px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;

    line-height: 1.8;
}

.ext-treatment-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    max-width: 1250px;

    margin: 0 auto;
}

.ext-treatment-card {
    position: relative;

    min-height: 280px;

    padding: 32px;

    background: #f7f6f2;

    border: 1px solid #e6e1d5;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.ext-treatment-card:hover {
    transform: translateY(-7px);

    background: #ffffff;

    box-shadow:
        0 18px 45px rgba(40, 40, 40, 0.09);
}

.ext-treatment-card > span {
    display: inline-block;

    margin-bottom: 28px;

    color: #b18a1d;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.ext-treatment-card h3 {
    margin: 0 0 14px;

    color: #282828;

    font-size: 27px;

    line-height: 1.1;
}

.ext-treatment-card p {
    margin: 0;

    color: #686868;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   BEFORE & AFTER
   ========================================================= */

.ext-before-after-section {
    background: #f7f6f2;
}

.ext-before-after-heading {
    max-width: 850px;

    margin: 0 auto 50px;

    text-align: center;
}

.ext-before-after-heading .ext-yellow-line {
    margin-right: auto;
    margin-left: auto;
}

.ext-before-after-heading h2 {
    margin: 0;

    color: #282828;

    font-size: 48px;

    line-height: 1.05;
}

.ext-before-after-heading > p:last-child {
    max-width: 750px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   CASE STUDY
   ========================================================= */

.ext-case-study {
    max-width: 1250px;

    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e1d9;

    border-radius: 16px;

    box-shadow:
        0 20px 60px rgba(40, 40, 40, 0.06);
}

.ext-case-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 30px 32px;

    background: #f7f6f2;

    border-bottom: 1px solid #e5e1d9;
}

.ext-case-number {
    display: block;

    margin-bottom: 9px;

    color: #b18a1d;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.ext-case-header h3 {
    margin: 0;

    color: #282828;

    font-size: 28px;

    line-height: 1.2;
}

.ext-case-tag {
    flex-shrink: 0;

    padding: 9px 14px;

    color: #8f7218;

    background: #fff9df;

    border: 1px solid #dfc76e;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   BEFORE / AFTER IMAGES
   ========================================================= */

.ext-before-after-images {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    padding: 30px 32px 0;
}

.ext-comparison-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e1d9;

    border-radius: 15px;
}

.ext-comparison-image {
    position: relative;

    height: 330px;

    overflow: hidden;

    background: #f3f1eb;
}

.ext-comparison-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.45s ease;
}

.ext-comparison-card:hover
.ext-comparison-image img {
    transform: scale(1.04);
}


/* =========================================================
   IMAGE LABEL
   ========================================================= */

.ext-image-label {
    position: absolute;

    top: 16px;
    left: 16px;

    padding: 8px 14px;

    color: #ffffff;

    background: rgba(40, 40, 40, 0.88);

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.ext-comparison-card:nth-child(2)
.ext-image-label {
    color: #282828;

    background: #e5b93d;
}


/* =========================================================
   COMPARISON CONTENT
   ========================================================= */

.ext-comparison-content {
    padding: 22px;
}

.ext-comparison-content h4 {
    margin: 0 0 8px;

    color: #282828;

    font-size: 21px;

    line-height: 1.2;
}

.ext-comparison-content p {
    margin: 0;

    color: #626262;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   IMPORTANT CLINICAL INFORMATION
   ========================================================= */

.ext-case-disclaimer {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    width: calc(100% - 64px);

    margin: 30px 32px 0;

    padding: 24px 26px;

    background: #fffaf0;

    border: 1px solid #ead9a7;

    border-left: 5px solid #e5b93d;

    border-radius: 10px;
}

.ext-disclaimer-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: #b18a1d;

    border-radius: 50%;

    font-size: 17px;
    font-weight: 800;
}

.ext-disclaimer-content {
    flex: 1;
}

.ext-disclaimer-content h4 {
    margin: 0 0 8px;

    color: #282828;

    font-family: "Inter", sans-serif;

    font-size: 16px;
    font-weight: 800;
}

.ext-disclaimer-content p {
    margin: 0;

    color: #656565;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   DIFFERENCE SUMMARY
   ========================================================= */

.ext-case-difference {
    margin: 30px 32px 0;

    padding: 30px;

    background: #f7f6f2;

    border: 1px solid #e5e1d9;

    border-radius: 12px;
}

.ext-difference-heading {
    margin-bottom: 28px;
}

.ext-difference-heading span {
    display: block;

    margin-bottom: 7px;

    color: #b18a1d;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.ext-difference-heading h4 {
    margin: 0;

    color: #282828;

    font-size: 27px;

    line-height: 1.15;
}

.ext-difference-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px 40px;
}

.ext-difference-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}

.ext-difference-icon {
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 2px;

    color: #282828;

    background: #e5b93d;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;
}

.ext-difference-item h5 {
    margin: 0 0 6px;

    color: #282828;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    font-weight: 800;
}

.ext-difference-item p {
    margin: 0;

    color: #626262;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CLINICAL NOTE
   ========================================================= */

.ext-case-note {
    display: flex;

    gap: 6px;

    flex-wrap: wrap;

    margin: 25px 32px 30px;

    padding-top: 20px;

    border-top: 1px solid #e5e1d9;
}

.ext-case-note strong {
    color: #282828;

    font-size: 12px;

    line-height: 1.6;
}

.ext-case-note p {
    flex: 1;

    min-width: 220px;

    margin: 0;

    color: #737373;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   OUR APPROACH
   ========================================================= */

.ext-approach {
    background: #12213F;
}

.ext-approach-heading {
    max-width: 850px;

    margin: 0 auto 50px;

    text-align: center;
}

.ext-approach-heading .ext-yellow-line {
    margin-right: auto;
    margin-left: auto;
}

.ext-approach-heading h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: 48px;

    line-height: 1.05;
}

.ext-approach-heading > p:last-child {
    max-width: 700px;

    margin: 0 auto;

    color: #FFFFFFB8;

    font-size: 15px;

    line-height: 1.8;
}

.ext-approach-list {
    max-width: 1000px;

    margin: 0 auto;

    border-top: 1px solid #e5e1d9;
}

.ext-approach-item {
    display: grid;

    grid-template-columns: 75px 1fr;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid #e5e1d9;
}

.ext-number {
    color: #b18a1d;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
}

.ext-approach-item h3 {
    margin: 0 0 8px;

    color: #FFFFFF;

    font-size: 27px;

    line-height: 1.1;
}

.ext-approach-item p {
    max-width: 700px;

    margin: 0;

    color: #FFFFFFB8;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FAQ
   ========================================================= */

.ext-faq-section {
    background: #f7f6f2;
}

.ext-faq-heading {
    max-width: 850px;

    margin: 0 auto 45px;

    text-align: center;
}

.ext-faq-heading .ext-yellow-line {
    margin-right: auto;
    margin-left: auto;
}

.ext-faq-heading h2 {
    margin: 0;

    color: #282828;

    font-size: 48px;

    line-height: 1.05;
}

.ext-faq {
    max-width: 900px;

    margin: 0 auto;
}

.ext-faq-item {
    background: #ffffff;

    border: 1px solid #e5e1d9;

    border-bottom: 0;
}

.ext-faq-item:first-child {
    border-radius: 10px 10px 0 0;
}

.ext-faq-item:last-child {
    border-bottom: 1px solid #e5e1d9;

    border-radius: 0 0 10px 10px;
}

.ext-faq-question {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 25px;

    color: #282828;

    background: transparent;

    border: 0;

    text-align: left;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.ext-faq-question span {
    flex: 0 0 auto;

    color: #b18a1d;

    font-size: 24px;
    font-weight: 400;

    transition:
        transform 0.3s ease;
}

.ext-faq-answer {
    display: none;

    padding: 0 25px 23px;
}

.ext-faq-answer p {
    margin: 0;

    color: #686868;

    font-size: 14px;

    line-height: 1.8;
}

.ext-faq-item.active
.ext-faq-question span {
    transform: rotate(45deg);
}

.ext-faq-item.active
.ext-faq-answer {
    display: block;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ext-final-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 75px 7%;

    background:
        linear-gradient(
            100deg,
            #282828,
            #343434
        );

    color: #ffffff;
}

.ext-final-cta > div {
    max-width: 800px;
}

.ext-final-cta .ext-small-label {
    color: #e5b93d;
}

.ext-final-cta h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 48px;

    line-height: 1.05;
}

.ext-final-cta p:last-child {
    max-width: 700px;

    margin: 0;

    color: #d5d5d5;

    font-size: 15px;

    line-height: 1.8;
}

.ext-cta-btn {
    flex-shrink: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .ext-hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 75px;
        padding-bottom: 75px;
    }

    .ext-hero-copy {
        max-width: 850px;
    }

    .ext-hero-image {
        min-height: 450px;
    }

    .ext-image-placeholder {
        min-height: 450px;
    }


    .ext-intro {
        grid-template-columns:
            1fr 1fr;
    }

    .ext-simple-box {
        grid-column: 1 / -1;
    }


    .ext-treatment-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .ext-section {
        padding: 60px 7%;
    }


    .ext-hero {
        min-height: auto;

        padding:
            60px 7%;
    }

    .ext-hero h1 {
        font-size: 47px;

        letter-spacing: -0.8px;
    }

    .ext-hero h2 {
        font-size: 23px;
    }

    .ext-hero-copy > p:not(.ext-eyebrow) {
        font-size: 14px;
    }


    .ext-hero-image {
        min-height: 360px;
    }

    .ext-image-placeholder {
        min-height: 360px;

        font-size: 38px;
    }

    .ext-image-note {
        right: 15px;
        bottom: 15px;

        padding: 13px 15px;

        font-size: 19px;
    }


    .ext-intro {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .ext-photo,
    .ext-photo .ext-image-placeholder {
        min-height: 330px;
    }

    .ext-copy h2 {
        font-size: 38px;
    }


    .ext-treatment-heading h2,
    .ext-before-after-heading h2,
    .ext-approach-heading h2,
    .ext-faq-heading h2 {
        font-size: 36px;
    }


    .ext-treatment-grid {
        grid-template-columns: 1fr;
    }

    .ext-treatment-card {
        min-height: auto;

        padding: 27px;
    }


    .ext-case-header {
        align-items: flex-start;

        flex-direction: column;

        padding: 25px 22px;
    }

    .ext-case-header h3 {
        font-size: 24px;
    }

    .ext-case-tag {
        align-self: flex-start;
    }


    .ext-before-after-images {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 22px 18px 0;
    }

    .ext-comparison-image {
        height: 280px;
    }

    .ext-comparison-content {
        padding: 19px;
    }

    .ext-comparison-content h4 {
        font-size: 20px;
    }


    .ext-case-disclaimer {
        width: auto;

        margin:
            25px 18px 0;

        padding:
            22px 20px;
    }


    .ext-case-difference {
        margin:
            25px 18px 0;

        padding: 22px;
    }

    .ext-difference-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .ext-case-note {
        margin:
            22px 18px 25px;
    }


    .ext-approach-item {
        grid-template-columns: 50px 1fr;

        gap: 15px;

        padding: 25px 0;
    }

    .ext-approach-item h3 {
        font-size: 23px;
    }


    .ext-faq-question {
        padding:
            20px 18px;

        font-size: 14px;
    }

    .ext-faq-answer {
        padding:
            0 18px 20px;
    }


    .ext-final-cta {
        flex-direction: column;

        align-items: flex-start;

        padding:
            60px 7%;
    }

    .ext-final-cta h2 {
        font-size: 38px;
    }

    .ext-cta-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .ext-hero h1 {
        font-size: 40px;
    }

    .ext-image-placeholder {
        font-size: 32px;
    }

    .ext-final-cta h2 {
        font-size: 33px;
    }

    .ext-case-disclaimer {
        display: block;
    }

    .ext-disclaimer-icon {
        margin-bottom: 14px;
    }

}