@font-face {
    font-family: "PAC Inter";
    src: url("../fonts/inter-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --pac-framer-dark: #11081c;
    --pac-framer-primary: #4041d1;
    --pac-framer-lavender: #bcbcff;
    --pac-framer-light: #f6f7ff;
    --pac-framer-muted: #5e646d;
    --pac-framer-border: #dddee5;
}

body {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
}

@media (min-width: 1280px) {
    :root { --pac-framer-viewport: desktop; }
}

@media (min-width: 992px) and (max-width: 1279px) {
    :root { --pac-framer-viewport: laptop; }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root { --pac-framer-viewport: tablet; }
}

@media (max-width: 767px) {
    :root { --pac-framer-viewport: mobile; }
}


/* Step 29: Reference-matched header and video hero */

.pac-header {
    background: #11081c;
    position: relative;
    z-index: 100;
}

.pac-header-inner {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}

.pac-brand {
    width: 136px;
    flex: 0 0 136px;
}

.pac-brand img {
    width: 136px;
    height: auto;
    display: block;
}

.pac-navigation {
    gap: 30px;
    padding: 10px 30px;
}

.pac-navigation a {
    font-family: "PAC Inter", Inter, sans-serif;
    font-weight: 400;
}

.pac-header-cta {
    border-radius: 60px;
    padding: 20px 30px;
    background: #f6f7ff;
    color: #11081c;
}

.pac-framer-hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #11081c;
    color: #fff;
    padding: 0;
}

.pac-framer-hero-media,
.pac-framer-hero-overlay {
    position: absolute;
    inset: 0;
}

.pac-framer-hero-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pac-framer-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(17, 8, 28, .80) 0%,
        rgba(17, 8, 28, .42) 58%,
        rgba(17, 8, 28, .20) 100%
    );
}

.pac-framer-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 110px 50px;
}

.pac-framer-hero-copy {
    max-width: 850px;
}

.pac-framer-hero-label {
    margin: 0 0 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.pac-framer-hero h1 {
    margin: 0;
    max-width: 850px;
    font-family: "PAC Inter", Inter, sans-serif;
    font-size: 80px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: -.08em;
    color: #fff;
}

.pac-framer-hero-description {
    max-width: 500px;
    margin: 30px 0;
    font-size: 17px;
    line-height: 1.7;
    color: #f6f7ff;
}

.pac-framer-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 30px;
    background: #f6f7ff;
    border-radius: 60px;
    color: #11081c;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.pac-framer-hero-button:hover {
    background: #bcbcff;
    transform: translateY(-2px);
}

.pac-framer-hero-copy > * {
    animation: pac-framer-enter .8s both;
}

.pac-framer-hero-copy > :nth-child(2) {
    animation-delay: .12s;
}

.pac-framer-hero-copy > :nth-child(3) {
    animation-delay: .22s;
}

.pac-framer-hero-copy > :nth-child(4) {
    animation-delay: .32s;
}

@keyframes pac-framer-enter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .pac-framer-hero h1 {
        font-size: 72px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pac-framer-hero h1 {
        font-size: 60px;
    }

    .pac-header-inner,
    .pac-framer-hero-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .pac-header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pac-framer-hero {
        min-height: 650px;
    }

    .pac-framer-hero-inner {
        padding: 100px 20px;
    }

    .pac-framer-hero h1 {
        font-size: 50px;
    }

    .pac-framer-hero-overlay {
        background: rgba(17, 8, 28, .65);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pac-framer-hero-copy > * {
        animation: none;
    }

    .pac-framer-hero-button {
        transition: none;
    }
}


/* Step 30A: Button cleanup and navigation visibility */
.pac-header .pac-navigation a {
    color: #f6f7ff;
    opacity: 1;
}

.pac-header .pac-navigation a:hover,
.pac-header .pac-navigation a:focus-visible {
    color: #bcbcff;
}

.pac-header-cta,
.pac-framer-hero-button {
    gap: 0;
}

.pac-header-cta > span[aria-hidden="true"],
.pac-framer-hero-button > span[aria-hidden="true"],
.pac-button > span[aria-hidden="true"] {
    display: none;
}


/* STEP 31: HEADER AND HERO CONSOLIDATION */

:root {
    --pac-purple: #4041d1;
    --pac-purple-dark: #11081c;
    --pac-text: #11081c;
}

.pac-header {
    background: #11081c;
    border-bottom: 0;
}

.pac-header-inner {
    max-width: 1540px;
    min-height: 104px;
    padding: 16px 50px;
    gap: 30px;
}

.pac-brand,
.pac-brand img {
    width: 136px;
}

.pac-brand {
    flex: 0 0 136px;
}

.pac-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 30px;
}

.pac-header .pac-navigation a {
    color: #f6f7ff;
    font-weight: 400;
    opacity: 1;
}

.pac-header .pac-navigation a:hover {
    color: #bcbcff;
}

.pac-header-cta {
    background: #f6f7ff;
    color: #11081c;
    border-radius: 60px;
    padding: 20px 30px;
}

.pac-header-cta:hover {
    background: #bcbcff;
    color: #11081c;
}

.pac-framer-hero {
    display: flex;
    position: relative;
    align-items: center;
    min-height: 750px;
    background: #11081c;
    overflow: hidden;
}

.pac-framer-hero h1 {
    font-family: "PAC Inter", Inter, sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.08em;
    color: #fff;
}

@media (min-width: 992px) and (max-width: 1279px) {
    .pac-framer-hero h1 {
        font-size: 72px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pac-header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pac-framer-hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .pac-header-inner {
        min-height: 76px;
        padding: 12px 20px;
    }

    .pac-brand,
    .pac-brand img {
        width: 136px;
    }

    .pac-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 24px 20px;
        background: #11081c;
        border-top: 1px solid #4041d1;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .pac-navigation.is-open {
        display: flex;
    }

    .pac-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .pac-menu-toggle span {
        background: #f6f7ff;
    }

    .pac-framer-hero h1 {
        font-size: 50px;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .pac-header-cta {
        display: none;
    }
}


/* STEP 37: ABOUT AND SERVICES REFINEMENT */

.pac-intro,
.pac-services {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
}

.pac-intro {
    background: #f6f7ff;
    color: #11081c;
}

.pac-intro .pac-section-inner {
    max-width: 1540px;
    margin-inline: auto;
    padding: 120px 50px;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
    gap: 60px;
    align-items: start;
}

.pac-intro .pac-section-number,
.pac-services .pac-section-number {
    color: #4041d1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
}

.pac-intro h2,
.pac-services-heading h2 {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
    font-size: clamp(36px, 4.2vw, 64px);
    line-height: 1.08;
    letter-spacing: -.07em;
    font-weight: 400;
    color: #11081c;
}

.pac-intro h2 span,
.pac-services-heading h2 span {
    color: #4041d1;
}

.pac-intro-content > p {
    max-width: 650px;
    color: #5e646d;
    font-size: 17px;
    line-height: 1.75;
}

.pac-intro .pac-text-link {
    color: #11081c;
    font-weight: 500;
    margin-top: 25px;
}

.pac-intro .pac-text-link span[aria-hidden="true"] {
    display: none;
}

.pac-services {
    background: #ffffff;
    color: #11081c;
}

.pac-services > .pac-section-inner {
    max-width: 1540px;
    margin-inline: auto;
    padding: 120px 50px;
}

.pac-services-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 55px;
}

.pac-services-heading > p {
    max-width: 440px;
    color: #5e646d;
    font-size: 16px;
    line-height: 1.75;
}

.pac-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pac-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 320px;
    padding: 34px;
    background: #f6f7ff;
    color: #11081c;
    border: 1px solid #dddee5;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    transition: background-color .25s ease, border-color .25s ease;
}

.pac-service-card:nth-child(2),
.pac-service-card:nth-child(3) {
    background: #f6f7ff;
}

.pac-service-card:hover {
    background: #ececff;
    border-color: #bcbcff;
    transform: none;
    box-shadow: none;
}

.pac-service-card .pac-service-icon {
    color: #4041d1;
    font-size: 14px;
    font-weight: 500;
}

.pac-service-card h3 {
    color: #11081c;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: 1.15;
}

.pac-service-card p {
    color: #5e646d;
    font-size: 15px;
    line-height: 1.65;
}

.pac-service-arrow {
    display: none;
}

@media (max-width: 991px) {
    .pac-intro .pac-section-inner,
    .pac-services > .pac-section-inner {
        padding: 85px 20px;
    }

    .pac-intro .pac-section-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pac-services-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .pac-intro .pac-section-inner,
    .pac-services > .pac-section-inner {
        padding: 70px 20px;
    }

    .pac-intro h2,
    .pac-services-heading h2 {
        font-size: 36px;
    }

    .pac-services-grid {
        grid-template-columns: 1fr;
    }

    .pac-service-card {
        min-height: 270px;
        padding: 26px;
    }

    .pac-services-heading {
        margin-bottom: 35px;
    }
}


