/*
 * Krevia — Digital Operations for Real Estate
 * Premium Minimalist Design System
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Colors */
    --black: #0a0a0a;
    --black-soft: #141414;
    --white: #ffffff;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-400: #a3a3a3;
    --grey-500: #737373;
    --grey-600: #525252;
    --grey-700: #404040;
    --grey-800: #262626;
    --grey-900: #171717;
    --accent: #b54a4a;
    --accent-light: #c75d5d;
    --accent-dark: #943c3c;
    --whatsapp: #25D366;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --section-padding-y: clamp(80px, 12vh, 140px);
    --section-padding-x: clamp(20px, 5vw, 60px);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 0.2s;
    --duration-medium: 0.5s;
    --duration-slow: 0.8s;
    --duration-slower: 1.2s;
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ========================================
   Page Transitions
======================================== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.transition-block {
    background: var(--black);
    transform: scaleY(0);
    transform-origin: top;
}

.transition-logo {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--white);
    opacity: 0;
}

/* ========================================
   Container
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

.container-wide {
    max-width: var(--container-wide);
}

/* ========================================
   Loader
======================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    display: flex;
    gap: 0.5rem;
}

.loader-letter {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLetter 0.6s var(--ease-out-expo) forwards;
}

.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.15s; }
.loader-letter:nth-child(3) { animation-delay: 0.2s; }
.loader-letter:nth-child(4) { animation-delay: 0.25s; }
.loader-letter:nth-child(5) { animation-delay: 0.3s; }
.loader-letter:nth-child(6) { animation-delay: 0.35s; }

@keyframes loaderLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--section-padding-x);
    transition: all var(--duration-medium) var(--ease-out-quart);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px var(--section-padding-x);
    box-shadow: 0 1px 0 var(--grey-200), 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-logo {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--black);
    z-index: 10;
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--grey-600);
    padding: 8px 0;
    position: relative;
    transition: color var(--duration-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width var(--duration-medium) var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--black);
}

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

.nav-link.active {
    color: var(--black);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--black);
    padding: 14px 28px;
    border-radius: 100px;
    border: 1.5px solid var(--black);
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo),
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-cta span {
    position: relative;
    z-index: 1;
}

.nav-cta svg {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(181, 74, 74, 0.2);
}

.nav-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta:hover svg {
    transform: translate(3px, -3px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--black);
    transition: all var(--duration-medium) var(--ease-out-quart);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-medium) var(--ease-out-quart);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-medium) var(--ease-out-quart);
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}

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

.mobile-link:hover::after {
    width: 100%;
}

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

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

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-footer a {
    font-size: 0.875rem;
    color: var(--grey-500);
}

/* ========================================
   Sections
======================================== */
.section {
    position: relative;
    padding: var(--section-padding-y) 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-index {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--grey-600);
    max-width: 640px;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--grey-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    will-change: transform;
}

.hero-gradient {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at 30% 20%, rgba(181, 74, 74, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(181, 74, 74, 0.05) 0%, transparent 40%);
    will-change: transform;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -10%;
    background: rgba(181, 74, 74, 0.12);
    animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -5%;
    left: -5%;
    background: rgba(181, 74, 74, 0.08);
    animation: orbPulse 10s ease-in-out infinite reverse;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform;
}

.hero-lines span {
    position: absolute;
    width: 1px;
    height: 150%;
    top: -25%;
    background: linear-gradient(to bottom, transparent 0%, var(--grey-300) 50%, transparent 100%);
    opacity: 0.3;
}

.hero-lines span:nth-child(1) { left: 10%; }
.hero-lines span:nth-child(2) { left: 30%; }
.hero-lines span:nth-child(3) { left: 50%; }
.hero-lines span:nth-child(4) { left: 70%; }
.hero-lines span:nth-child(5) { left: 90%; }

.hero-content {
    position: relative;
    z-index: 1;
    will-change: transform;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-500);
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--grey-300);
    border-radius: 100px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 48px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    margin-right: 0.3em;
}

