:root {

    --navy: #123a5a;
    --navy-dark: #0f3452;

    --blue: #178bd0;
    --blue-hover: #0f7cbd;

    --blue-light: #eaf6fd;
    --blue-light-2: #f5fbff;

    --text: #173b59;
    --text-light: #607d91;

    --white: #ffffff;

    --border: #dfeaf1;

    --yellow: #f3ad12;

    --container: 1320px;

    --radius: 28px;

    --shadow:
        0 20px 55px rgba(20, 60, 90, 0.08);

}



/* ----------------------------------------
   Reset
---------------------------------------- */

* {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    font-size: 16px;
    line-height: 1.65;

}


img {

    width: 100%;
    display: block;

}


a {

    color: inherit;
    text-decoration: none;

}


button,
input,
textarea {

    font: inherit;

}



/* ----------------------------------------
   Logo
---------------------------------------- */

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

.hairfixa-logo {
    display: block;
    width: auto;
    height: 88px;
    object-fit: contain;
}

.footer-brand-logo img {
    display: block;
    width: auto;
    height: 65px;
}



/* ----------------------------------------
   General
---------------------------------------- */

.container {

    width:
        min(
            calc(100% - 64px),
            var(--container)
        );

    margin:
        0
        auto;

}


.section {

    padding:
        110px
        0;

}


.eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

}


.eyebrow-light {

    color: rgba(255,255,255,.95);

}


h1,
h2,
h3,
h4,
p {

    margin-top: 0;

}


h1,
h2,
h3 {

    color: var(--navy);

}


h2 {

    margin-bottom: 24px;

    font-size:
        clamp(
            40px,
            3.2vw,
            56px
        );

    line-height: 1.08;

    letter-spacing: -1.5px;

}


h2 span {

    color: var(--blue);

}


.section-intro,
.section-heading p {

    color: var(--text-light);

    font-size: 17px;
    line-height: 1.8;

}


.section-heading {

    margin-bottom: 60px;

}


.section-heading.center {

    max-width: 950px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;

}


.section-heading.center p {

    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

}



/* ----------------------------------------
   Button
---------------------------------------- */

.button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    min-height: 54px;

    padding:
        0
        22px;

    border: 0;

    border-radius: 999px;

    font-weight: 800;

    cursor: pointer;

    transition:
        .2s ease;

}


.button-primary {

    color: var(--white);

    background: var(--blue);

    box-shadow:
        0 12px 26px rgba(23,139,208,.20);

}


.button-primary:hover {

    background: var(--blue-hover);

    transform: translateY(-2px);

}


.button-arrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: var(--blue);

    background: var(--white);

}



/* ----------------------------------------
   Header
---------------------------------------- */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,.97);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(10px);

}


.header-inner {

    min-height: 96px;

    display: flex;

    align-items: center;

}


.brand {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;

}


.brand-icon {

    width: 40px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--blue);

}


.brand-icon svg {

    width: 100%;
    height: 100%;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.brand-text strong {

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -1px;

    color: var(--navy);

}


.brand-text strong span {

    color: var(--blue);

}


.brand-text small {

    margin-top: 7px;

    color: #94a9b7;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 2px;

}


.main-nav {

    display: flex;

    align-items: center;

    gap: 42px;

    margin-left: auto;

}


.main-nav a {

    position: relative;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;

}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition:
        width .2s ease;

}


.main-nav a:hover {

    color: var(--blue);

}


.main-nav a:hover::after {

    width: 100%;

}


.header-actions {

    margin-left: 40px;

}



/* ----------------------------------------
   Hero
---------------------------------------- */

.hero {

    position: relative;

    min-height: 750px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        url(
            "../img/hairfixa-hero.png"
        )
        center
        center /
        cover
        no-repeat;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            rgba(8,44,70,.98) 0%,

            rgba(8,44,70,.92) 35%,

            rgba(8,44,70,.62) 60%,

            rgba(8,44,70,.18) 100%

        );

}


.hero-inner {

    position: relative;

    z-index: 2;

}


.hero-content {

    width: 750px;

    max-width: 100%;

}


.hero h1 {

    margin-bottom: 28px;

    color: var(--white);

    font-size:
        clamp(
            52px,
            5vw,
            74px
        );

    line-height: 1.06;

    letter-spacing: -2px;

}


