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

:root {
    /* Responsive horizontal margin - matches nutrient.io style */
    --side-padding: clamp(1.5rem, 5vw, 7.5rem);
    --content-max-width: 1440px;

    /* Design Tokens - Consistent across site */
    --color-bg: #f9f7f2;
    --color-bg-beige: #F1E7D3;
    --color-bg-cream: #FFF8EA;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #555;
    --color-text-muted: #888;

    /* Brand Colors */
    --color-lime: #c1ff4f;
    --color-lime-light: #D7FF9E;
    --color-lime-dark: #85CA00;
    --color-pink: #FFA1D8;
    --color-pink-light: #FFD6F3;
    --color-yellow: #FFEDC2;
    --color-blue: #C0EEFF;
    --color-blue-light: #D0E4FF;

    /* Consistent Border Radii */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: clamp(1.5rem, 3vw, 2.5rem);
    --radius-full: 100px;

    /* Spacing Scale - Nutrient.io inspired */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Section Spacing */
    --section-padding-y: clamp(5rem, 10vw, 8rem);
    --section-gap: clamp(1.5rem, 3vw, 2.5rem);

    /* Animation Easings */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Typography */
    --font-heading: 'Questrial', sans-serif;
    --font-body: 'Noto Sans', sans-serif;

    /* Typography Scale - Nutrient.io inspired */
    --text-xs: clamp(0.75rem, 0.9vw, 0.8125rem);
    --text-sm: clamp(0.875rem, 1vw, 0.9375rem);
    --text-base: clamp(1rem, 1.1vw, 1.0625rem);
    --text-lg: clamp(1.125rem, 1.25vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 2.5vw, 2rem);
    --text-3xl: clamp(2rem, 3.5vw, 2.75rem);
    --text-4xl: clamp(2.5rem, 5vw, 4rem);
    --text-5xl: clamp(3rem, 6vw, 5rem);
}

html,
body {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: #1a1a1a;
    background-color: #f9f7f2;
    /* Allow WebGL to show through if it's fixed */
    -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------------
   Layering System
   - #webgl-container: Fixed at z-index -1.
   - main: Relative, z-index 1.
------------------------------------------------------------------- */

main {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* GSAP ScrollTrigger pin-spacer - ensure solid background to cover WebGL gradient */
.pin-spacer {
    background-color: #f9f7f2 !important;
    width: 100% !important;
}

#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Let mouse pass through to body/trackers */
    /* Clip gradient to hero section only - prevents bleeding into other sections */
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
}

/* -------------------------------------------------------------------
   Typography
------------------------------------------------------------------- */
h1,
h2,
h3,
a.nav-link {
    font-family: 'Questrial', sans-serif;
}

/* -------------------------------------------------------------------
   Navigation - Enhanced with CSS Variables for smooth transitions
------------------------------------------------------------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem) var(--side-padding);
    z-index: 100;
    transition: all 0.4s var(--ease-smooth);

    /* CSS Variable driven - enables smooth GSAP animations */
    --nav-bg: transparent;
    --nav-blur: 0px;
    --nav-border: transparent;
    --nav-shadow: 0 0 0 rgba(0,0,0,0);

    background: var(--nav-bg);
    backdrop-filter: blur(var(--nav-blur));
    -webkit-backdrop-filter: blur(var(--nav-blur));
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
}

.site-nav.scrolled {
    padding: clamp(1rem, 2vw, 1.5rem) var(--side-padding);
    --nav-bg: rgba(249, 247, 242, 0.92);
    --nav-blur: 20px;
    --nav-border: rgba(0, 0, 0, 0.06);
    --nav-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.logo img {
    display: block;
    /* added for robustness */
    height: 26px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s var(--ease-smooth);
}

/* Underline animation from center */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.4s var(--ease-smooth), left 0.4s var(--ease-smooth);
}

.nav-links a:hover::before {
    width: 100%;
    left: 0;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 102;
}

.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

/* Mobile menu button active state */
.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-smooth), visibility 0.4s var(--ease-smooth);
    z-index: 99;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
    color: var(--color-text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), color 0.3s ease;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover {
    color: var(--color-lime-dark);
}

/* Show mobile menu button on smaller screens */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

/* -------------------------------------------------------------------
   Hero Section
------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: clamp(8rem, 14vw, 11rem) var(--side-padding) clamp(5rem, 8vw, 7rem);
    /* Breathable top, enough bottom for curved section overlap */
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    /* Fluid typography: 40px to 80px */
    line-height: 1.1;
    font-weight: 400;
    max-width: 1100px;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: -2px;
    color: #050505;
}

.hero-subtext {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    /* Fluid: 16px to 20px */
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: #1a1a1a;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #050505;
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.25s ease;
}

.btn-primary:hover {
    background: #2a2a2a;
}

.trusted-by {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    /* Breathable spacing from CTA */
}

.trusted-by span {
    display: block;
    font-size: clamp(0.875rem, 1vw + 0.25rem, 1rem);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    color: #333;
    font-family: 'Questrial', sans-serif;
    letter-spacing: -0.2px;
}

.logos-grid {
    display: flex;
    gap: clamp(2rem, 4vw, 3.75rem);
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: saturate(0) brightness(0.2);
}

.logos-grid img {
    height: clamp(1.25rem, 2vw, 1.75rem);
    width: auto;
}

/* -------------------------------------------------------------------
   Work / Marquee Section
------------------------------------------------------------------- */
.work-showcase {
    position: relative;
    background: #f9f7f2;
    padding-bottom: clamp(4rem, 8vw, 7.5rem);
    z-index: 2;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: clamp(-3rem, -3vw, -2.5rem);
}

.section-curve-top {
    height: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
}

