/*
Theme Name: Hair Master
Theme URI: https://example.com/
Author: Hair Master
Description: Premium landing page WordPress theme for hair extension courses.
Version: 1.0.0
Text Domain: hair-master
*/

:root {
    --dark: #25211e;
    --dark-2: #312a26;
    --cream: #f8f5f0;
    --cream-2: #eee8df;
    --beige: #ded3c5;
    --gold: #b79667;
    --gold-light: #d2b98f;
    --brown: #785d49;
    --white: #fff;
    --muted: #77716b;
    --border: rgba(37,33,30,.12);
    --title: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dark);
    background: var(--cream);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 30px;
    height: 1px;
    background: currentColor;
}

.eyebrow--light {
    color: var(--gold-light);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading h2,
.result__content h2,
.teacher__content h2,
.faq__heading h2 {
    margin: 0;
    font-family: var(--title);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.section-heading h2 em,
.result__content h2 em,
.teacher__content h2 em,
.faq__heading h2 em {
    color: var(--gold);
    font-style: italic;
}

.section-heading p {
    max-width: 560px;
    margin-top: 22px;
    color: var(--muted);
}

.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.button span {
    font-size: 20px;
    transition: .3s;
}

.button:hover span {
    transform: translateX(5px);
}

.button--dark {
    color: #fff;
    background: var(--dark);
}

.button--dark:hover {
    background: var(--gold);
}

.button--outline {
    border-color: var(--border);
}

.button--outline:hover {
    color: #fff;
    background: var(--dark);
}

.button--gold {
    width: 100%;
    color: #fff;
    background: var(--gold);
}

.button--gold:hover {
    background: var(--dark);
}

.button--light {
    color: var(--dark);
    background: #fff;
}

.button--light:hover {
    background: var(--gold-light);
}

.button--outline-dark {
    width: 100%;
    border-color: var(--dark);
    color: var(--dark);
    background: transparent;
}

.button--outline-dark:hover {
    color: #fff;
    background: var(--dark);
}


/* HEADER */

.header {
    position: absolute;
    z-index: 50;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: .3s;
}

.header.scrolled {
    position: fixed;
    color: var(--dark);
    background: rgba(248,245,240,.94);
    border-color: rgba(37,33,30,.08);
    backdrop-filter: blur(10px);
}

.header__inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .14em;
}

.logo span {
    color: var(--gold);
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 30px;
    font-size: 12px;
}

.nav a {
    position: relative;
}

.nav a:after {
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transition: .3s;
}

.nav a:hover:after {
    width: 100%;
}

.header__button {
    padding: 12px 22px;
    color: #fff;
    background: var(--dark);
    font-size: 11px;
    font-weight: 700;
}

.burger {
    display: none;
    border: 0;
    background: transparent;
}

.burger span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 5px;
    background: var(--dark);
}


/* HERO */

.hero {
    min-height: 820px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 30%, #e8ddd0 0, transparent 35%),
        var(--cream);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding-top: 80px;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    font-family: var(--title);
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    line-height: .99;
    letter-spacing: -.045em;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.hero__text {
    max-width: 570px;
    margin: 30px 0;
    color: var(--muted);
    font-size: 17px;
}

.hero__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 45px;
    margin-top: 50px;
}

.hero__stats strong,
.hero__stats span {
    display: block;
}

.hero__stats strong {
    font-family: var(--title);
    font-size: 28px;
    font-weight: 500;
}

.hero__stats span {
    color: var(--muted);
    font-size: 11px;
}

.hero__visual {
    position: relative;
    min-height: 620px;
}

.hero__image {
    position: absolute;
    inset: 20px 30px 0 60px;
    overflow: hidden;
    background: linear-gradient(145deg,#c6b6a6,#806957);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.8);
}

.hero__placeholder span {
    font-family: var(--title);
    font-size: 55px;
}

.hero__placeholder strong {
    font-size: 14px;
    letter-spacing: .4em;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 20px 50px rgba(47,35,25,.12);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card span {
    color: var(--muted);
    font-size: 10px;
}

.floating-card--top {
    top: 80px;
    right: -10px;
}

.floating-card--bottom {
    bottom: 40px;
    left: 0;
}

.floating-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gold);
}

.avatar-group {
    display: flex;
}

.avatar-group span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin-right: -8px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    background: var(--brown);
    font-size: 10px;
}

.trust {
    padding: 22px 0;
    color: #d5cec6;
    background: var(--dark);
}

.trust__inner {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}


/* ABOUT */

.about {
    background: #fff;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1px;
    background: var(--border);
}

.about__card {
    min-height: 310px;
    position: relative;
    padding: 40px;
    background: #fff;
}

.about__card--large {
    background: #eee7de;
}

.card-number {
    color: var(--gold);
    font-size: 11px;
}