/* STEP 39: FEATURED, TEAM AND PATIENT JOURNEY */

.pac-featured,
.pac-team,
.pac-process {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
}

/* Featured patient experience */

.pac-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    background: #11081c;
    color: #f6f7ff;
}

.pac-featured-image {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.pac-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
}

.pac-featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(50px, 6vw, 110px);
}

.pac-featured .pac-section-number {
    color: #bcbcff;
}

.pac-featured h2 {
    margin: 28px 0;
    color: #fff;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 400;
    letter-spacing: -.07em;
    line-height: 1.08;
}

.pac-featured h2 span {
    color: #bcbcff;
}

.pac-featured-copy > p {
    max-width: 520px;
    color: #dddee5;
    font-size: 16px;
    line-height: 1.75;
}

.pac-featured .pac-button-primary {
    margin-top: 28px;
    padding: 20px 30px;
    border-radius: 60px;
    background: #f6f7ff;
    color: #11081c;
    font-weight: 500;
    box-shadow: none;
}

.pac-featured .pac-button-primary:hover {
    background: #bcbcff;
    color: #11081c;
}

/* Clinical team */

.pac-team {
    background: #fff;
    color: #11081c;
}

.pac-team > .pac-section-inner {
    max-width: 1540px;
    margin-inline: auto;
    padding: 120px 50px;
}

.pac-team-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.pac-team .pac-section-number,
.pac-process .pac-section-number {
    color: #4041d1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
}

.pac-team-copy h2,
.pac-process-heading h2 {
    margin: 26px 0;
    font-size: clamp(36px, 4.2vw, 64px);
    font-weight: 400;
    letter-spacing: -.07em;
    line-height: 1.08;
    color: #11081c;
}

.pac-team-copy h2 span,
.pac-process-heading h2 span {
    color: #4041d1;
}

.pac-team-copy > p {
    max-width: 540px;
    color: #5e646d;
    font-size: 16px;
    line-height: 1.75;
}

.pac-team-name {
    margin: 36px 0 30px;
    padding-top: 26px;
    border-top: 1px solid #dddee5;
}

.pac-team-name h3 {
    color: #11081c;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.pac-team-name p {
    color: #5e646d;
}

.pac-team .pac-text-link {
    color: #11081c;
    font-weight: 500;
}

.pac-team .pac-text-link span[aria-hidden="true"] {
    display: none;
}

.pac-team-photo {
    min-height: 540px;
    overflow: hidden;
    background: #f6f7ff;
}

.pac-team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
}

/* Patient journey */

.pac-process {
    background: #f6f7ff;
    color: #11081c;
}

.pac-process > .pac-section-inner {
    max-width: 1540px;
    margin-inline: auto;
    padding: 120px 50px;
}

.pac-process-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 55px;
}

.pac-process-heading > p {
    color: #5e646d;
    font-size: 16px;
    line-height: 1.75;
}

.pac-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pac-process-item {
    min-width: 0;
    min-height: 290px;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #dddee5;
    border-radius: 0;
    box-shadow: none;
}

.pac-process-item > span {
    display: block;
    margin-bottom: 60px;
    color: #4041d1;
    font-size: 13px;
    font-weight: 500;
}

.pac-process-item h3 {
    margin: 0 0 15px;
    color: #11081c;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.pac-process-item p {
    color: #5e646d;
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive layout */

@media (max-width: 991px) {
    .pac-featured {
        grid-template-columns: 1fr;
    }

    .pac-featured-image,
    .pac-featured-image img {
        min-height: 420px;
    }

    .pac-featured-copy {
        padding: 80px 20px;
    }

    .pac-team > .pac-section-inner,
    .pac-process > .pac-section-inner {
        padding: 85px 20px;
    }

    .pac-team-layout {
        grid-template-columns: 1fr;
    }

    .pac-process-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pac-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pac-featured-image,
    .pac-featured-image img {
        min-height: 320px;
    }

    .pac-featured-copy {
        padding: 70px 20px;
    }

    .pac-team > .pac-section-inner,
    .pac-process > .pac-section-inner {
        padding: 70px 20px;
    }

    .pac-team-photo,
    .pac-team-photo img {
        min-height: 360px;
    }

    .pac-team-copy h2,
    .pac-process-heading h2,
    .pac-featured h2 {
        font-size: 36px;
    }

    .pac-process-grid {
        grid-template-columns: 1fr;
    }

    .pac-process-item {
        min-height: 250px;
    }
}


/* STEP 41: APPOINTMENT AND FOOTER */

.pac-appointment,
.pac-site-footer {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
}

.pac-appointment {
    background: #bcbcff;
    color: #11081c;
    text-align: center;
}

.pac-appointment > .pac-section-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding: 125px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pac-appointment .pac-section-number {
    color: #4041d1;
    font-weight: 500;
    letter-spacing: .08em;
}

.pac-appointment h2 {
    max-width: 900px;
    margin: 28px 0;
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.07;
    letter-spacing: -.075em;
    font-weight: 400;
    color: #11081c;
}

.pac-appointment h2 span {
    color: #4041d1;
}

.pac-appointment p {
    max-width: 620px;
    margin: 0 0 35px;
    color: #35355b;
    font-size: 17px;
    line-height: 1.75;
}

.pac-appointment .pac-button-primary {
    padding: 20px 30px;
    border-radius: 60px;
    background: #11081c;
    color: #fff;
    font-weight: 500;
    box-shadow: none;
}

.pac-appointment .pac-button-primary:hover {
    background: #4041d1;
    color: #fff;
}

.pac-site-footer {
    background: #11081c;
    color: #f6f7ff;
}

.pac-footer-inner {
    max-width: 1540px;
    margin-inline: auto;
    padding: 90px 50px 30px;
}

.pac-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    gap: 65px;
    padding-bottom: 90px;
}

.pac-footer-brand img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.pac-footer-brand p,
.pac-footer-contact p {
    max-width: 340px;
    color: #b9b9c9;
    font-size: 15px;
    line-height: 1.75;
}

.pac-footer-navigation,
.pac-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.pac-footer-navigation h2,
.pac-footer-contact h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.pac-footer-navigation a,
.pac-footer-contact a,
.pac-footer-bottom a {
    color: #dddee5;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s ease;
}

.pac-footer-navigation a:hover,
.pac-footer-contact a:hover,
.pac-footer-bottom a:hover {
    color: #bcbcff;
}

.pac-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 30px;
    border-top: 1px solid #393244;
}

.pac-footer-bottom p {
    margin: 0;
    color: #b9b9c9;
    font-size: 13px;
}

@media (max-width: 991px) {
    .pac-footer-inner {
        padding: 75px 20px 30px;
    }

    .pac-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px;
    }

    .pac-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .pac-appointment > .pac-section-inner {
        padding: 85px 20px;
    }

    .pac-appointment h2 {
        font-size: 42px;
    }

    .pac-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 65px;
    }

    .pac-footer-brand {
        grid-column: auto;
    }

    .pac-footer-bottom {
        flex-direction: column;
    }
}


/* STEP 47: REFERENCE HERO COMPOSITION */

.pac-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border: 0;
}

.pac-header-inner {
    position: relative;
    max-width: 1540px;
    min-height: 110px;
    padding: 20px 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.pac-brand {
    justify-self: start;
    width: 136px;
}

.pac-navigation {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 15px 30px;
    border-radius: 60px;
    background: rgba(100, 95, 104, .72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pac-header .pac-navigation a {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

.pac-header-cta {
    justify-self: end;
    padding: 20px 30px;
    border-radius: 60px;
    background: #f6f7ff;
    color: #11081c;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

.pac-framer-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #11081c;
}

.pac-framer-hero-media video {
    object-fit: cover;
    object-position: center;
}

.pac-framer-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(17, 8, 28, .55) 0%,
        rgba(17, 8, 28, .28) 55%,
        rgba(17, 8, 28, .35) 100%
    );
}

.pac-framer-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    padding: 170px 50px 105px;
}

.pac-framer-hero-copy {
    max-width: 650px;
}

.pac-framer-hero h1 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(60px, 5.9vw, 80px);
    font-weight: 400;
    letter-spacing: -.08em;
    line-height: 1;
    color: #fff;
}

.pac-framer-hero-aside {
    max-width: 410px;
    justify-self: start;
}