.marquee-wrapper {
    width: 100%;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(4rem, 8vw, 7.5rem);
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: max-content;
    will-change: transform;
    animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.project-card {
    width: clamp(280px, 38vw, 520px);
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s var(--ease-smooth);
    /* No shadow - clean look */
}

.project-card:hover {
    transform: scale(1.02);
}

.project-card img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* -------------------------------------------------------------------
   Testimonials
------------------------------------------------------------------- */
.testimonials-area {
    padding: 0 var(--side-padding);
    /* Uses consistent side padding */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.t-quote {
    font-size: clamp(0.875rem, 1vw + 0.25rem, 1rem);
    line-height: 1.6;
    color: #222;
}

.t-author {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.t-avatar {
    width: clamp(2.25rem, 3vw, 2.75rem);
    min-width: clamp(2.25rem, 3vw, 2.75rem);
    height: clamp(2.25rem, 3vw, 2.75rem);
    min-height: clamp(2.25rem, 3vw, 2.75rem);
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
}

.t-name {
    font-weight: 600;
    font-size: clamp(0.8125rem, 1vw + 0.125rem, 0.9375rem);
}

.t-role {
    font-size: clamp(0.75rem, 0.9vw + 0.125rem, 0.875rem);
    color: #666;
}

/* -------------------------------------------------------------------
   Diagnostic Section
------------------------------------------------------------------- */
.diagnostic-section {
    background: #f9f7f2;
    padding: var(--section-padding-y) var(--side-padding);
    position: relative;
    z-index: 2;
}

.diagnostic-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    background: #F1E7D3;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
}

.diagnostic-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.diagnostic-header .section-headline {
    max-width: 100%;
}

/* Legacy - keep for compatibility */
.diagnostic-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: #292A2C;
    text-transform: capitalize;
    margin-bottom: clamp(2rem, 4vw, 3.375rem);
    line-height: 1.2;
}

.diagnostic-headline span {
    color: #292A2C;
    opacity: 0.7;
}

.diagnostic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

/* Checklist Styles */
.diagnostic-checklist {
    display: flex;
    flex-direction: column;
    gap: clamp(0.875rem, 1.5vw, 1.25rem);
}

.check-item {
    display: flex;
    align-items: center;
    gap: clamp(0.875rem, 1.5vw, 1.0625rem);
    padding: clamp(1rem, 2vw, 1.25rem);
    background: #FFF8EA;
    border-radius: clamp(0.875rem, 1.5vw, 1.25rem);
    cursor: pointer;
    transition: transform 0.4s var(--ease-smooth), background 0.3s ease;
}

.check-item:hover {
    transform: translateX(6px);
}

.check-item.checked {
    background: #D9FF93;
}

.check-box {
    width: clamp(2rem, 3vw, 2.5rem);
    height: clamp(2rem, 3vw, 2.5rem);
    min-width: clamp(2rem, 3vw, 2.5rem);
    border-radius: var(--radius-sm);
    border: 1.5px solid #A0A0A0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #FFFFFF;
    /* White background */
}

.check-item.checked .check-box {
    background: #85CA00;
    border-color: #85CA00;
}

.check-icon {
    width: 60%;
    height: 60%;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.check-item.checked .check-icon {
    opacity: 1;
    transform: scale(1);
}

.check-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.375rem, 0.75vw, 0.5rem);
}

.check-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
}

.check-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.4;
    opacity: 0.8;
}

/* Thermometer Styles */
.thermometer-wrapper {
    background: #FFF8EA;
    border-radius: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thermometer {
    display: flex;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.5rem);
    height: 100%;
    min-height: 380px;
}

.thermo-track {
    width: clamp(3.5rem, 5vw, 4.5rem);
    background: #E8E4DC;
    border-radius: 100px;
    position: relative;
    /* overflow: hidden; Removed to allow indicator outside if needed, but usually indicator is relative to track. 
       Actually, if indicator is 'left: 50%' it might be inside. 
       Let's keep overflow hidden for the fill, but we need indicator to pop out?
       The design has indicator pointing AT the track from the side.
       So indicator should be OUTSIDE the track.
    */
}

/* Inner track for masking fill */
.thermo-inner {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    /* Create segments with a mask or white grid overlay */
    -webkit-mask-image: linear-gradient(to bottom,
            black 23%, transparent 23%, transparent 25%,
            black 25%, black 48%, transparent 48%, transparent 50%,
            black 50%, black 73%, transparent 73%, transparent 75%,
            black 75%);
    mask-image: linear-gradient(to bottom,
            black 23%, transparent 23%, transparent 25%,
            black 25%, black 48%, transparent 48%, transparent 50%,
            black 50%, black 73%, transparent 73%, transparent 75%,
            black 75%);
    /* Fallback/Adjustment to visually match segments */
}

.thermo-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    /* Start slightly filled */
    background: linear-gradient(to top,
            #A2F066 0%,
            #60CFFF 33%,
            #FFD966 66%,
            #FF8585 100%);
    background-size: 100% 100%;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.thermo-indicator {
    position: absolute;
    right: -12px;
    /* Position on the right side of track? Design seems to have labels on right. 
                     Wait, design image: Thermometer LEFT, Labels RIGHT.
                     Indicator is between track and labels.
                     So indicator is on RIGHT of track.
                  */
    bottom: 10%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #292A2C;
    /* Points left towards track */
    transform: translateY(50%);
    transition: bottom 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

/* Flip arrow to point left */
.thermo-indicator {
    border-right: 12px solid #292A2C;
    border-left: none;
}

.thermo-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0;
    height: 100%;
}

.thermo-level {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1vw, 1.25rem);
    transition: opacity 0.3s ease;
    opacity: 0.4;
    /* Inactive state */
}

.thermo-level.active {
    opacity: 1;
}

.thermo-level.active .thermo-text {
    color: #292A2C;
    font-weight: 600;
}

