/* ============================================
   Hair by Syd — Shared Styles
   Palette: cream / warm beige / black / gold
   ============================================ */
:root {
    --bg-cream: #FAF9F4;
    --bg-beige: #E8E3DB;
    --bg-white: #FFFFFF;
    --bg-taupe: #D9D4CC;

    --text-black: #1A1A1A;
    --text-gray: #4A4540;
    --text-white: #FFFFFF;

    --btn-tan: #C3AC8B;
    --btn-tan-hover: #B39A75;
    --text-espresso: #33291C;

    --accent-gold: #C9A962;
    --accent-gold-light: #E8D9B5;

    --font-primary: 'Nunito Sans', 'Avenir Next', 'Helvetica Neue', sans-serif;
    --font-display: 'Playfair Display', 'Didot', serif;
    --font-script: 'Dancing Script', cursive;

    --container-max: 1160px;
    --radius: 14px;
    --shadow-soft: 0 4px 24px rgba(26, 22, 15, 0.08);
    --shadow-lift: 0 12px 32px rgba(26, 22, 15, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-black);
    background: var(--bg-cream);
    overflow-x: hidden;
}

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

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

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(250, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    transition: box-shadow 0.3s ease;
}

.header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img { width: 92px; height: auto; }

.nav {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.25s ease;
}

.nav a:not(.btn):hover { color: var(--accent-gold); }

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.25s ease;
}

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

.social-icon {
    width: 22px;
    height: 22px;
    fill: var(--text-black);
    transition: fill 0.25s ease;
    display: block;
}

.social-icon:hover { fill: var(--accent-gold); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-black);
    transition: all 0.3s ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--btn-tan);
    color: var(--text-espresso);
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 2px solid var(--btn-tan);
    transition: all 0.25s ease;
    text-align: center;
}

.btn:hover {
    background: var(--btn-tan-hover);
    border-color: var(--btn-tan-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-secondary {
    background: transparent;
    color: var(--text-espresso);
    border-color: var(--btn-tan);
}

.btn-secondary:hover {
    background: var(--btn-tan);
    color: var(--text-espresso);
}

.btn-gold {
    background: var(--btn-tan);
    color: var(--text-espresso);
    border-color: var(--btn-tan);
}

.btn-gold:hover { background: var(--btn-tan-hover); border-color: var(--btn-tan-hover); }

.nav .btn { padding: 10px 24px; font-size: 14px; }

.nav a.btn, .nav a.btn-gold { color: var(--text-espresso); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section-eyebrow {
    font-family: var(--font-script);
    font-size: 26px;
    color: var(--accent-gold);
    text-align: center;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 500;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
    color: var(--text-gray);
    font-size: 17px;
}

.bg-beige { background: var(--bg-beige); }
.bg-white { background: var(--bg-white); }

/* ---------- Hero (homepage) ---------- */
.hero {
    padding: 150px 0 80px;
    background: var(--bg-beige);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-script);
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-copy {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.hero-trust .stars { color: var(--accent-gold); letter-spacing: 2px; font-size: 15px; }

.hero-trust a { color: inherit; }

/* ---------- Before/After Carousel ---------- */
.ba-carousel { max-width: 520px; margin: 0 auto; width: 100%; }

.ba-track {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    background: var(--bg-taupe);
}

.ba-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease;
}

.ba-slide.active { opacity: 1; visibility: visible; }

.ba-slide img { width: 100%; height: 100%; object-fit: cover; }

.ba-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(250, 249, 244, 0.88);
    color: var(--text-espresso);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 40px;
    z-index: 2;
}

/* ---------- Carousel nav (shared) ---------- */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.carousel-dots { display: flex; gap: 9px; align-items: center; }

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 26, 26, 0.22);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot:hover { background: rgba(26, 26, 26, 0.45); }
.carousel-dot.active { background: var(--accent-gold); transform: scale(1.2); }

.carousel-arrow {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A857D;
    transition: all 0.2s ease;
}

.carousel-arrow:hover { color: var(--text-black); background: rgba(0, 0, 0, 0.05); }
.carousel-arrow svg { width: 16px; height: 16px; }

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.service-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 10px;
}

