/* Zulu Code — World-Class Agency Website */
/* https://zulucode.co.za */

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

:root {
    --black: #0a0a0a;
    --white: #f8f8f6;
    --pure-white: #ffffff;
    --magenta: #E5006D;
    --teal: #00877A;
    --teal-light: #00A896;
    --gray-50: #fafaf9;
    --gray-100: #f0efed;
    --gray-200: #e2e0dc;
    --gray-400: #9c9a96;
    --gray-600: #5c5a56;
    --gray-800: #2a2926;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; font-size: 16px; scrollbar-width: thin; scrollbar-color: var(--magenta) var(--gray-100); overflow-x: hidden; }

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

::selection { background: var(--magenta); color: var(--pure-white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
}

/* CURSOR */
@media (pointer: fine) { body { cursor: none; } a, button, [role="button"] { cursor: none; } }
.cursor {
    position: fixed; top: 0; left: 0;
    width: 16px; height: 16px;
    background: var(--magenta); border-radius: 50%;
    pointer-events: none; z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), margin 0.3s var(--ease-out-expo);
    will-change: transform;
}
.cursor.is-hovering { width: 48px; height: 48px; margin: -16px 0 0 -16px; background: var(--teal-light); }
@media (pointer: coarse) { .cursor { display: none; } }

/* LOADER */
.loader {
    position: fixed; inset: 0; background: var(--black); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700; color: var(--pure-white); letter-spacing: 0.15em; text-transform: uppercase;
}
.loader-text span { display: inline-block; animation: loaderReveal 0.6s var(--ease-out-expo) forwards; opacity: 0; transform: translateY(100%); }
@keyframes loaderReveal { to { opacity: 1; transform: translateY(0); } }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: all 0.4s var(--ease-out-quart); }
.nav.scrolled { background: rgba(10,10,10,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; z-index: 1001; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--pure-white); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.3s ease; position: relative; }
.nav-link:hover { color: var(--pure-white); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--magenta); transition: width 0.35s var(--ease-out-expo); }
.nav-link:hover::after { width: 100%; }
.nav-cta-btn { font-size: 0.8rem; font-weight: 600; color: var(--pure-white); letter-spacing: 0.08em; text-transform: uppercase; background: transparent; border: 1.5px solid rgba(255,255,255,0.3); padding: 0.6rem 1.5rem; border-radius: 2px; transition: all 0.3s ease; }
.nav-cta-btn:hover { background: var(--magenta); border-color: var(--magenta); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; z-index: 1001; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--pure-white); transition: all 0.3s ease; transform-origin: center; }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu { position: fixed; inset: 0; background: var(--black); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; visibility: hidden; transition: all 0.4s var(--ease-out-expo); }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; color: var(--pure-white); text-transform: lowercase; transition: color 0.3s ease; }
.mobile-menu a:hover { color: var(--magenta); }

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

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: flex-end; padding: 0 0 clamp(4rem, 8vh, 8rem) 0; position: relative; overflow: clip; background: var(--black); }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%); }
.hero-gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none; }
.hero-gradient-orb.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--teal) 0%, transparent 70%); top: 10%; right: -5%; animation: orbFloat 15s ease-in-out infinite; }
.hero-gradient-orb.orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, var(--magenta) 0%, transparent 70%); bottom: 10%; left: -5%; animation: orbFloat 18s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.05); } 66% { transform: translate(-20px, 15px) scale(0.95); } }
.hero .container { position: relative; z-index: 2; width: 100%; }

