/* ============================================
   LUXURY BEAUTY STORE — STYLESHEET
   Bold editorial aesthetic · Terracotta & Sand
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Terracotta palette */
    --terracotta-deep: #8B3A2F;
    --terracotta: #A0522D;
    --terracotta-light: #C4785A;
    --terracotta-pale: #E8C4B0;
    
    /* Sand palette */
    --sand-dark: #C4A882;
    --sand: #D4B896;
    --sand-light: #E8D5C0;
    --sand-pale: #F5EDE4;
    --sand-cream: #FAF6F1;
    --sand-white: #FDF9F5;
    
    /* Neutrals */
    --charcoal: #2C2420;
    --dark: #3D3230;
    --mid: #6B5B57;
    --light: #9E8E89;
    --pale: #C8B8B3;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 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(--charcoal);
    background-color: var(--sand-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--mid);
    max-width: 600px;
    line-height: 1.8;
}

.text-accent {
    color: var(--terracotta);
}

.text-center {
    text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border-radius: 0;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--terracotta);
    color: #fff;
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background-color: var(--terracotta-deep);
    border-color: var(--terracotta-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 58, 47, 0.25);
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--charcoal);
    border-color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--terracotta);
    border-color: #fff;
}

.btn-light:hover {
    background-color: var(--sand-pale);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 0.875rem;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem var(--space-md);
    transition: all var(--transition);
}

.nav.scrolled {
    background-color: rgba(253, 249, 245, 0.97);
    backdrop-filter: blur(12px);
    padding: 1rem var(--space-md);
    box-shadow: 0 1px 0 rgba(160, 82, 45, 0.1);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    transition: color var(--transition);
}

.nav.scrolled .nav-logo {
    color: var(--charcoal);
}

.nav-logo-icon {
    color: var(--terracotta-light);
}

.nav.scrolled .nav-logo-icon {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--terracotta-light);
    transition: width var(--transition);
}

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

.nav-links a:hover {
    color: #fff;
}

.nav.scrolled .nav-links a {
    color: var(--mid);
}

.nav.scrolled .nav-links a:hover {
    color: var(--charcoal);
}

.nav.scrolled .nav-links a::after {
    background-color: var(--terracotta);
}

.nav-cta {
    color: var(--terracotta-light) !important;
    border: 1px solid var(--terracotta-light);
    padding: 0.5rem 1.25rem;
    transition: all var(--transition) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--terracotta-light);
    color: #fff !important;
}

.nav.scrolled .nav-cta {
    color: var(--terracotta) !important;
    border-color: var(--terracotta);
}

.nav.scrolled .nav-cta:hover {
    background-color: var(--terracotta);
    color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: #fff;
    transition: all var(--transition);
}

.nav.scrolled .nav-toggle span {
    background-color: var(--charcoal);
}

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

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

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(44, 36, 32, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--sand-pale);
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--terracotta-light);
}

.mobile-menu-cta {
    margin-top: var(--space-md);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    border: 1px solid var(--terracotta-light);
    padding: 1rem 2.5rem;
    transition: all var(--transition);
}

.mobile-menu-cta:hover {
    background-color: var(--terracotta-light);
    color: #fff;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.72) 0%,
        rgba(44, 36, 32, 0.45) 50%,
        rgba(139, 58, 47, 0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 var(--space-md);
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta-pale);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-headline-accent {
    font-style: italic;
    color: var(--terracotta-pale);
    display: block;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    margin: 0 auto var(--space-lg);
    line-height: 1.85;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease forwards 1.1s;
    opacity: 0;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- ABOUT ---------- */
.about {
    padding: var(--space-2xl) 0;
    background-color: var(--sand-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--terracotta-pale);
    border-radius: 2px;
    z-index: -1;
}

.about-content .lead {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--mid);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--sand-light);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--terracotta);
    font-weight: 400;
    line-height: 1;
}

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

/* ---------- SERVICES ---------- */
.services {
    padding: var(--space-2xl) 0;
    background-color: var(--sand-pale);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.service-card {
    background-color: var(--sand-cream);
    padding: var(--space-lg);
    border-radius: 2px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(139, 58, 47, 0.08);
    border-color: var(--terracotta-pale);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--terracotta-pale);
    border-radius: 50%;
    margin-bottom: var(--space-md);
    color: var(--terracotta);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: #fff;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--mid);
    line-height: 1.8;
}

/* ---------- PRODUCTS ---------- */
.products {
    padding: var(--space-2xl) 0;
    background-color: var(--sand-cream);
}

.products-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.products-content .section-subtitle {
    margin-bottom: var(--space-lg);
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-categories li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: var(--space-sm);
    align-items: start;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--sand-light);
}

.product-categories li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--terracotta-pale);
    font-style: italic;
    line-height: 1;
    padding-top: 0.25rem;
}

.product-categories strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.product-categories span {
    font-size: 0.875rem;
    color: var(--mid);
}

.products-images {
    position: relative;
    padding-top: var(--space-md);
}

.product-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.product-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -30px;
    width: 55%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.product-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ---------- EDITORIAL BANNER ---------- */
.editorial-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.editorial-bg {
    position: absolute;
    inset: 0;
}

.editorial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(44, 36, 32, 0.8) 0%,
        rgba(44, 36, 32, 0.6) 100%
    );
}

.editorial-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 var(--space-md);
    text-align: center;
}

.editorial-content blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-style: italic;
    color: #fff;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.editorial-content blockquote::before {
    content: '\201C';
    color: var(--terracotta-light);
    font-size: 4rem;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.1em;
}