.about__card h3 {
    margin-top: 80px;
    font-family: var(--title);
    font-size: 30px;
    font-weight: 500;
}

.about__card p {
    max-width: 290px;
    color: var(--muted);
    font-size: 14px;
}

.card-line {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 55px;
    height: 1px;
    background: var(--gold);
}


/* RESULT */

.result {
    background: var(--cream-2);
}

.result__grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    align-items: center;
    gap: 100px;
}

.result__visual {
    position: relative;
}

.result__image {
    aspect-ratio: .8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg,#baa99a,#725b4b);
}

.result__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result__placeholder {
    font-family: var(--title);
    font-size: 45px;
    text-align: center;
}

.result__label {
    position: absolute;
    right: -35px;
    bottom: 45px;
    padding: 18px 24px;
    color: #fff;
    background: var(--dark);
}

.result__label small,
.result__label strong {
    display: block;
}

.result__label small {
    color: var(--gold-light);
    font-size: 10px;
}

.result__content > p {
    max-width: 500px;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 17px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.check-list span {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
}


/* PROGRAM */

.program {
    background: #fff;
}

.program__list {
    max-width: 900px;
    margin: auto;
    border-top: 1px solid var(--border);
}

.program-item {
    border-bottom: 1px solid var(--border);
}

.program-item__header {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 0;
    color: var(--dark);
    background: #fff;
    text-align: left;
}

.program-item__header > div {
    display: flex;
    align-items: center;
    gap: 35px;
}

.program-item__header span {
    color: var(--gold);
    font-size: 11px;
}

.program-item__header strong {
    font-family: var(--title);
    font-size: 24px;
    font-weight: 500;
}

.program-item__header i {
    font-size: 24px;
    font-style: normal;
    transition: .3s;
}

.program-item.active .program-item__header i {
    transform: rotate(45deg);
}

.program-item__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: .4s;
}

.program-item.active .program-item__content {
    grid-template-rows: 1fr;
}

.program-item__content p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 75px 0 85px;
    color: var(--muted);
    font-size: 14px;
}

.program-item.active .program-item__content p {
    padding-bottom: 30px;
}


/* TEACHER */

.teacher {
    background: #e8dfd5;
}

.teacher__grid {
    display: grid;
    grid-template-columns: .85fr 1fr;
    align-items: center;
    gap: 100px;
}

.teacher__image {
    position: relative;
    aspect-ratio: .8;
    overflow: hidden;
    background: linear-gradient(145deg,#9b836f,#55443a);
}

.teacher__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.8);
    font-family: var(--title);
    font-size: 45px;
}

.teacher__experience {
    position: absolute;
    right: -25px;
    bottom: 35px;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--gold);
}

.teacher__experience strong {
    font-family: var(--title);
    font-size: 36px;
}

.teacher__experience span {
    font-size: 10px;
}

.teacher__lead {
    max-width: 520px;
    font-family: var(--title);
    font-size: 21px;
}

.teacher__content > p {
    color: var(--muted);
}

.teacher__stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.teacher__stats strong,
.teacher__stats span {
    display: block;
}

.teacher__stats strong {
    font-family: var(--title);
    font-size: 26px;
}

.teacher__stats span {
    color: var(--muted);
    font-size: 11px;
}


/* WORKS */

.works {
    background: #fff;
}

.works__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}

.work-card {
    overflow: hidden;
}

.work-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #fff;
    background: linear-gradient(145deg,#cdbca9,#806b5b);
}

.work-placeholder--dark {
    background: linear-gradient(145deg,#9e8975,#42352e);
}

.work-placeholder span {
    font-family: var(--title);
    font-size: 25px;
}


/* REVIEWS */

.reviews {
    background: var(--cream);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.review-card {
    padding: 35px;
    background: #fff;
}

.review-card--featured {
    color: #fff;
    background: var(--dark);
}

.review-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--gold);
}

.review-card__top strong,
.review-card__top span {
    display: block;
}

.review-card__top span {
    color: var(--muted);
    font-size: 10px;
}

.stars {
    margin: 25px 0 15px;
    color: var(--gold);
    letter-spacing: 4px;
}

.review-card p {
    min-height: 110px;
    font-family: var(--title);
    font-size: 20px;
}

.review-result {
    color: var(--gold);
    font-size: 10px;
    text-transform: uppercase;
}


/* BONUS */

.bonus {
    padding: 90px 0;
    color: #fff;
    background: var(--dark);
}

.bonus__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.bonus h2 {
    font-family: var(--title);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.05;
}

.bonus h2 em {
    color: var(--gold-light);
}

.bonus__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bonus__list div {
    min-height: 120px;
    padding: 22px 10px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.bonus__list span {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-light);
    font-size: 10px;
}

.bonus__list strong {
    font-size: 13px;
    font-weight: 500;
}


/* PRICING */