.typewriter-wrapper { margin-bottom: 1.5rem; min-height: clamp(2.5rem, 5vw, 4rem); }
.typewriter-text { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 500; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; }
.typewriter-cursor { display: inline-block; width: 2px; height: 1em; background: var(--magenta); margin-left: 3px; vertical-align: text-bottom; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-headline { font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 9rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; color: var(--pure-white); text-transform: lowercase; margin-bottom: 2rem; opacity: 0; transform: translateY(40px); }
.hero-headline .accent { color: var(--teal-light); }
.hero-sub { font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 300; color: rgba(255,255,255,0.45); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; opacity: 0; transform: translateY(20px); }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: var(--magenta); color: var(--pure-white); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: none; border-radius: 2px; transition: all 0.35s ease; }
.btn-hero-primary:hover { background: #ff1a88; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(229, 0, 109, 0.35); }
.btn-hero-primary svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.btn-hero-primary:hover svg { transform: translateX(4px); }
.btn-hero-secondary { display: inline-flex; align-items: center; padding: 1rem 2rem; background: transparent; color: rgba(255,255,255,0.7); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border: 1.5px solid rgba(255,255,255,0.15); border-radius: 2px; transition: all 0.35s ease; }
.btn-hero-secondary:hover { border-color: rgba(255,255,255,0.5); color: var(--pure-white); }

.hero-scroll { position: absolute; bottom: 2rem; right: clamp(20px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.3); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--magenta), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* COMMON */
.section-light { background: var(--white); }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--black); color: var(--pure-white); }
.section-pad { padding: clamp(4rem, 10vh, 8rem) 0; }
.section-label { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.5rem; }
.section-label .label-line { display: inline-block; width: 32px; height: 1px; background: var(--teal); }
.section-heading { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; text-transform: lowercase; margin-bottom: 1.5rem; }
.section-desc { font-size: clamp(1rem, 1.25vw, 1.125rem); font-weight: 300; line-height: 1.7; color: var(--gray-600); max-width: 540px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* DIVIDERS */
.divider-wave { height: 80px; background: var(--black); position: relative; }
.divider-wave::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-wave-reverse { height: 80px; background: var(--white); position: relative; }
.divider-wave-reverse::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: var(--black); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-white-to-alt { height: 60px; background: var(--white); position: relative; }
.divider-white-to-alt::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--gray-50); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-alt-to-white { height: 60px; background: var(--gray-50); position: relative; }
.divider-alt-to-white::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-alt-to-dark { height: 60px; background: var(--gray-50); position: relative; }
.divider-alt-to-dark::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--black); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-dark-to-alt { height: 60px; background: var(--black); position: relative; }
.divider-dark-to-alt::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--gray-50); clip-path: ellipse(55% 100% at 50% 100%); }
.divider-white-to-dark { height: 60px; background: var(--white); position: relative; }
.divider-white-to-dark::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: var(--black); clip-path: ellipse(55% 100% at 50% 100%); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 4rem; background: var(--gray-200); border-radius: 8px; overflow: hidden; }
.service-card { background: var(--pure-white); padding: clamp(2rem, 3vw, 3rem); position: relative; transition: all 0.5s var(--ease-out-expo); overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--magenta)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out-expo); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--gray-50); }
.service-num { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: var(--gray-200); line-height: 1; margin-bottom: 1.5rem; transition: color 0.4s ease; }
.service-card:hover .service-num { color: var(--teal); }
.service-card h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; color: var(--black); margin-bottom: 1rem; line-height: 1.2; }
.service-card p { font-size: 0.95rem; line-height: 1.7; color: var(--gray-600); font-weight: 300; }
.service-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; color: var(--teal); opacity: 0.7; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4rem; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, transparent, var(--gray-200), var(--gray-200), transparent); }
.process-step { text-align: center; padding: 0 1.5rem; position: relative; }
.process-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--teal); background: var(--pure-white); margin: 0 auto 2rem; position: relative; z-index: 2; transition: all 0.3s ease; }
.process-step:hover .process-dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(0, 135, 122, 0.15); }
.process-step-num { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--magenta); margin-bottom: 0.75rem; }
.process-step h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--black); margin-bottom: 0.75rem; }
.process-step p { font-size: 0.875rem; line-height: 1.65; color: var(--gray-600); font-weight: 300; }
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .process-grid::before { display: none; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* PORTFOLIO */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 4rem; }
.work-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; transition: all 0.5s var(--ease-out-expo); }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.work-card-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.6s var(--ease-out-expo); }
.work-card:hover .work-card-bg { transform: scale(1.03); }
.work-card-bg img { max-width: 50%; max-height: 45%; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; transition: all 0.4s ease; }
.work-card:hover .work-card-bg img { opacity: 1; transform: scale(1.05); }
.work-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.5rem); opacity: 0; transition: opacity 0.4s ease; }
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.4rem; }
.work-card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--pure-white); margin-bottom: 0.35rem; }
.work-card-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; font-weight: 300; }
.work-card-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--pure-white); letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; transition: all 0.3s ease; }
.work-card-link:hover { border-color: var(--magenta); color: var(--magenta); }
.work-card-link svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.work-card-link:hover svg { transform: translate(3px, -3px); }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.pricing-card { background: var(--pure-white); border-radius: 12px; padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem); border: 1px solid var(--gray-200); transition: all 0.4s var(--ease-out-expo); position: relative; overflow: hidden; text-align: center; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: var(--teal); }
.pricing-card.featured { border-color: var(--magenta); box-shadow: 0 8px 30px rgba(229, 0, 109, 0.12); padding-top: calc(clamp(2rem, 3vw, 3rem) + 1.5rem); }
.pricing-card.featured:hover { box-shadow: 0 20px 50px rgba(229, 0, 109, 0.18); border-color: var(--magenta); }
.pricing-badge { position: absolute; top: 0; left: 0; right: 0; background: var(--magenta); color: var(--pure-white); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem; }
.pricing-tier { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 1rem; }
.pricing-price { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: var(--black); line-height: 1; margin-bottom: 0.25rem; }
.pricing-price .currency { font-size: 0.5em; vertical-align: super; color: var(--gray-400); font-weight: 600; }
.pricing-period { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; text-align: left; }
.pricing-features li { font-size: 0.9rem; color: var(--gray-600); display: flex; align-items: center; gap: 0.6rem; line-height: 1.4; }
.pricing-features li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }
.btn-pricing { display: block; width: 100%; padding: 0.9rem 1.5rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; border-radius: 4px; transition: all 0.3s ease; border: 1.5px solid var(--black); background: transparent; color: var(--black); }
.btn-pricing:hover { background: var(--black); color: var(--pure-white); }
.pricing-card.featured .btn-pricing { background: var(--magenta); color: var(--pure-white); border-color: var(--magenta); }
.pricing-card.featured .btn-pricing:hover { background: #ff1a88; border-color: #ff1a88; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(229, 0, 109, 0.3); }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; margin-top: 4rem; }
.about-text .about-headline { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--pure-white); margin-bottom: 1.5rem; }
.about-text .about-headline .accent { color: var(--teal-light); }
.about-text .about-headline .accent-magenta { color: var(--magenta); }
.about-text p { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.55); font-weight: 300; margin-bottom: 1rem; }
.about-stats { display: flex; gap: 3rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.about-stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--pure-white); line-height: 1; }
.about-stat-label { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; margin-top: 0.4rem; text-transform: uppercase; }
.africa-map-container { display: flex; align-items: center; justify-content: center; }
.africa-map-container svg { width: 100%; max-width: 420px; height: auto; }
.africa-pulse { animation: africaPulse 2.5s ease-in-out infinite; }
@keyframes africaPulse { 0%, 100% { opacity: 0.4; r: 8; } 50% { opacity: 0; r: 20; } }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; text-align: center; } .about-stats { justify-content: center; } .africa-map-container svg { max-width: 280px; } }