.editorial-attr {
    font-size: 0.9375rem;
    color: var(--sand-pale);
    font-style: italic;
}

/* ---------- WHY US ---------- */
.why-us {
    padding: var(--space-2xl) 0;
    background-color: var(--sand-cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.why-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.why-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-sm);
    align-items: start;
}

.why-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--terracotta-pale);
    border-radius: 50%;
    color: var(--terracotta);
    flex-shrink: 0;
}

.why-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.7;
}

/* ---------- VISIT / CONTACT ---------- */
.visit {
    padding: var(--space-2xl) 0;
    background-color: var(--sand-pale);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.visit-info .section-subtitle {
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-sm);
    align-items: start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--terracotta-pale);
    border-radius: 50%;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.7;
}

.contact-item a {
    color: var(--terracotta);
}

.contact-item a:hover {
    color: var(--terracotta-deep);
    text-decoration: underline;
}

.visit-map {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: var(--space-2xl) 0;
    background-color: var(--charcoal);
    text-align: center;
}

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

.cta-content .section-eyebrow {
    color: var(--terracotta-light);
}

.cta-title {
    color: #fff;
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--sand);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: var(--dark);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--light);
    line-height: 1.7;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--light);
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--light);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--terracotta-light);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--mid);
}

.footer-bottom a {
    color: var(--light);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .products-layout,
    .why-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .products-images {
        order: -1;
    }
    
    .product-img-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: var(--space-sm);
    }
    
    .product-img-secondary img {
        height: 250px;
    }
    
    .why-image img {
        height: 400px;
    }
    
    .visit-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .product-categories li {
        grid-template-columns: 2.5rem 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero {
        min-height: 600px;
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .editorial-banner {
        height: 300px;
    }
}
</style>
<sm-file path="script.js">
/* ============================================
   LUXURY BEAUTY STORE — INTERACTIONS
   ============================================ */

(function () {
    'use strict';

    // ── Navigation scroll behavior ──
    const nav = document.getElementById('nav');
    let lastScroll = 0;

    function handleScroll() {
        const currentScroll = window.pageYOffset;
        
        if (currentScroll > 80) {
            nav.classList.add('scrolled');
        } else {
            nav.classList.remove('scrolled');
        }
        
        lastScroll = currentScroll;
    }

    window.addEventListener('scroll', handleScroll, { passive: true });

    // ── Mobile menu ──
    const navToggle = document.getElementById('navToggle');
    const mobileMenu = document.getElementById('mobileMenu');
    const mobileLinks = mobileMenu.querySelectorAll('a');

    navToggle.addEventListener('click', function () {
        const isActive = mobileMenu.classList.contains('active');
        navToggle.classList.toggle('active');
        mobileMenu.classList.toggle('active');
        document.body.style.overflow = isActive ? '' : 'hidden';
    });

    mobileLinks.forEach(function (link) {
        link.addEventListener('click', function () {
            navToggle.classList.remove('active');
            mobileMenu.classList.remove('active');
            document.body.style.overflow = '';
        });
    });

    // ── Smooth scroll for anchor links ──
    document.querySelectorAll('a[href^="#"]').forEach(function (anchor) {
        anchor.addEventListener('click', function (e) {
            const targetId = this.getAttribute('href');
            if (targetId === '#') return;
            
            const target = document.querySelector(targetId);
            if (target) {
                e.preventDefault();
                const navHeight = nav.offsetHeight;
                const targetPosition = target.getBoundingClientRect().top + window.pageYOffset - navHeight - 20;
                
                window.scrollTo({
                    top: targetPosition,
                    behavior: 'smooth'
                });
            }
        });
    });

    // ── Scroll reveal animations ──
    const revealElements = document.querySelectorAll('.reveal');
    
    const revealObserver = new IntersectionObserver(function (entries) {
        entries.forEach(function (entry) {
            if (entry.isIntersecting) {
                entry.target.classList.add('visible');
                revealObserver.unobserve(entry.target);
            }
        });
    }, {
        threshold: 0.15,
        rootMargin: '0px 0px -50px 0px'
    });

    revealElements.forEach(function (el) {
        revealObserver.observe(el);
    });

    // ── Parallax effect on hero (subtle) ──
    const heroBg = document.querySelector('.hero-bg img');
    
    if (heroBg && window.matchMedia('(prefers-reduced-motion: no-preference)').matches) {
        window.addEventListener('scroll', function () {
            const scrolled = window.pageYOffset;
            if (scrolled < window.innerHeight) {
                heroBg.style.transform = 'scale(1.05) translateY(' + (scrolled * 0.15) + 'px)';
            }
        }, { passive: true });
    }

    // ── Active nav link highlighting ──
    const sections = document.querySelectorAll('section[id]');
    const navLinks = document.querySelectorAll('.nav-links a:not(.nav-cta)');

    function highlightNav() {
        const scrollPos = window.pageYOffset + 200;
        
        sections.forEach(function (section) {
            const sectionTop = section.offsetTop;
            const sectionHeight = section.offsetHeight;
            const sectionId = section.getAttribute('id');
            
            if (scrollPos >= sectionTop && scrollPos < sectionTop + sectionHeight) {
                navLinks.forEach(function (link) {
                    link.style.color = '';
                    if (link.getAttribute('href') === '#' + sectionId) {
                        link.style.color = nav.classList.contains('scrolled') ? 'var(--terracotta)' : 'var(--terracotta-light)';
                    }
                });
            }
        });
    }

    window.addEventListener('scroll', highlightNav, { passive: true });
})();