.pac-framer-hero-description {
    margin: 0 0 36px;
    max-width: 410px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.pac-framer-hero-button {
    display: inline-flex;
    justify-content: center;
    padding: 20px 30px;
    border-radius: 60px;
    background: #f6f7ff;
    color: #11081c;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .pac-header-inner {
        padding-left: 25px;
        padding-right: 25px;
        gap: 15px;
    }

    .pac-navigation {
        gap: 15px;
        padding: 14px 20px;
    }

    .pac-framer-hero-inner {
        gap: 35px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 767px) {
    .pac-header-inner {
        display: flex;
        justify-content: space-between;
        min-height: 85px;
        padding: 12px 20px;
    }

    .pac-header-cta {
        display: none;
    }

    .pac-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        padding: 25px;
        background: #11081c;
        border-radius: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .pac-navigation.is-open {
        display: flex;
    }

    .pac-menu-toggle {
        display: flex;
        position: relative;
        z-index: 101;
    }

    .pac-framer-hero {
        min-height: 680px;
    }

    .pac-framer-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 160px 20px 75px;
    }

    .pac-framer-hero h1 {
        font-size: clamp(46px, 9vw, 60px);
    }

    .pac-framer-hero-aside {
        max-width: 100%;
    }
}


/* STEP 48: FRAMER INTRO AND RESPONSIVE HEADER */

/* Header states */

.pac-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    transition: background-color .25s ease;
}

.pac-header.pac-header-scrolled {
    position: fixed;
    background: #fff;
    border-bottom: 1px solid #eeeef4;
}

.pac-brand {
    position: relative;
}

.pac-brand .pac-logo-light {
    display: block;
}

.pac-brand .pac-logo-dark {
    display: none;
}

.pac-header-scrolled .pac-logo-light {
    display: none;
}

.pac-header-scrolled .pac-logo-dark {
    display: block;
}

.pac-header-scrolled .pac-navigation {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pac-header-scrolled .pac-navigation a {
    color: #11081c;
}

.pac-header-scrolled .pac-navigation a:hover {
    color: #4041d1;
}

.pac-header-scrolled .pac-header-cta {
    background: #11081c;
    color: #fff;
}

/* Intro section with overlapping service feature */

.pac-intro {
    position: relative;
    background: #f6f7ff;
    color: #11081c;
}

.pac-intro-shell {
    position: relative;
    max-width: 1540px;
    margin-inline: auto;
    padding: 40px 50px 90px;
}

.pac-intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 65px;
    width: calc(100% - 380px);
    min-height: 400px;
    padding: 45px 55px;
    background: #fff;
    border-radius: 22px;
}

.pac-intro-content,
.pac-intro-why {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pac-intro-panel h2 {
    margin: 0;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: 1.15;
    color: #11081c;
}

.pac-intro-tags {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    gap: 6px;
    margin-top: auto;
    padding-top: 35px;
}

.pac-intro-tags a {
    padding: 5px 10px;
    border: 1px solid #4041d1;
    border-radius: 50px;
    color: #4041d1;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.pac-intro-tags a:hover {
    background: #4041d1;
    color: #fff;
}

.pac-intro-why p {
    margin-top: auto;
    padding-top: 45px;
    color: #5e646d;
    font-size: 16px;
    line-height: 1.65;
}

.pac-intro-why .pac-text-link {
    margin-top: 18px;
    color: #4041d1;
}

.pac-intro-services-feature {
    position: absolute;
    z-index: 5;
    top: -70px;
    right: 50px;
    width: 400px;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    background: #11081c;
    color: #fff;
    text-decoration: none;
}

.pac-intro-services-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
    transition: transform .35s ease;
}

.pac-intro-services-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17,8,28,.45),
        transparent 40%,
        rgba(17,8,28,.8)
    );
}

.pac-intro-services-feature:hover img {
    transform: scale(1.04);
}

.pac-intro-feature-title,
.pac-intro-feature-copy {
    position: relative;
    z-index: 1;
    color: #fff;
}

.pac-intro-feature-title {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -.05em;
}

.pac-intro-feature-copy {
    max-width: 310px;
    font-size: 16px;
    line-height: 1.5;
}

/* Tablet */

@media (max-width: 1100px) {
    .pac-intro-shell {
        padding: 35px 25px 75px;
    }

    .pac-intro-panel {
        width: calc(100% - 300px);
        padding: 35px;
        gap: 30px;
    }

    .pac-intro-services-feature {
        right: 25px;
        width: 320px;
        height: 430px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .pac-header-scrolled .pac-navigation {
        background: #fff;
    }

    .pac-header-scrolled .pac-menu-toggle span {
        background: #11081c;
    }

    .pac-intro-shell {
        padding: 25px 20px 65px;
    }

    .pac-intro-panel {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 45px;
        min-height: auto;
        padding: 30px 25px;
        border-radius: 18px;
    }

    .pac-intro-why p {
        padding-top: 25px;
    }

    .pac-intro-services-feature {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 370px;
        margin-top: 25px;
        border-radius: 18px;
    }

    .pac-intro-tags {
        margin-top: 30px;
        padding-top: 0;
    }
}


/* STEP 50: INTRO PANEL ALIGNMENT */

@media (min-width: 1101px) {
    .pac-intro-shell {
        padding: 40px 16px 90px;
    }

    .pac-intro-panel {
        width: calc(100% - 414px);
        min-height: 430px;
        padding: 40px 55px;
        gap: 55px;
        border-radius: 22px;
    }

    .pac-intro-services-feature {
        top: -70px;
        right: 16px;
        width: 400px;
        height: 480px;
        border-radius: 22px;
    }

    .pac-intro-services-feature img {
        object-position: center;
    }

    .pac-intro-feature-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .pac-intro-panel h2 {
        font-size: 30px;
        line-height: 1.1;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .pac-intro-panel {
        width: calc(100% - 300px);
        gap: 25px;
    }

    .pac-intro-services-feature {
        width: 320px;
    }
}

@media (max-width: 767px) {
    .pac-intro-shell {
        padding: 25px 16px 65px;
    }

    .pac-intro-panel {
        padding: 30px 25px;
    }

    .pac-intro-services-feature {
        height: 390px;
    }
}


/* STEP 51: MATCH SERVICE CARD AND INTRO PANEL HEIGHT */

@media (min-width: 1101px) {
    .pac-intro-panel {
        min-height: 430px;
    }

    .pac-intro-services-feature {
        top: -70px;
        height: calc(100% - 20px);
        min-height: 500px;
        max-height: none;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .pac-intro-services-feature {
        top: -55px;
        height: 470px;
    }
}


/* STEP 52: SHARED CARD ALIGNMENT */

@media (min-width: 1101px) {
    .pac-intro-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 14px;
        align-items: stretch;
        padding: 40px 16px 90px;
    }

    .pac-intro-panel {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-height: 430px;
        box-sizing: border-box;
    }

    .pac-intro-services-feature {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        top: -70px;
        right: auto;
        width: 100%;
        height: calc(100% + 70px);
        min-height: 0;
        max-height: none;
        box-sizing: border-box;
        align-self: stretch;
    }
}


/* STEP 54: ABOUT CLINIC SECTION */

.pac-about-clinic {
    background: #f6f7ff;
    padding: 95px 50px 110px;
}

.pac-about-clinic-inner {
    max-width: 1440px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(50px, 6vw, 100px);
}

.pac-about-clinic-copy {
    min-width: 0;
}

.pac-about-clinic .pac-section-number {
    display: block;
    margin-bottom: 30px;
    color: #4041d1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.pac-about-clinic h2 {
    margin: 0 0 28px;
    max-width: 690px;
    color: #11081c;
    font-family: "PAC Inter", Inter, sans-serif;
    font-size: clamp(38px, 3.5vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.07em;
}

.pac-about-clinic-lead {
    margin: 0 0 35px;
    max-width: 590px;
    color: #5e646d;
    font-size: 16px;
    line-height: 1.7;
}

.pac-about-clinic-points {
    display: grid;
    gap: 24px;
}

.pac-about-clinic-point {
    padding-left: 22px;
    border-left: 2px solid #4041d1;
}

.pac-about-clinic-point h3 {
    margin: 0 0 7px;
    color: #4041d1;
    font-size: 17px;
    font-weight: 500;
}

.pac-about-clinic-point p {
    margin: 0;
    max-width: 480px;
    color: #5e646d;
    font-size: 15px;
    line-height: 1.65;
}

.pac-about-clinic-image {
    width: 100%;
    min-height: 580px;
    overflow: hidden;
    border-radius: 22px;
    background: #e9eaf3;
}

.pac-about-clinic-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 580px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .pac-about-clinic {
        padding: 75px 25px;
    }

    .pac-about-clinic-inner {
        gap: 35px;
    }

    .pac-about-clinic h2 {
        font-size: 38px;
    }

    .pac-about-clinic-image,
    .pac-about-clinic-image img {
        min-height: 480px;
    }
}

@media (max-width: 767px) {
    .pac-about-clinic {
        padding: 65px 20px;
    }

    .pac-about-clinic-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pac-about-clinic h2 {
        font-size: 34px;
    }

    .pac-about-clinic-image,
    .pac-about-clinic-image img {
        min-height: 350px;
    }
}


/* STEP 55: ABOUT CLINIC SPACING */

/* Reduce the space below the introductory cards */
@media (min-width: 1101px) {
    .pac-intro-shell {
        padding-bottom: 30px;
    }

    .pac-about-clinic {
        padding-top: 35px;
        padding-bottom: 85px;
    }

    .pac-about-clinic-inner {
        align-items: start;
        gap: 65px;
    }

    .pac-about-clinic-image,
    .pac-about-clinic-image img {
        min-height: 500px;
    }

    .pac-about-clinic-image img {
        aspect-ratio: 1.2 / 1;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .pac-intro-shell {
        padding-bottom: 30px;
    }

    .pac-about-clinic {
        padding-top: 40px;
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .pac-intro-shell {
        padding-bottom: 25px;
    }

    .pac-about-clinic {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .pac-about-clinic-image img {
        object-position: center;
    }
}


/* STEP 58B: ABOUT CLINIC VISUAL REFINEMENT */

.pac-about-clinic .pac-section-number {
    margin-bottom: 20px;
}

.pac-about-clinic h2 {
    font-size: clamp(34px, 2.75vw, 43px);
    line-height: 1.13;
    letter-spacing: -.055em;
    margin-bottom: 22px;
}

.pac-about-clinic-lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.pac-about-clinic-points {
    gap: 25px;
}

.pac-about-clinic-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-left: 0;
    border-left: 0;
}

.pac-about-clinic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #5146e5;
}

.pac-about-clinic-icon svg {
    width: 25px;
    height: 25px;
}

.pac-about-clinic-point-copy {
    min-width: 0;
}

.pac-about-clinic-point h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 7px;
}

.pac-about-clinic-point p {
    font-size: 14px;
    line-height: 1.6;
}

.pac-about-clinic-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    margin-top: 32px;
    border-radius: 100px;
    background: #4940dc;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .01em;
    transition: background-color .2s ease;
}

.pac-about-clinic-cta:hover,
.pac-about-clinic-cta:focus-visible {
    background: #3026ac;
    color: #fff;
}

@media (max-width: 767px) {
    .pac-about-clinic h2 {
        font-size: clamp(30px, 7.5vw, 36px);
    }

    .pac-about-clinic-points {
        gap: 22px;
    }
}

/* STEP 59: ABOUT CLINIC PHOTO MOTION */

.pac-about-clinic-image {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pac-about-clinic-image img {
    display: block;
    width: 100%;
    transform-origin: center center;
    will-change: transform;
    animation: pacClinicPhotoMotion 14s ease-in-out infinite alternate;
}

@keyframes pacClinicPhotoMotion {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }

    50% {
        transform: scale(1.045) translate3d(-0.5%, -0.3%, 0);
    }

    100% {
        transform: scale(1.085) translate3d(0.5%, 0.4%, 0);
    }
}

.pac-about-clinic-image:hover img {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .pac-about-clinic-image img {
        animation: none;
        transform: none;
        will-change: auto;
    }
}



/* STEP 62: BOOKING PANEL */

.pac-book-visit {
    background: #f6f7ff;
    padding: 0 50px 90px;
}

.pac-book-visit-shell {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 45px 60px 0;
    background: #443bd4;
    color: #fff;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
}

.pac-book-visit-shell::before,
.pac-book-visit-shell::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.pac-book-visit-shell::before {
    left: -125px;
    top: -90px;
}

.pac-book-visit-shell::after {
    right: -120px;
    bottom: -125px;
}

.pac-book-visit-content {
    max-width: 690px;
    margin: 0 auto 32px;
    text-align: center;
}

.pac-book-visit-eyebrow {
    display: block;
    margin-bottom: 15px;
    font-size: 11px;
    font-weight: 600;
}

.pac-book-visit-content h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.055em;
}

