/* ============================================
   Sonlight Therapy — Stylesheet
   Color Palette: Burgundy (#7B2D3B) + Blush (#F5D5CC)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --blush: #F5D5CC;
    --blush-light: #FDF0EC;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #1A1416;
    --text-mid: #4A3F42;
    --text-light: #8A7E81;
    --line: #E8D8D4;
    --line-light: #F0E4E0;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Decorative Line Overlay */
.line-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.line {
    position: fixed;
    width: 1px;
    height: 100%;
    background: var(--line-light);
}

.line-1 { left: 12%; }
.line-2 { left: 50%; transform: translateX(-50%); }
.line-3 { right: 12%; }

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(253, 249, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--line-light);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-phone {
    font-size: 0.8125rem !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    color: var(--burgundy) !important;
    font-weight: 400 !important;
}

.nav-phone::after {
    display: none !important;
}

/* Mobile Menu Button */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--burgundy);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: color var(--transition);
}

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

.mobile-menu-phone {
    font-size: 0.9375rem;
    color: var(--burgundy);
    letter-spacing: 0.04em;
    margin-top: 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-ghost:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section Labels
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1px;
    background: var(--burgundy);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-subheadline {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

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

.hero-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.hero-image-block {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
}

.hero-image-frame img {
    width: 100%;
    height: 760px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 60%;
    height: 40%;
    background: var(--blush);
    z-index: -1;
    opacity: 0.5;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    animation: float 2s ease-in-out infinite;
}

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

/* ============================================
   Intro / About Section
   ============================================ */
.intro {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

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

.intro-image-col img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.intro-text-col {
    padding-left: 1rem;
}

.intro-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
}

.intro-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
}

.intro-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

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

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

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

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-header .section-label {
    padding-left: 0;
}

.section-header .section-label::before {
    display: none;
}

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

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--line-light);
    transition: all var(--transition);
    position: relative;
    background: var(--white);
}

.service-card:hover {
    border-color: var(--blush);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.06);
    transform: translateY(-4px);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--blush);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
}

/* ============================================
   Approach Section
   ============================================ */
.approach {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

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

.approach-content {
    padding-right: 2rem;
}

.approach-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.approach-step {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.approach-step:first-child {
    padding-top: 0;
}

.step-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    display: block;
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
}

.approach-image-col img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

/* ============================================
   Testimonial Section
   ============================================ */
.testimonial {
    padding: 6rem 0;
    background: var(--burgundy);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--blush-light);
    margin-bottom: 1.75rem;
}

.testimonial-attribution {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush);
    opacity: 0.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

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

.contact-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-dark);
}

.contact-detail-value a {
    color: var(--text-dark);
    transition: color var(--transition);
}

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

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--line);
    padding: 0.875rem 1rem;
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7E81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--blush-light);
    border: 1px solid var(--blush);
    font-size: 0.9375rem;
    color: var(--burgundy);
    margin-top: 0.5rem;
}

.form-success.show {
    display: flex;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--text-dark);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
    color: var(--blush);
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 0.7fr;
        gap: 2.5rem;
    }

    .hero-image-frame img {
        height: 560px;
    }

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

    .intro-layout {
        gap: 3rem;
    }

    .approach-layout {
        gap: 3rem;
    }
}

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

    .nav-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

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

    .hero-image-block {
        order: -1;
    }

    .hero-image-frame img {
        height: 400px;
    }

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

    .hero-scroll-indicator {
        display: none;
    }

    .intro {
        padding: 5rem 0;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .intro-image-col img {
        height: 400px;
    }

    .intro-text-col {
        padding-left: 0;
    }

    .intro-stats {
        gap: 2rem;
    }

    .services {
        padding: 5rem 0;
    }

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

    .approach {
        padding: 5rem 0;
    }

    .approach-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .approach-content {
        padding-right: 0;
    }

    .approach-image-col img {
        height: 360px;
    }

    .testimonial {
        padding: 4rem 0;
    }

    .contact {
        padding: 5rem 0;
    }

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

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

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

    .line-overlay {
        display: none;
    }
}

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

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

    .hero-ctas .btn {
        width: 100%;
    }

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

    .service-card {
        padding: 1.75rem;
    }
}
