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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: #f7f1ea;
    color: #211815;

    max-width: 100%;
    overflow-x: hidden;
}

main,
section {
    max-width: 100%;
    overflow-x: hidden;
}

.hero-content h1,
.intro-text h2,
.section-heading h2,
.booking-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: -0.04em;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    line-height: 1.8;
}

/* NAVBAR */

.beauty-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    z-index: 20;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 22px;
    border-radius: 999px;

    background: rgba(33, 24, 21, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #fff;
}

.beauty-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
}

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

.beauty-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.nav-cta {
    background: #d8b88f;
    color: #211815;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;

    padding: 0;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 20px;
    height: 1px;
    background: #fff;
    display: block;
    transition: transform 0.3s ease;
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* HERO */

.beauty-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 140px 8% 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1);

    animation:
        heroFade 18s linear infinite,
        heroZoom 6s ease-in-out infinite alternate;

    z-index: 0;
}

.hero-bg-one {
    background-image: url("../images/beauty-wellness.webp");
    opacity: 1;
    animation-delay: 0s, 0s;
}

.hero-bg-two {
    background-image: url("../images/hero2.webp");
    animation-delay: 6s, 0s;
}

.hero-bg-three {
    background-image: url("../images/hero3.webp");
    animation-delay: 12s, 0s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(33, 24, 21, 0.82),
            rgba(33, 24, 21, 0.32));
    z-index: 1;
    pointer-events: none;
}

.beauty-hero::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    top: -120px;
    right: -140px;
    background: rgba(216, 184, 143, 0.14);
    filter: blur(120px);
    animation: glowMove 10s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    color: #fff;
}


@keyframes heroFade {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #d8b88f;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 540px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: #d8b88f;
    color: #211815;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

/* SECTIONS */

.beauty-intro,
.services-section,
.gallery-section,
.reviews-section {
    padding: 110px 8%;
}

.beauty-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.intro-text h2,
.section-heading h2,
.booking-cta h2 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 22px;
}

.intro-text p,
.section-heading p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6e5c53;
}

.intro-cards {
    display: grid;
    gap: 18px;
}

.intro-card {
    display: flex;
    align-items: center;
    gap: 22px;

    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 24, 21, 0.08);
    border-radius: 28px;

    padding: 26px 28px;
    box-shadow: 0 24px 70px rgba(33, 24, 21, 0.08);
}

.intro-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;

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

    border-radius: 50%;
    background: rgba(216, 184, 143, 0.14);
    border: 1px solid rgba(216, 184, 143, 0.22);
}

.intro-icon i {
    font-size: 1.2rem;
    color: #b89b72;
}

.intro-content h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.intro-content p {
    line-height: 1.7;
    color: #6e5c53;
}

.service-card,
.review-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 24, 21, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(33, 24, 21, 0.08);
}

.service-card h3 {
    margin: 12px 0;
    font-size: 1.3rem;
}

.service-card p,
.review-card p {
    line-height: 1.7;
    color: #6e5c53;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 50px;
}

/* PREMIUM REVEAL / LAZY LOAD ANIMATION */