/* CONTACT */
.contact-centered { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-heading { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-transform: lowercase; color: var(--black); margin-bottom: 1rem; }
.contact-desc { font-size: 1rem; line-height: 1.7; color: var(--gray-600); font-weight: 300; max-width: 500px; margin: 0 auto 3rem; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--pure-white); border-radius: 8px; border: 1px solid var(--gray-200); text-align: left; transition: all 0.3s ease; }
.contact-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-card-icon { width: 44px; height: 44px; border-radius: 6px; background: var(--black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { width: 18px; height: 18px; color: var(--pure-white); }
.contact-card-text h4 { font-size: 0.7rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.contact-card-text a, .contact-card-text p { font-size: 0.9rem; color: var(--black); font-weight: 500; line-height: 1.5; margin: 0; transition: color 0.3s ease; }
.contact-card-text a:hover { color: var(--magenta); }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }

/* FOOTER */
.footer { background: var(--black); color: var(--pure-white); padding: 4rem 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.4); margin-top: 1rem; max-width: 300px; font-weight: 300; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--pure-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.3); transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--pure-white); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   COMPREHENSIVE MOBILE FIXES
   ============================================ */

/* Fix horizontal overflow at the root level */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Contain all sections */
section, .hero, footer, .footer {
    overflow-x: clip;
}