.word:last-child {
    margin-right: 0;
}

.word.accent .letter {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.letter {
    display: inline-block;
    font-size: clamp(2.5rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--black);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.hero.loaded .letter {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle text shimmer on hover */
.hero-title:hover .letter {
    animation: textShimmer 2s ease infinite;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-tagline {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--grey-600);
    max-width: 420px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Cue */
.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: var(--section-padding-x);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.scroll-cue span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--grey-400) 50%, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   Magnetic Buttons
======================================== */
.magnetic-wrap {
    display: inline-block;
    position: relative;
}

.magnetic-wrap .magnetic-area {
    position: absolute;
    inset: -40px;
    z-index: 1;
}

.magnetic-wrap .magnetic-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s var(--ease-out-expo);
}

.magnetic-wrap:hover .magnetic-content {
    /* Transform applied via JS for magnetic effect */
}

/* ========================================
   Buttons — Premium Agency Style
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo),
                border-color 0.3s ease;
}

/* Background fill animation layer */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 0;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Ensure text and icon are above the fill */
.btn span,
.btn svg {
    position: relative;
    z-index: 1;
}

/* Primary Button */
.btn-primary {
    background: var(--black);
    color: var(--white);
    border: 1.5px solid var(--black);
}

.btn-primary::before {
    background: var(--accent);
}

.btn-primary:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(181, 74, 74, 0.25);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--grey-300);
}

.btn-secondary::before {
    background: var(--black);
}

.btn-secondary:hover {
    border-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border: 1.5px solid var(--whatsapp);
}

.btn-whatsapp::before {
    background: #1da851;
}

.btn-whatsapp:hover {
    border-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.25);
}

/* Button Icons */
.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

/* Arrow slides right on hover */
.btn:hover svg {
    transform: translateX(5px);
}

/* Arrow with diagonal movement for link icons */
.btn:hover svg polyline,
.btn:hover svg line {
    transition: transform 0.4s var(--ease-out-expo);
}

/* Large Button Variant */
.btn-large {
    padding: 22px 48px;
    font-size: 0.9375rem;
    gap: 14px;
}

.btn-large svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Statement Section
======================================== */
.statement {
    background: var(--grey-50);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.statement-pre {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 24px;
}

.statement-text {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--grey-400);
    max-width: 900px;
    margin: 0 auto;
}

.statement-emphasis {
    color: var(--black);
}

/* ========================================
   Problem Section
======================================== */
.problem {
    background: var(--black);
    color: var(--white);
}

.problem .section-label {
    color: var(--grey-500);
}

.problem .section-title {
    color: var(--white);
}

.problem .section-desc {
    color: var(--grey-400);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
    margin-bottom: 64px;
}

.pain-card {
    background: var(--grey-900);
    border: 1.5px solid var(--grey-800);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                border-color 0.3s ease,
                background 0.3s ease,
                box-shadow 0.4s var(--ease-out-expo);
}

.pain-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(181, 74, 74, 0.15) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s var(--ease-out-expo);
}

.pain-card:hover {
    border-color: var(--accent);
    background: var(--grey-800);
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.pain-card:hover::after {
    opacity: 1;
    transform: scale(2);
}

.pain-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.pain-index {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.pain-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-600);
    flex-shrink: 0;
}

.pain-icon svg {
    width: 32px;
    height: 32px;
}

.pain-card:hover .pain-icon {
    color: var(--accent);
}

.pain-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.pain-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--grey-400);
}

.problem-insight {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-top: 48px;
    border-top: 1px solid var(--grey-800);
}

.insight-line {
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin-top: 12px;
    flex-shrink: 0;
}

.insight-text {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--grey-300);
    max-width: 640px;
}

/* ========================================
   Solution / Services Section
======================================== */
.solution .section-title,
.services-page .section-title {
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--grey-200);
    margin-top: 64px;
}

