@font-face {
    font-family: "DM Serif Display";
    src: url("../fonts/DMSerifDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F2EDE3;
    --secondary-color: #FAF8F4;
    --tertiary-color: #D5CDC0;
    --font-color: #2C3B43;
    --cta-color: #F95B5C;
    --primary-accent-color: #FABB04;
    --secondary-accent-color: #C8A45C;
}

html {
    font-size: 16px;
}

body {
    font-family: "Manrope";
    letter-spacing: -0.48px;
    background-color: var(--primary-color);
    color: var(--font-color);
}

main {
    overflow-x: clip;
}

.appt-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.appt-details {
    flex: 1 1 20rem;
    min-width: 0;
    max-width: 530px;
}

.appt-section > iframe {
    flex: 1 1 26rem;
    min-width: 0;
    max-width: 644px;
    height: 760px;
    border: 1px solid var(--secondary-accent-color);
    border-radius: 16px;
    background-color: var(--tertiary-color);
}

a {
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-article .article-section > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 2rem auto;
}

h1,
h2,
h3 {
    font-family: "DM Serif Display";
    line-height: 1;
    opacity: 0.9;
}

h1,
h2 {
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

a,
ul li {
    font-family: "Manrope";
    line-height: 1.44;
    text-box: trim-both cap alphabetic;
}

p,
.article-list {
    opacity: 0.7;
    margin-bottom: 2rem;
}

header,
footer,
.section-frame.know-before {
    background:
        url("/assets/images/texture-background.webp")
        center / cover
        no-repeat;
    color: var(--secondary-color);
}

header {
    position: relative;
    border-bottom: 3px solid var(--primary-accent-color);
    z-index: 10;
}

header a,
footer a {
    color: var(--secondary-color);
}

header img {
    width: clamp(
        9.375rem,
        calc(7.713rem + 5.319vw),
        12.5rem
    );
    height: auto;
}

.header-nav {
    display: flex;
    align-self: stretch;
}

.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    display: flex;
    gap: clamp(1rem, calc(-0.25rem + 2.5vw), 2rem);
    list-style-type: none;
}

.header-nav > ul > li {
    display: flex;
}

.header-nav > ul > li > a {
    display: flex;
    align-items: center;
}

.header-nav > ul > li > a:hover {
    color: var(--primary-accent-color);
}

section,
.header-content {
    padding: 4rem;
    width: 100%;
    max-width: 90rem;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:
        clamp(0.5rem, calc(0.234rem + 0.851vw), 1rem)
        clamp(1.5rem, calc(0.17rem + 4.255vw), 4rem);
    padding-block: 0;
}

.header-content > a,
.header-content > .mobile-menu-button {
    margin-block: clamp(0.5rem, calc(0.234rem + 0.851vw), 1rem);
}

.dark-section {
    max-width: none;
    background-color: var(--tertiary-color);
}

.dark-section .section-frame {
    width: 100%;
    max-width: 82rem;
    margin-inline: auto;
    background-color: var(--primary-color);
}

.open-section-heading {
    max-width: 420px;
    margin: 0 auto;
}

.btn {
    display: block;
    width: fit-content;
    background-color: var(--cta-color);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 800px;
    font-weight: 500;
}

.btn:hover {
    background-color: #df4141;
}

.header-btn {
    background-color: var(--secondary-color);
    color: var(--font-color);
    border: 1px solid var(--font-color)
}

.header-btn:hover {
    background-color: #df4141;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 32px;
    height: 2px;
    background: currentColor;
}

.section-frame {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
    background-color: var(--secondary-color);
}

.frame-body {
    margin: 24px;
    padding: 40px 24px;
    border-radius: 16px;
    border: 1px solid rgba(200, 164, 92, 0.3);
}

.frame-text {
    position: relative;
    max-width: 26.125rem;
    margin: 0 auto;
    z-index: 1;
}

.frame-img,
.frame-body {
    position: relative;
}

.frame-img:not(.hero-img)::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(200, 164, 92, 0.3);
    border-radius: 1rem;
    inset: 0;
    margin: 1.5rem;
}

