/* ============================================================
   index.css – KHI Media
   Award-Winning UI/UX · Glass-morphism · Premium animations
   ============================================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #142c4a;
    --slate: #1e2d45;
    --blue: #2E9CB0;
    --blue-dark: #1f7f91;
    --blue-soft: #d8f3f7;
    --blue-glow: rgba(46, 156, 176, 0.22);
    --white: #ffffff;
    --off-white: #f5f8fb;
    --gray-50: #f2f6fb;
    --gray-100: #e2e8f0;
    --gray-200: #cbd5e1;
    --gray-300: #94a3b8;
    --gray-400: #64748b;
    --gray-500: #475569;
    --gray-600: #334155;
    --gray-700: #1e293b;
    --gray-800: #0f172a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 60px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.14);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-width: 1200px;
    --section-padding: clamp(42px, 6vw, 76px);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(226, 232, 240, 0.92);
    --glass-shadow: 0 12px 30px rgba(10, 22, 40, 0.06);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
    background: var(--off-white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
}

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

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

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

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(circle at 50% 28%, rgba(46, 156, 176, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loading-container {
    text-align: center;
    width: min(90vw, 560px);
    padding: 34px clamp(22px, 5vw, 44px) 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 24px 70px rgba(10, 22, 40, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.loading-logo {
    margin-bottom: 30px;
}

.loading-logo img {
    width: min(100%, 500px);
    height: auto;
    max-height: 128px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 10px 24px rgba(10, 22, 40, 0.12));
}

.loading-bar-track {
    width: 100%;
    height: 3px;
    background: rgba(10, 22, 40, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-soft), var(--blue));
    border-radius: 999px;
    transition: width 0.3s ease;
}

.loading-text {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-soft));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: auto;
    z-index: 800;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px var(--blue-glow);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px var(--blue-glow);
}

/* ===== GLASS MORPHISM ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.hero .glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

/* ===== FLOATING SHAPES (MORPHING) ===== */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    display: none;
}

.shape {
    position: absolute;
    opacity: 0.04;
    animation: morphShape 25s ease-in-out infinite alternate;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--blue);
    top: -5%;
    right: -5%;
    animation-delay: 0s;
    border-radius: 60% 40% 50% 30%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--navy);
    bottom: 10%;
    left: -5%;
    animation-delay: -6s;
    border-radius: 30% 60% 40% 50%;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: var(--blue-soft);
    top: 40%;
    right: 8%;
    animation-delay: -12s;
    border-radius: 50% 30% 60% 40%;
}

.shape-4 {
    width: 280px;
    height: 280px;
    background: var(--slate);
    bottom: 30%;
    right: 15%;
    animation-delay: -18s;
    border-radius: 40% 50% 30% 60%;
}

@keyframes morphShape {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 60% 40% 50% 30%;
    }
    25% {
        border-radius: 30% 60% 40% 50%;
        transform: translate(20px, -15px) scale(1.05) rotate(5deg);
    }
    50% {
        border-radius: 50% 30% 60% 40%;
        transform: translate(-15px, 20px) scale(0.95) rotate(-3deg);
    }
    75% {
        border-radius: 40% 50% 30% 60%;
        transform: translate(10px, 10px) scale(1.02) rotate(2deg);
    }
    100% {
        transform: translate(-10px, -5px) scale(1) rotate(0deg);
        border-radius: 55% 45% 35% 65%;
    }
}

/* ===== DIVIDERS ===== */
.divider-wrap {
    display: flex;
    justify-content: center;
    width: 100vw;
    margin: clamp(18px, 2.8vw, 30px) calc(50% - 50vw) 0;
    padding: 0;
}

.divider-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(46, 156, 176, 0.22) 8%, #2E9CB0 24%, #58c9c2 50%, #2E9CB0 76%, rgba(46, 156, 176, 0.22) 92%, transparent 100%);
    opacity: 0.88;
    border-radius: 0;
    position: relative;
}