.service-item {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                background 0.3s ease,
                box-shadow 0.4s var(--ease-out-expo);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-item:hover {
    background: var(--grey-50);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--grey-500);
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-item:hover .service-icon {
    color: var(--accent);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--grey-500);
}

/* ========================================
   Case Studies Section (Scroll-Jacked)
======================================== */
.case-studies {
    position: relative;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.case-studies-intro {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: clamp(220px, 30vh, 300px);
    padding-bottom: 12px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.case-studies-intro .container {
    width: 100%;
}

.case-studies-intro .section-desc {
    margin-bottom: 0;
}

.case-studies.case-studies-active .case-studies-intro {
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;
}

.case-studies-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
}

/* Progress indicator */
.case-progress {
    position: fixed;
    right: var(--section-padding-x);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-progress.visible {
    opacity: 1;
    visibility: visible;
}

.case-progress-current,
.case-progress-total {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--grey-400);
}

.case-progress-current {
    color: var(--white);
}

.case-progress-bar {
    width: 2px;
    height: 80px;
    background: var(--grey-800);
    border-radius: 1px;
    overflow: hidden;
}

.case-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 0.1s linear;
}

/* Individual case study */
.case-study {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 68px 0 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.case-study.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.case-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 var(--section-padding-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    text-align: center;
}

/* Header */
.case-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.case-header .section-index {
    color: var(--grey-500);
}

.case-header .section-label {
    color: var(--grey-400);
}

/* Title wrapper */
.case-title-wrapper {
    max-width: min(100%, 1100px);
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(30px);
}

.case-title {
    font-size: clamp(1.9rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.04;
    text-wrap: balance;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-200) 50%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: titleShimmer 3s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes titleShimmer {
    0% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.case-client {
    font-size: 0.95rem;
    color: var(--grey-400);
    font-weight: 400;
}

/* Device mockups */
.case-devices {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

/* Laptop device */
.device-laptop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) perspective(1000px) rotateX(5deg) rotateY(-5deg);
    z-index: 1;
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%, 100% { transform: translate(-50%, -50%) perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(0); }
    50% { transform: translate(-50%, -50%) perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-8px); }
}

.laptop-frame {
    width: 480px;
    padding: 10px 10px 28px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 80px rgba(181, 74, 74, 0.1);
    transition: box-shadow 0.5s var(--ease-out-expo);
}

.case-study.active:hover .laptop-frame {
    box-shadow:
        0 35px 70px -15px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 100px rgba(181, 74, 74, 0.15);
}

.laptop-frame::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--grey-700);
    border-radius: 3px;
}

.laptop-frame .device-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--grey-900);
    border-radius: 4px;
    overflow: hidden;
}

.laptop-frame .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Phone device */
.device-phone {
    position: absolute;
    right: 12%;
    bottom: 30px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    animation: phoneFloat 5s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-10px); }
}

.phone-frame {
    width: 140px;
    padding: 7px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 28px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 60px rgba(181, 74, 74, 0.1);
    transition: box-shadow 0.5s var(--ease-out-expo);
}

.case-study.active:hover .phone-frame {
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 80px rgba(181, 74, 74, 0.15);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--grey-800);
    border-radius: 2px;
}

.phone-frame .device-screen {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    background: var(--grey-900);
    border-radius: 20px;
    overflow: hidden;
}

.phone-frame .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Metrics */
.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 40px;
    width: min(100%, 600px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.metric {
    text-align: center;
    position: relative;
}

.metric::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
}

.case-study.active .metric::before {
    opacity: 1;
}

.metric-value {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.metric-label {
    display: block;
    font-size: 0.7rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Tech badges */
.case-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: min(100%, 620px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
}

.tech-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--grey-700);
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--grey-300);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-badge:hover {
    border-color: var(--accent);
    color: var(--white);
    background: rgba(181, 74, 74, 0.1);
    transform: translateY(-2px);
}

