/*
Theme Name: Perfect Aesthetic Clinic
Theme URI: https://perfectaestheticclinic.com/
Author: Iretura Limited
Description: Custom WordPress theme for Perfect Aesthetic Clinic.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: perfect-aesthetic-clinic
*/

:root {
    --pac-purple: #6d368d;
    --pac-purple-dark: #47205e;
    --pac-white: #ffffff;
    --pac-text: #25212a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--pac-text);
    background: var(--pac-white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: var(--pac-purple);
}

.pac-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* Homepage foundation — v0.2 */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.pac-skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 1000;
    padding: 12px;
    background: white;
}

.pac-skip-link:focus {
    top: 12px;
}

.pac-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee8f0;
}

.pac-header-inner {
    max-width: 1440px;
    margin: auto;
    padding: 16px 5%;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.pac-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

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

.pac-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 40px);
}

.pac-navigation a {
    font-size: 14px;
    font-weight: 600;
    color: #302936;
    text-decoration: none;
    transition: color .2s ease;
}

.pac-navigation a:hover {
    color: #763e93;
}

.pac-header-cta,
.pac-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 17px 24px;
    background: #71398d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.pac-header-cta:hover,
.pac-button-primary:hover {
    background: #4b2363;
    color: #fff;
}

.pac-menu-toggle {
    display: none;
}

.pac-hero {
    overflow: hidden;
    background: #f5eff7;
}

.pac-hero-content {
    max-width: 1600px;
    min-height: 680px;
    margin: auto;
    display: grid;
    grid-template-columns: 50% 50%;
}

.pac-hero-copy {
    padding: clamp(65px, 8vw, 140px) 6% 90px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pac-eyebrow,
.pac-section-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #75418e;
}

.pac-hero h1 {
    max-width: 750px;
    margin: 30px 0;
    font-size: clamp(58px, 6.2vw, 105px);
    font-weight: 600;
    line-height: .99;
    letter-spacing: -.065em;
    color: #24182d;
}

.pac-hero h1 em {
    display: block;
    font-weight: 400;
    font-style: normal;
    color: #874ba2;
}

.pac-hero-description {
    max-width: 480px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #615969;
}

.pac-hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.pac-text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 7px;
}

.pac-hero-visual {
    position: relative;
    min-height: 650px;
    background: #e9dce9;
}

.pac-hero-image-wrap {
    position: absolute;
    inset: 0;
}

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

.pac-hero-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 32px;
    background: #fff;
    color: #3b2546;
    font-size: 13px;
    font-weight: 700;
}

.pac-caption-symbol {
    font-size: 28px;
    color: #874ba2;
}

.pac-section-inner {
    max-width: 1320px;
    margin: auto;
    padding: 110px 5%;
}

.pac-intro {
    background: #fff;
}

.pac-intro .pac-section-inner {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 20px;
}