.frame-img img {
    position: absolute;
    inset: 0;
    border-radius: 0 16px 16px 0;
}

.section-frame.know-before {
    display: flex;
    max-width: 861px;
    margin: 0 auto;
}

.frame-text.know-before-text {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    text-align: left;
}

.know-before > .appt-details {
    display: flex;
    flex: 0 0 138px;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 24px 24px 24px 0;
    border: 1px solid rgba(200, 164, 92, 0.3);
    border-radius: 16px;
}

.know-before > .appt-details > .detail {
    width: 100%;
    text-align: center;
}

.know-before > .appt-details > .detail img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    opacity: 0.9;
}

.know-before > .appt-details > .detail p {
    width: 100%;
    margin: 0;
    font-size: 0.875rem;
}

.about-mahajan img {
    object-position: center 20%;
    border-radius: 16px 0 0 16px;
}

.hero-flower {
    position: absolute;
    width: 429.35px;
    height: 501.64;
    top: -70px;
    left: -90px;
    z-index: 1;
}

.about-mahajan .frame-body img {
    position: absolute;
    height: 333.84px;
    width: 362.97px;
    top: -95px;
    right: -56px;
}

.card-section:has(+ .card-section) {
    border-bottom: 1px solid rgba(200, 164, 92, 0.3);
}

.card-section-heading,
.faq-section-heading {
    text-align: center;
    max-width: 448px;
    margin: 0 auto;
}

.card-section-heading .btn {
    margin: 32px auto 48px auto;
}

.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 32px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    padding: 24px;
}

.review-card p {
    margin: 0;
}

.review-card img {
    height: 56px;
    width: 56px;
}

figcaption {
    display: flex;
    gap: 16px;
    font-weight: bold;
}

.review-card .reviewer {
    opacity: 0.9;
}

.review-card .stars {
    font-size: 32px;
    color: var(--primary-accent-color);
}

.hero-frame {
    min-height: 568px;
    border-bottom-left-radius: 0;
}

.hero-img img {
    border-radius: 0 16px 0 16px;
}

.hero-body {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.sub-hero > .hero-body {
    margin-bottom: 24px;
}

.sub-hero > .hero-img img {
    border-radius: 0 16px 16px 0;
}

.sub-hero {
    border-radius: 16px;
}

.hero-text {
    text-align: center;
    max-width: 540px;
    z-index: 2;
}

.hero-text p:not(.eyebrow) {
    max-width: 458px;
    font-size: 18px;
    margin: 0 auto 0 auto;
}

.frame-text.know-before-text > p {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.know-before-steps, 
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding-inline-start: 3rem;
    list-style-position: outside;
}

.frame-body > .frame-text > ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding-inline-start: 3rem;
    list-style-position: outside;
    opacity: 0.7;
}

.eyebrow {
    margin-bottom: 16px;
}

.hero-text .btn {
    width: 244px;
    margin: 32px auto 24px auto;
}

.hero-trust-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 24px;
    padding: 24px;
    background-color: var(--secondary-color);
    border-radius: 0 0 16px 16px;
}

.insurance-trust-strip {
    grid-column: 1 / -1;
}

.trust-item {
    text-align: center;
}

.trust-item span {
    font-weight: bold;
}

.trust-item p {
    margin-bottom: 0;
    font-size: 14px;
}

.trust-item img {
    width: 45px;
    height: 45px;
    margin: 0 auto 8px auto;
    opacity: 0.7;
}

.social-list {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
}

.insurance-frame {
    max-width: 1086px;
    margin: 0 auto;
}

.insurance-frame > img {
    width: 312px;
    height: 217px;
    align-self: center;
    margin: 86px auto;
}

.insurance-frame .frame-body {
    margin-bottom: 0;
}

.insurance-frame .frame-body img {
    position: absolute;
    height: 413.52px;
    width: 359.51px;
    top: -80px;
    right: -150px;
}

.insurance-trust-strip {
    padding-block: 24px;
}