/* Quote */
.case-quote {
    width: min(100%, 520px);
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.case-quote p {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--grey-300);
    line-height: 1.45;
    margin-bottom: 6px;
    text-wrap: balance;
}

.quote-author {
    display: block;
    font-size: 0.8125rem;
    color: var(--grey-500);
    font-weight: 500;
}

@media (max-height: 900px) and (min-width: 769px) {
    .case-study {
        padding: 56px 0 16px;
    }

    .case-title-wrapper {
        margin-bottom: 14px;
    }

    .case-title {
        font-size: clamp(1.75rem, 4.2vw, 3.2rem);
    }

    .case-devices {
        height: 340px;
        margin-bottom: 24px;
    }

    .laptop-frame {
        width: 440px;
        padding: 8px 8px 24px;
    }

    .device-phone {
        right: 13%;
        bottom: 20px;
    }

    .phone-frame {
        width: 130px;
        padding: 6px;
    }

    .case-metrics {
        gap: 30px;
        width: min(100%, 520px);
        margin-bottom: 12px;
    }

    .metric-value {
        font-size: clamp(1.55rem, 3vw, 2.25rem);
    }

    .metric-label {
        font-size: 0.65rem;
    }

    .case-tech {
        width: min(100%, 540px);
        margin-bottom: 8px;
    }

    .tech-badge {
        padding: 4px 10px;
        font-size: 0.625rem;
    }

    .case-quote {
        width: min(100%, 420px);
        max-width: 420px;
    }

    .case-quote p {
        font-size: 0.875rem;
        margin-bottom: 4px;
    }

    .quote-author {
        font-size: 0.75rem;
    }
}

/* Animation states */
.case-study.active .case-header,
.case-study.active .case-title-wrapper,
.case-study.active .case-devices,
.case-study.active .case-metrics,
.case-study.active .case-tech,
.case-study.active .case-quote {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.case-study.active .case-header { transition: all 0.6s var(--ease-out-expo) 0.1s; }
.case-study.active .case-title-wrapper { transition: all 0.7s var(--ease-out-expo) 0.2s; }
.case-study.active .case-devices { transition: all 0.8s var(--ease-out-expo) 0.3s; }
.case-study.active .case-metrics { transition: all 0.6s var(--ease-out-expo) 0.5s; }
.case-study.active .case-tech { transition: all 0.6s var(--ease-out-expo) 0.6s; }
.case-study.active .case-quote { transition: all 0.6s var(--ease-out-expo) 0.7s; }

/* ========================================
   Pipeline Section
======================================== */
.pipeline {
    background: var(--grey-50);
}

.pipeline-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.pipeline-step {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    background: var(--white);
    border: 1.5px solid var(--grey-200);
    border-radius: 16px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform 0.4s var(--ease-out-expo),
                border-color 0.3s ease,
                box-shadow 0.4s var(--ease-out-expo);
}

.pipeline-step:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pipeline-step.final {
    background: var(--black);
    border-color: var(--black);
    border-radius: 16px;
}

.pipeline-step.final .step-number,
.pipeline-step.final .step-label,
.pipeline-step.final .step-sub {
    color: var(--white);
}

.pipeline-step.final .step-icon {
    color: var(--white);
}

.step-number {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
}

.step-sub {
    font-size: 0.75rem;
    color: var(--grey-400);
}

.pipeline-connector {
    display: flex;
    align-items: center;
    color: var(--grey-300);
    flex-shrink: 0;
}

.pipeline-stat {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--grey-200);
}

.stat-highlight {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 1rem;
    color: var(--grey-500);
}