.reveal-card {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(8px);
    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(.22, 1, .36, 1),
        filter 0.85s ease;
    will-change: opacity, transform, filter;
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-section .reveal-card:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-section .reveal-card:nth-child(2) {
    transition-delay: 0.14s;
}

.reveal-section .reveal-card:nth-child(3) {
    transition-delay: 0.23s;
}

.reveal-section .reveal-card:nth-child(4) {
    transition-delay: 0.32s;
}

/* GRID STAGGER FIX */

.intro-cards .reveal-card:nth-child(1),
.services-grid .reveal-card:nth-child(1),
.gallery-grid .reveal-card:nth-child(1) {
    transition-delay: 0.08s;
}

.intro-cards .reveal-card:nth-child(2),
.services-grid .reveal-card:nth-child(2),
.gallery-grid .reveal-card:nth-child(2) {
    transition-delay: 0.18s;
}

.intro-cards .reveal-card:nth-child(3),
.services-grid .reveal-card:nth-child(3),
.gallery-grid .reveal-card:nth-child(3) {
    transition-delay: 0.28s;
}

.services-grid .reveal-card:nth-child(4) {
    transition-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-card {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* SERVICES */

.services-section {
    padding: 100px 0;
    background: #fffdf8;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #2f8dcc;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    line-height: 1.1;
    color: #3a2d20;
    margin-bottom: 18px;
}

.section-heading p {
    font-size: 18px;
    line-height: 1.7;
    color: #514235;
}

.services-grid {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: #fffaf2;
    border: 1px solid #e6d6ba;
    border-radius: 18px;
    padding: 34px 26px 30px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 30px rgba(65, 48, 25, 0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(193, 163, 111, 0.12), transparent 45%),
        linear-gradient(315deg, rgba(47, 141, 204, 0.08), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #c1a36f;
    box-shadow: 0 24px 48px rgba(65, 48, 25, 0.13);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1;
    color: rgba(193, 163, 111, 0.22);
    pointer-events: none;
}

.service-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #f3ead9;
    color: #3a2d20;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: #3a2d20;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.2;
}

.service-card p {
    position: relative;
    z-index: 1;
    color: #514235;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-meta {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #e6d6ba;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: #514235;
    font-size: 14px;
}

.service-meta strong {
    color: #3a2d20;
    font-size: 16px;
}

.service-link {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 18px;
    border-radius: 10px;
    background: #c1a36f;
    color: #ffffff;
    font-weight: 700;
    transition: 0.3s ease;
}

.service-link:hover {
    background: #a98955;
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 20px;
    min-height: 460px;
}

.gallery-img {
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    min-height: 360px;
    box-shadow: 0 30px 90px rgba(33, 24, 21, 0.15);
    transition: transform .5s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.img-one {
    background-image: url("../images/gallery1.webp");
}

.img-two {
    background-image: url("../images/gallery2.webp");
}

.img-three {
    background-image: url("../images/gallery3.webp");
}

/* REVIEWS */

.reviews-slider {
    position: relative;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: reviewLoop 40s linear infinite;
}

.review-card {
    width: 340px;
    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 24, 21, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(33, 24, 21, 0.08);
}

.review-card p {
    color: #6e5c53;
}

.review-card strong {
    display: inline-block;
    margin-top: 22px;
    color: #211815;
}

.stars {
    color: #d4af37;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 14px;
}

@keyframes reviewLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 11px));
    }
}

.reviews-slider:hover .reviews-track {
    animation-play-state: paused;
}


/* CTA */

.booking-cta {
    margin: 0 8% 80px;
    padding: 90px 8%;
    border-radius: 40px;
    text-align: center;
    background:
        linear-gradient(rgba(33, 24, 21, 0.82), rgba(33, 24, 21, 0.82)),
        url("../images/beauty-wellness.webp");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.booking-cta h2 {
    max-width: 850px;
    margin-inline: auto;
    margin-bottom: 34px;
}

/* BEAUTY WELLNESS 404 PAGE */

.beauty-error-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;

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

    padding: 140px 8% 80px;

    background:
        linear-gradient(rgba(33, 24, 21, 0.76), rgba(33, 24, 21, 0.76)),
        url("../images/gallery1.webp");

    background-size: cover;
    background-position: center;
}

.error-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    right: -160px;
    top: -140px;

    background: rgba(216, 184, 143, 0.22);
    filter: blur(130px);
    pointer-events: none;
}

.beauty-error-box {
    position: relative;
    z-index: 2;

    width: min(760px, 100%);
    padding: 70px 60px;

    text-align: center;

    border-radius: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);

    background: rgba(247, 241, 234, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow: 0 40px 120px rgba(33, 24, 21, 0.35);
    color: #fff;
}

.beauty-error-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(5rem, 16vw, 11rem);
    line-height: 0.8;
    color: #d8b88f;
    margin-bottom: 28px;
}

.beauty-error-box h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
}

.beauty-error-text {
    max-width: 560px;
    margin: 0 auto 36px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.beauty-error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.beauty-error-actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}


/* =========================
   992px
========================= */

