/* ============================================
   Cindy Nails & Lashes — Coastal Luxe Minimal
   Newport Beach sophistication
   ============================================ */

:root {
    /* Palette */
    --sand: #F5F1EC;
    --sand-light: #FAF8F5;
    --sand-dark: #EDE7DF;
    --rose-gold: #B79078;
    --rose-gold-light: #D4B5A0;
    --rose-gold-dark: #9A7560;
    --ocean: #8EA4AB;
    --ocean-light: #B5C7CC;
    --ocean-dark: #6B8790;
    --charcoal: #2A2A2E;
    --charcoal-light: #4A4A50;
    --white: #FFFFFF;
    --cream: #FDFCFA;

    /* Typography */
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;

    /* Spacing */
    --section-pad: clamp(60px, 10vw, 120px);
    --container-max: 1140px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    overflow-x: hidden;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--sand-light);
    -webkit-font-smoothing: antialiased;
}

/* Utility */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(183, 144, 120, 0.12);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(42, 42, 46, 0.06);
}
.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}
.logo span {
    font-weight: 400;
    color: var(--rose-gold);
}
.header-nav {
    display: flex;
    gap: 32px;
}
.header-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.header-nav a:hover { color: var(--rose-gold); }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--rose-gold);
    padding: 8px 20px;
    border-radius: 100px;
    transition: background 0.2s, transform 0.2s;
}
.header-cta:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-inner { height: 56px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    background: var(--cream);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(183, 144, 120, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(142, 164, 171, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 241, 236, 0.5) 0%, transparent 80%);
    pointer-events: none;
}
/* Subtle grain overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    animation: heroFadeIn 1s ease-out;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(183, 144, 120, 0.1);
    border: 1px solid rgba(183, 144, 120, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}
.hero-badge .stars {
    color: var(--rose-gold);
    font-size: 0.55rem;
    letter-spacing: 4px;
}
.hero-badge .review-count {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--charcoal);
}
.title-line {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
}
.title-ampersand {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-style: italic;
    font-weight: 400;
    color: var(--rose-gold);
    margin: -4px 0;
}
.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--ocean-dark);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--charcoal-light);
}
.detail-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rose-gold-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--rose-gold);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(183, 144, 120, 0.3);
}
.btn-primary:hover {
    background: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(183, 144, 120, 0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--ocean-light);
}
.btn-secondary:hover {
    border-color: var(--ocean);
    background: rgba(142, 164, 171, 0.06);
}
.btn-outline {
    background: transparent;
    color: var(--rose-gold);
    border: 1.5px solid var(--rose-gold-light);
}
.btn-outline:hover {
    background: var(--rose-gold);
    color: var(--white);
}
.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header--left { text-align: left; }
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}
.section-desc {
    font-size: 1rem;
    color: var(--charcoal-light);
    margin-top: 12px;
    font-weight: 300;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-pad) 0;
    background: var(--sand-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(183, 144, 120, 0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 42, 46, 0.06);
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(183, 144, 120, 0.08);
    color: var(--rose-gold);
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: var(--section-pad) 0;
    background: var(--sand);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .scroll-dupe { display: none; }
}

/* ============================================
   FEATURED REVIEW
   ============================================ */
.featured-review {
    padding: var(--section-pad) 0;
    background:
        linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    position: relative;
}
.featured-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-gold-light), transparent);
}
.featured-quote {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-mark {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--rose-gold-light);
    line-height: 0.5;
    margin-bottom: 24px;
    opacity: 0.5;
}
.featured-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 32px;
}
.featured-quote cite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-style: normal;
}
.cite-stars {
    color: var(--rose-gold);
    font-size: 0.5rem;
    letter-spacing: 6px;
}
.cite-name {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    padding: var(--section-pad) 0;
    background: var(--sand-light);
}
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.review-card {
    background: var(--white);
    border: 1px solid rgba(183, 144, 120, 0.1);
    border-radius: 16px;
    padding: 32px;
}
.review-stars {
    color: var(--rose-gold);
    font-size: 0.45rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--sand);
    padding-top: 16px;
}
.author-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
}
.author-date {
    font-size: 0.8rem;
    color: var(--ocean);
}
.reviews-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: var(--section-pad) 0;
    background: var(--charcoal);
    color: var(--sand-light);
    position: relative;
}
.why-us .section-label { color: var(--rose-gold-light); }
.why-us .section-header h2 { color: var(--sand-light); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
    text-align: center;
}
.why-stat {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--rose-gold-light);
    margin-bottom: 8px;
}
.why-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ocean-light);
    letter-spacing: 0.03em;
}
.why-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sand-light);
}
.feature p {
    font-size: 0.9rem;
    color: var(--ocean-light);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .why-features { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--section-pad) 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(183, 144, 120, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(142, 164, 171, 0.08) 0%, transparent 50%),
        var(--sand-light);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-desc {
    font-size: 1rem;
    color: var(--charcoal-light);
    margin-bottom: 32px;
    font-weight: 300;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-item svg {
    flex-shrink: 0;
    color: var(--rose-gold);
    margin-top: 2px;
}
.contact-item a {
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: color 0.2s;
    line-height: 1.5;
}
.contact-item a:hover { color: var(--rose-gold); }

.hours-table {
    margin-bottom: 24px;
}
.hours-table h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 0.88rem;
}
.hours-row span:first-child { color: var(--charcoal-light); }
.hours-row span:last-child { font-weight: 500; color: var(--charcoal); }

.accessibility-note {
    font-size: 0.8rem;
    color: var(--ocean);
}

.cta-card {
    background: var(--white);
    border: 1px solid rgba(183, 144, 120, 0.15);
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}
.cta-card p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 28px;
}
.cta-card .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-card { position: static; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 40px 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(183, 144, 120, 0.15);
}
.footer-inner {
    text-align: center;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sand-light);
    margin-bottom: 12px;
}
.footer-info {
    font-size: 0.85rem;
    color: var(--ocean-light);
    margin-bottom: 16px;
}
.footer-info a {
    color: var(--ocean-light);
    transition: color 0.2s;
}
.footer-info a:hover { color: var(--rose-gold-light); }
.footer-sep { margin: 0 10px; }
.footer-copy {
    font-size: 0.75rem;
    color: var(--charcoal-light);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rose-gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(183, 144, 120, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}
.floating-cta:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(183, 144, 120, 0.5);
}
.floating-cta.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 769px) {
    .floating-cta { display: none; }
}

/* ============================================
   CUSTOM SCROLLBAR (desktop)
   ============================================ */
@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--sand-light); }
    ::-webkit-scrollbar-thumb {
        background: var(--rose-gold-light);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover { background: var(--rose-gold); }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .site-header, .floating-cta, .hero-bg { display: none; }
    .hero { min-height: auto; padding: 40px 20px; }
    body { background: white; color: black; }
}