.insurance-trust-strip img {
    width: 120px;
    height: 48px;
    object-fit: contain;
}

.service-card {
    width: 310px;
    height: 398px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    transition: transform 0.7s, box-shadow 0.7s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 10px #dac59c;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    text-shadow: 0 0 4px rgb(0 0 0 / 60%);
}

.service-card p {
    margin-bottom: 0;
    color: var(--font-color);
    opacity: 0.7;
}

.service-top {
    position: relative;
    height: 300px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-accent-color);
    background-color: var(--primary-accent-color);
}

.service-title {
    position: absolute;
    z-index: 1;
    left: 24px;
    bottom: 0;
    white-space: pre-line;
}

.service-bottom {
    padding: 12px 24px 24px 24px;
}

.frame-body .aesthetics-flower {
    position: absolute;
    width: 501.62px;
    height: auto;
    left: -70px;
    bottom: -150px;
    object-fit: contain;
    z-index: 0;
}

.featured-services {
    display: flex;
    gap: 24px;
    padding: 24px 24px 24px 0;
}

.featured-services .service-card {
    height: 495px;
}

.featured-services .service-card .service-top {
    height: 396px;
}

.page-article > .article-section {
    max-width: 871px;
    padding-block: 0;
    padding-block: 0;
}

.article-section > p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-article {
    display: grid;
    row-gap: 32px;
}

.page-article > hr {
    width: 100%;
    height: 0;
    margin: 0 auto;
    border: 0;
    border-top: 1px solid rgba(200, 164, 92, 0.3);
    max-width: 845px;
}

.know-before-section {
    padding-top: 0;
}

.know-before-section.hard-coded {
    margin-top: 32px;
}

.frame-text.know-before-text p,
.know-before-steps {
    font-size: 1rem;
    opacity: 0.7;
}

footer {
    border-top: 3px solid var(--primary-accent-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-inline: 1rem;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-logo {
    width: 148px;
    height: auto;
    margin-bottom: 24px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    white-space: nowrap;
}

.footer-column {
    border: 1px solid rgba(200, 164, 92, 0.3);
    border-radius: 16px;
    padding: 24px;
    max-width: 231px;
}

.footer-content h2 {
    font-family: "Manrope";
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-accent-color);
}

.footer-content ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style-type: none;
}