@media (max-width: 992px) {

    .beauty-nav {
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;

        top: 14px;
        width: calc(100% - 28px);
        max-width: calc(100vw - 28px);

        padding: 10px 16px;
        border-radius: 24px;
    }

    .beauty-logo {
        width: 44px;
        height: 44px;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
        width: 38px;
        height: 38px;
    }

    .menu-toggle span {
        width: 18px;
    }

    .beauty-menu {
        grid-column: 1 / -1;

        display: flex;
        width: 100%;

        max-height: 0;
        overflow: hidden;

        margin-top: 0;
        padding-top: 0;

        border-top: 1px solid transparent;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
        font-size: 1rem;

        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;

        transition:
            max-height 0.55s cubic-bezier(.22, 1, .36, 1),
            opacity 0.4s ease,
            transform 0.45s cubic-bezier(.22, 1, .36, 1),
            margin-top 0.35s ease,
            padding-top 0.35s ease,
            border-color 0.35s ease,
            gap 0.35s ease;
    }

    .beauty-menu.active {
        max-height: 420px;

        margin-top: 16px;
        padding-top: 16px;

        border-top-color: rgba(255, 255, 255, 0.14);

        gap: 10px;

        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .beauty-menu a {
        width: 100%;
        padding: 10px 0;
    }

    .beauty-menu .nav-cta {
        display: flex;
        justify-content: center;

        width: 100%;

        padding: 14px 18px;
        margin-top: 8px;
    }

    .beauty-hero {
        min-height: 88vh;
        padding: 120px 48px 70px;
    }

    .hero-bg {
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        max-width: 620px;
    }

    .hero-content h1 {
        font-size: clamp(4rem, 9vw, 5.8rem);
    }

    .hero-content p {
        font-size: 1.08rem;
    }

    .beauty-intro,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .beauty-intro {
        gap: 40px;
    }

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

    .section-heading h2 {
        font-size: 46px;
    }

    .gallery-img {
        min-height: 320px;
    }

    .reviews-track {
        gap: 18px;
    }

    .review-card {
        width: 300px;
        min-width: 300px;
    }

    .beauty-intro,
    .services-section,
    .gallery-section,
    .reviews-section {
        padding: 90px 48px;
    }

    .booking-cta {
        margin: 0 48px 70px;
        padding: 80px 48px;
    }
}


/* =========================
   768px
========================= */

@media (max-width: 768px) {

    .beauty-nav {
        top: 12px;

        width: calc(100% - 24px);
        max-width: calc(100vw - 24px);

        padding: 8px 14px;
        border-radius: 22px;
    }

    .beauty-logo {
        width: 42px;
        height: 42px;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
    }

    .menu-toggle span {
        width: 16px;
    }

    .beauty-menu {
        font-size: 1rem;
    }

    .beauty-menu.active {
        margin-top: 14px;
        padding-top: 14px;
        gap: 8px;
    }

    .beauty-hero {
        min-height: 82vh;
        padding: 110px 32px 60px;
    }

    .hero-bg {
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #211815;
    }

    .hero-overlay {
        background: linear-gradient(90deg,
                rgba(33, 24, 21, 0.78),
                rgba(33, 24, 21, 0.34));
    }

    .hero-content {
        max-width: 520px;
    }

    .hero-content h1 {
        font-size: clamp(3.2rem, 10vw, 4.6rem);
        line-height: 0.94;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 440px;
    }

    .hero-actions {
        gap: 12px;
        margin-top: 28px;
    }

    .btn {
        width: 100%;
    }

    .beauty-intro,
    .services-section,
    .gallery-section,
    .reviews-section {
        padding: 80px 32px;
    }

    .intro-card,
    .service-card,
    .review-card {
        padding: 24px;
    }

    .services-section {
        padding: 70px 0;
    }

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

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .service-card {
        min-height: auto;
    }

    .gallery-img {
        min-height: 260px;
    }

    .reviews-track {
        gap: 16px;
    }

    .review-card {
        width: 270px;
        min-width: 270px;
        border-radius: 24px;
    }

    .booking-cta {
        margin: 0 32px 60px;
        padding: 70px 32px;
        border-radius: 30px;
    }

    .beauty-error-page {
        padding: 120px 24px 60px;
    }

    .beauty-error-box {
        padding: 52px 26px;
        border-radius: 30px;
    }

    .beauty-error-actions {
        flex-direction: column;
    }

    .beauty-error-actions .btn {
        width: 100%;
    }
}


/* =========================
   320px
========================= */

@media (max-width: 320px) {

    .beauty-nav {
        top: 8px;

        width: calc(100% - 16px);
        max-width: calc(100vw - 16px);

        padding: 8px 10px;
        border-radius: 18px;
    }

    .beauty-logo {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
    }

    .menu-toggle span {
        width: 14px;
    }

    .beauty-menu {
        font-size: 0.92rem;
    }

    .beauty-menu.active {
        margin-top: 12px;
        padding-top: 12px;
    }

    .beauty-hero {
        min-height: 76vh;
        padding: 90px 18px 40px;
    }

    .hero-content h1 {
        font-size: 2.7rem;
        line-height: 0.9;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .hero-actions {
        margin-top: 22px;
        gap: 10px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.92rem;
    }

    .beauty-intro,
    .services-section,
    .gallery-section,
    .reviews-section {
        padding: 60px 18px;
    }

    .intro-text h2,
    .section-heading h2,
    .booking-cta h2 {
        font-size: 2rem;
    }

    .intro-card,
    .service-card,
    .review-card {
        padding: 20px;
        border-radius: 22px;
    }

    .intro-card h3,
    .service-card h3 {
        font-size: 1.1rem;
    }

    .gallery-img {
        min-height: 220px;
        border-radius: 24px;
    }

    .review-card {
        width: 230px;
        min-width: 230px;
    }

    .booking-cta {
        margin: 0 18px 40px;
        padding: 50px 18px;
        border-radius: 24px;
    }
}