.pac-book-visit-content p {
    max-width: 570px;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    line-height: 1.65;
}

.pac-book-visit-form-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 23px 24px 26px;
    background: #fff;
    color: #616773;
    border-radius: 18px 18px 0 0;
}

.pac-book-visit-instruction {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
}

.pac-book-visit-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(160px, auto);
    gap: 7px;
    align-items: stretch;
}

.pac-booking-field {
    min-width: 0;
    margin: 0;
}

.pac-booking-field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 47px;
    padding: 0 12px;
    border: 1px solid #dcdde5;
    border-radius: 9px;
    background: #fff;
    color: #181020;
    font-size: 12px;
}

.pac-booking-field input:focus-visible {
    outline: 2px solid #443bd4;
    outline-offset: 1px;
}

.pac-booking-submit {
    min-height: 47px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    background: #443bd4;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.pac-booking-submit:hover {
    background: #3028b1;
}

.pac-booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pac-booking-message {
    margin: 0 0 15px;
    padding: 12px;
    border: 1px solid currentColor;
    border-radius: 7px;
    font-size: 13px;
}

.pac-booking-success {
    color: #167443;
}

.pac-booking-error {
    color: #a92e2e;
}

@media (max-width: 1100px) {
    .pac-book-visit-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pac-booking-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .pac-book-visit {
        padding: 0 20px 65px;
    }

    .pac-book-visit-shell {
        padding: 38px 18px 0;
    }

    .pac-book-visit-content h2 {
        font-size: 30px;
    }

    .pac-book-visit-content h2 br {
        display: none;
    }

    .pac-book-visit-form-wrap {
        padding: 20px 15px;
    }

    .pac-book-visit-form {
        grid-template-columns: 1fr;
    }

    .pac-booking-submit {
        grid-column: auto;
    }
}

/* STEP 63: BOOKING PANEL REFINEMENT */

@media (min-width: 1101px) {
    .pac-book-visit {
        padding: 0 50px 45px;
    }

    .pac-book-visit-shell {
        max-width: 1152px;
        padding: 38px 45px 0;
        overflow: visible;
        border-radius: 18px;
    }

    .pac-book-visit-content {
        margin-bottom: 30px;
    }

    .pac-book-visit-content h2 {
        font-size: 36px;
        line-height: 1.13;
    }

    .pac-book-visit-form-wrap {
        position: relative;
        top: 43px;
        max-width: 960px;
        border-radius: 17px;
        padding: 23px 24px 25px;
    }

    .pac-book-visit-form {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(0, 1fr)
            160px;
    }

    .pac-booking-submit {
        font-size: 10px;
        padding: 0 10px;
    }

    .pac-services {
        padding-top: 65px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .pac-book-visit {
        padding-bottom: 40px;
    }

    .pac-book-visit-form-wrap {
        transform: translateY(25px);
    }
}

@media (max-width: 767px) {
    .pac-book-visit {
        padding-bottom: 45px;
    }

    .pac-book-visit-form-wrap {
        transform: translateY(20px);
    }
}



/* STEP 65: FRAMER SERVICES REDESIGN */

.pac-services {
    background: #f6f7ff;
    color: #11081c;
}

.pac-services > .pac-section-inner {
    max-width: 1252px;
    padding: 80px 50px 24px;
}

.pac-services-heading {
    display: grid;
    grid-template-columns: 1fr 1.6fr auto;
    align-items: end;
    gap: 45px;
    margin-bottom: 32px;
}

.pac-services .pac-section-number {
    align-self: start;
    padding-top: 8px;
    color: #4940dc;
    font-size: 11px;
    letter-spacing: 0;
}

.pac-services-heading h2 {
    max-width: 530px;
    margin: 0;
    font-size: clamp(32px, 3vw, 43px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.06em;
    color: #11081c;
}

.pac-services-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 25px;
    border-radius: 100px;
    background: #4940dc;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pac-services-all:hover {
    background: #3026ac;
    color: #fff;
}

.pac-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pac-service-card,
.pac-service-card:nth-child(2),
.pac-service-card:nth-child(3) {
    min-height: 260px;
    padding: 25px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    transition: transform .25s ease, background-color .25s ease;
}

.pac-service-card:hover {
    background: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: none;
}

.pac-service-card .pac-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: #eeedff;
    color: #4940dc;
}

.pac-service-icon svg {
    width: 28px;
    height: 28px;
}

.pac-service-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.045em;
}

.pac-service-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .pac-services > .pac-section-inner {
        padding: 70px 25px;
    }

    .pac-services-heading {
        grid-template-columns: 1fr auto;
        gap: 20px;
    }

    .pac-services .pac-section-number {
        grid-column: 1 / -1;
    }

    .pac-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pac-services > .pac-section-inner {
        padding: 60px 20px;
    }

    .pac-services-heading {
        grid-template-columns: 1fr;
    }

    .pac-services .pac-section-number {
        grid-column: auto;
    }

    .pac-services-heading h2 {
        font-size: 34px;
    }

    .pac-services-all {
        justify-self: start;
    }

    .pac-services-grid {
        grid-template-columns: 1fr;
    }

    .pac-service-card {
        min-height: 235px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pac-service-card {
        transition: none;
    }

    .pac-service-card:hover {
        transform: none;
    }
}


/* STEP 70: SERVICES SPACING AND ICON REFINEMENT */