.footer-end {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 400;
    text-align: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.footer-end a {
    color: var(--cta-color);
}

.day {
    padding-right: 20px;
    text-align: right;
}

.faq-section {
    max-width: 845px;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

details {
    border-bottom: 1px solid rgba(200, 164, 92, 0.3);
}

summary.question {
    font-family: "DM Serif Display";
    font-size: 1.5rem;
    opacity: 0.9;
    display: list-item;
    list-style-position: outside;
    margin-inline-start: 1em;
}

p.answer {
    font-family: "Manrope";
    font-size: 1rem;
    margin-block: 0.5rem 1rem;
    padding-left: 1.5rem;
}

.emface-before-and-after {
    display: flex;
    margin-top: 32px;
}

.insurance-providers {
        display: flex;
}

.insurance-providers > .article-list {
    margin: 0;
}

.article-list.pillars {
    gap: 2rem;
}

.article-section > .btn {
    margin-top: 2rem;
}

.has-dropdown {
    position: relative;
}

.dropdown,
.submenu {
    position: absolute;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    background-color: var(--secondary-color);
    border-top: 3px solid var(--primary-accent-color);
    box-shadow: 0 5px 5px rgba(200, 164, 92, 0.3);
    top: 100%;
}

.dropdown > li,
.submenu > li {
    width: 100%;
}

.dropdown > li > a,
.submenu > li > a {
    display: block;
    width: 100%;
    color: var(--font-color);
    opacity: 0.7;
    padding: 16px 24px;
}

.dropdown > li > a:hover,
.submenu > li > a:hover {
    opacity: 1;
    background-color: var(--primary-color);
}

.has-dropdown:hover .dropdown,
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    left: 100%;
    top: -3px;
}

.submenu-toggle {
    display: none;
}

.page-article > .article-section > img {
    display: none;
}

@media (max-width: 1396px) {
    .section-frame.aesthetics-frame {
        grid-template-columns: minmax(0, 1fr);
        max-width: 60rem;
    }

    .featured-services {
        justify-content: center;
    }
}

@media (max-width: 796px) {
    .hero-trust-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .page-article > .article-section > img {
        display: block;
        border-radius: 16px;
        margin: 0;
        margin-bottom: 2rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }

    .mobile-menu-button {
        order: 2;
    }

    .header-nav {
        order: 3;
        flex-basis: 100%;
        background-color: var(--primary-color);
        border-radius: 0.75rem;
        margin-block: 1.5rem;
    }

    header.menu-open .header-nav {
        display: block;
    }

    header.menu-open .header-btn {
        display: block;
        order: 4;
        margin-block: 1rem;
        background-color: var(--cta-color);
        color: var(--secondary-color);
        margin: 0.5rem  0 2rem 0;
    }

    .header-nav > ul {
        display: block;
    }

    .header-nav li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .header-nav li > a {
        flex: 1;
        min-width: 0;
        padding: 1rem;
        color: var(--font-color);
        opacity: 1;
    }

    .header-nav > ul > li > a:hover {
        color: var(--font-color);
    }

    /* Replace the desktop dropdown positioning on mobile. */
    .header-nav .dropdown,
    .header-nav .submenu {
        position: static;
        display: none;
        flex: 0 0 100%;
        padding-left: 1rem;
        white-space: normal;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .header-nav .submenu-toggle[aria-expanded="true"] + ul {
        display: flex;
    }

    .submenu-toggle {
        display: flex;
        flex: 0 0 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border: 0;
        background: none;
        color: var(--font-color);
        cursor: pointer;
    }

    .submenu-toggle::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .submenu-toggle[aria-expanded="true"]::after {
        transform: rotate(225deg);
    }

    .header-nav a:focus-visible,
    .submenu-toggle:focus-visible,
    .mobile-menu-button:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }
    
    .header-nav,
    .header-btn {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    section {
        padding: 4rem 2.5rem;
    }

    .section-frame {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-frame .frame-img {
        aspect-ratio: 4 / 3;
    }

    .section-frame .frame-img img {
        border-radius: 16px 16px 0 0;
    }

    .hero-section .hero-frame {
        border-radius: 16px 16px 0 0;
    }

    .hero-section .frame-img.hero-img {
        display: none;
    }

    .hero-frame.sub-hero {
       border-radius: 16px;
    }

    .aesthetics-section .featured-services {
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        padding: 24px;
    }

    .aesthetics-section .featured-services .service-card {
        flex: 1 1 280px;
        width: 100%;
        max-width: 310px;
    }

    .know-before {
        flex-direction: column;
    }

    .know-before-body {
        margin-bottom: 0;
    }

    .know-before > .appt-details {
        flex-direction: row;
        align-items: center;
        border: none;
        margin: 0;
    }

    .section-frame.know-before > .frame-body.know-before-body {
        margin-bottom: 0;
    }
}

@media (max-width: 500px) {
    section {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    summary.question {
        font-size: 1.25rem;
    }

    .hero-trust-strip.insurance-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    section:has(> .section-frame) {
        padding-inline: 0;
    }

    .frame-body,
    .frame-img:not(.hero-img)::after {
        margin: 16px;
        padding: 24px 16px;
    }

    .frame-body.hero-body {
        margin: 16px 16px 0 16px;
    }

    .sub-hero > .hero-body {
        margin: 16px 16px 16px 16px;
    }

    .section-frame,
    .hero-trust-strip,
    .section-frame.hero-frame,
    .section-frame .frame-img img {
        border-radius: 0;
    }

    .article-list {
        padding-inline-start: 1rem;
    }

    .insurance-providers {
        gap: 2rem;
    }

    .know-before {
        padding-top: 1rem;
    }
}