/* ========================================
   Timeline Section
======================================== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--grey-200);
    margin-top: 64px;
}

.timeline-phase {
    background: var(--white);
    padding: 40px 32px;
    transition: transform 0.4s var(--ease-out-expo),
                background 0.3s ease;
}

.timeline-phase:hover {
    background: var(--grey-50);
    transform: translateY(-4px);
}

.phase-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grey-200);
}

.phase-day {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 8px;
}

.phase-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
}

.phase-tasks li {
    font-size: 0.875rem;
    color: var(--grey-600);
    padding: 8px 0;
    padding-left: 16px;
    position: relative;
}

.phase-tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--grey-300);
    border-radius: 50%;
}

/* Nav hidden during case studies scroll-jacking */
.nav.case-studies-active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ========================================
   Live Proof Section
======================================== */
.live-proof {
    background: var(--grey-50);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.proof-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.proof-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--grey-200);
    border-radius: 16px;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.proof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.proof-card:hover::before {
    border-color: var(--accent);
}

.proof-device {
    margin-bottom: 20px;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.proof-phone-frame {
    position: relative;
    width: 160px;
    padding: 6px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.proof-phone-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--grey-700);
    border-radius: 2px;
}

.proof-phone-frame img {
    width: 100%;
    aspect-ratio: 9 / 17;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
}

.proof-info {
    margin-bottom: 16px;
}

.proof-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.proof-type {
    font-size: 0.8125rem;
    color: var(--grey-500);
}

.proof-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.proof-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s var(--ease-out-expo);
}

.proof-card:hover .proof-cta {
    opacity: 1;
    transform: translateY(0);
}

.proof-card:hover .proof-cta svg {
    transform: translate(3px, -3px);
}

/* ========================================
   Packages Section
======================================== */
.packages {
    background: var(--black);
    color: var(--white);
}

.packages .section-label {
    color: var(--grey-500);
}

.packages .section-title {
    color: var(--white);
}

.packages .section-desc {
    color: var(--grey-400);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.package-card {
    background: var(--grey-900);
    border: 1.5px solid var(--grey-800);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s var(--ease-out-expo),
                border-color 0.3s ease,
                box-shadow 0.4s var(--ease-out-expo);
}

.package-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.package-card.featured {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    border-radius: 20px;
}

.package-badge {
    position: absolute;
    top: 0;
    right: 32px;
    transform: translateY(-50%);
    padding: 10px 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
}

.package-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--grey-800);
}

.package-card.featured .package-header {
    border-color: var(--grey-200);
}

.package-tier {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.package-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--grey-500);
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--grey-500);
}

.package-card.featured .price-currency,
.package-card.featured .price-period {
    color: var(--grey-500);
}

.package-intro-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--grey-400);
    margin-bottom: 20px;
}

.package-card.featured .package-intro-text {
    color: var(--grey-600);
}

.package-includes {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.package-features {
    flex: 1;
    margin-bottom: 24px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--grey-300);
    padding: 10px 0;
    border-bottom: 1px solid var(--grey-800);
}

.package-card.featured .package-features li {
    color: var(--grey-700);
    border-color: var(--grey-200);
}

.package-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

.package-features li.not-included {
    color: var(--grey-600);
    text-decoration: line-through;
}

.package-features li.not-included svg {
    color: var(--grey-600);
}

.package-note {
    font-size: 0.75rem;
    color: var(--grey-500);
    margin-bottom: 24px;
}

.package-cta {
    display: block;
    text-align: center;
    padding: 18px 28px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1.5px solid var(--grey-600);
    border-radius: 100px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                border-color 0.3s ease,
                box-shadow 0.4s var(--ease-out-expo);
}

.package-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 0;
}

.package-cta span,
.package-cta {
    position: relative;
    z-index: 1;
}

.package-card.featured .package-cta {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.package-cta:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(181, 74, 74, 0.2);
}

.package-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.packages-footer {
    margin-top: 64px;
    text-align: center;
}

.markup-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 36px;
    background: var(--grey-900);
    border: 1.5px solid var(--grey-700);
    border-radius: 100px;
}