.thermo-tick {
    width: clamp(1.5rem, 2.5vw, 2.5rem);
    height: 1px;
    background: #989692;
    display: none;
    /* Design doesn't show ticks connecting, just the indicator moving */
}

/* Re-add small ticks if needed, but design has floating labels with indicator */
.thermo-text {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1.125rem);
    color: #989692;
    text-transform: capitalize;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Responsive - Diagnostic */
@media (max-width: 1024px) {
    .diagnostic-content {
        grid-template-columns: 1fr;
    }

    .thermometer-wrapper {
        order: -1;
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .thermometer {
        flex-direction: column;
        width: 100%;
        min-height: auto;
        gap: 1.5rem;
    }

    .thermo-track {
        width: 100%;
        height: clamp(3rem, 5vw, 4rem);
        border-radius: 100px;
    }

    .thermo-inner {
        width: 100%;
        height: 100%;
        border-radius: 100px;
        -webkit-mask-image: linear-gradient(to right,
                black 23%, transparent 23%, transparent 25%,
                black 25%, black 48%, transparent 48%, transparent 50%,
                black 50%, black 73%, transparent 73%, transparent 75%,
                black 75%);
        mask-image: linear-gradient(to right,
                black 23%, transparent 23%, transparent 25%,
                black 25%, black 48%, transparent 48%, transparent 50%,
                black 50%, black 73%, transparent 73%, transparent 75%,
                black 75%);
    }

    .thermo-fill {
        bottom: 0;
        left: 0;
        top: auto;
        right: auto;
        height: 100%;
        width: 15%;
        background: linear-gradient(to right,
                #A2F066 0%,
                #60CFFF 33%,
                #FFD966 66%,
                #FF8585 100%);
    }

    .thermo-indicator {
        left: auto;
        right: auto;
        top: -12px;
        bottom: auto;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 12px solid #292A2C;
        /* Points down */
        border-bottom: none;
        transform: translateX(-50%);
        transition: left 1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .thermo-labels {
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        padding: 0;
        height: auto;
    }

    .thermo-level {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        flex: 1;
        text-align: center;
    }

    .thermo-text {
        font-size: clamp(0.75rem, 1.8vw, 0.875rem);
        white-space: normal;
        line-height: 1.2;
    }
}

/* Tablet - Diagnostic refinements */
@media (max-width: 768px) {
    .diagnostic-container {
        padding: clamp(1.25rem, 4vw, 2rem);
    }

    .check-item {
        flex-direction: row;
        align-items: flex-start;
        padding: clamp(0.875rem, 3vw, 1rem);
        gap: 0.75rem;
    }

    .check-box {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        flex-shrink: 0;
        margin-top: 0.125rem;
    }

    .check-content {
        gap: 0.25rem;
    }

    .check-title {
        font-size: 0.9375rem;
        line-height: 1.3;
    }

    .check-desc {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .thermometer-wrapper {
        padding: 1.25rem;
        padding-top: 2.5rem;
    }

    .thermometer {
        gap: 0.5rem;
        position: relative;
    }

    .thermo-track {
        height: 2.5rem;
    }

    /* Show all labels with alternating positions */
    .thermo-labels {
        position: relative;
    }

    .thermo-level {
        flex: 1;
    }

    /* Move levels 1 and 3 above the track */
    .thermo-level[data-level="1"],
    .thermo-level[data-level="3"] {
        position: absolute;
        top: -3.5rem;
    }

    /* Position level 1 (Could Be Better) - 2nd from left with row-reverse */
    .thermo-level[data-level="1"] {
        left: 20%;
        transform: translateX(-50%);
    }

    /* Position level 3 (Losing Deals) - 4th from left with row-reverse */
    .thermo-level[data-level="3"] {
        left: 80%;
        transform: translateX(-50%);
    }

    .thermo-text {
        font-size: 0.6875rem;
        white-space: nowrap;
    }
}

/* Mobile - Diagnostic refinements */
@media (max-width: 575px) {
    .diagnostic-container {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .diagnostic-header {
        margin-bottom: 1.5rem;
    }

    .diagnostic-content {
        gap: 1.25rem;
    }

    .check-item {
        padding: 0.875rem;
        border-radius: 0.75rem;
    }

    .check-box {
        width: 1.75rem;
        height: 1.75rem;
        min-width: 1.75rem;
    }

    .check-title {
        font-size: 0.875rem;
    }

    .check-desc {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .thermometer-wrapper {
        padding: 1rem;
        padding-top: 2.25rem;
        border-radius: 1rem;
    }

    .thermometer {
        gap: 0.5rem;
    }

    .thermo-track {
        height: 2rem;
    }

    /* Adjust upper label positions for mobile */
    .thermo-level[data-level="1"],
    .thermo-level[data-level="3"] {
        top: -3rem;
    }

    .thermo-text {
        font-size: 0.5625rem;
    }
}

/* Responsive */
/* Testimonial grid layout adjustments */
@media (max-width: 1200px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-headline {
        letter-spacing: -1px;
    }

    .nav-links {
        display: none;
    }

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

    .project-card {
        width: 85vw;
    }

    .logos-grid {
        gap: 1.5rem;
    }
}

/* -------------------------------------------------------------------
   Services Section 
   (Comparison, Audit Banner, Services Grid)
------------------------------------------------------------------- */
.services-section {
    padding: var(--section-padding-y) var(--side-padding);
    background: #f9f7f2;
    position: relative;
    z-index: 2;
}

.services-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* -------------------------------------------------------------------
   Unified Section Heading System
   Consistent label + headline + desc pattern across all sections
------------------------------------------------------------------- */
.section-label {
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-size: var(--text-sm);
    color: #1a1a1a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-label--light {
    color: rgba(0, 0, 0, 0.7);
}

.section-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #1a1a1a;
    max-width: 600px;
    line-height: 1.2;
    text-wrap: balance;
    margin: 0;
}

.section-headline--light {
    color: #000;
}

.section-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin-top: 1rem;
}

.section-desc--dark {
    color: rgba(0, 0, 0, 0.7);
}

/* Comparison Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.comparison-card {
    background: #F1E7D3;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: background 0.25s ease;
}

.comparison-card:hover {
    background: #e9dfc9;
}

.card-header h4 {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.card-line {
    width: 100%;
    height: 1px;
    background: #1a1a1a;
    opacity: 0.1;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
    flex-shrink: 0;
    margin-top: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-text strong {
    display: block;
    font-size: clamp(0.875rem, 1vw, 1rem);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: #555;
    line-height: 1.5;
}

/* Audit Gradient Banner */
.audit-banner {
    width: 100%;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #FFC7EA 0%, #E3FF73 50%, #FFB775 100%);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Compact variant without visual */
.audit-banner--compact {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    justify-content: flex-start;
}

.audit-banner--compact .audit-content {
    max-width: 100%;
}

.audit-banner--compact .audit-subhead {
    margin-bottom: 1.25rem;
}

.audit-content {
    flex: 1;
    max-width: 600px;
}

.audit-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #050505;
}

.audit-subhead {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #1a1a1a;
    max-width: 480px;
}

.btn-audit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: #050505;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: background 0.25s ease;
}

.btn-audit:hover {
    background: #f0f0f0;
}

/* Placeholder visual from screenshot */
.audit-visual {
    width: clamp(200px, 30vw, 360px);
    aspect-ratio: 1/1;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    flex-shrink: 0;
    opacity: 0.9;
}

/* Services Small Grid */
.services-wrapper {
    background: #F1E7D3;
    border-radius: var(--radius-xl);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: left;
}

.subsection-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.service-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.25s ease;
}

.service-card:hover {
    background: #fafafa;
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    margin-bottom: 0.5rem;
}

.service-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-card p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .audit-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .audit-visual {
        width: 100%;
        aspect-ratio: 16/9;
        margin-top: 1rem;
    }
}

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

/* -------------------------------------------------------------------
   Process Section - Sticky Horizontal Scroll
------------------------------------------------------------------- */
.process-section {
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--section-padding-y) var(--side-padding);
}