.hero h1 span {

    color: #24a0e6;

}


.hero-text {

    max-width: 650px;

    margin-bottom: 32px;

    color:
        rgba(
            255,
            255,
            255,
            .88
        );

    font-size: 17px;

    line-height: 1.8;

}


.hero-benefits {

    display: flex;

    flex-wrap: wrap;

    gap: 28px;

    margin-top: 34px;

}


.hero-benefit {

    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--white);

    font-size: 14px;
    font-weight: 700;

}


.benefit-check {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    color: var(--white);

    background: var(--blue);

}



/* ----------------------------------------
   Trust
---------------------------------------- */

.trust-bar {

    background: var(--blue-light);

    border-bottom:
        1px solid #d5eaf7;

}


.trust-grid {

    min-height: 120px;

    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    align-items: center;

}


.trust-grid > div {

    min-height: 65px;

    padding:
        0
        36px;

    display: flex;

    align-items: center;

    border-right:
        1px solid #cce3f1;

}


.trust-grid > div:first-child {

    padding-left: 0;

}


.trust-grid > div:last-child {

    border-right: 0;

}


.trust-rating {

    flex-direction: column;

    align-items: flex-start !important;

    justify-content: center;

}


.trust-rating strong {

    margin-bottom: 6px;

}


.rating-bottom {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text-light);

    font-size: 13px;

}


.stars {

    color: var(--yellow);

    letter-spacing: 2px;

}


.trust-item {

    gap: 18px;

}


.trust-icon {

    color: var(--blue);

    font-size: 32px;

}


.trust-item strong,
.trust-item span {

    display: block;

}


.trust-item span {

    color: var(--text-light);

    font-size: 13px;

}



/* ----------------------------------------
   About
---------------------------------------- */

.about {

    background:
        var(--white);

}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 100px;

}


.about-images {

    position: relative;

    min-height: 560px;

}


.about-image-large {

    width: 78%;
    height: 480px;

    overflow: hidden;

    border-radius: 38px;

    box-shadow: var(--shadow);

}


.about-image-large img,
.about-image-small img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.about-image-small {

    position: absolute;

    right: 0;
    bottom: 0;

    width: 58%;
    height: 250px;

    overflow: hidden;

    background: var(--white);

    border:
        10px
        solid
        var(--white);

    border-radius: 30px;

    box-shadow: var(--shadow);

}


.shape {

    position: absolute;

    color: var(--blue);

}


.shape-star {

    top: 70px;
    right: 6%;

    font-size: 40px;

}


.shape-plus {

    right: 12%;
    bottom: 215px;

    color: #d5ebf8;

    font-size: 46px;

}


.about-content {

    max-width: 620px;

}


.usp-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap:
        28px
        38px;

    margin:
        38px
        0
        42px;

}


.usp {

    display: flex;

    gap: 15px;

}


.usp-icon {

    color: var(--blue);

    font-size: 29px;

}


.usp strong,
.usp span {

    display: block;

}


.usp strong {

    margin-bottom: 5px;

}


.usp span {

    color: var(--text-light);

    font-size: 13px;

}



/* ----------------------------------------
   Treatments
---------------------------------------- */

.treatments {

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(

            180deg,

            #eef9ff 0%,

            #e9f6fd 100%

        );

}


.treatment-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 26px;

}


.treatment-card {

    min-height: 350px;

    display: flex;

    flex-direction: column;

    padding:
        38px
        34px
        32px;

    background:
        var(--white);

    border:
        1px solid
        rgba(
            18,
            58,
            90,
            .05
        );

    border-radius:
        var(--radius);

    box-shadow:

        0
        16px
        45px
        rgba(
            20,
            66,
            97,
            .06
        );

    transition:
        .25s ease;

}


.treatment-card:hover {

    transform:
        translateY(
            -8px
        );

    box-shadow:

        0
        24px
        60px
        rgba(
            20,
            66,
            97,
            .12
        );

}


.treatment-icon {

    width: 60px;
    height: 60px;

    margin-bottom: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--blue);

    background: #edf8fe;

    border-radius: 17px;

    font-size: 30px;

}