.pac-services {
    padding-top: 0 !important;
}

.pac-services > .pac-section-inner {
    padding-top: 48px;
}

.pac-service-card .pac-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #f0edff;
}

.pac-service-icon img {
    display: block;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .pac-services > .pac-section-inner {
        padding-top: 42px;
    }
}


/* STEP 73: FINAL DENTAL ICON SET */

.pac-services .pac-service-card .pac-service-icon {
    width: 52px;
    height: 52px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pac-services .pac-service-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    .pac-services .pac-service-icon img {
        width: 40px;
        height: 40px;
    }
}


/* STEP 75: TEETH WHITENING STYLES */

.pac-whitening {
    background: #f6f7ff;
    padding: 85px 24px 95px;
}

.pac-whitening-inner {
    max-width: 1152px;
    margin: 0 auto;
}

.pac-whitening-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.pac-whitening-eyebrow {
    display: block;
    color: #493edb;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 20px;
}

.pac-whitening-heading h2 {
    color: #170d26;
    font-size: clamp(32px, 3.5vw, 45px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.12;
    margin: 0;
}

.pac-whitening-heading > p {
    color: #696b7a;
    font-size: 15px;
    line-height: 1.65;
    margin: 22px auto 0;
    max-width: 540px;
}

.pac-whitening-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px;
    margin-top: 50px;
}

.pac-whitening-benefit {
    text-align: center;
}

.pac-whitening-icon {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pac-whitening-icon img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.pac-whitening-benefit h3 {
    font-size: 15px;
    font-weight: 500;
    color: #493edb;
    margin: 0 0 12px;
}

.pac-whitening-benefit p {
    color: #696b7a;
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
    margin: 0 auto;
}

.pac-whitening-action {
    text-align: center;
    margin-top: 38px;
}

.pac-whitening-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 28px;
    background: #493edb;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    transition: background .2s ease;
}

.pac-whitening-button:hover {
    background: #3429bb;
}

.pac-whitening-visual-placeholder {
    min-height: 310px;
    margin-top: 42px;
    background: #eceafd;
    border: 1px solid #ddd9fb;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.pac-whitening-visual-placeholder span {
    color: #493edb;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
}

.pac-whitening-visual-placeholder p {
    color: #696b7a;
    font-size: 14px;
    margin: 12px 0 0;
}

@media (max-width: 767px) {
    .pac-whitening {
        padding: 65px 20px 75px;
    }

    .pac-whitening-heading h2 br {
        display: none;
    }

    .pac-whitening-benefits {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 42px;
    }

    .pac-whitening-visual-placeholder {
        min-height: 220px;
    }
}

/* STEP 79: SERVICES INNER SPACING CORRECTION */

/* The Services inner container now uses 24px bottom padding. */
.pac-services {
    margin-bottom: 0;
}

.pac-whitening {
    padding-top: 24px;
    margin-top: 0;
}

@media (max-width: 767px) {
    .pac-whitening {
        padding-top: 24px;
    }
}


/* STEP 80: FRAMER WHITENING IMAGE */

.pac-whitening-visual {
    margin: 42px 0 0;
    width: 100%;
}

.pac-whitening-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 462;
    object-fit: cover;
    border-radius: 16px;
}

.pac-whitening-visual figcaption {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.5;
    color: #77798a;
    text-align: center;
}

@media (max-width: 767px) {
    .pac-whitening-visual {
        margin-top: 32px;
    }

    .pac-whitening-visual img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}


/* STEP 83: FRAMER TEAM SECTION */

.pac-team {
    background: #f6f7ff;
    color: #11081c;
}

.pac-team > .pac-section-inner.pac-team-framer {
    max-width: 1252px;
    margin: 0 auto;
    padding: 60px 50px 70px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 12px;
    align-items: start;
}

.pac-team-intro {
    padding: 4px 28px 0 0;
}

.pac-team-eyebrow {
    color: #4939df;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}

.pac-team-intro h2 {
    margin: 20px 0 22px;
    font-size: clamp(32px, 3vw, 43px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.055em;
    color: #11081c;
}

.pac-team-intro p {
    max-width: 320px;
    margin: 0 0 28px;
    color: #606476;
    font-size: 14px;
    line-height: 1.7;
}

.pac-team-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #4939df;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.pac-team-button:hover,
.pac-team-button:focus-visible {
    background: #3828bd;
    color: #fff;
}

.pac-team-doctor-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: #e8e8ef;
}

.pac-team-doctor-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pac-team-doctor h3 {
    margin: 16px 0 4px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -.02em;
}

.pac-team-doctor-role {
    margin: 0;
    color: #626679;
    font-size: 13px;
}

.pac-team-doctor-bio {
    margin: 18px 0 0;
    color: #626679;
    font-size: 13px;
    line-height: 1.7;
}

.pac-team-careers {
    min-height: 370px;
    padding: 34px 28px;
    border: 1px solid #dcddeb;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.pac-team-careers-icon {
    margin-bottom: 24px;
    color: #4939df;
    font-size: 34px;
}

.pac-team-careers h3 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.pac-team-careers p {
    margin: 0 0 24px;
    color: #626679;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .pac-team > .pac-section-inner.pac-team-framer {
        padding: 48px 25px 60px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .pac-team-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .pac-team > .pac-section-inner.pac-team-framer {
        padding: 36px 20px 50px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pac-team-intro {
        grid-column: auto;
        padding-right: 0;
    }

    .pac-team-intro h2 {
        font-size: 36px;
    }

    .pac-team-careers {
        min-height: 290px;
    }
}

/* STEP 84: DR PRECIOUS PROFILE */

.pac-doctor-profile {
    font-family: "PAC Inter", Inter, Arial, sans-serif;
    color: #11081c;
}

.pac-doctor-container {
    max-width: 1252px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}

.pac-doctor-hero {
    background: #f6f7ff;
    padding: 42px 0 95px;
}

.pac-doctor-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 65px;
    font-size: 12px;
    color: #737386;
}

.pac-doctor-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pac-doctor-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.pac-doctor-eyebrow {
    display: block;
    color: #4939df;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
}

.pac-doctor-hero h1 {
    font-size: clamp(54px, 6vw, 90px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: 1.02;
    margin: 22px 0;
}

.pac-doctor-designation {
    color: #4939df;
    font-size: 17px;
    font-weight: 500;
}

.pac-doctor-lead {
    max-width: 470px;
    margin: 25px 0 32px;
    color: #626679;
    font-size: 16px;
    line-height: 1.8;
}

.pac-doctor-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 27px;
    background: #4939df;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.pac-doctor-cta:hover {
    background: #3828bd;
    color: white;
}

.pac-doctor-portrait {
    border-radius: 20px;
    overflow: hidden;
    background: #e8e8ef;
}

.pac-doctor-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.pac-doctor-biography,
.pac-doctor-impact {
    padding: 100px 0;
}

.pac-doctor-impact {
    background: #f6f7ff;
}

.pac-doctor-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.pac-doctor-bio-grid h2,
.pac-doctor-bottom-cta h2 {
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.12;
    margin: 20px 0;
}

.pac-doctor-bio-copy p {
    color: #626679;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 23px;
}

.pac-doctor-bottom-cta {
    padding: 100px 0;
    text-align: center;
}

.pac-doctor-bottom-cta p {
    color: #626679;
    margin: 0 auto 30px;
}

@media (max-width: 767px) {
    .pac-doctor-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pac-doctor-hero {
        padding: 30px 0 65px;
    }

    .pac-doctor-breadcrumb {
        margin-bottom: 35px;
    }

    .pac-doctor-hero-grid,
    .pac-doctor-bio-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pac-doctor-hero h1 {
        font-size: 54px;
    }

    .pac-doctor-biography,
    .pac-doctor-impact,
    .pac-doctor-bottom-cta {
        padding: 65px 0;
    }
}

.pac-doctor-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pac-doctor-card-link:hover,
.pac-doctor-card-link:focus-visible {
    color: inherit;
}

.pac-doctor-card-link:hover .pac-team-doctor-image img {
    transform: scale(1.025);
}

.pac-team-doctor-image img {
    transition: transform .3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .pac-team-doctor-image img {
        transition: none;
    }
}


/* STEP 93: TEAM SPACING CORRECTION */
.pac-whitening {
    padding-bottom: 24px;
}

@media (max-width: 767px) {
    .pac-whitening {
        padding-bottom: 18px;
    }
}

/* STEP 95: PAC TESTIMONIALS */

.pac-testimonials {
    background: #f6f6ff;
    padding: 45px 24px 70px;
}

.pac-testimonials-shell {
    max-width: 1152px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 62px 32px 72px;
}

.pac-testimonials-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
}

.pac-testimonials-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #5542e8;
    margin-bottom: 18px;
}

.pac-testimonials-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.pac-testimonials-heading p {
    margin: 18px 0 0;
    color: #686579;
    line-height: 1.6;
}

