/* Cradle Tech Consulting - Main Stylesheet */

:root {
    --bg-dark: #0a0e17;
    --bg-cream: #f8f6f1;
    --bg-warm: #efe9df;
    --text-dark: #1a1a2e;
    --text-light: #f5f3ef;
    --text-muted: #6b7280;
    --accent-gold: #c9a55c;
    --accent-copper: #b87333;
    --accent-sage: #7d9d8c;
    --border-light: rgba(26, 26, 46, 0.1);
    --border-dark: rgba(245, 243, 239, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .serif {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(248, 246, 241, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 var(--border-light);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-gold);
}

.logo-img {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 120px;
    display: block;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 42px;
    max-height: 42px;
    max-width: 140px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(201, 165, 92, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-copper);
    margin-bottom: 1.25rem;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-copper);
}

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    color: var(--accent-gold);
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-dark);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 5/4;
    overflow: hidden;
    max-height: 360px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-light);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-warm) 0%, #d4c4b0 100%);
}

.hero-decoration {
    position: absolute;
    bottom: -3rem;
    left: -3rem;
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent-gold);
    opacity: 0.3;
}

.hero-stats {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: var(--bg-cream);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Problems Section */
.problems {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8rem 0;
    position: relative;
}

.problems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(245, 243, 239, 0.6);
    line-height: 1.8;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.problem-card {
    padding: 3rem;
    border: 1px solid var(--border-dark);
    position: relative;
    transition: all 0.4s ease;
}

.problem-card:hover {
    border-color: var(--accent-gold);
    background: rgba(201, 165, 92, 0.03);
}

.problem-number {
    font-family: 'Instrument Serif', serif;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.problem-card p {
    color: rgba(245, 243, 239, 0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.problem-solution {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.solution-tag {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 165, 92, 0.1);
    color: var(--accent-gold);
    letter-spacing: 0.02em;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border-light);
}

.service-card {
    background: var(--bg-cream);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover {
    background: var(--bg-warm);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-gold);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Approach Section */
.approach {
    padding: 8rem 0;
    background: var(--bg-warm);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.approach-sticky {
    position: sticky;
    top: 8rem;
}

.approach-sticky h2 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.approach-sticky p {
    color: var(--text-muted);
    line-height: 1.8;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.approach-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
}

.step-number {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-cream);
    overflow: hidden;
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author strong {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(201, 165, 92, 0.08) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(245, 243, 239, 0.6);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-light {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 1.25rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-light:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.contact-item {
    text-align: center;
}

.contact-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 243, 239, 0.4);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-cream);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stats {
        right: 0;
        bottom: 0;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .approach-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background: transparent;
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=1000&fit=crop') center/cover no-repeat;
        z-index: -2;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(248, 246, 241, 0.92) 0%,
            rgba(248, 246, 241, 0.88) 50%,
            rgba(248, 246, 241, 0.95) 100%
        );
        z-index: -1;
    }

    .hero-content {
        gap: 1rem;
        padding: 4rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-decoration {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-cream);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 1.5rem 0;
}

.mobile-menu-links a {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
}

.mobile-menu-close {
    position: absolute;
    top: 8rem;
    right: 1.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-dark);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1001;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
}

.theme-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--text-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.2);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-light);
}

.theme-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-menu::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--bg-cream);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transform: rotate(45deg);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.theme-option:hover {
    background: var(--bg-warm);
}

.theme-option.active {
    background: var(--bg-warm);
}

.theme-swatch {
    display: flex;
    gap: 2px;
    border-radius: 4px;
    overflow: hidden;
}

.theme-swatch span {
    width: 12px;
    height: 24px;
}

.theme-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Theme: Warm Gold (Default) */
[data-theme="warm-gold"] {
    --bg-dark: #0a0e17;
    --bg-cream: #f8f6f1;
    --bg-warm: #efe9df;
    --text-dark: #1a1a2e;
    --text-light: #f5f3ef;
    --text-muted: #6b7280;
    --accent-gold: #c9a55c;
    --accent-copper: #b87333;
}

/* Theme: Ocean */
[data-theme="ocean"] {
    --bg-dark: #0a192f;
    --bg-cream: #f0f4f8;
    --bg-warm: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --text-muted: #64748b;
    --accent-gold: #0ea5e9;
    --accent-copper: #0284c7;
}

/* Theme: Forest */
[data-theme="forest"] {
    --bg-dark: #1a2e1a;
    --bg-cream: #f5f7f4;
    --bg-warm: #e8ede6;
    --text-dark: #1f2d1f;
    --text-light: #f0f4ef;
    --text-muted: #5c6b5c;
    --accent-gold: #4d7c4d;
    --accent-copper: #3d5c3d;
}

/* Theme: Dusk */
[data-theme="dusk"] {
    --bg-dark: #1e1b2e;
    --bg-cream: #faf8fc;
    --bg-warm: #f0edf5;
    --text-dark: #2d2640;
    --text-light: #f5f3f8;
    --text-muted: #7c7291;
    --accent-gold: #a78bfa;
    --accent-copper: #8b5cf6;
}

/* Theme: Monochrome */
[data-theme="monochrome"] {
    --bg-dark: #000000;
    --bg-cream: #ffffff;
    --bg-warm: #f5f5f5;
    --text-dark: #111111;
    --text-light: #fafafa;
    --text-muted: #737373;
    --accent-gold: #404040;
    --accent-copper: #262626;
}

/* Font Themes */
[data-font="editorial"] {
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

[data-font="classic"] {
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', sans-serif;
}

[data-font="elegant"] {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', sans-serif;
}

[data-font="modern"] {
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

[data-font="clean"] {
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Work Sans', sans-serif;
}

/* Apply font variables */
h1, h2, h3, .serif {
    font-family: var(--font-heading, 'Instrument Serif', Georgia, serif);
}

body {
    font-family: var(--font-body, 'Outfit', sans-serif);
}

.logo, .footer-logo {
    font-family: var(--font-heading, 'Instrument Serif', Georgia, serif);
}

/* Theme Switcher Enhancements */
.theme-section-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 0.5rem 1rem 0.25rem;
    margin-top: 0.5rem;
}

.theme-section-label:first-child {
    margin-top: 0;
}

.font-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.font-option:hover {
    background: var(--bg-warm);
}

.font-option.active {
    background: var(--bg-warm);
}

.font-preview {
    font-size: 1.25rem;
    font-weight: 400;
    width: 36px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

/* Theme menu scrollable */
.theme-menu {
    max-height: 70vh;
    overflow-y: auto;
}

/* Mobile responsive for theme switcher */
@media (max-width: 768px) {
    .theme-switcher {
        bottom: 1rem;
        right: 1rem;
    }

    .theme-toggle {
        width: 48px;
        height: 48px;
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    .theme-menu {
        bottom: 60px;
        right: -0.5rem;
        max-height: 60vh;
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .problem-card {
        padding: 2rem;
    }

    .problem-number {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .approach-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .cta-section {
        padding: 6rem 0;
    }

    .testimonial-quote {
        font-size: 1.25rem;
    }

    .btn-primary,
    .btn-primary-light {
        padding: 1rem 2rem;
        font-size: 0.8125rem;
    }
}