.treatment-card h3 {

    margin-bottom: 16px;

    font-size: 23px;
    line-height: 1.2;

}


.treatment-card p {

    margin-bottom: 30px;

    color: var(--text-light);

    line-height: 1.75;

}


.treatment-card a {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--blue);

    font-size: 14px;
    font-weight: 800;

}



/* ----------------------------------------
   Process
---------------------------------------- */

.process {

    background:
        var(--white);

}


.process-grid {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(
            5,
            1fr
        );

    gap: 34px;

    margin-top: 65px;

}


.process-grid::before {

    content: "";

    position: absolute;

    top: 38px;

    left: 10%;
    right: 10%;

    height: 2px;

    background:
        #d5e9f5;

}


.process-item {

    position: relative;

    z-index: 2;

    text-align: center;

}


.process-circle {

    position: relative;

    width: 78px;
    height: 78px;

    margin:
        0
        auto
        24px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--blue);

    background:
        var(--white);

    border:
        2px solid
        #d5e9f5;

    border-radius: 50%;

}


.process-number {

    position: absolute;

    left: -12px;
    top: 20px;

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background:
        var(--blue);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;

}


.process-icon {

    font-size: 28px;

}


.process-item h3 {

    margin-bottom: 8px;

    font-size: 17px;

}


.process-item p {

    margin: 0;

    color:
        var(--text-light);

    font-size: 13px;

}



/* ----------------------------------------
   Experiences
---------------------------------------- */

.experiences {

    background:
        var(--blue-light);

}


.experience-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 90px;

}


.testimonial-card {

    display: grid;

    grid-template-columns:
        180px
        1fr;

    overflow: hidden;

    margin-top: 35px;

    background:
        var(--white);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

}


.testimonial-image {

    min-height: 250px;

}


.testimonial-image img {

    height: 100%;

    object-fit: cover;

}


.testimonial-content {

    padding:
        32px;

}


.quote {

    display: block;

    margin-bottom: 10px;

    color:
        var(--blue);

    font-size: 48px;
    line-height: .8;

}


.testimonial-content p {

    color:
        var(--text-light);

}


.testimonial-content strong,
.testimonial-content small {

    display: block;

}


.testimonial-content small {

    margin-top: 4px;

    color:
        var(--text-light);

}


.score-card {

    width: 88%;

    margin:

        -24px
        0
        0
        auto;

    padding:
        22px
        26px;

    display: flex;

    align-items: center;

    gap: 30px;

    color:
        var(--white);

    background:
        var(--blue);

    border-radius:
        20px;

    box-shadow:

        0
        15px
        30px
        rgba(
            23,
            139,
            208,
            .24
        );

}


.score-card > strong {

    font-size: 40px;

}


.score-card span {

    display: block;

    margin-bottom: 5px;

}


.before-after-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;

    margin-top: 38px;

}


.before-after-grid figure {

    margin: 0;

}


.before-after-grid img {

    height: 270px;

    object-fit: cover;

    border-radius:
        24px;

}


.before-after-grid figcaption {

    margin-top: 10px;

    text-align: center;

    color:
        var(--text-light);

    font-size: 13px;

}



/* ----------------------------------------
   Articles
---------------------------------------- */

.articles {

    background:
        var(--white);

}


.article-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 28px;

}


.article-card {

    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    box-shadow:

        0
        15px
        40px
        rgba(
            20,
            60,
            90,
            .06
        );

    transition:
        .25s ease;

}


.article-card:hover {

    transform:
        translateY(
            -5px
        );

}


.article-card img {

    height: 230px;

    object-fit: cover;

}


.article-body {

    padding:
        28px;

}


.article-body h3 {

    min-height: 54px;

    margin-bottom: 22px;

    font-size: 20px;

}


.article-body a {

    color:
        var(--blue);

    font-weight: 800;

}



/* ----------------------------------------
   Contact
---------------------------------------- */

.contact {

    background:

        linear-gradient(

            135deg,

            #eef9ff 0%,

            #ffffff 100%

        );

}


.contact-grid {

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    align-items: center;

    gap: 90px;

}


.contact-content {

    max-width: 570px;

}


.contact-content p {

    color:
        var(--text-light);

    font-size: 17px;

}