.pac-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pac-testimonial-card {
    background: #f5f5ff;
    border-radius: 16px;
    padding: 28px 24px;
    min-height: 205px;
}

.pac-testimonial-card h3 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin: 0 0 18px;
}

.pac-testimonial-card p {
    font-size: 15px;
    color: #686579;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .pac-testimonials {
        padding: 35px 20px 55px;
    }

    .pac-testimonials-shell {
        padding: 50px 24px;
    }

    .pac-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pac-testimonials {
        padding: 24px 16px 45px;
    }

    .pac-testimonials-shell {
        padding: 38px 18px;
        border-radius: 14px;
    }

    .pac-testimonials-heading {
        margin-bottom: 30px;
    }

    .pac-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pac-testimonial-card {
        min-height: 0;
        padding: 24px 20px;
    }
}


/* STEP 97: FRAMER TESTIMONIAL REFINEMENT */

.pac-testimonials {
    padding: 12px 24px 70px;
    background: #f6f6ff;
}

.pac-testimonials-shell {
    max-width: 1152px;
    padding: 62px 32px 52px;
    border-radius: 16px;
    box-shadow: none;
}

.pac-testimonials-heading {
    margin-bottom: 78px;
}

.pac-testimonials-grid {
    gap: 12px;
    align-items: start;
}

.pac-testimonial-item {
    position: relative;
    min-width: 0;
    padding-bottom: 34px;
}

.pac-testimonial-item .pac-testimonial-card {
    min-height: 184px;
    padding: 24px 24px 36px;
    border-radius: 16px;
    box-shadow: none;
}

.pac-testimonial-item .pac-testimonial-card h3 {
    font-size: 21px;
    margin-bottom: 18px;
}

.pac-testimonial-person {
    position: absolute;
    bottom: 0;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 7px 18px 7px 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
}

.pac-testimonial-item:nth-child(2) .pac-testimonial-person {
    top: -29px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pac-testimonial-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: #e7e3ff;
    color: #4d37e8;
    font-size: 15px;
    font-weight: 600;
}

.pac-testimonial-person-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pac-testimonial-person-text strong {
    color: #161021;
    font-size: 13px;
    font-weight: 500;
}

.pac-testimonial-person-text small {
    color: #716c80;
    font-size: 11px;
}

.pac-testimonials-action {
    margin-top: 26px;
    text-align: center;
}

.pac-testimonials-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 13px 25px;
    border-radius: 999px;
    background: #4e38e9;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.pac-testimonials-more:hover,
.pac-testimonials-more:focus-visible {
    background: #3925c7;
    color: #fff;
}

/* Show more of Dr. Precious's original office portrait. */
.pac-team-doctor-image {
    aspect-ratio: 4 / 5;
    height: auto;
    overflow: hidden;
}

.pac-team-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 66%;
}

@media (max-width: 900px) {
    .pac-testimonials-heading {
        margin-bottom: 66px;
    }

    .pac-testimonial-item:nth-child(2) .pac-testimonial-person {
        top: auto;
        bottom: 0;
        left: 30px;
        transform: none;
    }
}

@media (max-width: 600px) {
    .pac-testimonials {
        padding: 12px 16px 45px;
    }

    .pac-testimonials-shell {
        padding: 40px 18px;
    }

    .pac-testimonials-heading {
        margin-bottom: 36px;
    }

    .pac-testimonial-item .pac-testimonial-card {
        min-height: 0;
        padding: 24px 20px 42px;
    }

    .pac-testimonial-person,
    .pac-testimonial-item:nth-child(2) .pac-testimonial-person {
        left: 15px;
    }

    .pac-team-doctor-image {
        aspect-ratio: 4 / 5;
    }
}


/* STEP 99B: REVIEWER VISUAL REFINEMENT */

/* Framer-style overlapping reviewer photographs */

.pac-intro-why .pac-reviewer-headshots {
    display: flex;
    align-items: center;
    margin: 12px 0 20px;
    padding-left: 3px;
}

.pac-intro-why .pac-reviewer-headshots img {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-left: -7px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #f2f0ff;
}

.pac-intro-why .pac-reviewer-headshots img:first-child {
    margin-left: 0;
}

/* Consistent testimonial card heights */

.pac-testimonials-grid {
    align-items: stretch;
}

.pac-testimonial-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pac-testimonial-item .pac-testimonial-card {
    box-sizing: border-box;
    width: 100%;
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    overflow: hidden;
}

.pac-testimonial-item .pac-testimonial-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Real reviewer photographs */

.pac-testimonial-avatar {
    overflow: hidden;
}

.pac-testimonial-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .pac-testimonial-item .pac-testimonial-card {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }

    .pac-intro-why .pac-reviewer-headshots img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}


/* STEP 100B: FRAMER APPOINTMENT AND BADGES */

/* Subtle grey reviewer badge shadow and animation */

.pac-testimonial-person {
    box-shadow: 0 8px 22px rgba(27, 23, 45, .085);
    animation: pac-reviewer-float 4.8s ease-in-out infinite;
    will-change: translate;
}

.pac-testimonial-item:nth-child(2) .pac-testimonial-person {
    animation-delay: -1.6s;
}

.pac-testimonial-item:nth-child(3) .pac-testimonial-person {
    animation-delay: -3.2s;
}

@keyframes pac-reviewer-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pac-testimonial-person {
        animation: none;
        will-change: auto;
    }
}

/* Framer-style lower appointment CTA */

.pac-visit-cta {
    background: #f6f6ff;
    padding: 72px 24px 90px;
}

.pac-visit-cta-inner {
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.18fr 280px 1.15fr;
    gap: 56px;
    align-items: stretch;
}

.pac-visit-cta-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.pac-visit-cta-eyebrow {
    color: #4f3bea;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}

.pac-visit-cta-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.pac-visit-cta-tags span {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid #5541ef;
    border-radius: 999px;
    color: #5039e8;
    font-size: 12px;
    line-height: 1.2;
}

.pac-visit-cta-photo {
    height: 338px;
    border-radius: 16px;
    overflow: hidden;
}

.pac-visit-cta-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.pac-visit-cta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.pac-visit-cta-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
}

.pac-visit-cta-icon svg {
    width: 100%;
    height: 100%;
}

.pac-visit-cta-right h2 {
    margin: 0 0 12px;
    color: #160e21;
    font-size: clamp(28px, 2.6vw, 39px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.pac-visit-cta-right p {
    max-width: 340px;
    margin: 0 0 28px;
    color: #6b6878;
    font-size: 14px;
    line-height: 1.5;
}

.pac-visit-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 23px;
    border-radius: 999px;
    background: #5039e8;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.pac-visit-cta-button:hover,
.pac-visit-cta-button:focus-visible {
    background: #3925c7;
    color: #fff;
}

@media (max-width: 1000px) {
    .pac-visit-cta-inner {
        grid-template-columns: 1fr 240px 1fr;
        gap: 24px;
    }
}

@media (max-width: 760px) {
    .pac-visit-cta {
        padding: 50px 20px 65px;
    }

    .pac-visit-cta-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .pac-visit-cta-left {
        grid-column: 1 / -1;
        gap: 24px;
    }

    .pac-visit-cta-tags {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pac-visit-cta-photo {
        height: 320px;
    }
}

@media (max-width: 520px) {
    .pac-visit-cta-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pac-visit-cta-left {
        grid-column: auto;
    }

    .pac-visit-cta-photo {
        height: 370px;
        max-width: 340px;
    }

    .pac-visit-cta-right h2 {
        font-size: 32px;
    }
}


/* STEP 101D: APPOINTMENT VIDEO */

.pac-visit-cta-video {
    position: relative;
    overflow: hidden;
    background: #ece9f5;
}

.pac-visit-cta-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}


/* STEP 103: COMPACT APPOINTMENT CTA */

.pac-visit-cta {
    padding: 62px 0 68px;
}

.pac-visit-cta-inner {
    width: min(100% - 64px, 1152px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1.08fr);
    align-items: center;
    column-gap: 44px;
}

.pac-visit-cta-left {
    height: 338px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.pac-visit-cta-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.pac-visit-cta-photo {
    width: 280px;
    height: 338px;
    min-height: 338px;
    margin: 0;
}

.pac-visit-cta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    text-align: left;
}

.pac-visit-cta-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 16px;
}

.pac-visit-cta-icon svg {
    display: block;
    width: 52px;
    height: 52px;
}

.pac-visit-cta-right h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 2.7vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.045em;
    text-align: left;
}

.pac-visit-cta-right p {
    max-width: 355px;
    margin: 0 0 28px;
    line-height: 1.55;
    text-align: left;
}

.pac-visit-cta-button {
    align-self: flex-start;
    margin: 0;
}