.divider-line::after {
    content: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--gray-800);
}

h1 {
    font-size: 3.85rem;
    line-height: 1.04;
}

h2 {
    font-size: 3.35rem;
    line-height: 1.08;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.2;
}

p {
    color: var(--gray-500);
}

.highlight {
    color: var(--blue);
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--blue-soft);
    opacity: 0.5;
    border-radius: 999px;
    z-index: -1;
}

.highlight-alt {
    color: var(--white);
    position: relative;
}

.highlight-alt::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(46, 156, 176, 0.3);
    border-radius: 999px;
    z-index: -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--blue);
    border-radius: 999px;
}

/* ===== STAGGERED TEXT REVEAL ===== */
.hero-headline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1em 0.3em;
}

.word {
    opacity: 0;
    transform: translateY(40px) rotateX(15deg);
    animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.word:nth-child(1) {
    animation-delay: 0.1s;
}
.word:nth-child(2) {
    animation-delay: 0.2s;
}
.word:nth-child(3) {
    animation-delay: 0.3s;
}
.word:nth-child(4) {
    animation-delay: 0.4s;
}
.word:nth-child(5) {
    animation-delay: 0.5s;
}
.word:nth-child(6) {
    animation-delay: 0.6s;
}
.word:nth-child(7) {
    animation-delay: 0.7s;
}
.word:nth-child(8) {
    animation-delay: 0.8s;
}
.word:nth-child(9) {
    animation-delay: 0.9s;
}
.word:nth-child(10) {
    animation-delay: 1.0s;
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* ===== BUTTONS with RIPPLE ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
    line-height: 1;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

.button .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.button-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 32px var(--blue-glow);
}

.button-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 48px var(--blue-glow);
}

.button-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.button-secondary:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.button-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.button-outline:hover {
    background: var(--white);
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.button-light {
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
}

.button-light:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-3px);
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
}

@supports (position: sticky) {
    .site-header {
        position: sticky;
    }
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.header-inner {
    min-height: 98px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 84px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    justify-self: center;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--blue);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--blue);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 8px 24px var(--blue-glow);
    flex-shrink: 0;
}

.header-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--blue-glow);
}

/* ===== HAMBURGER ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--gray-700);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 22px;
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 22px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    grid-template-columns: 1fr;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    pointer-events: auto;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-panel {
    position: relative;
    width: min(100%, 360px);
    min-height: 100%;
    padding: 26px 24px;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(10, 22, 40, 0.12);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    justify-self: end;
}

.mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-logo {
    height: 72px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.menu-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-700);
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.menu-close:hover {
    background: var(--gray-100);
    transform: rotate(90deg);
}

.mobile-nav {
    display: grid;
    gap: 8px;
    flex: 0;
}

.mobile-nav a {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    border: 1px solid rgba(226, 232, 240, 0.78);
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 800;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav a::after {
    content: "→";
    opacity: 1;
    transform: translateX(0);
    transition: all var(--transition);
    color: var(--blue);
    font-size: 0.95rem;
}

.mobile-nav a:hover {
    color: var(--blue);
    background: var(--white);
    border-color: rgba(46, 156, 176, 0.36);
    transform: translateX(-2px);
    box-shadow: 0 10px 24px rgba(10, 22, 40, 0.06);
}

.mobile-quote {
    width: 100%;
    margin-top: 18px;
    min-height: 52px;
}

.mobile-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.mobile-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}

.mobile-social a:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vw, 80px) 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(46, 156, 176, 0.10), transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(46, 156, 176, 0.055), transparent 40%),
        var(--navy);
    pointer-events: none;
}

.hero-animated-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 40% 40%, rgba(46, 156, 176, 0.035), transparent 30%),
        radial-gradient(circle at 60% 60%, rgba(46, 156, 176, 0.02), transparent 30%);
    animation: heroPulse 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.12fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
    width: 100%;
}

.hero-content {
    display: grid;
    gap: 20px;
    justify-self: end;
    max-width: 650px;
    margin-left: clamp(56px, 6vw, 88px);
    padding-left: 0;
}

.hero-content .eyebrow {
    color: var(--blue-soft);
}

.hero-content .eyebrow::before {
    background: var(--blue-soft);
}

.hero-content h1 {
    color: var(--white);
}

.hero-kicker {
    margin-top: -4px;
    color: var(--blue-soft);
    font-size: clamp(1.02rem, 2vw, 1.35rem);
    font-weight: 800;
}

.hero-content .highlight {
    color: var(--blue-soft);
}

.hero-content .highlight::after {
    background: rgba(46, 156, 176, 0.3);
}

.hero-lead {
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-actions .button-outline {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-actions .button-outline:hover {
    color: var(--white);
    border-color: var(--blue-soft);
    background: rgba(46, 156, 176, 0.15);
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hero-pillars span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-pillars i {
    color: var(--blue-soft);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 0.9rem;
}

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

/* Hero Grid Cards */
.hero-grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 640px;
    margin-inline: auto;
}