.pac-intro h2,
.pac-next-section h2,
.pac-anchor-section h2 {
    margin: 0;
    max-width: 950px;
    font-size: clamp(36px, 4.3vw, 65px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -.045em;
}

.pac-intro h2 span {
    color: #8d58a3;
}

.pac-intro-content > p {
    max-width: 600px;
    margin: 30px 0;
    font-size: 17px;
    line-height: 1.85;
    color: #6a626d;
}

.pac-next-section {
    background: #f5eff7;
}

.pac-next-section h2 {
    margin-top: 24px;
}

.pac-anchor-section {
    border-top: 1px solid #eee;
}

@media (max-width: 1050px) {
    .pac-header-inner {
        min-height: 84px;
    }

    .pac-brand img {
        width: 155px;
    }

    .pac-navigation {
        gap: 16px;
    }

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

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

    .pac-brand img {
        width: 145px;
    }

    .pac-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .pac-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: #432550;
    }

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

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

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

    .pac-hero-copy {
        padding: 75px 6% 70px;
    }

    .pac-hero h1 {
        font-size: clamp(54px, 12vw, 80px);
    }

    .pac-hero-visual {
        min-height: 480px;
    }

    .pac-section-inner {
        padding: 75px 6%;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* Step 22 — services and featured patient experience */

.pac-services {
    background: #ffffff;
}

.pac-services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 55px;
}

.pac-services-heading > div {
    max-width: 750px;
}

.pac-services-heading h2 {
    margin: 25px 0 0;
    font-size: clamp(40px, 4.7vw, 72px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.05em;
    color: #25172d;
}

.pac-services-heading h2 span {
    color: #8751a0;
}

.pac-services-heading > p {
    max-width: 350px;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.8;
    color: #6a606e;
}

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

.pac-service-card {
    min-height: 330px;
    padding: 35px;
    background: #f5eff7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #281a30;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

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

.pac-service-card:hover {
    background: #e7d8ed;
    transform: translateY(-3px);
}

.pac-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid #b9a2c5;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #75408e;
}

.pac-service-bottom {
    position: relative;
    padding-right: 50px;
}

.pac-service-bottom h3 {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.7vw, 39px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.pac-service-bottom p {
    max-width: 390px;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #665a6b;
}

.pac-service-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 25px;
    color: #75408e;
}

.pac-featured {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 620px;
    background: #eee5f2;
}

.pac-featured-image {
    min-height: 520px;
    overflow: hidden;
}

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

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

.pac-featured-copy h2 {
    margin: 28px 0;
    font-size: clamp(38px, 4.2vw, 65px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.05em;
    color: #291832;
}

.pac-featured-copy h2 span {
    color: #88509e;
}

.pac-featured-copy > p {
    max-width: 500px;
    margin: 0 0 35px;
    font-size: 17px;
    line-height: 1.8;
    color: #675c6a;
}

@media (max-width: 900px) {
    .pac-services-heading {
        display: block;
    }

    .pac-services-heading > p {
        margin-top: 24px;
        max-width: 550px;
    }

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

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

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

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

    .pac-service-card {
        min-height: 280px;
        padding: 28px;
    }

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

    .pac-featured-image {
        min-height: 320px;
    }
}

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


/* Step 22B — team, patient journey and appointment */

.pac-team {
    background: #fff;
}

.pac-team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
}

.pac-team-copy h2,
.pac-process-heading h2,
.pac-appointment h2 {
    margin: 26px 0;
    font-size: clamp(42px, 4.6vw, 70px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.1;
    color: #291832;
}

.pac-team-copy h2 span,
.pac-process-heading h2 span,
.pac-appointment h2 span {
    color: #8751a0;
}

.pac-team-copy > p,
.pac-process-heading > p,
.pac-appointment p {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.85;
    color: #6a606e;
}

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

.pac-team-name h3 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 600;
    color: #2e1c38;
}

.pac-team-name p {
    margin: 0;
    color: #806a89;
}

.pac-team-photo {
    min-height: 540px;
    background: #f1e8f4;
}

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

.pac-process {
    background: #f5eff7;
}

.pac-process-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}

.pac-process-heading h2 {
    max-width: 720px;
}

.pac-process-heading > p {
    max-width: 350px;
}

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

.pac-process-item {
    padding: 30px 24px;
    min-height: 260px;
    background: white;
}

.pac-process-item > span {
    display: block;
    margin-bottom: 55px;
    font-size: 13px;
    font-weight: 700;
    color: #8a52a1;
}

.pac-process-item h3 {
    margin: 0 0 15px;
    font-size: 23px;
    font-weight: 600;
    color: #301b3b;
}

.pac-process-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6b6070;
}

.pac-appointment {
    background: #e9dbef;
    text-align: center;
}

.pac-appointment .pac-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pac-appointment h2 {
    max-width: 900px;
}

.pac-appointment p {
    max-width: 590px;
    margin: 0 0 35px;
}

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

    .pac-team-layout {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .pac-team-layout {
        grid-template-columns: 1fr;
    }

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

    .pac-process-heading {
        display: block;
    }

    .pac-process-heading > p {
        max-width: 100%;
    }
}

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

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

    .pac-process-item > span {
        margin-bottom: 35px;
    }
}