@media (max-width: 1050px) {
    .pac-visit-cta-inner {
        width: min(100% - 48px, 940px);
        grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1.1fr);
        column-gap: 24px;
    }

    .pac-visit-cta-photo {
        width: 250px;
        height: 320px;
        min-height: 320px;
    }

    .pac-visit-cta-left {
        height: 320px;
    }

    .pac-visit-cta-right h2 {
        font-size: clamp(27px, 3vw, 34px);
    }
}

@media (max-width: 760px) {
    .pac-visit-cta {
        padding: 48px 0;
    }

    .pac-visit-cta-inner {
        width: min(100% - 36px, 520px);
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .pac-visit-cta-left {
        height: auto;
        gap: 20px;
    }

    .pac-visit-cta-photo {
        width: min(100%, 320px);
        height: 340px;
        min-height: 340px;
        justify-self: center;
    }

    .pac-visit-cta-right {
        align-items: flex-start;
        text-align: left;
    }

    .pac-visit-cta-right h2,
    .pac-visit-cta-right p {
        text-align: left;
    }
}


/* STEP 104: REFINED APPOINTMENT */

.pac-visit-cta {
    padding-block: 48px 54px;
}

.pac-visit-cta-inner {
    width: min(calc(100% - 48px), 1120px);
    grid-template-columns:
        minmax(0, 1fr)
        280px
        minmax(0, 1.08fr);
    column-gap: 22px;
}

.pac-visit-cta-left {
    height: 338px;
}

.pac-visit-cta-photo {
    width: 280px;
    height: 338px;
    min-height: 338px;
}

.pac-visit-cta-right {
    padding: 0;
}

.pac-visit-cta-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.pac-visit-cta-icon svg {
    width: 48px;
    height: 48px;
}

.pac-visit-cta-right h2 {
    margin-bottom: 10px;
}

.pac-visit-cta-right p {
    margin-bottom: 22px;
}

@media (max-width: 1050px) and (min-width: 761px) {
    .pac-visit-cta-inner {
        grid-template-columns:
            minmax(0, 1fr)
            250px
            minmax(0, 1.1fr);
        column-gap: 18px;
    }

    .pac-visit-cta-photo {
        width: 250px;
        height: 320px;
        min-height: 320px;
    }

    .pac-visit-cta-left {
        height: 320px;
    }
}

@media (max-width: 760px) {
    .pac-visit-cta {
        padding-block: 40px 46px;
    }

    .pac-visit-cta-inner {
        width: min(calc(100% - 36px), 520px);
        grid-template-columns: minmax(0, 1fr);
        row-gap: 22px;
    }

    .pac-visit-cta-left {
        height: auto;
    }

    .pac-visit-cta-photo {
        width: min(100%, 320px);
        height: 340px;
        min-height: 340px;
    }
}


/* STEP 105B: FRAMER-STYLE FOOTER */

.pac-footer-v2 {
    background: #11091c;
    color: #fff;
    padding: 76px 0 28px;
}

.pac-footer-v2 .pac-footer-inner {
    width: min(calc(100% - 64px), 1152px);
    max-width: none;
    margin-inline: auto;
}

.pac-footer-v2 .pac-footer-main {
    display: grid;
    grid-template-columns:
        175px
        85px
        120px
        120px
        100px
        minmax(290px, 1fr);
    gap: 22px;
    align-items: start;
    padding: 0 0 44px;
}

.pac-footer-v2 .pac-footer-brand {
    margin: 0;
}

.pac-footer-v2 .pac-footer-brand img {
    display: block;
    width: 145px;
    max-width: 100%;
    height: auto;
}

.pac-footer-v2 .pac-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.pac-footer-v2 .pac-footer-column h2 {
    margin: 0 0 5px;
    color: #ada4bd;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

.pac-footer-v2 .pac-footer-column a {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    text-transform: uppercase;
}

.pac-footer-v2 .pac-footer-column a:hover,
.pac-footer-v2 .pac-footer-column a:focus-visible {
    color: #c7bcff;
}

.pac-footer-v2 .pac-footer-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.pac-footer-v2 .pac-footer-social-card {
    min-height: 136px;
    border: 1px solid #33263e;
    border-radius: 16px;
    padding: 13px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.pac-footer-v2 a.pac-footer-social-card:hover,
.pac-footer-v2 a.pac-footer-social-card:focus-visible {
    border-color: #7661bd;
}

.pac-footer-v2 .pac-footer-social-symbol {
    width: 39px;
    height: 39px;
    border: 1px solid #33263e;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.pac-footer-v2 .pac-footer-social-symbol svg {
    display: block;
    width: 19px;
    height: 19px;
}

.pac-footer-v2 .pac-footer-bottom {
    border-top: 1px solid #33263e;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pac-footer-v2 .pac-footer-bottom p {
    margin: 0;
    color: #ada4bd;
    font-size: 11px;
    line-height: 1.5;
}

.pac-footer-v2 .pac-footer-credit {
    text-align: right;
}

.pac-footer-v2 .pac-footer-credit a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.pac-footer-v2 .pac-footer-credit a:hover {
    color: #c7bcff;
}

@media (max-width: 1150px) {
    .pac-footer-v2 .pac-footer-main {
        grid-template-columns: 160px repeat(4, minmax(85px, 1fr));
        gap: 24px;
    }

    .pac-footer-v2 .pac-footer-socials {
        grid-column: 1 / -1;
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    .pac-footer-v2 {
        padding: 48px 0 24px;
    }

    .pac-footer-v2 .pac-footer-inner {
        width: min(calc(100% - 36px), 520px);
    }

    .pac-footer-v2 .pac-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding-bottom: 36px;
    }

    .pac-footer-v2 .pac-footer-brand {
        grid-column: 1 / -1;
    }

    .pac-footer-v2 .pac-footer-socials {
        grid-column: 1 / -1;
        max-width: none;
    }

    .pac-footer-v2 .pac-footer-social-card {
        min-height: 116px;
        padding: 11px 9px;
        font-size: 9px;
    }

    .pac-footer-v2 .pac-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pac-footer-v2 .pac-footer-credit {
        text-align: left;
    }
}


/* STEP 106: COMPACT FOOTER */

.pac-footer-v2 {
    padding: 52px 0 22px;
}

.pac-footer-v2 .pac-footer-main {
    grid-template-columns:
        160px
        85px
        115px
        115px
        95px
        minmax(260px, 1fr);
    gap: 16px;
    padding-bottom: 30px;
}

.pac-footer-v2 .pac-footer-brand img {
    width: 132px;
}

.pac-footer-v2 .pac-footer-column {
    gap: 10px;
}

.pac-footer-v2 .pac-footer-column h2 {
    margin-bottom: 3px;
}

.pac-footer-v2 .pac-footer-socials {
    gap: 6px;
}

.pac-footer-v2 .pac-footer-social-card {
    min-height: 112px;
    padding: 11px 10px;
}

.pac-footer-v2 .pac-footer-social-symbol {
    width: 35px;
    height: 35px;
}

.pac-footer-v2 .pac-footer-bottom {
    padding-top: 17px;
}

.pac-footer-v2 .pac-footer-credit,
.pac-footer-v2 .pac-footer-credit a {
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: normal;
}

@media (max-width: 1150px) {
    .pac-footer-v2 .pac-footer-main {
        grid-template-columns:
            145px repeat(4, minmax(80px, 1fr));
        gap: 18px;
    }

    .pac-footer-v2 .pac-footer-socials {
        grid-column: 1 / -1;
        max-width: 390px;
    }
}

@media (max-width: 700px) {
    .pac-footer-v2 {
        padding: 40px 0 20px;
    }

    .pac-footer-v2 .pac-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        padding-bottom: 28px;
    }

    .pac-footer-v2 .pac-footer-brand {
        grid-column: 1 / -1;
    }

    .pac-footer-v2 .pac-footer-socials {
        grid-column: 1 / -1;
        max-width: none;
    }

    .pac-footer-v2 .pac-footer-social-card {
        min-height: 100px;
    }
}


/* STEP 107B: FINAL FOOTER COMPACTION */

.pac-footer-v2 {
    padding: 0;
}

.pac-footer-v2 .pac-footer-inner {
    padding: 48px 0 24px;
}

.pac-footer-v2 .pac-footer-main {
    column-gap: 14px;
    row-gap: 16px;
    padding-bottom: 26px;
}

.pac-footer-v2 .pac-footer-column {
    gap: 9px;
}

.pac-footer-v2 .pac-footer-column h2 {
    margin-bottom: 3px;
}

.pac-footer-v2 .pac-footer-social-card {
    min-height: 108px;
}

.pac-footer-v2 .pac-footer-bottom {
    padding-top: 16px;
}

.pac-footer-v2 .pac-footer-credit,
.pac-footer-v2 .pac-footer-credit a {
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    color: #ada4bd;
}

.pac-footer-v2 .pac-footer-credit a:hover {
    color: #fff;
}

@media (max-width: 700px) {
    .pac-footer-v2 .pac-footer-inner {
        padding: 36px 0 20px;
    }

    .pac-footer-v2 .pac-footer-main {
        row-gap: 22px;
        padding-bottom: 24px;
    }

    .pac-footer-v2 .pac-footer-social-card {
        min-height: 96px;
    }
}


/* STEP 108: FOOTER GRID ALIGNMENT */

@media (min-width: 1151px) {

    .pac-footer-v2 .pac-footer-main {
        grid-template-columns:
            155px
            82px
            112px
            112px
            95px
            374px;
        justify-content: space-between;
        align-items: start;
        column-gap: 12px;
        row-gap: 0;
    }

    .pac-footer-v2 .pac-footer-socials {
        display: grid;
        grid-template-columns: repeat(3, 120px);
        gap: 7px;
        width: 374px;
        max-width: 100%;
        margin: 0;
        padding: 0;
        align-self: start;
    }

    .pac-footer-v2 .pac-footer-social-card {
        box-sizing: border-box;
        width: 120px;
        height: 136px;
        min-height: 136px;
        padding: 13px 11px;
        border-radius: 16px;
    }

}

@media (min-width: 701px) and (max-width: 1150px) {

    .pac-footer-v2 .pac-footer-main {
        grid-template-columns:
            145px
            repeat(4, minmax(80px, 1fr));
        gap: 18px;
    }

    .pac-footer-v2 .pac-footer-socials {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 120px);
        gap: 7px;
        width: max-content;
        max-width: 100%;
    }

    .pac-footer-v2 .pac-footer-social-card {
        width: 120px;
        height: 136px;
        min-height: 136px;
    }

}

@media (max-width: 700px) {

    .pac-footer-v2 .pac-footer-socials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
        max-width: none;
    }

    .pac-footer-v2 .pac-footer-social-card {
        width: 100%;
        height: 124px;
        min-height: 124px;
        padding: 11px 9px;
    }

}