.hero-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-card:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
}

.main-card {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.main-card img {
    width: 100%;
    height: calc(100% - 36px);
    object-fit: contain;
    object-position: center top;
    background: rgba(255, 255, 255, 0.94);
}

.small-card {
    aspect-ratio: 4 / 3;
}

.small-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.94);
}

.tag-card {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
}

.tag-card i {
    font-size: 1.8rem;
    color: var(--blue-soft);
}

.tag-card strong {
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
}

.tag-card span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 500;
}

/* Mobile-only hero service slider */
.mobile-hero-slider {
    display: none;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.browser-bar span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.card-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(8px);
    color: var(--blue-soft);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(46, 156, 176, 0.2);
}

/* ===== TRUST BAR - MARQUEE ===== */
.trust-bar {
    padding: 20px 0;
    background: var(--white);
    overflow: hidden;
    border-block: 1px solid var(--gray-100);
}

.trust-marquee {
    overflow: hidden;
    width: 100%;
}

.trust-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.trust-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: var(--gray-50);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.trust-track i {
    color: var(--blue);
    font-size: 1rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.trust-bar:hover .trust-track {
    animation-play-state: paused;
}

/* ===== SECTION HEADING ===== */
.section-heading {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(32px, 4.5vw, 52px);
}

.section-heading p:not(.eyebrow) {
    max-width: 600px;
}

.section-quote {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 4vw, 46px);
}

.section-quote .button {
    min-height: 68px;
    padding: 20px 46px;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 14px 44px var(--blue-glow);
}

/* ===== SERVICES ===== */
.services {
    background: #f6f9fb;
}

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

.service-card {
    padding: 32px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: grid;
    gap: 10px;
    align-content: start;
    background: var(--white);
    border: 1px solid rgba(203, 213, 225, 0.72);
    box-shadow: 0 14px 36px rgba(10, 22, 40, 0.055);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(10, 22, 40, 0.08);
    border-color: rgba(46, 156, 176, 0.48);
}

.card-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 1.2rem;
}

.service-card ul {
    list-style: none;
    display: grid;
    gap: 5px;
    padding: 0;
    margin: 2px 0 0;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--gray-500);
    padding-left: 20px;
    position: relative;
}