.service-card p { color: var(--text-gray); font-size: 15.5px; flex: 1; }

.service-card .service-link {
    margin-top: 18px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-black);
}

.service-card .service-link::after { content: ' →'; color: var(--accent-gold); }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-grid a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-grid a:hover img { transform: scale(1.06); }

.gallery-cta { text-align: center; margin-top: 36px; }

/* ---------- Reviews ---------- */
.reviews-wrap { max-width: 680px; margin: 0 auto; }

.reviews-track { position: relative; min-height: 280px; }

.review-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 44px 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.review-slide.active { opacity: 1; visibility: visible; }

.review-stars { color: var(--accent-gold); font-size: 20px; letter-spacing: 5px; margin-bottom: 18px; }

.review-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-gray);
    max-width: 480px;
    margin-bottom: 16px;
}

.client-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reviews-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text .section-eyebrow,
.about-text .section-title { text-align: left; }

.about-text p { color: var(--text-gray); font-size: 17px; margin-bottom: 20px; }

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    max-width: 340px;
    margin-left: auto;
}

/* ---------- Visit ---------- */
.visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 32px;
    max-width: 860px;
    margin: 0 auto 40px;
    text-align: center;
}

.visit-item h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 10px;
}

.visit-item p, .visit-item a { color: var(--text-gray); font-size: 15.5px; text-decoration: none; }

.visit-item a:hover { color: var(--text-black); text-decoration: underline; }

.visit-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    padding: 160px 0 64px;
    background: var(--bg-beige);
    text-align: center;
}

.page-hero .section-eyebrow { font-size: 28px; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--text-gray);
    font-size: 17.5px;
}

/* ---------- Interior content blocks ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}

.split-text h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 16px;
}

.split-text p { color: var(--text-gray); margin-bottom: 16px; }

.steps {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    counter-reset: step;
}

.step {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 26px 30px 26px 78px;
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--btn-tan);
    color: var(--text-espresso);
    font-family: var(--font-display);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.step p { color: var(--text-gray); font-size: 15.5px; }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 26px;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    position: relative;
    padding-right: 52px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--accent-gold);
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item .faq-body { padding: 0 26px 22px; color: var(--text-gray); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: #3A3128;
    color: var(--text-white);
    text-align: center;
    padding: 72px 0;
}

.cta-band .section-eyebrow { color: var(--accent-gold); }

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    margin-bottom: 14px;
}

.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 520px; margin: 0 auto 30px; }

.cta-band .btn {
    background: var(--btn-tan);
    color: var(--text-espresso);
    border-color: var(--btn-tan);
}

.cta-band .btn:hover { background: var(--accent-gold-light); border-color: var(--accent-gold-light); }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-taupe);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 36px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 14px;
}

.footer-section p, .footer-section a {
    color: var(--text-gray);
    font-size: 15px;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover { color: var(--text-black); text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 22px;
    font-size: 13.5px;
    color: var(--text-gray);
    text-align: center;
}

/* ---------- Sticky mobile book bar ---------- */
.mobile-book-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 249, 244, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-book-bar .btn { width: 100%; padding: 14px; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease-out both; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-in { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid, .about-grid, .split { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding: 130px 0 64px; text-align: center; }
    .hero-copy { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-trust { justify-content: center; }
    .about-text .section-eyebrow, .about-text .section-title { text-align: center; }
    .about-image { margin: 0 auto; }
    .split.reverse .split-img { order: -1; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    .nav {
        display: none;
    }

    .nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 249, 244, 0.98);
        padding: 1.2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        gap: 1.1rem;
    }

    .mobile-menu-toggle { display: flex; }

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

    .review-slide { padding: 34px 26px 30px; }

    .mobile-book-bar { display: block; }

    body { padding-bottom: 68px; }

    .page-hero { padding: 140px 0 52px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
}