.contact-content ul {

    margin-top: 34px;

    padding: 0;

    list-style: none;

}


.contact-content li {

    position: relative;

    margin-bottom: 14px;

    padding-left: 26px;

}


.contact-content li::before {

    content: "•";

    position: absolute;

    left: 4px;

    color:
        var(--blue);

}


.contact-form {

    padding:
        38px;

    background:
        var(--white);

    border-radius:
        30px;

    box-shadow:
        var(--shadow);

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;

    margin-bottom: 18px;

}


.contact-form input,
.contact-form textarea {

    width: 100%;

    padding:
        18px;

    border:
        1px solid
        var(--border);

    border-radius:
        14px;

    color:
        var(--text);

    outline: none;

    transition:
        .2s ease;

}


.contact-form textarea {

    min-height: 150px;

    margin-bottom: 22px;

    resize: vertical;

}


.contact-form input:focus,
.contact-form textarea:focus {

    border-color:
        var(--blue);

    box-shadow:

        0
        0
        0
        4px
        rgba(
            23,
            139,
            208,
            .10
        );

}



/* ----------------------------------------
   Footer
---------------------------------------- */

.site-footer {

    color:
        rgba(
            255,
            255,
            255,
            .78
        );

    background:
        var(--navy-dark);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 70px;

    padding:
        80px
        0
        60px;

}


.footer-logo .brand-text strong {

    color:
        var(--white);

}


.footer-brand p {

    max-width: 330px;

    margin-top: 28px;

    color:
        rgba(
            255,
            255,
            255,
            .65
        );

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.footer-column h4 {

    color:
        var(--white);

}


.footer-column a,
.footer-column p {

    color:
        rgba(
            255,
            255,
            255,
            .68
        );

}


.footer-column a:hover {

    color:
        var(--white);

}


.footer-bottom {

    padding:
        20px
        0;

    border-top:

        1px solid
        rgba(
            255,
            255,
            255,
            .10
        );

    text-align: center;

    color:

        rgba(
            255,
            255,
            255,
            .48
        );

    font-size: 12px;

}


.footer-bottom span {

    margin:
        0
        10px;

}



/* ----------------------------------------
   Responsive
---------------------------------------- */

@media
(max-width: 1100px) {

    .main-nav {

        gap: 22px;

    }


    .header-actions {

        margin-left: 24px;

    }


    .treatment-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    .footer-grid {

        grid-template-columns:
            1fr
            1fr;

    }

}



@media
(max-width: 850px) {

    .container {

        width:
            min(
                calc(100% - 36px),
                var(--container)
            );

    }


    .main-nav {

        display: none;

    }


    .header-actions {

        margin-left: auto;

    }


    .hero {

        min-height: 650px;

        background-position:
            65%
            center;

    }


    .hero-overlay {

        background:

            rgba(
                8,
                44,
                70,
                .83
            );

    }


    .hero-benefits {

        flex-direction: column;

        gap: 12px;

    }


    .trust-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    .trust-grid > div {

        padding:
            22px;

        border-right: 0;

        border-bottom:
            1px solid
            #cce3f1;

    }


    .about-grid,
    .experience-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .treatment-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    .process-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    .process-grid::before {

        display: none;

    }


    .article-grid {

        grid-template-columns:
            1fr
            1fr;

    }


    .usp-grid {

        grid-template-columns:
            1fr;

    }

}



@media
(max-width: 600px) {

    .section {

        padding:
            75px
            0;

    }


    .brand-text strong {

        font-size:
            23px;

    }


    .brand-icon {

        width: 32px;

    }


    .header-actions .button {

        display: none;

    }


    .hero h1 {

        font-size:
            44px;

    }


    .hero-text {

        font-size:
            15px;

    }


    .trust-grid,
    .treatment-grid,
    .process-grid,
    .article-grid,
    .before-after-grid,
    .form-row,
    .footer-grid {

        grid-template-columns:
            1fr;

    }


    .about-image-large {

        width: 100%;

    }


    .about-image-small {

        width: 70%;

    }


    .testimonial-card {

        grid-template-columns:
            1fr;

    }


    .testimonial-image {

        height: 280px;

    }


    .score-card {

        width: 100%;

        margin-top: 18px;

    }

}