.service-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--blue);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.service-tags span {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== WHY KHI MEDIA ===== */
.why-khi {
    background:
        linear-gradient(180deg, #f7fcfd 0%, #eef8fb 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 100%;
    padding: 28px 24px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(46, 156, 176, 0.15);
    box-shadow: 0 14px 34px rgba(10, 22, 40, 0.055);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 156, 176, 0.42);
    box-shadow: 0 18px 44px rgba(10, 22, 40, 0.08);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(46, 156, 176, 0.11);
    color: var(--blue);
    font-size: 1.12rem;
}

.why-card h3 {
    font-size: 1.05rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ===== WORK with FILTER ===== */
.work {
    background: var(--white);
}

.work-intro {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.work-intro .section-heading {
    text-align: center;
    margin-bottom: 0;
}

.work-intro .section-heading h2 {
    margin-inline: auto;
}

.work-intro-copy {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding-bottom: 0;
}

.work-intro-copy p {
    color: var(--gray-500);
    font-size: 0.98rem;
    max-width: 640px;
}

.work-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.work-proof span {
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-size: 0.74rem;
    font-weight: 800;
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gray-500);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.filter-btn.active {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 4px 16px var(--blue-glow);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    align-items: stretch;
}

.work-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
    opacity: 1;
    transform: scale(1);
    display: grid;
    grid-template-rows: auto 1fr;
    grid-column: span 4;
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.work-card.hidden {
    display: none;
}

.work-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(10, 22, 40, 0.085);
    border-color: rgba(46, 156, 176, 0.5);
}

.work-image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 24% 18%, rgba(46, 156, 176, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(214, 234, 248, 0.55), rgba(255, 255, 255, 0.95));
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.04);
}

.work-image-contain img {
    object-fit: contain;
    padding: 14px;
}

.work-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(10, 22, 40, 0.12));
    pointer-events: none;
}

.browser-card {
    aspect-ratio: 1;
}

.browser-card img {
    height: calc(100% - 36px);
}

.square-image {
    aspect-ratio: 1;
}

.work-copy {
    height: 240px;
    min-height: 218px;
    padding: 24px 22px;
    display: grid;
    gap: 8px;
    align-content: start;
}

.work-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.work-copy h3 {
    font-size: 1.12rem;
    min-height: 1.4em;
}

.work-copy p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.55;
    min-height: 5em;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
}

.work-tags small {
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--gray-50);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--gray-400);
    border: 1px solid var(--gray-100);
}

.work-copy a {
    width: fit-content;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all var(--transition);
}

.work-copy a:hover {
    color: var(--blue-dark);
    transform: translateX(4px);
}

/* ===== PROCESS - TIMELINE ===== */
.process {
    background:
        linear-gradient(180deg, #eef8fb 0%, #f7fcfd 100%);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-line {
    position: absolute;
    left: 32px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--blue-dark));
    opacity: 0.15;
}

.process-step {
    display: flex;
    gap: 28px;
    padding: 24px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 900;
    font-size: 1.2rem;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.step-content {
    padding-top: 6px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials {
    background: var(--off-white);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 10px;
}

.testimonial-card {
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 4px;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.testimonial-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 16px var(--blue-glow);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: all var(--transition);
}

.dot.active {
    background: var(--blue);
    width: 28px;
    border-radius: 999px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.about-copy {
    display: grid;
    gap: 16px;
    align-content: center;
}

.about-copy .button {
    width: fit-content;
}

.about-side {
    display: grid;
    gap: 20px;
    align-content: center;
}

.studio-focus {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: var(--white);
    display: grid;
    gap: 8px;
}

.studio-focus span {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-soft);
}

.studio-focus strong {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
}

.studio-focus p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.about-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.stat-mini {
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.stat-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}

.stat-number-mini {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1.2;
}

.stat-label-mini {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ===== FAQ ===== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid rgba(203, 213, 225, 0.76);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-700);
    transition: all var(--transition);
    user-select: none;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--blue);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    background: var(--blue-soft);
    color: var(--gray-800);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.5s ease;
    padding: 0 24px;
}

.faq-item[open] .faq-answer {
    max-height: 200px;
    padding: 0 24px 22px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ===== CTA ===== */
.cta {
    background: var(--navy);
    color: var(--white);
    padding-bottom: calc(var(--section-padding) + 20px);
}

.cta-panel {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 30% 20%, rgba(46, 156, 176, 0.08), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(46, 156, 176, 0.05), transparent 40%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 156, 176, 0.05), transparent 70%);
    pointer-events: none;
}

