/* ═══════════════════════════════════════
   SALON BENI — STYLES
   Plum + Amber · Clean Minimalist
   ═══════════════════════════════════════ */

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

:root {
    --plum-50: #faf5f7;
    --plum-100: #f5e8ec;
    --plum-200: #ead4dc;
    --plum-300: #d4a8b4;
    --plum-400: #b87a8e;
    --plum-500: #9a5568;
    --plum-600: #7d3f52;
    --plum-700: #633142;
    --plum-800: #522a37;
    --plum-900: #46252f;
    --plum-950: #261218;

    --amber-50: #fffbf0;
    --amber-100: #fff4d6;
    --amber-200: #ffe9a8;
    --amber-300: #ffd66d;
    --amber-400: #ffc439;
    --amber-500: #f5a623;
    --amber-600: #d4880e;
    --amber-700: #b06c08;
    --amber-800: #8a5409;
    --amber-900: #6e430b;

    --cream: #fefcfb;
    --cream-dark: #f8f4f2;
    --cream-mid: #f0ebe6;
    --warm-gray: #8a7e7a;
    --warm-gray-light: #b5aaa6;
    --warm-gray-dark: #5c5250;
    --text-primary: #2a2022;
    --text-secondary: #6b5e5a;
    --text-muted: #9a8e8a;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

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

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 251, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    border-bottom-color: var(--plum-200);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--plum-500);
    line-height: 1;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--plum-500);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    border: 1px solid var(--plum-300);
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--plum-600);
    color: #fff;
    border-color: var(--plum-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 4px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 72px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    gap: 0;
    align-items: center;
}

.hero-content {
    padding: clamp(3rem, 8vw, 6rem) clamp(0, 2vw, 3rem) 0 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-500);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-title-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--plum-600);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--plum-700);
    color: #fff;
}

.btn-primary:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 49, 66, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--plum-300);
}

.btn-ghost:hover {
    border-color: var(--plum-600);
    color: var(--plum-700);
}

.btn-large {
    padding: 1.25rem 2.75rem;
    font-size: 0.8rem;
}

/* ── Hero Image ── */
.hero-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.hero-accent-line {
    position: absolute;
    bottom: 8%;
    left: -40px;
    width: 120px;
    height: 1px;
    background: var(--amber-400);
    z-index: 2;
}

/* ── Hero Scroll Indicator ── */
.hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 clamp(1.5rem, 4vw, 4rem) 3rem;
    max-width: 1280px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: var(--plum-300);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--plum-600);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* ── Intro ── */
.intro {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--plum-50);
}

.intro-grid {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--plum-400);
    line-height: 1;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* ── Section Shared ── */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-500);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.section-title-accent {
    font-style: italic;
    color: var(--plum-600);
}

/* ── Services ── */
.services {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--cream);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--plum-100);
    margin-left: -1px;
    margin-top: -1px;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover {
    background: var(--plum-50);
    border-color: var(--plum-300);
    z-index: 2;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--plum-300);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.service-divider {
    width: 24px;
    height: 1px;
    background: var(--amber-400);
    margin-bottom: 1.25rem;
    transition: width 0.4s var(--ease-out-expo);
}

.service-card:hover .service-divider {
    width: 48px;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ── About ── */
.about {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--cream-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about-image-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
}

.about-image-wrapper {
    aspect-ratio: 7 / 9;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-image-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    overflow: hidden;
    border: 4px solid var(--cream-dark);
}

.about-image-secondary img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-content-col {
    padding-top: 2rem;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-body p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--plum-500);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--plum-200);
}

/* ── Gallery ── */
.gallery {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--cream);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item--tall {
    grid-column: span 5;
    aspect-ratio: 5 / 7;
}

.gallery-item:not(.gallery-item--tall) {
    grid-column: span 4;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
    filter: saturate(0.9);
}

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

/* ── CTA ── */
.cta {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.cta .section-eyebrow {
    color: var(--amber-400);
}

.cta-title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta .section-title-accent {
    color: var(--amber-300);
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--plum-200);
    margin-bottom: 3rem;
    max-width: 520px;
}

.cta-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-300);
    margin-bottom: 0.5rem;
}

.cta-detail-value {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
}

.cta-detail-value a {
    color: #fff;
    transition: color 0.3s ease;
}

.cta-detail-value a:hover {
    color: var(--amber-300);
}

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

/* ── Footer ── */
.footer {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: var(--plum-950);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--amber-400);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.02em;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-info p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--plum-300);
    line-height: 1.6;
}

.footer-info a {
    color: var(--plum-300);
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--amber-300);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-400);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--plum-600);
    letter-spacing: 0.05em;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    }

    .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; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

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

    .hero-image {
        order: 1;
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 400px;
        aspect-ratio: 4 / 5;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }

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

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

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: -1rem;
    }

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

    .gallery-item--tall {
        grid-column: span 1;
        aspect-ratio: 3 / 4;
    }

    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .cta-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(254, 252, 251, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out-expo);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        padding-top: 2rem;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-image-wrapper {
        max-width: 100%;
        aspect-ratio: 3 / 4;
    }

    .hero-accent-line {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

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

    .service-card {
        margin-left: 0;
        margin-top: 0;
        border-bottom: 1px solid var(--plum-100);
    }

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

    .gallery-item--tall,
    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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