.markup-highlight {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.markup-text {
    font-size: 0.875rem;
    color: var(--grey-400);
}

/* ========================================
   Comparison Section
======================================== */
.comparison {
    background: var(--grey-50);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 64px;
    margin-bottom: 64px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--grey-200);
}

.comparison-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--grey-500);
    background: var(--grey-100);
}

.comparison-table th.highlight {
    color: var(--accent);
}

.comparison-table td {
    color: var(--grey-600);
}

.comparison-table td.row-label {
    font-weight: 600;
    color: var(--black);
}

.comparison-table td.highlight {
    font-weight: 600;
    color: var(--black);
    background: rgba(181, 74, 74, 0.05);
}

.comparison-closing {
    max-width: 600px;
}

.closing-small {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 12px;
}

.closing-big {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--grey-600);
}

/* ========================================
   About Section
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left .section-title {
    margin-bottom: 24px;
}

.client-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.client-type {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    transition: all var(--duration-medium);
}

.client-type:hover {
    border-color: var(--black);
}

.client-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.client-icon svg {
    width: 24px;
    height: 24px;
}

.client-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--black);
}

.location-focus {
    padding: 24px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
}

.location-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 16px;
}

.locations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.locations span {
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--grey-700);
}

/* ========================================
   CTA Section
======================================== */
.cta {
    background: var(--black);
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-content {
    max-width: 700px;
}

.cta .section-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--grey-400);
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-email {
    font-size: 1rem;
    color: var(--grey-400);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--duration-fast);
}

.cta-email:hover {
    color: var(--white);
}

/* ========================================
   Page Header (for inner pages)
======================================== */
.page-header {
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--grey-50);
}

.page-header .section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 16px;
}

.page-header .section-desc {
    max-width: 600px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--black);
    color: var(--white);
}

/* Footer Marquee */
.footer-marquee {
    padding: 24px 0;
    border-bottom: 1px solid var(--grey-800);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.marquee-separator {
    color: var(--accent);
}

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

/* Footer Main */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding: 80px var(--section-padding-x);
    border-bottom: 1px solid var(--grey-800);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--grey-500);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 24px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9375rem;
    color: var(--grey-400);
    margin-bottom: 12px;
    transition: color var(--duration-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col .footer-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col .footer-link-arrow::before {
    content: '→';
    color: var(--accent);
}

/* Footer Contact Cards */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-card {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grey-800);
}

.footer-contact-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-role {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 8px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--grey-300);
}

.contact-link::before {
    content: '→';
    color: var(--accent);
}

.contact-link:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px var(--section-padding-x);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--grey-600);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--grey-700);
    border-radius: 100px;
    color: var(--grey-400);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo),
                border-color 0.3s ease,
                color 0.3s ease;
}