.cta-panel .eyebrow {
    color: var(--blue-soft);
}

.cta-panel .eyebrow::before {
    background: var(--blue-soft);
}

.cta-panel h2 {
    color: var(--white);
}

.cta-panel p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.6);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gray-800);
    color: rgba(255, 255, 255, 0.5);
    padding: 52px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.site-footer h3 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: "Manrope", "Inter", sans-serif;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.4);
    transition: all var(--transition);
}

.site-footer a:hover {
    color: var(--blue-soft);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 800;
    min-width: 172px;
    height: 66px;
    padding: 0 26px;
    gap: 12px;
    border-radius: var(--radius-pill);
    background: #25d366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.30);
    transition: all var(--transition);
}

.floating-whatsapp span {
    font-size: 1.05rem;
    line-height: 1;
}

.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.40);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== SMOOTH SECTION TRANSITIONS ===== */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, auto) 44px;
        justify-content: space-between;
        width: min(100% - 28px, var(--container-width));
        gap: 14px;
    }
    .desktop-nav,
    .header-cta {
        display: none;
    }
    .brand {
        min-width: 0;
        justify-self: start;
    }
    .brand-logo {
        width: clamp(220px, 62vw, 310px);
        height: auto;
        max-height: 78px;
    }
    .menu-toggle {
        display: flex;
        justify-self: end;
        flex-shrink: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
        justify-items: center;
        justify-self: center;
        max-width: 780px;
        margin-left: 0;
        padding-left: 0;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-pillars {
        justify-content: center;
    }
    .hero-lead {
        max-width: 100%;
    }
    .hero {
        min-height: auto;
        padding: 60px 0 80px;
    }
    .scroll-indicator {
        display: none;
    }

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

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

    .work-intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .work-intro .section-heading {
        text-align: center;
    }
    .work-intro .section-heading h2 {
        margin-inline: auto;
    }
    .work-intro-copy {
        justify-items: center;
        text-align: center;
    }
    .work-filters {
        justify-content: center;
    }
    .work-grid {
        grid-template-columns: 1fr 1fr;
    }
    .work-card {
        grid-column: span 1;
    }

    .process-timeline {
        padding: 0;
    }
    .process-line {
        display: none;
    }
    .process-step {
        padding: 16px 0;
        gap: 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-copy .button {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        justify-items: center;
    }
    .footer-brand,
    .footer-grid > div {
        display: grid;
        justify-items: center;
    }
    .footer-brand p,
    .footer-logo {
        margin-inline: auto;
    }
}

@media (max-width: 680px) {
    :root {
        --section-padding: 38px;
    }

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

    .container {
        width: min(100% - 20px, var(--container-width));
    }

    .header-inner {
        width: calc(100% - 20px);
        min-height: 88px;
    }

    .brand-logo {
        width: clamp(200px, 61vw, 270px);
        max-height: 72px;
    }

    h1 {
        font-size: 2.65rem;
    }
    h2 {
        font-size: 2.2rem;
    }

    .hero-grid-cards {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .trust-track {
        gap: 20px;
    }
    .trust-track span {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

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

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

    .why-card {
        padding: 24px 20px;
    }

    .work-card {
        grid-column: auto;
    }

    .work-filters {
        gap: 6px;
    }
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.7rem;
    }
    .work-copy {
        height: auto;
        min-height: 0;
    }
    .work-copy p {
        min-height: 0;
    }
    .section-quote {
        margin-top: 30px;
    }
    .section-quote .button {
        width: min(100%, 340px);
        min-height: 64px;
        padding: 18px 28px;
    }

    .about-stats-mini {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    .stat-mini {
        padding: 16px 10px;
    }
    .stat-number-mini {
        font-size: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        justify-items: center;
    }
    .footer-brand,
    .footer-grid > div {
        display: grid;
        justify-items: center;
    }
    .footer-brand p {
        max-width: 320px;
        margin-inline: auto;
    }
    .footer-logo {
        margin-inline: auto;
    }
    .site-footer a,
    .site-footer span {
        text-align: center;
    }
    .site-footer a:hover {
        transform: none;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .cta-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .floating-whatsapp {
        min-width: 0;
        width: 68px;
        height: 68px;
        padding: 0;
        border-radius: 50%;
        font-size: 2rem;
        right: 16px;
        bottom: 16px;
    }
    .floating-whatsapp span {
        display: none;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        bottom: 16px;
        left: 16px;
        right: auto;
    }

    .mobile-menu-panel {
        width: 100%;
        padding: 22px 18px;
    }

    .faq-item summary {
        padding: 16px 18px;
        font-size: 0.9rem;
    }
    .faq-answer p {
        font-size: 0.85rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }
    .testimonial-controls {
        gap: 14px;
    }
}

@media (max-width: 440px) {
    .header-inner {
        width: calc(100% - 18px);
    }
    .brand-logo {
        width: clamp(184px, 58vw, 230px);
    }

    .small-card {
        aspect-ratio: 16 / 9;
    }
    .about-stats-mini {
        grid-template-columns: 1fr;
    }
    .work-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .hero {
        display: block;
        min-height: auto;
        padding: 0;
        overflow: hidden;
    }

    .desktop-hero-layout,
    .hero-visual,
    .hero-pillars,
    .scroll-indicator {
        display: none !important;
    }

    .mobile-hero-slider {
        display: block;
        position: relative;
        z-index: 2;
        width: 100%;
        min-height: auto;
        overflow: hidden;
        background:
            radial-gradient(circle at 80% 20%, rgba(46, 156, 176, 0.18), transparent 34%),
            linear-gradient(180deg, #0a1628 0%, #0f2537 100%);
    }

    .mobile-hero-track {
        display: flex;
        width: 100%;
        transform: translate3d(0, 0, 0);
        transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
        backface-visibility: hidden;
    }

    .mobile-hero-slide {
        flex: 0 0 100%;
        min-width: 100%;
        min-height: auto;
        display: flex;
        align-items: center;
        padding: 24px 0 50px;
        transform: translateZ(0);
    }

    .mobile-hero-slide-inner {
        display: grid;
        gap: 14px;
        align-items: center;
        text-align: center;
        width: min(100% - 28px, 460px);
        margin-inline: auto;
    }

    .mobile-hero-copy {
        display: grid;
        gap: 8px;
        justify-items: center;
    }

    .mobile-hero-copy .eyebrow {
        justify-content: center;
        color: var(--blue-soft);
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .mobile-hero-copy .eyebrow::before {
        display: none;
    }

    .mobile-hero-copy h2 {
        max-width: 13ch;
        margin: 0 auto;
        color: var(--white);
        font-size: clamp(2.15rem, 9.5vw, 3rem);
        line-height: 0.98;
        letter-spacing: 0;
    }

    .mobile-hero-copy p:not(.eyebrow) {
        max-width: 30ch;
        margin: 0 auto;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.92rem;
        line-height: 1.42;
    }

    .mobile-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        width: 100%;
        max-width: 430px;
        margin: 7px auto 0;
    }

    .mobile-hero-actions .button {
        width: 100%;
        min-height: 44px;
        padding: 11px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .mobile-hero-actions .button i {
        font-size: 0.78rem;
    }

    .mobile-hero-media {
        position: relative;
        width: 100%;
        max-width: 430px;
        height: clamp(200px, 54vw, 270px);
        min-height: 0;
        margin: 2px auto 0;
        overflow: hidden;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    }

    .mobile-hero-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 10px;
    }

    .mobile-hero-browser {
        display: grid;
        grid-template-rows: 30px 1fr;
    }

    .mobile-hero-browser .browser-bar {
        height: 30px;
    }

    .brand-social-preview {
        display: grid;
        grid-template-columns: 0.92fr 1.08fr;
        align-items: center;
        gap: 8px;
        padding: 12px;
        background:
            radial-gradient(circle at 18% 20%, rgba(46, 156, 176, 0.15), transparent 34%),
            linear-gradient(145deg, #f8fbff 0%, #edf7fa 100%);
    }

    .brand-social-preview img {
        height: 100%;
        min-width: 0;
        padding: 0;
        border-radius: 14px;
        background: var(--white);
        box-shadow: 0 14px 28px rgba(10, 22, 40, 0.14);
    }

    .brand-social-preview img:first-child {
        object-fit: cover;
        transform: translateX(6px) scale(0.94);
        z-index: 2;
    }

    .brand-social-preview img:last-child {
        object-fit: cover;
        transform: translateX(-6px) scale(0.98);
        z-index: 1;
    }

    .seo-preview {
        display: grid;
        place-items: center;
        padding: 10px;
        background:
            radial-gradient(circle at 86% 14%, rgba(46, 156, 176, 0.20), transparent 30%),
            linear-gradient(145deg, #f8fbff 0%, #edf7fa 100%);
    }

    .mobile-seo-visual {
        position: relative;
        width: min(100%, 330px);
        padding: 10px;
        display: grid;
        gap: 8px;
        border-radius: 18px;
        background:
            radial-gradient(circle at 76% 18%, rgba(46, 156, 176, 0.24), transparent 30%),
            linear-gradient(135deg, #ffffff 0%, #edf9fb 100%);
        border: 1px solid rgba(203, 213, 225, 0.66);
        box-shadow: 0 18px 38px rgba(10, 22, 40, 0.14);
        overflow: hidden;
    }

    .mobile-seo-visual::before {
        content: "";
        position: absolute;
        inset: 8px;
        border-radius: 16px;
        background-image:
            linear-gradient(rgba(46, 156, 176, 0.12) 1px, transparent 1px),
            linear-gradient(90deg, rgba(46, 156, 176, 0.12) 1px, transparent 1px);
        background-size: 24px 24px;
    }

    .mobile-seo-search,
    .mobile-seo-result,
    .mobile-seo-rank {
        position: relative;
        z-index: 2;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(203, 213, 225, 0.72);
        box-shadow: 0 12px 24px rgba(10, 22, 40, 0.08);
    }

    .mobile-seo-search {
        min-height: 40px;
        padding: 9px 11px;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: var(--gray-700);
        font-size: 0.78rem;
        font-weight: 800;
    }

    .mobile-seo-search i {
        color: var(--blue);
    }

    .mobile-seo-result {
        min-height: 58px;
        padding: 10px;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .mobile-seo-result > span {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--blue) 0%, #8ee8f4 100%);
    }

    .mobile-seo-result strong,
    .mobile-seo-rank strong {
        display: block;
        color: var(--gray-800);
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .mobile-seo-result small,
    .mobile-seo-rank small {
        display: block;
        margin-top: 3px;
        color: var(--gray-500);
        font-size: 0.66rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .mobile-seo-rank {
        padding: 10px;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .mobile-seo-rank b {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--navy);
        color: var(--white);
        font-size: 0.9rem;
    }

    .mobile-seo-arrow {
        position: absolute;
        right: 14px;
        bottom: 14px;
        z-index: 3;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--blue) 0%, #17627c 100%);
        color: var(--white);
        box-shadow: 0 12px 24px rgba(46, 156, 176, 0.25);
    }

    .template-preview {
        isolation: isolate;
        background:
            radial-gradient(circle at 22% 20%, rgba(46, 156, 176, 0.18), transparent 34%),
            linear-gradient(145deg, #f8fbff 0%, #edf7fa 100%);
    }

    .template-sheet {
        position: absolute;
        border-radius: 14px;
        background: var(--white);
        border: 1px solid rgba(10, 22, 40, 0.08);
        box-shadow: 0 18px 38px rgba(10, 22, 40, 0.15);
    }

    .template-invoice {
        display: grid;
        gap: 8px;
        width: 58%;
        min-height: 70%;
        left: 9%;
        top: 13%;
        padding: 15px;
        z-index: 2;
    }

    .template-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    }

    .template-head strong {
        color: var(--gray-800);
        font-size: 0.78rem;
    }

    .template-head small,
    .template-row span,
    .template-total span,
    .template-presentation small {
        color: var(--gray-400);
        font-size: 0.58rem;
        font-weight: 800;
    }

    .template-row,
    .template-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 24px;
    }

    .template-row b,
    .template-total b {
        color: var(--gray-700);
        font-size: 0.62rem;
    }

    .template-total {
        margin-top: 2px;
        padding: 8px;
        border-radius: 10px;
        background: var(--blue-soft);
    }

    .template-total b,
    .template-total span {
        color: var(--blue-dark);
    }

    .template-spreadsheet {
        width: 42%;
        height: 44%;
        right: 8%;
        bottom: 13%;
        z-index: 3;
        padding: 10px;
        background: #ffffff;
    }

    .sheet-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        height: 100%;
    }

    .sheet-grid span {
        border-radius: 5px;
        background: rgba(46, 156, 176, 0.14);
    }

    .sheet-grid span:nth-child(1),
    .sheet-grid span:nth-child(2),
    .sheet-grid span:nth-child(3) {
        background: var(--blue);
    }

    .template-presentation {
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 5px;
        width: 36%;
        height: 38%;
        right: 15%;
        top: 12%;
        z-index: 1;
        background: #0a1628;
        color: var(--white);
        transform: rotate(3deg);
    }

    .template-presentation i {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--blue);
        color: var(--white);
    }

    .template-presentation strong {
        color: var(--white);
        font-size: 0.62rem;
    }

    .template-presentation small {
        color: rgba(255, 255, 255, 0.62);
    }

    .template-badge {
        position: absolute;
        right: 18%;
        top: 18%;
        z-index: 3;
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--blue);
        color: var(--white);
        box-shadow: 0 14px 30px rgba(46, 156, 176, 0.32);
    }

    .mobile-hero-controls {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 12px;
        z-index: 5;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    .mobile-hero-dots {
        display: flex;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        pointer-events: auto;
    }

    .mobile-hero-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.32);
        transition: width 0.25s ease, background 0.25s ease;
    }

    .mobile-hero-dots button.active,
    .mobile-hero-dots button[aria-current="true"] {
        width: 24px;
        background: var(--blue);
    }
}

@media (max-width: 420px) {
    .mobile-hero-slide {
        padding: 22px 0 48px;
    }

    .mobile-hero-slide-inner {
        gap: 12px;
    }

    .mobile-hero-copy h2 {
        font-size: clamp(2rem, 9vw, 2.55rem);
    }

    .mobile-hero-media {
        height: clamp(190px, 52vw, 240px);
    }
}

@media (max-width: 360px) {
    .mobile-hero-actions {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .mobile-hero-copy h2 {
        font-size: clamp(1.95rem, 9vw, 2.35rem);
    }

    .mobile-hero-media {
        height: clamp(180px, 50vw, 225px);
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .section {
        opacity: 1;
        transform: none;
    }
    .word {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero-card:hover,
    .service-card:hover,
    .work-card:hover,
    .stat-mini:hover {
        transform: none !important;
    }
    .mobile-hero-track {
        transition: none !important;
    }
    .trust-track {
        animation: none !important;
    }
    .shape {
        animation: none !important;
    }
    .scroll-indicator {
        animation: none !important;
    }
}