/* STEP 112: CONTACT PAGE */

.pac-contact-page {
    background: #f6f6ff;
    color: #160d21;
}

.pac-contact-hero {
    min-height: 380px;
    background:
        radial-gradient(ellipse at 74% 80%,
            rgba(103,116,229,.38), transparent 54%),
        linear-gradient(110deg,#160019 0%,#24103b 55%,#302650 100%);
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    padding: 85px 24px 75px;
}

.pac-contact-hero-beam {
    position: absolute;
    z-index: -1;
    width: 95%;
    height: 190%;
    left: 29%;
    top: -48%;
    transform: rotate(-39deg);
    background: linear-gradient(90deg,
        rgba(70,48,148,.18),
        rgba(91,108,227,.78),
        rgba(137,164,255,.38));
    border-left: 1px solid rgba(130,139,255,.65);
    border-right: 1px solid rgba(162,185,255,.85);
    pointer-events: none;
}

.pac-contact-hero-inner {
    max-width: 850px;
    position: relative;
}

.pac-contact-eyebrow,
.pac-contact-kicker {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .035em;
}

.pac-contact-hero h1 {
    margin: 19px 0 14px;
    font-size: clamp(43px,5vw,70px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.055em;
    color: #fff;
}

.pac-contact-hero p {
    max-width: 540px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

.pac-contact-details {
    padding: 76px 0 65px;
}

.pac-contact-details-inner {
    width: min(calc(100% - 64px),1152px);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: 88px;
}

.pac-contact-kicker {
    color: #4940dd;
    margin-bottom: 20px;
}

.pac-contact-information h2 {
    font-size: clamp(30px,3vw,42px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.045em;
    margin: 0 0 22px;
}

.pac-contact-intro {
    color: #6d7080;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 16px;
}

.pac-contact-hours {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 22px;
}

.pac-contact-hours small {
    display: block;
    font-size: 12px;
    color: #777887;
    margin-top: 4px;
}

.pac-contact-lines {
    border-top: 1px solid #d9d9e3;
    padding-top: 24px;
    display: grid;
    gap: 19px;
}

.pac-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.pac-contact-line > span {
    color: #4940dd;
    font-size: 11px;
    padding-top: 3px;
}

.pac-contact-line a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.pac-contact-line a:hover {
    color: #4940dd;
}

.pac-contact-map {
    height: 470px;
    border-radius: 16px;
    overflow: hidden;
    background: #e9e9f2;
}

.pac-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pac-contact-page .pac-contact-booking {
    padding-top: 10px;
}

.pac-contact-page .pac-contact-services {
    padding-top: 75px;
    padding-bottom: 75px;
}

@media (max-width: 900px) {
    .pac-contact-details-inner {
        gap: 35px;
    }
}

@media (max-width: 700px) {
    .pac-contact-hero {
        min-height: 330px;
        padding: 85px 20px 55px;
    }

    .pac-contact-hero h1 {
        font-size: clamp(38px,10vw,54px);
    }

    .pac-contact-details {
        padding: 55px 0 40px;
    }

    .pac-contact-details-inner {
        width: min(calc(100% - 36px),1152px);
        grid-template-columns: minmax(0,1fr);
        gap: 35px;
    }

    .pac-contact-map {
        height: 350px;
    }

    .pac-contact-page .pac-contact-services {
        padding-top: 45px;
        padding-bottom: 50px;
    }
}

/* STEP 116B: CONTACT VISUAL REFINEMENT */

/* Narrow, softly illuminated Framer-style diagonal beam */
.pac-contact-page .pac-contact-hero {
    background:
        radial-gradient(
            ellipse at 76% 82%,
            rgba(74,75,160,.25) 0%,
            transparent 55%
        ),
        linear-gradient(
            110deg,
            #160019 0%,
            #21102e 55%,
            #2a2146 100%
        );
}

.pac-contact-page .pac-contact-hero-beam {
    width: 46%;
    height: 210%;
    left: 45%;
    top: -55%;
    transform: rotate(-39deg);
    background: linear-gradient(
        90deg,
        rgba(71,66,155,.08) 0%,
        rgba(83,94,202,.48) 27%,
        rgba(110,132,243,.68) 55%,
        rgba(100,112,213,.34) 80%,
        rgba(80,76,156,.06) 100%
    );
    border-left: 1px solid rgba(139,149,245,.25);
    border-right: 1px solid rgba(151,171,255,.5);
}

/* Replace placeholder bullets with aligned SVG icons */
.pac-contact-page .pac-contact-line {
    align-items: flex-start;
    gap: 14px;
}

.pac-contact-page .pac-contact-icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #4940dd;
    margin-top: 1px;
}

/* Reduce unnecessary spacing within the appointment panel */
.pac-contact-page .pac-contact-booking
.pac-book-visit-content {
    margin-bottom: 21px;
}

.pac-contact-page .pac-contact-booking
.pac-book-visit-shell {
    padding-top: 38px;
}

.pac-contact-page .pac-contact-booking
.pac-book-visit-content h2 {
    margin-bottom: 13px;
}

@media (max-width: 700px) {
    .pac-contact-page .pac-contact-hero-beam {
        width: 80%;
        height: 170%;
        left: 42%;
        top: -35%;
    }

    .pac-contact-page .pac-contact-booking
    .pac-book-visit-shell {
        padding-top: 35px;
    }

    .pac-contact-page .pac-contact-booking
    .pac-book-visit-content {
        margin-bottom: 22px;
    }
}

/* STEP 119B: DOCTOR CONTACT INFORMATION */

.pac-doctor-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 15px;
    margin: 25px 0 30px;
}

.pac-doctor-contact-grid a,
.pac-doctor-contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    color: #4940dd;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.pac-doctor-contact-grid a:hover {
    text-decoration: underline;
}

.pac-doctor-contact-grid svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
}

.pac-doctor-contact-grid span {
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .pac-doctor-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
    }
}

/* STEP 120B-2: DOCTOR PROFILE HEADER */

/* Keep the global header in normal document flow on doctor pages. */
body:has(.pac-doctor-profile) .pac-header:not(.pac-header-scrolled) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: #fff;
    border-bottom: 1px solid #eeeef4;
}

/* Use the dark clinic logo against the white header. */
body:has(.pac-doctor-profile) .pac-header .pac-logo-light {
    display: none;
}

body:has(.pac-doctor-profile) .pac-header .pac-logo-dark {
    display: block;
}

/* Restore a clearly visible appointment button. */
body:has(.pac-doctor-profile) .pac-header .pac-header-cta {
    background: #11081c;
    color: #fff;
    border-radius: 60px;
    text-decoration: none;
}

/* Maintain the same header appearance after scrolling. */
body:has(.pac-doctor-profile) .pac-header.pac-header-scrolled {
    background: #fff;
}

/* Give the breadcrumb appropriate space below the header. */
body:has(.pac-doctor-profile) .pac-doctor-hero {
    padding-top: 48px;
}

@media (max-width: 767px) {
    body:has(.pac-doctor-profile) .pac-doctor-hero {
        padding-top: 28px;
    }
}