.footer-social::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: inherit;
    transform: scale(0);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.footer-social:hover {
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social:hover::before {
    transform: scale(1);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

/* ========================================
   WhatsApp Float
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all var(--duration-medium) var(--ease-out-quart);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
}

/* ========================================
   Reveal Animations
======================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up.delay-1 { transition-delay: 0.1s; }
.reveal-up.delay-2 { transition-delay: 0.2s; }
.reveal-up.delay-3 { transition-delay: 0.3s; }

.reveal-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Contact Page Form
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 64px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-detail {
    margin-bottom: 32px;
}

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 8px;
}

.contact-detail-value {
    font-size: 1.125rem;
    color: var(--black);
}

.contact-detail-value a {
    transition: color var(--duration-fast);
}

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

.contact-form {
    background: var(--grey-50);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--grey-200);
    background: var(--white);
    transition: border-color var(--duration-fast);
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1200px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }

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

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

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Case Studies - Tablet */
    .case-studies-intro {
        min-height: clamp(260px, 36vh, 340px);
    }

    .case-devices {
        height: 380px;
    }

    .laptop-frame {
        width: 420px;
    }

    .phone-frame {
        width: 130px;
    }

    .device-phone {
        right: 5%;
        bottom: 25px;
    }

    /* Live Proof - Tablet */
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-cta {
        opacity: 1;
        transform: none;
    }
}

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

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-ctas {
        width: 100%;
    }

    .hero-ctas .btn {
        flex: 1;
    }

    .scroll-cue {
        display: none;
    }

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

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

    .pipeline-flow {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-step {
        width: 100%;
        max-width: 280px;
    }

    .pipeline-connector {
        transform: rotate(90deg);
    }

    .client-types {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-main {
        padding: 48px var(--section-padding-x);
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    /* Case Studies - Mobile fallback */
    .case-studies-intro {
        display: block;
        min-height: auto;
        padding-bottom: 24px;
    }

    .case-studies-wrapper {
        height: auto;
        margin-top: 0;
    }

    .case-study {
        position: relative;
        height: auto;
        min-height: 100vh;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 80px 0;
    }

    .case-study + .case-study {
        border-top: 1px solid var(--grey-800);
    }

    .case-study .case-header,
    .case-study .case-title-wrapper,
    .case-study .case-devices,
    .case-study .case-metrics,
    .case-study .case-tech,
    .case-study .case-quote {
        opacity: 1;
        transform: none;
    }

    .case-progress {
        display: none;
    }

    .case-devices {
        height: auto;
        min-height: 300px;
    }

    .device-laptop {
        display: none;
    }

    .device-phone {
        position: relative;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .phone-frame {
        width: 220px;
        margin: 0 auto;
    }

    .case-metrics {
        flex-wrap: wrap;
        gap: 24px;
    }

    .metric {
        flex: 1;
        min-width: 100px;
    }

    /* Live Proof - Mobile */
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proof-cta {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .pain-card {
        padding: 24px;
    }

    .service-item {
        padding: 32px 24px;
    }

    .package-card {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

/* ========================================
   About Page - Cinematic Redesign
======================================== */

/* About Hero */
.about-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px var(--section-padding-x) 80px;
    z-index: 1;
}

.about-hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.kinetic-text {
    margin-bottom: 48px;
}

.kinetic-line {
    display: flex;
    justify-content: center;
    gap: 0.25em;
    overflow: hidden;
    line-height: 1.1;
}

.kinetic-word {
    font-size: clamp(2.5rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: kinetic-reveal 1s var(--ease-out-expo) forwards;
}

.kinetic-word.accent {
    color: var(--accent);
}

.kinetic-word[data-delay="0"] { animation-delay: 0.1s; }
.kinetic-word[data-delay="1"] { animation-delay: 0.2s; }
.kinetic-word[data-delay="2"] { animation-delay: 0.3s; }
.kinetic-word[data-delay="3"] { animation-delay: 0.4s; }
.kinetic-word[data-delay="4"] { animation-delay: 0.5s; }
.kinetic-word[data-delay="5"] { animation-delay: 0.6s; }

@keyframes kinetic-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-sub {
    max-width: 500px;
    margin: 0 auto;
}

.about-hero-sub p {
    font-size: 1.125rem;
    color: var(--grey-500);
    line-height: 1.7;
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out-expo) 0.8s forwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out-expo) 1s forwards;
}

.scroll-indicator span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.scroll-indicator-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--grey-400), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Philosophy Section */
.about-philosophy {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-50);
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    z-index: 2;
}

.philosophy-content {
    max-width: 900px;
    text-align: center;
}

.philosophy-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 40px;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--grey-300);
}

.philosophy-statement {
    line-height: 1.2;
}

.phil-line {
    display: block;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--grey-400);
}

.phil-line.highlight {
    color: var(--black);
}

/* What Section */
.about-what {
    padding: var(--section-padding-y) 0;
    background: var(--white);
    position: relative;
    z-index: 3;
}

.what-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.section-number {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
}

.section-number.light {
    color: var(--accent-light);
}

.what-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
}

.what-title .accent {
    color: var(--accent);
}

.what-right {
    padding-top: 48px;
}

