/* ========================================
   Beauty Salon Space — Stylesheet
   Bold Editorial · Burgundy & Blush
   ======================================== */

/* ── Reset & Base ─────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-deeper: #3D141C;
    --blush: #F4E4E0;
    --blush-light: #FBF5F3;
    --blush-mid: #E8D0CA;
    --cream: #FDF8F6;
    --charcoal: #1A1416;
    --text-dark: #2A1F22;
    --text-mid: #5C4A4E;
    --text-light: #8A7076;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--burgundy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ───────────────────────── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-title--light {
    color: var(--white);
}

.section-header--centered {
    text-align: center;
}

/* ── Buttons ──────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border: 2px solid var(--burgundy);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--white);
    color: var(--burgundy);
    border: 2px solid var(--white);
}

.btn--light:hover,
.btn--light:focus-visible {
    background: var(--blush);
    border-color: var(--blush);
    transform: translateY(-2px);
}

.btn--header {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ── Header ───────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow 0.3s var(--ease-out);
}

#site-header.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo--footer {
    margin-bottom: 1rem;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--burgundy);
    background: var(--burgundy);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-mid);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover {
    color: var(--burgundy);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────── */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    padding-right: 1rem;
}

.hero-eyebrow {
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
}

.trust-item svg {
    color: var(--burgundy);
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(123, 45, 59, 0.15);
}

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

.hero-accent {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    background: var(--blush-mid);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

/* ── Services ─────────────────────────── */
.services {
    padding: 7rem 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 4rem;
}

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

.service-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--cream);
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: rgba(123, 45, 59, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.08);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--burgundy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ── About ────────────────────────────── */
.about {
    padding: 7rem 0;
    background: var(--burgundy-deeper);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    border: 6px solid var(--burgundy-deeper);
}

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

.about-accent-block {
    position: absolute;
    top: -32px;
    left: -32px;
    width: 160px;
    height: 160px;
    background: var(--blush);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-eyebrow {
    color: var(--blush-mid);
}

.about-content .section-title {
    color: var(--white);
}

.about-lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

.about-content > p:last-of-type {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

/* ── Gallery ──────────────────────────── */
.gallery {
    padding: 7rem 0 5rem;
    background: var(--cream);
}

.section-header {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

/* ── Reviews ──────────────────────────── */
.reviews {
    padding: 7rem 0;
    background: var(--blush-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: all 0.3s var(--ease-out);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.08);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--burgundy);
    margin-bottom: 1.25rem;
}

.review-card > p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-card footer {
    border-top: 1px solid var(--blush);
    padding-top: 1.25rem;
}

.review-card cite {
    font-style: normal;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ── CTA ──────────────────────────────── */
.cta {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content .section-eyebrow {
    color: var(--blush-mid);
}

.cta-content .section-title {
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Contact ──────────────────────────── */
.contact {
    padding: 7rem 0;
    background: var(--burgundy-deeper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-eyebrow {
    color: var(--blush-mid);
}

.contact-info .section-title {
    color: var(--white);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.5rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush-mid);
    padding-top: 0.25rem;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--white);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--blush-mid);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--burgundy);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── Footer ───────────────────────────── */
footer {
    background: var(--charcoal);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Scroll Reveal ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Responsive ───────────────────────── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }

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

    .about-grid {
        gap: 3rem;
    }

    .about-img-secondary {
        right: -20px;
        bottom: -20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.1);
        transition: right 0.4s var(--ease-out);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a:not(.btn) {
        font-size: 1.125rem;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(26, 20, 22, 0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
        gap: 2.5rem;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .about-images {
        max-width: 480px;
    }

    .about-img-secondary {
        right: -10px;
        bottom: -20px;
        width: 60%;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