/* Constrain gradient orbs on all screens */
.hero {
    overflow: clip;
}

@media (max-width: 768px) {
    /* HERO — full mobile rework */
    .hero {
        min-height: 100svh;
        align-items: center;
        padding: 7rem 0 3rem 0;
    }

    .hero-gradient-orb.orb-1 {
        width: 280px;
        height: 280px;
        top: 5%;
        right: -15%;
        filter: blur(60px);
        opacity: 0.3;
    }

    .hero-gradient-orb.orb-2 {
        width: 200px;
        height: 200px;
        bottom: 5%;
        left: -15%;
        filter: blur(60px);
        opacity: 0.25;
    }

    .hero-headline {
        font-size: clamp(2.75rem, 12vw, 5rem);
        line-height: 0.95;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .typewriter-text {
        white-space: normal;
        word-break: break-word;
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }

    .hero-bg-grid {
        background-size: 50px 50px;
    }

    /* SECTION HEADINGS — prevent overflow */
    .section-heading {
        font-size: clamp(2rem, 8vw, 3.5rem);
        word-break: break-word;
    }

    .section-heading br {
        display: none;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    /* DIVIDERS — smaller on mobile */
    .divider-wave,
    .divider-wave-reverse {
        height: 50px;
    }

    .divider-wave::after,
    .divider-wave-reverse::after {
        height: 50px;
    }

    .divider-white-to-alt,
    .divider-alt-to-white,
    .divider-alt-to-dark,
    .divider-dark-to-alt,
    .divider-white-to-dark {
        height: 40px;
    }

    .divider-white-to-alt::after,
    .divider-alt-to-white::after,
    .divider-alt-to-dark::after,
    .divider-dark-to-alt::after,
    .divider-white-to-dark::after {
        height: 40px;
    }

    /* SERVICES — already handled at 900px, refine */
    .service-card {
        padding: 1.75rem;
    }

    .service-num {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    /* PROCESS — already 1fr at 480px */
    .process-step {
        padding: 0 0.5rem;
    }

    /* PORTFOLIO — already 1fr at 600px, make cards taller */
    .work-card {
        aspect-ratio: 16/10;
    }

    .work-card-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    }

    .work-card-title {
        font-size: 1.25rem;
    }

    /* PRICING — already 1fr at 768px */
    .pricing-card {
        padding: 1.75rem 1.5rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    /* ABOUT section */
    .about-text .about-headline {
        font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    }

    .about-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .about-stat-num {
        font-size: 1.75rem;
    }

    .about-stat-label {
        font-size: 0.65rem;
    }

    .africa-map-container svg {
        max-width: 240px;
    }

    /* CONTACT */
    .contact-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .contact-heading br {
        display: none;
    }

    .contact-desc {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card-icon {
        width: 38px;
        height: 38px;
    }

    .contact-card-icon svg {
        width: 16px;
        height: 16px;
    }

    .contact-card-text a,
    .contact-card-text p {
        font-size: 0.85rem;
    }

    /* FOOTER */
    .footer {
        padding-top: 2.5rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Extra small devices (iPhone SE, Galaxy Fold etc.) */
@media (max-width: 380px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 6rem 0 2.5rem 0;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .typewriter-text {
        font-size: 1.15rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .about-stat-num {
        font-size: 1.5rem;
    }

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

    .nav-logo-text {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 28px;
    }

    .work-card {
        aspect-ratio: 3/2;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 2rem 0;
    }

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

    .hero-sub {
        margin-bottom: 1.5rem;
    }

    .hero-scroll {
        display: none;
    }

    .section-pad {
        padding: 3rem 0;
    }

    .divider-wave,
    .divider-wave-reverse {
        height: 40px;
    }

    .divider-wave::after,
    .divider-wave-reverse::after {
        height: 40px;
    }
}

/* Tablet tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-headline {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .about-grid {
        gap: 2.5rem;
    }

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

    .footer-grid .footer-col:last-child {
        grid-column: 1 / -1;
    }
}