.pricing {
    background: #fff;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.price-card {
    position: relative;
    padding: 42px 32px 35px;
    border: 1px solid var(--border);
    background: #fff;
}

.price-card--featured {
    color: #fff;
    border-color: var(--dark);
    background: var(--dark);
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(35,28,23,.18);
}

.price-card__label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.price-card h3 {
    margin-top: 12px;
    font-family: var(--title);
    font-size: 32px;
    font-weight: 500;
}

.price-card p {
    min-height: 65px;
    color: var(--muted);
    font-size: 13px;
}

.price {
    display: flex;
    flex-direction: column;
    margin: 25px 0;
}

.price strong {
    font-family: var(--title);
    font-size: 34px;
    font-weight: 500;
}

.price del {
    color: var(--muted);
    font-size: 12px;
}

.price-card ul {
    min-height: 175px;
    display: grid;
    gap: 13px;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.popular {
    position: absolute;
    top: 0;
    right: 25px;
    padding: 8px 13px;
    color: var(--dark);
    background: var(--gold-light);
    font-size: 9px;
    font-weight: 800;
}


/* FAQ */

.faq {
    background: var(--cream-2);
}

.faq__grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px;
}

.faq__heading p {
    max-width: 400px;
    margin: 25px 0 35px;
    color: var(--muted);
}

.faq__list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item button {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    text-align: left;
}

.faq-item button span {
    font-family: var(--title);
    font-size: 20px;
}

.faq-item button i {
    color: var(--gold);
    font-size: 24px;
    font-style: normal;
    transition: .3s;
}

.faq-item.active button i {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: .4s;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    min-height: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
}

.faq-item.active .faq-answer p {
    padding-bottom: 25px;
}


/* CTA */

.final-cta {
    padding: 140px 0;
    color: #fff;
    background:
        radial-gradient(circle at 50% 50%,#5b493d,transparent 45%),
        var(--dark);
    text-align: center;
}

.final-cta .eyebrow {
    justify-content: center;
}

.final-cta h2 {
    font-family: var(--title);
    font-size: clamp(45px,6vw,75px);
    font-weight: 500;
    line-height: 1;
}

.final-cta h2 em {
    color: var(--gold-light);
}


/* FOOTER */

.footer {
    padding: 45px 0 25px;
    color: #aaa39d;
    background: #1b1816;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__links {
    display: flex;
    gap: 30px;
    font-size: 11px;
}

.footer__socials {
    display: flex;
    gap: 8px;
}

.footer__socials a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 9px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    font-size: 9px;
}


/* MODAL */

.modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,12,10,.72);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    z-index: 2;
    width: min(500px,100%);
    max-height: 90vh;
    overflow: auto;
    padding: 45px;
    background: var(--cream);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    background: transparent;
    font-size: 30px;
}

.modal__content h2 {
    margin: 0;
    font-family: var(--title);
    font-size: 45px;
    font-weight: 500;
}

#contactForm {
    display: grid;
    gap: 16px;
}

#contactForm label {
    display: grid;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
}

#contactForm input {
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border);
    outline: 0;
    background: #fff;
}

#contactForm small {
    color: var(--muted);
    font-size: 9px;
    text-align: center;
}


/* RESPONSIVE */

@media(max-width:900px) {

    .section {
        padding: 80px 0;
    }

    .nav {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
        background: var(--cream);
        transform: translateY(-150%);
        transition: .3s;
    }

    .nav.active {
        transform: translateY(0);
    }

    .header__button {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero__grid,
    .result__grid,
    .teacher__grid,
    .faq__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__visual {
        min-height: 550px;
    }

    .about__grid,
    .reviews__grid,
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .price-card--featured {
        transform: none;
    }

    .works__grid {
        grid-template-columns: 1fr 1fr;
    }

    .work-card:first-child {
        grid-column: span 2;
    }

    .bonus__inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer__top {
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media(max-width:600px) {

    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 450px;
    }

    .hero__image {
        inset: 0 20px;
    }

    .floating-card--top {
        right: -5px;
        top: 25px;
    }

    .floating-card--bottom {
        left: -5px;
        bottom: 20px;
    }

    .section-heading h2,
    .result__content h2,
    .teacher__content h2,
    .faq__heading h2 {
        font-size: 43px;
    }

    .program-item__header > div {
        gap: 15px;
    }

    .program-item__header strong {
        font-size: 18px;
    }

    .program-item__content p {
        padding-left: 45px;
        padding-right: 20px;
    }

    .works__grid {
        grid-template-columns: 1fr;
    }

    .work-card:first-child {
        grid-column: auto;
    }

    .bonus h2 {
        font-size: 43px;
    }

    .bonus__list {
        grid-template-columns: 1fr;
    }

    .footer__top,
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .modal__content {
        padding: 35px 22px;
    }
}