.what-text {
    margin-bottom: 48px;
}

.what-text .text-large {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 24px;
}

.what-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--grey-600);
    margin-bottom: 16px;
}

.what-text p:last-child {
    margin-bottom: 0;
}

.what-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--grey-200);
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-400);
}

.fact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
}

/* Statement Section */
.about-statement {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    z-index: 4;
}

.statement-wrapper {
    text-align: center;
}

.statement-divider {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.statement-divider:last-child {
    margin-bottom: 0;
    margin-top: 40px;
}

.statement-divider span {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--grey-600);
}

.statement-massive {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 8px;
}

.statement-massive .grey {
    color: var(--grey-500);
}

.statement-massive .accent {
    color: var(--accent);
}

/* Serve Section */
.about-serve {
    padding: var(--section-padding-y) 0;
    background: var(--grey-50);
    position: relative;
    z-index: 5;
}

.serve-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.serve-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.serve-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    padding: 48px;
    transition: all var(--duration-medium) var(--ease-out-quart);
}

.serve-card:hover {
    border-color: var(--grey-400);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.serve-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.serve-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.serve-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
}

.serve-icon svg {
    width: 32px;
    height: 32px;
}

.serve-card:hover .serve-icon {
    color: var(--accent);
}

.serve-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.serve-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-600);
    margin-bottom: 32px;
}

.serve-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-200);
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--grey-500);
}

/* Geography Section */
.about-geography {
    padding: var(--section-padding-y) 0;
    background: var(--black);
    color: var(--white);
    position: relative;
    z-index: 6;
    overflow: hidden;
}

.geography-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.geo-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grey-600) 1px, transparent 1px),
        linear-gradient(90deg, var(--grey-600) 1px, transparent 1px);
    background-size: 80px 80px;
}

.geography-content {
    position: relative;
    z-index: 1;
}

.geography-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.geography-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.geography-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--grey-400);
}

.geography-locations {
    max-width: 800px;
}

.location-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--grey-800);
    transition: all var(--duration-medium);
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--grey-700);
}

.location-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
}

.location-marker::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.5;
}

.location-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.location-info p {
    font-size: 0.875rem;
    color: var(--grey-500);
}

.location-expansion {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--grey-800);
}

.expansion-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 16px;
}

.expansion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expansion-list span {
    padding: 10px 16px;
    background: var(--grey-900);
    border: 1px solid var(--grey-800);
    font-size: 0.875rem;
    color: var(--grey-400);
    transition: all var(--duration-fast);
}

.expansion-list span:hover {
    border-color: var(--grey-600);
    color: var(--white);
}

/* About CTA */
.about-cta {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    text-align: center;
    padding: var(--section-padding-y) var(--section-padding-x);
    position: relative;
    z-index: 7;
}

.about-cta-content {
    max-width: 700px;
}

.cta-text-reveal {
    margin-bottom: 24px;
}

.cta-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.cta-sub {
    font-size: 1.125rem;
    color: var(--grey-400);
    margin-bottom: 48px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-email-link {
    font-size: 1rem;
    color: var(--grey-500);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--duration-fast);
}

.cta-email-link:hover {
    color: var(--white);
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .what-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .what-right {
        padding-top: 0;
    }

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

@media (max-width: 768px) {
    .kinetic-word {
        font-size: clamp(1.75rem, 10vw, 3.5rem);
    }

    .kinetic-line {
        flex-wrap: wrap;
        gap: 0.15em;
    }

    .philosophy-statement .phil-line {
        font-size: clamp(1.25rem, 5vw, 2rem);
    }

    .location-row {
        grid-template-columns: 1fr;
    }

    .serve-card {
        padding: 32px;
    }

    .cta-line {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .letter {
        opacity: 1;
        transform: none;
    }

    .reveal-up,
    .reveal-card {
        opacity: 1;
        transform: none;
    }

    .marquee-content {
        animation: none;
    }
}