.process-sticky-wrapper {
    width: 100%;
}

.process-section .container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0;
}

.process-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vh, 3rem);
}

.process-header {
    max-width: 600px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-header .section-label {
    margin-bottom: 1rem;
}

.process-header .section-headline {
    margin-bottom: 1rem;
}

.process-intro {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin-top: 1rem;
}

.process-track-wrapper {
    width: 100%;
    overflow: visible;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.process-card {
    min-height: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.process-card-icon {
    position: absolute;
    top: 1.75rem;
    left: 1.75rem;
    width: 48px;
    height: 48px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.process-card-content h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-family: 'Questrial', sans-serif;
    line-height: 1.25;
}

.process-card-content p {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: #1a1a1a;
}

/* Card Colors */
.card-green {
    background-color: #D7FF9E;
}

.card-yellow {
    background-color: #FFEDC2;
}

.card-pink {
    background-color: #FFD6F3;
}

.card-blue {
    background-color: #C0EEFF;
}

/* Progress Bar */
.process-progress-container {
    width: 100%;
    height: 3px;
    background-color: rgba(26, 26, 26, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.process-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #1a1a1a;
    transform: scaleX(var(--progress));
    /* Bound to variable */
    transform-origin: left;
}

/* Responsive */
@media (max-width: 768px) {
    .process-section {
        height: auto;
    }

    .process-sticky-wrapper {
        position: relative;
        height: auto;
        padding: 5rem 0;
        top: auto;
    }

    .process-section .container {
        height: auto;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-card {
        min-height: 240px;
        padding: 1.5rem;
    }

    .process-progress-container {
        display: none;
    }
}

/* -------------------------------------------------------------------
   Work Section - Editorial Before/After Layout
------------------------------------------------------------------- */
.work-section {
    padding: clamp(5rem, 10vw, 8rem) var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
    width: 100%;
}

.work-header {
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

/* Legacy classes - keep for backwards compatibility */
.work-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.work-intro {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.6;
    color: #555;
    max-width: 600px;
}

/* Work List - Stacking cards container */
.work-list {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Individual Work Item - Clean flat card layout */
.work-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    text-decoration: none;
    color: inherit;
    /* Clean seamless card styles */
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #f9f7f2;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    will-change: transform;
}

.work-item:first-child {
    border-top: none;
}

.work-item:hover .work-client {
    color: #555;
}

/* Desktop stacking mode - cards positioned absolutely */
@media (min-width: 769px) {
    .work-section.stacking-active .work-list {
        position: relative;
        overflow: visible;
    }

    .work-section.stacking-active .work-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: #f9f7f2;
        /* Ensure cards visually stack properly */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .work-section.stacking-active .work-item:first-child {
        border-top: none;
    }
}

/* Work Info - Left side text */
.work-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

/* Case Study Tag - Now unified with .tag component system */
.case-study-tag {
    display: inline-block;
    width: fit-content;
    padding: 0.3125rem 0.5rem;
    background-color: #E0F4FF;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.5625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
}

/* Tag Variants - Soft Pastel Shades */
.tag-blue { background-color: #E0F4FF; }
.tag-green { background-color: #E8F5D0; }
.tag-lime { background-color: #E8F5D0; }
.tag-pink { background-color: #FFE4F1; }
.tag-yellow { background-color: #FFF4DC; }
.tag-purple { background-color: #EDE4FF; }

.work-client {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
}

.work-description {
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.6;
    color: #666;
    max-width: 280px;
}

/* Work Image - Right side */
.work-image {
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
}

.work-visual {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
}

/* Responsive Work - Disable stacking on mobile */
@media (max-width: 768px) {
    .work-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .work-item {
        position: relative;
        top: auto;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: clamp(2rem, 4vw, 3rem) 0;
    }

    .work-info {
        order: 1;
    }

    .work-image {
        order: 2;
    }

    .work-description {
        max-width: 100%;
    }
}

/* -------------------------------------------------------------------
   Pricing Section - Figma Design Match
------------------------------------------------------------------- */
.pricing-section {
    padding: var(--section-padding-y) var(--side-padding) 1.5rem;
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.pricing-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Pricing section uses unified heading system - no overrides needed */

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

.pricing-card {
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 1.75vw, 1.5rem);
}

.card-pink-pricing {
    background-color: #FFD0E7;
}

.card-beige-pricing {
    background-color: #F1E7D3;
}

.pricing-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pricing-tier {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 400;
    color: #15190d;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.pricing-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.875rem);
    line-height: 1.4;
    color: #15190d;
    letter-spacing: -0.01em;
}

.pricing-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(21, 25, 13, 0.16);
}

.pricing-cost {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #15190d;
    letter-spacing: -0.03em;
    line-height: 1;
}

.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: 'Noto Sans', sans-serif;
    font-size: var(--text-sm);
    font-weight: 500;
    border: none;
    width: 100%;
    letter-spacing: -0.01em;
    transition: background 0.25s ease;
}

.btn-pricing:hover {
    background: #f0f0f0;
}

.btn-pricing svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    gap: 1rem;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    align-items: center;
    color: #15190d;
    letter-spacing: -0.01em;
}

.check-icon-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.check-icon-pricing svg {
    width: 16px;
    height: 16px;
}

.pricing-who {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.pricing-who-label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(21, 25, 13, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.pricing-who p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #15190d;
    letter-spacing: -0.01em;
    margin: 0;
}

/* -------------------------------------------------------------------
   SEO Health Check Section - Figma Design
------------------------------------------------------------------- */
.seo-health-section {
    padding: 1.5rem var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.seo-health-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #FFC7EA 0%, #D0FF7D 50%, #FFD699 100%);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    position: relative;
}

.seo-health-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(0.5rem, 1vw, 1rem) 0;
}

.seo-health-content .section-headline {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Legacy - keep for compatibility */
.seo-health-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

/* Legacy - using section-desc--dark instead */
.seo-health-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0;
}

.btn-seo-health {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: 'Noto Sans', sans-serif;
    font-size: var(--text-base);
    font-weight: 500;
    width: fit-content;
    text-transform: capitalize;
    transition: background 0.25s ease;
}

.btn-seo-health:hover {
    background: #f0f0f0;
}

.btn-seo-health svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.seo-health-visual {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.seo-health-placeholder {
    width: clamp(200px, 25vw, 330px);
    height: 100%;
    min-height: 280px;
    background: #fff;
    border-radius: clamp(1.5rem, 3vw, 2.5rem);
}

.seo-health-image {
    width: clamp(280px, 35vw, 480px);
    height: auto;
    border-radius: clamp(0.75rem, 1.5vw, 1rem);
    object-fit: contain;
}

/* -------------------------------------------------------------------
   Customer Testimonials Section - Figma Design
------------------------------------------------------------------- */
.customer-testimonials-section {
    padding: 1.5rem var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.customer-testimonials-wrapper {
    background-color: #F1E7D3;
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 2.8rem);
    overflow: hidden;
}

.testimonials-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Legacy - keep for compatibility */
.customer-testimonials-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.customer-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.5vw, 1.25rem);
}

.customer-testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    padding-top: clamp(1.5rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.5vw, 1.25rem);
    overflow: hidden;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1rem;
    color: #000;
}

.testimonial-stars span {
    display: inline-block;
}

.testimonial-quote {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.2;
    color: #000;
    text-transform: capitalize;
    margin: 0;
}

/* -------------------------------------------------------------------
   Footer Section - Figma Design
------------------------------------------------------------------- */
.site-footer-new {
    padding: clamp(2rem, 4vw, 3rem) var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.footer-card {
    background-color: #F1E7D3;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(450px, 50vw, 657px);
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

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

.footer-cta-text {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0.03em;
    margin: 0;
}

.footer-email {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0.03em;
    margin: 0;
    text-decoration: none;
    transition: opacity 0.3s var(--ease-smooth);
    display: block;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-nav-columns {
    display: flex;
    gap: 0;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 97px;
}

.footer-nav-col a {
    font-family: 'Noto Sans', sans-serif;
    font-size: var(--text-sm);
    font-weight: 400;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0 0.625rem;
    transition: color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
    display: inline-block;
}

.footer-nav-col a:hover {
    color: var(--color-text-secondary);
    transform: translateX(4px);
}

.footer-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-large {
    width: 100%;
    max-width: 507px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.kindred-wordmark {
    width: 100%;
    height: auto;
    max-height: 95px;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.46);
}

.footer-copyright {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.9375rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.46);
    text-transform: uppercase;
    line-height: 1.5;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.9375rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.46);
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.5;
}

/* -------------------------------------------------------------------
   FAQ Section - Kindred Design Language
------------------------------------------------------------------- */
.faq-section {
    padding: var(--section-padding-y) var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 120px;
}

.faq-header .section-headline {
    max-width: 100%;
}

/* Legacy - keep for compatibility */
.faq-headline {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.25rem, 2vw, 1.5rem) 0;
    cursor: pointer;
    list-style: none;
}

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

.faq-question span {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #1a1a1a;
    transition: transform 0.4s var(--ease-smooth);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-question:hover .faq-icon {
    transform: translateY(2px);
}

.faq-item[open] .faq-question:hover .faq-icon {
    transform: rotate(180deg) translateY(-2px);
}

.faq-answer {
    padding-bottom: clamp(1.25rem, 2vw, 1.5rem);
}

.faq-answer p {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
    max-width: 90%;
}

/* Responsive - New Sections */
@media (max-width: 1023px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-header {
        position: static;
    }

    .seo-health-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .seo-health-visual {
        width: 100%;
    }

    .seo-health-placeholder {
        width: 100%;
        min-height: 200px;
    }

    .seo-health-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .customer-testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav-columns {
        width: 100%;
    }

    .footer-logo-large {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .seo-health-headline {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .customer-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .customer-testimonial-card:last-child {
        max-width: 100%;
    }

    .footer-card {
        min-height: auto;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-legal-links {
        gap: 1.5rem;
    }

    .footer-nav-columns {
        flex-direction: row;
        gap: 2rem;
    }

    .footer-cta-text,
    .footer-email {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .kindred-wordmark {
        max-height: 60px;
    }
}

/* -------------------------------------------------------------------
   SEO Check Section
------------------------------------------------------------------- */
.seo-section {
    padding: 58px var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.seo-banner {
    border-radius: 20px;
    background: linear-gradient(135deg, #FFD6F3 0%, #D7FF9E 50%, #FFEDC2 100%);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
}

.seo-content {
    flex: 1;
    max-width: 420px;
}

.seo-headline {
    font-family: 'Questrial', sans-serif;
    font-size: 26px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.seo-desc {
    margin-bottom: 20px;
    color: #444;
    font-size: 13px;
    line-height: 1.6;
}

.btn-seo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background-color: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.btn-seo:hover {
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.seo-visual {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}

.seo-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #FFD6F3 25%, #D7FF9E 55%, #FFEDC2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seo-visual::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    top: 12%;
    left: 12%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.95) 0%, transparent 70%);
}

.seo-input-mock {
    display: none;
}


/* -------------------------------------------------------------------
   Testimonials Section
------------------------------------------------------------------- */
.testimonials-section {
    padding: 58px var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.beige-container {
    background-color: #F5EFE0;
    border-radius: 24px;
    padding: 48px;
}

.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.testimonials-wrapper .section-headline {
    text-align: center;
    font-size: 26px;
    margin-bottom: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-left: 3px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.stars {
    color: #1a1a1a;
    font-size: 13px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 13px;
    line-height: 1.65;
    color: #444;
    flex: 1;
}

.testimonial-author {
    font-size: 12px;
    color: #888;
}


/* -------------------------------------------------------------------
   Book A Call (Booking Widget)
------------------------------------------------------------------- */
.booking-section {
    padding: 58px var(--side-padding);
    background-color: #f9f7f2;
    position: relative;
    z-index: 2;
}

.booking-section .section-headline {
    font-size: 28px;
    margin-bottom: 10px;
}

.booking-section .section-subhead {
    font-size: 14px;
    color: #666;
    max-width: 520px;
    line-height: 1.6;
}

.booking-widget-wrapper {
    margin-top: 36px;
    background: #F5EFE0;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
}

.calendar-mockup {
    display: flex;
    gap: 0;
    min-height: 440px;
    background: #F5EFE0;
}

.calendar-sidebar {
    width: 220px;
    padding: 28px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calendar-sidebar h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.cal-avatar {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #FFD6F3 30%, #D7FF9E 60%, #FFEDC2 100%);
    border-radius: 50%;
}

.cal-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.cal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cal-meta svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.cal-desc {
    font-size: 11px;
    line-height: 1.5;
    color: #666;
    margin-top: 8px;
}

.calendar-main {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.calendar-main h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

.calendar-grid-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 8px;
}

.month-nav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: #666;
    font-size: 14px;
}

.month-nav span {
    font-size: 14px;
    font-weight: 500;
}

.cal-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 8px;
    text-align: center;
}

.cal-day {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.cal-day:hover {
    background: rgba(0,0,0,0.05);
}

.cal-day.active-pink {
    background: #FF66A1;
    color: #fff;
}

.cal-day.active-pink-light {
    background: #FFD6F3;
    color: #FF66A1;
}

.cal-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: #666;
}

.cal-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-troubleshoot {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    color: #666;
    align-self: flex-start;
    margin-top: 8px;
}

.calendar-slots {
    width: 100px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    border-left: 1px solid rgba(0,0,0,0.05);
}

.calendar-slots button {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    color: #333;
}

.calendar-slots button:hover {
    border-color: #FF66A1;
    color: #FF66A1;
}


/* -------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.site-footer {
    background-color: #f9f7f2;
    padding: 56px var(--side-padding) 36px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-logo {
    display: block;
    width: 110px;
    height: auto;
}

.logo {
    font-family: 'Questrial', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.cta-btn {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 56px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col a {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.link-col a:hover {
    color: #1a1a1a;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #666;
}


/* -------------------------------------------------------------------
   Responsive - Remaining Sections
------------------------------------------------------------------- */
@media (max-width: 992px) {
    .pricing-section,
    .seo-section,
    .testimonials-section,
    .booking-section {
        padding: 48px var(--side-padding);
    }

    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .seo-banner {
        flex-direction: column;
        padding: 36px;
        text-align: center;
        gap: 28px;
    }

    .seo-visual {
        width: 100px;
        height: 100px;
    }

    .beige-container {
        padding: 36px;
    }

    .calendar-mockup {
        flex-direction: column;
        min-height: auto;
    }

    .calendar-sidebar {
        width: 100%;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .calendar-main {
        width: 100%;
        padding: 20px;
    }

    .calendar-slots {
        width: 100%;
        padding: 16px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .calendar-slots button {
        flex: 0 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .footer-links {
        gap: 32px;
        width: 100%;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* -------------------------------------------------------------------
   Animations
------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
}

/* Split text animation styles */
.split-text {
    overflow: hidden;
}

.split-text .line {
    display: block;
    overflow: hidden;
}

.split-text .line-inner {
    display: block;
    transform: translateY(100%);
    will-change: transform;
}

.split-text.revealed .line-inner {
    transform: translateY(0);
}

/* Word reveal animation */
.word-reveal .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.15;
    padding-bottom: 0.05em;
}

.word-reveal .word-inner {
    display: inline-block;
    will-change: transform;
}

/* Character reveal animation */
.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

/* Fade up reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    will-change: transform, opacity;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

/* -------------------------------------------------------------------
   Enhanced Button Interactions - Letter Stagger Hover
------------------------------------------------------------------- */

/* Base button with letter stagger structure */
.btn-primary,
.btn-audit,
.btn-pricing,
.btn-seo {
    position: relative;
    overflow: hidden;
}

/* Letter stagger container */
.btn-text {
    display: inline-flex;
    overflow: hidden;
}

.btn-text .char {
    display: inline-block;
    transition: transform 0.4s var(--ease-smooth);
}

/* Hover state for letter stagger */
.btn-primary:hover .char,
.btn-audit:hover .char,
.btn-pricing:hover .char,
.btn-seo:hover .char {
    transform: translateY(-100%);
}

/* Duplicate text for hover reveal */
.btn-text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.btn-text-wrapper .btn-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    transition: transform 0.4s var(--ease-smooth);
}

.btn-primary:hover .btn-text-hover,
.btn-audit:hover .btn-text-hover,
.btn-pricing:hover .btn-text-hover,
.btn-seo:hover .btn-text-hover {
    transform: translateY(-100%);
}

/* Magnetic button effect */
.magnetic-btn {
    transition: transform 0.3s var(--ease-out);
}

/* Enhanced primary button */
.btn-primary {
    position: relative;
    overflow: hidden;
}

/* Card hover lift effect */
.card-hover-lift {
    transition: transform 0.4s var(--ease-smooth);
}

.card-hover-lift:hover {
    transform: translateY(-6px);
}

/* Stagger reveal for grids */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-reveal.revealed > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

/* Reveal delay for stagger */
.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.5s; }

/* Nav link hover animation enhancement is now in Navigation section above */

/* -------------------------------------------------------------------
   Smooth Scroll Lenis Overrides
------------------------------------------------------------------- */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* -------------------------------------------------------------------
   Process Section Polish
------------------------------------------------------------------- */
/* Cards are visible by default - GSAP handles animations */
.process-card {
    opacity: 1;
    transform: scale(1);
}

.process-card-content {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------
   Typography Consistency
------------------------------------------------------------------- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

h4, h5, h6 {
    font-family: var(--font-body);
    color: var(--color-text-primary);
}

p {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Section labels consistency */
.section-label {
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

/* Section headlines consistency */
.section-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subhead {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

/* -------------------------------------------------------------------
   Comprehensive Responsive Styles
------------------------------------------------------------------- */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        padding: 0;
    }
}

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) {
    .process-card {
        width: clamp(420px, 45vw, 550px);
        height: 520px;
    }
}

/* Tablet Landscape (1024px - 1199px) */
@media (max-width: 1199px) {
    .pricing-grid {
        gap: 1.25rem;
    }

    .pricing-card {
        padding: 1.75rem;
    }

    .pricing-tier {
        font-size: 1.0625rem;
    }

    .pricing-features li {
        font-size: 0.9375rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .pricing-tier {
        font-size: 1.0625rem;
    }

    .pricing-desc {
        font-size: 0.875rem;
    }

    .pricing-cost {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.875rem;
    }

    .pricing-who p {
        font-size: 0.8125rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    :root {
        --side-padding: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.75rem);
        letter-spacing: -0.5px;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .logos-grid {
        gap: 1.25rem;
    }

    .logos-grid img {
        height: 1rem;
    }

    .diagnostic-headline {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .pricing-card {
        min-height: auto;
        padding: 1.75rem;
        gap: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-card:last-child {
        max-width: none;
    }

    .pricing-top {
        gap: 0.875rem;
    }

    .pricing-title-row {
        gap: 0.625rem;
    }

    .pricing-tier {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .pricing-desc {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .pricing-cost {
        font-size: 2.25rem;
    }

    .btn-pricing {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0.625rem;
    }

    .pricing-features {
        gap: 0.875rem;
    }

    .pricing-features li {
        font-size: 0.9375rem;
        gap: 0.75rem;
        line-height: 1.4;
    }

    .check-icon-pricing {
        width: 22px;
        height: 22px;
        border-radius: 0.375rem;
    }

    .check-icon-pricing svg {
        width: 14px;
        height: 14px;
    }

    .pricing-who {
        gap: 0.625rem;
        padding-top: 0.25rem;
    }

    .pricing-who-label {
        font-size: 0.6875rem;
        letter-spacing: 0.05em;
    }

    .pricing-who p {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .pricing-divider {
        margin: 0.25rem 0;
    }

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

    .testimonial-card {
        padding: 1.5rem;
    }

    .seo-banner {
        padding: 2rem;
    }

    .seo-headline {
        font-size: 1.75rem;
    }

    .audit-banner {
        padding: 2rem;
    }

    .audit-headline {
        font-size: 1.5rem;
    }

    .calendar-mockup {
        min-height: auto;
    }

    .calendar-sidebar,
    .calendar-main,
    .calendar-slots {
        padding: 1.5rem;
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .section-headline {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .work-headline {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .work-client {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .work-description {
        font-size: 1rem;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .process-card {
        padding: 2rem;
        min-height: 380px;
    }

    .process-card-content h3 {
        font-size: 1.5rem;
    }

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

    .link-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Enhanced Pricing Section for Small Screens */
    .pricing-section {
        padding: clamp(3rem, 8vw, 4rem) var(--side-padding) 2rem;
    }

    .pricing-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .pricing-grid {
        gap: 1.25rem;
    }

    .pricing-card {
        padding: 1.5rem;
        gap: 1.25rem;
        border-radius: 1rem;
    }

    .pricing-tier {
        font-size: 1.0625rem;
    }

    .pricing-desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .pricing-cost {
        font-size: 2rem;
        letter-spacing: -0.02em;
    }

    .btn-pricing {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .pricing-features {
        gap: 0.75rem;
    }

    .pricing-features li {
        font-size: 0.875rem;
        gap: 0.625rem;
        align-items: flex-start;
    }

    .check-icon-pricing {
        width: 20px;
        height: 20px;
        margin-top: 0.125rem;
        flex-shrink: 0;
    }

    .check-icon-pricing svg {
        width: 12px;
        height: 12px;
    }

    .pricing-who {
        gap: 0.5rem;
    }

    .pricing-who-label {
        font-size: 0.625rem;
    }

    .pricing-who p {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .pricing-divider {
        margin: 0.125rem 0;
    }
}

/* Extra Small Screens (< 400px) */
@media (max-width: 399px) {
    .pricing-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .pricing-tier {
        font-size: 1rem;
    }

    .pricing-desc {
        font-size: 0.8125rem;
    }

    .pricing-cost {
        font-size: 1.75rem;
    }

    .btn-pricing {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .pricing-features li {
        font-size: 0.8125rem;
    }

    .pricing-who p {
        font-size: 0.8125rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .lenis {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }

    .nav-links a::before {
        height: 3px;
    }

    .check-box {
        border-width: 2px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .btn-primary:hover::before {
        left: -100%;
    }

    .magnetic-btn {
        transform: none !important;
    }

    .work-item:hover .work-visual {
        transform: none;
    }
}

/* ============================================================
   AWARD-WINNING ANIMATION STYLES
   Premium animations for Awwwards/CSSDA submission
   ============================================================ */

/* -------------------------------------------------------------------
   Custom Cursor
   Award-winning sites have custom cursors
------------------------------------------------------------------- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .custom-cursor {
        display: none !important;
    }
}

/* -------------------------------------------------------------------
   Scroll Progress Bar
   Reading progress indicator at top
------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-lime) 0%, var(--color-pink) 50%, var(--color-blue) 100%);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 9998;
    will-change: transform;
}

/* -------------------------------------------------------------------
   Scroll-Scrub Text Reveal
   Words fade/blur in as user scrolls
------------------------------------------------------------------- */
.scrub-text {
    display: block;
}

.scrub-word {
    display: inline;
    will-change: opacity;
}

/* -------------------------------------------------------------------
   Magnetic Button Base
   For magnetic cursor effect
------------------------------------------------------------------- */
.magnetic-init {
    will-change: transform;
}

/* -------------------------------------------------------------------
   Link Hover Effects
   Subtle scale on links
------------------------------------------------------------------- */
.link-hover-init {
    will-change: transform;
}

/* -------------------------------------------------------------------
   Check Item Hover Effects
------------------------------------------------------------------- */
.check-hover-init {
    will-change: transform;
}

.check-hover-init .check-box {
    will-change: transform;
}

/* -------------------------------------------------------------------
   Divider Animations
   Line reveal effects
------------------------------------------------------------------- */
.card-line,
.pricing-divider {
    will-change: transform;
}

/* -------------------------------------------------------------------
   Accessibility: Disable award animations for reduced motion
------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .custom-cursor,
    .scroll-progress {
        display: none !important;
    }

    .scrub-word {
        opacity: 1 !important;
        filter: none !important;
    }

    .magnetic-init {
        transform: none !important;
    }

    .link-hover-init {
        transform: none !important;
    }

    .check-hover-init,
    .check-hover-init .check-box {
        transform: none !important;
    }
}

/* -------------------------------------------------------------------
   Site Loader - CSSDA Worthy Loading Animation
   Matches Kindred brand with gradient progress bar
------------------------------------------------------------------- */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #FAF8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.site-loader.loader-hidden {
    pointer-events: none;
}

.loader-content {
    width: 100%;
    max-width: min(90vw, 1200px);
    padding: 0 var(--side-padding);
    position: relative;
}

/* Counter - Large elegant percentage */
.loader-counter {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 400;
    color: rgba(50, 50, 50, 0.15);
    line-height: 1;
    letter-spacing: -0.04em;
    text-align: right;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    -webkit-text-stroke: 1px rgba(50, 50, 50, 0.08);
    will-change: contents;
}

/* Progress Track */
.loader-progress-track {
    width: 100%;
    height: clamp(8px, 1.2vw, 14px);
    background: transparent;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

/* Progress Bar with Hero Gradient */
.loader-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(
        90deg,
        #FFB366 0%,
        #FFA1D8 35%,
        #FFD6F3 50%,
        #D7FF9E 75%,
        #c1ff4f 100%
    );
    background-size: 200% 100%;
    will-change: width;
    transform-origin: left center;
    position: relative;
}

/* Subtle shimmer effect on progress bar */
.loader-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: loaderShimmer 2s ease-in-out infinite;
}

@keyframes loaderShimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* Loader exit animation states */
.site-loader.loader-complete .loader-counter {
    animation: counterFadeUp 0.6s var(--ease-smooth) forwards;
}

.site-loader.loader-complete .loader-progress-track {
    animation: trackFadeUp 0.6s var(--ease-smooth) 0.1s forwards;
}

.site-loader.loader-exit {
    animation: loaderSlideUp 0.8s var(--ease-smooth) forwards;
}

@keyframes counterFadeUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes trackFadeUp {
    0% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scaleY(0.5);
    }
}

@keyframes loaderSlideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Reduced motion - instant load */
@media (prefers-reduced-motion: reduce) {
    .site-loader {
        display: none !important;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .loader-counter {
        font-size: clamp(3rem, 20vw, 6rem);
        text-align: center;
    }

    .loader-progress-track {
        height: 6px;
    }
}