﻿@font-face {
    font-family: 'Inter';
    src: url('../font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

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

:root {
    --primary-color: #B5DE7C;
    --secondary-color: #1F3161;
    --accent-color: #B5DE7C;
    --navy-light: #4F73C9;
    --white: #ffffff;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --black: #000000;
    --bg-deep: #070d1c;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html.lenis,
html.lenis body {
    height: auto;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: rgba(181, 222, 124, 0.35);
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ Logo SVG ============ */
.logo-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.logo-svg .lg-light {
    fill: #ffffff;
    stroke: #ffffff;
    stroke-width: 0;
}

.logo-svg .lg-brand {
    fill: var(--primary-color);
    stroke: var(--primary-color);
    stroke-width: 0;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    fill: #cbd5e1;
}

/* ============ Preloader ============ */
.preloader {
    display: none;
}

.is-loading .preloader {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: all;
    animation: preloader-failsafe 0.6s ease 8s forwards;
}

.preloader.is-controlled {
    animation: none;
}

@keyframes preloader-failsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.pl-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: var(--bg-deep);
}

.pl-panel--top {
    top: 0;
    background: linear-gradient(180deg, #060b18 0%, #0b1530 100%);
}

.pl-panel--bottom {
    bottom: 0;
    background: linear-gradient(0deg, #060b18 0%, #0b1530 100%);
}

.pl-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(181, 222, 124, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(181, 222, 124, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center center;
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 65%);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 65%);
}

.pl-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90vw, 820px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(181, 222, 124, 0.12);
    opacity: 0;
}

.pl-orbit::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 18px 4px rgba(181, 222, 124, 0.6);
}

.pl-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
}

.pl-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(84vw, 720px);
    transform: translate(-50%, -50%);
}

.pl-stage .logo-svg {
    will-change: transform;
}

.pl-meta {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.pl-count {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.pl-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.pl-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left center;
}

/* ============ Scroll progress ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 2000;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left center;
    box-shadow: 0 0 12px rgba(181, 222, 124, 0.6);
}

/* ============ Background ============ */
.background-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2847 0%, rgba(31, 49, 97, 0.2) 50%, #0f172a 100%);
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    will-change: transform;
}

.aurora-1 {
    width: 46vw;
    height: 46vw;
    top: -12vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(181, 222, 124, 0.35), transparent 70%);
    animation: aurora-drift-1 22s ease-in-out infinite alternate;
}

.aurora-2 {
    width: 52vw;
    height: 52vw;
    bottom: -20vw;
    right: -14vw;
    background: radial-gradient(circle, rgba(79, 115, 201, 0.45), transparent 70%);
    animation: aurora-drift-2 26s ease-in-out infinite alternate;
}

.aurora-3 {
    width: 30vw;
    height: 30vw;
    top: 40%;
    left: 45%;
    background: radial-gradient(circle, rgba(31, 49, 97, 0.7), transparent 70%);
    animation: aurora-drift-3 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift-1 {
    to { transform: translate(18vw, 14vh) scale(1.15); }
}

@keyframes aurora-drift-2 {
    to { transform: translate(-16vw, -18vh) scale(0.9); }
}

@keyframes aurora-drift-3 {
    to { transform: translate(-22vw, -10vh) scale(1.3); }
}

.mouse-follower {
    position: absolute;
    top: 0;
    left: 0;
    width: 384px;
    height: 384px;
    margin: -192px 0 0 -192px;
    background: linear-gradient(45deg, rgba(181, 222, 124, 0.3), rgba(31, 49, 97, 0.3));
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
    will-change: transform;
}

.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B5DE7C' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Text Gradients */
.text-gradient-white {
    background: linear-gradient(45deg, #ffffff, rgba(181, 222, 124, 0.8), rgba(31, 49, 97, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.85), #4F73C9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: #ffffff;
}

.text-primary {
    color: #B5DE7C;
    font-weight: 600;
}

.text-accent {
    color: #B5DE7C;
    font-weight: 600;
}

/* Masked line reveals */
.line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

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

/* Generic keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ Hero Section ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
    padding: 96px 0 120px;
}

.hero-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-evenly;
    pointer-events: none;
}

.hero-lines span {
    position: relative;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.hero-lines span::after {
    content: '';
    position: absolute;
    left: 0;
    top: -30%;
    width: 1px;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(181, 222, 124, 0.7), transparent);
    animation: line-drop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-lines span:nth-child(2)::after { animation-delay: 2s; }
.hero-lines span:nth-child(3)::after { animation-delay: 4s; }

@keyframes line-drop {
    to { top: 130%; }
}

.hero-content {
    position: relative;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo-icon {
    width: min(560px, 82vw);
    margin-bottom: 40px;
}

.headline-text {
    font-size: clamp(2.4rem, 6.4vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.subtitle p {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    margin: 0 auto 48px;
    color: var(--gray-300);
    line-height: 1.5;
    max-width: 800px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.btn-primary {
    color: #0a1226;
    background: var(--primary-color);
    border: none;
    box-shadow: 0 12px 32px -12px rgba(181, 222, 124, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary.has-icon {
    padding: 0 8px 0 26px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #e6f7cc;
    clip-path: circle(0% at 100% 50%);
    transition: clip-path 0.7s var(--ease-out-expo);
}

.btn-primary:hover::before {
    clip-path: circle(150% at 100% 50%);
}

.btn-primary:hover {
    box-shadow: 0 18px 44px -12px rgba(181, 222, 124, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    z-index: -1;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: btn-shine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btn-shine {
    0%, 70% { left: -60%; }
    100% { left: 130%; }
}

.btn-icon {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    background: #0a1226;
    transition: transform 0.6s var(--ease-out-expo);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.6s var(--ease-out-expo);
}

.btn-primary:hover .btn-icon {
    transform: scale(1.06);
}

.btn-primary:hover .btn-icon svg {
    transform: translateX(3px);
}

.btn-label {
    position: relative;
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
}

.btn-label > span {
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.btn-label > span::after {
    content: attr(data-text);
    display: block;
}

.btn-primary:hover .btn-label > span,
.btn-secondary:hover .btn-label > span {
    transform: translateY(-50%);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(181, 222, 124, 0.14);
    clip-path: circle(0% at 0% 50%);
    transition: clip-path 0.7s var(--ease-out-expo);
}

.btn-secondary:hover::before {
    clip-path: circle(150% at 0% 50%);
}

.btn-secondary:hover {
    border-color: rgba(181, 222, 124, 0.6);
    box-shadow: 0 14px 34px -14px rgba(181, 222, 124, 0.5);
}

.btn-secondary > svg {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.6s var(--ease-out-expo);
}

.btn-secondary:hover > svg {
    transform: scale(1.12) rotate(-8deg);
}

.btn-primary.large,
.btn-secondary.large {
    min-height: 64px;
    font-size: 1.1rem;
}

.magnetic {
    will-change: transform;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--primary-color);
    animation: wheel 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
}

.floating-element::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: float 4s ease-in-out infinite;
}

.floating-1 {
    top: 80px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #B5DE7C;
    box-shadow: 0 0 24px rgba(181, 222, 124, 0.6);
}

.floating-2 {
    top: 160px;
    right: 80px;
    width: 24px;
    height: 24px;
    background: #4F73C9;
}

.floating-2::before { animation-delay: 1.5s; }

.floating-3 {
    bottom: 160px;
    left: 80px;
    width: 12px;
    height: 12px;
    background: #B5DE7C;
}

.floating-3::before { animation-delay: 3s; }

/* ============ Marquee ============ */
.marquee {
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 13, 28, 0.55);
    backdrop-filter: blur(8px);
    transform: rotate(-2deg) scale(1.04);
    margin: 40px 0 96px;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-group span {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    white-space: nowrap;
    padding: 0 28px;
    color: #fff;
}

.marquee-group span.is-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-color);
}

.marquee-group i {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: var(--primary-color);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    animation: spin 6s linear infinite;
}

/* ============ Services Section ============ */
.services-section {
    position: relative;
    z-index: 10;
    padding: 64px 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 512px;
    margin: 0 auto;
}

.services-section {
    overflow: clip;
}

.services-glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1100px, 120vw);
    aspect-ratio: 1;
    transform: translate(-50%, -30%);
    background: radial-gradient(circle, rgba(181, 222, 124, 0.12), transparent 60%);
    pointer-events: none;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(181, 222, 124, 0.08);
    border: 1px solid rgba(181, 222, 124, 0.25);
}

/* Needs nav: sticky pill bar */
.needs-nav {
    position: sticky;
    top: 16px;
    z-index: 50;
    display: flex;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 88px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(7, 13, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    overflow-x: auto;
    scrollbar-width: none;
}

.needs-nav::-webkit-scrollbar {
    display: none;
}

.needs-nav-pill {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 0;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 24px rgba(181, 222, 124, 0.45);
    opacity: 0;
    visibility: hidden;
}

.need-chip {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-300);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.need-chip span {
    margin-right: 8px;
    font-weight: 800;
    opacity: 0.55;
}

.need-chip:hover {
    color: #fff;
}

.need-chip.is-active {
    color: #0a1226;
}

/* Need groups */
.needs {
    display: grid;
    gap: 128px;
}

.need {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
    scroll-margin-top: 110px;
}

.need-aside {
    align-self: stretch;
}

.need-sticky {
    position: sticky;
    top: 120px;
}

.need-num {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(5rem, 11vw, 9rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(181, 222, 124, 0.55);
}

.need-title {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.need-desc {
    max-width: 420px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.need-count {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.need-cards {
    display: grid;
    gap: 16px;
}

/* Service card */
.svc-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 22px 26px 22px 22px;
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(181, 222, 124, 0.16), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.svc-card::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--navy-light));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s var(--ease-out-expo);
}

.svc-card:hover,
.svc-card:focus-visible {
    border-color: rgba(181, 222, 124, 0.35);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(181, 222, 124, 0.08);
}

.svc-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-icon {
    position: relative;
    display: block;
    width: 84px;
    height: 84px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(145deg, #1F3161, #0d1733);
    border: 1px solid rgba(181, 222, 124, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.6s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.svc-icon .mi,
.svc-visual-icon .mi {
    --mi-bg: #152450;
}

.svc-card:hover .svc-icon {
    transform: scale(1.06) rotate(-3deg);
    border-color: rgba(181, 222, 124, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px -8px rgba(181, 222, 124, 0.4);
}

.svc-body {
    display: block;
}

.svc-name {
    margin-bottom: 6px;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-name {
    color: var(--primary-color);
}

.svc-desc {
    display: block;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.svc-card:hover .svc-desc {
    color: var(--gray-300);
}

.svc-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease-out-expo);
}

.svc-card:hover .svc-arrow {
    color: #0a1226;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.svc-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a1226;
    background: linear-gradient(90deg, var(--primary-color), #e3f6c4);
    box-shadow: 0 0 20px rgba(181, 222, 124, 0.4);
}

@media (max-width: 960px) {
    .need {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .need-sticky {
        position: static;
    }

    .need-num {
        font-size: 4.5rem;
    }

    .needs {
        gap: 96px;
    }
}

@media (max-width: 640px) {
    .needs-nav {
        top: 10px;
        margin-bottom: 56px;
    }

    .need-chip {
        padding: 9px 14px;
        font-size: 0.85rem;
    }

    .svc-card {
        gap: 16px;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .svc-icon {
        width: 64px;
        height: 64px;
        padding: 10px;
        border-radius: 18px;
    }

    .svc-name {
        font-size: 1.1rem;
    }

    .svc-desc {
        font-size: 0.92rem;
    }

    .svc-arrow {
        width: 36px;
        height: 36px;
    }
}

/* ============ Shared icon box (non-card icons) ============ */
.icon-box {
    display: block;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1F3161, #0d1733);
    border: 1px solid rgba(181, 222, 124, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.icon-box .mi {
    --mi-bg: #152450;
}

/* ============ Bento tiles ============ */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.bento-tile {
    --mx: 50%;
    --my: 50%;
    position: relative;
    padding: 28px;
    border-radius: 28px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.bento-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(181, 222, 124, 0.15), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento-tile:hover {
    border-color: rgba(181, 222, 124, 0.35);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.bento-tile:hover::before {
    opacity: 1;
}

.bento-tile > * {
    position: relative;
}

.tile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.tile-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(181, 222, 124, 0.6);
    animation: kicker-pulse 2.2s ease-out infinite;
}

@keyframes kicker-pulse {
    0% { box-shadow: 0 0 0 0 rgba(181, 222, 124, 0.6); }
    80%, 100% { box-shadow: 0 0 0 9px rgba(181, 222, 124, 0); }
}

/* ============ About Section ============ */
.about-section {
    position: relative;
    z-index: 10;
    padding: 128px 0;
}

.about-header {
    margin-bottom: 56px;
}

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

.tile-manifesto {
    grid-column: span 7;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;
    padding: 40px;
    background:
        radial-gradient(circle at 0% 100%, rgba(181, 222, 124, 0.12), transparent 55%),
        rgba(255, 255, 255, 0.04);
}

.manifesto {
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.015em;
}

.tile-photo {
    grid-column: span 5;
    grid-row: span 2;
    min-height: 460px;
    padding: 0;
}

.tile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

.tile-photo .image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 23, 51, 0) 35%, rgba(13, 23, 51, 0.85)),
        linear-gradient(135deg, rgba(181, 222, 124, 0.22), transparent 60%);
    transition: opacity 0.5s ease;
}

.tile-photo:hover .image-overlay {
    opacity: 0.6;
}

.spin-badge {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
}

.spin-text,
.orb-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    animation: spin 16s linear infinite;
}

.spin-core {
    width: 66px;
    height: 66px;
    padding: 11px;
    border-radius: 50%;
}

.tile-stat {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    min-height: 230px;
}

.stat-number {
    font-size: clamp(2.75rem, 4.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    margin-top: 6px;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 64px;
    margin-top: auto;
    padding-top: 18px;
}

.mini-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--primary-color), rgba(181, 222, 124, 0.12));
    transform-origin: 50% 100%;
}

.tile-ring .stat-ring {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 160px;
    height: 160px;
    transform: rotate(-90deg);
}

.ring-track,
.ring-fill {
    fill: none;
    stroke-width: 10;
}

.ring-track {
    stroke: rgba(255, 255, 255, 0.08);
}

.ring-fill {
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0.12;
}

.tile-mission {
    grid-column: span 6;
    min-height: 230px;
    padding-right: 140px;
}

.tile-mission p {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
}

.mission-icon {
    position: absolute !important;
    right: 28px;
    bottom: 28px;
    width: 88px;
    height: 88px;
}

.tile-value {
    grid-column: span 4;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.value-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 10px;
    border-radius: 18px;
}

.value-text strong {
    display: block;
    margin-bottom: 2px;
    font-size: 1.1rem;
    font-weight: 800;
}

.value-text span {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* ============ Team Section ============ */
.team-section {
    position: relative;
    z-index: 10;
    padding: 96px 0;
}

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

.team-member {
    --mx: 50%;
    --my: 50%;
    position: relative;
    padding: 22px 20px 28px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(181, 222, 124, 0.16), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-member:hover {
    border-color: rgba(181, 222, 124, 0.35);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.team-member:hover::before {
    opacity: 1;
}

.member-index {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 2;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(181, 222, 124, 0.5);
    transition: -webkit-text-stroke-color 0.4s ease;
}

.team-member:hover .member-index {
    -webkit-text-stroke-color: var(--primary-color);
}

.member-photo {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    margin: 0 auto 6px;
}

.member-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(40% at 50% 50%);
    transition: transform 0.7s var(--ease-out-expo), filter 0.5s ease;
    filter: saturate(0.92);
}

.member-ring {
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 150deg, rgba(181, 222, 124, 0.9) 260deg, #4F73C9 330deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin 7s linear infinite;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.team-member:nth-child(even) .member-ring {
    animation-direction: reverse;
    animation-duration: 9s;
}

.member-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 222, 124, 0.45), transparent 70%);
    filter: blur(28px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.team-member:hover .member-ring {
    opacity: 1;
}

.team-member:hover .member-glow {
    opacity: 0.8;
}

.member-info {
    position: relative;
}

.member-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(181, 222, 124, 0.08);
    border: 1px solid rgba(181, 222, 124, 0.25);
}

.member-description {
    color: var(--gray-400);
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 260px;
    margin: 0 auto;
}

/* ============ Contact Section ============ */
@property --stage-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.contact-section {
    position: relative;
    z-index: 10;
    padding: 96px 0;
    overflow: clip;
}

.contact-marquee {
    overflow: hidden;
    margin-bottom: -0.2em;
    pointer-events: none;
    user-select: none;
}

.cm-track {
    display: flex;
    width: max-content;
    animation: cm-scroll 45s linear infinite;
}

.cm-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cm-group span {
    padding: 0 0.3em;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(181, 222, 124, 0.35);
}

.cm-group i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 24px rgba(181, 222, 124, 0.6);
}

@keyframes cm-scroll {
    to { transform: translateX(-50%); }
}

.contact-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    margin-bottom: 16px;
    padding: 64px;
    border-radius: 36px;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(11, 20, 42, 0.92), rgba(11, 20, 42, 0.92)) padding-box,
        conic-gradient(from var(--stage-angle), rgba(255, 255, 255, 0.08) 0deg, rgba(255, 255, 255, 0.08) 200deg, #B5DE7C 285deg, #4F73C9 330deg, rgba(255, 255, 255, 0.08) 360deg) border-box;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    animation: stage-spin 6s linear infinite;
}

@keyframes stage-spin {
    to { --stage-angle: 360deg; }
}

.stage-glow {
    position: absolute;
    z-index: -1;
    top: -220px;
    right: -140px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 222, 124, 0.22), transparent 65%);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.contact-head h2 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.contact-subtitle {
    max-width: 460px;
    margin-bottom: 32px;
    font-size: 1.2rem;
    color: var(--gray-300);
}

.contact-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

.orb-text {
    font-size: 12.5px;
    animation-duration: 14s;
    transition: fill 0.4s ease;
}

.cta-orb:hover .orb-text {
    fill: var(--primary-color);
}

.orb-core {
    position: relative;
    width: 128px;
    height: 128px;
    padding: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 10px rgba(181, 222, 124, 0.12), 0 20px 60px -10px rgba(181, 222, 124, 0.6);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease;
}

.orb-core::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: contact-ping 2.4s ease-out infinite;
}

.orb-core .mi {
    --mi-ink: #0a1226;
    --mi-lime: #1F3161;
    --mi-bg: #B5DE7C;
}

.cta-orb:hover .orb-core {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(181, 222, 124, 0.16), 0 24px 70px -10px rgba(181, 222, 124, 0.8);
}

@keyframes contact-ping {
    0% { opacity: 0.7; transform: scale(1); }
    70%, 100% { opacity: 0; transform: scale(1.4); }
}

.tile-channel {
    grid-column: span 6;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px 22px 22px;
}

.contact-icon {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    padding: 0;
    color: var(--primary-color);
}

.contact-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid var(--primary-color);
    opacity: 0;
    animation: contact-ping 2.6s ease-out infinite;
    pointer-events: none;
}

.tile-channel + .tile-channel .contact-icon::after {
    animation-delay: 1.3s;
}

.contact-glyph {
    width: 32px;
    height: 32px;
}

.channel-body {
    flex: 1;
    min-width: 0;
}

.channel-body .tile-kicker {
    margin-bottom: 8px;
}

.contact-label {
    display: block;
    margin-bottom: 2px;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.contact-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.tile-channel:hover .contact-value {
    color: var(--primary-color);
}

.tile-channel:hover .svc-arrow {
    color: #0a1226;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.contact-bento .final-stat {
    grid-column: span 3;
    padding: 26px;
}

.final-stat-icon {
    width: 64px;
    height: 64px;
    padding: 11px;
    border-radius: 18px;
    margin-bottom: 18px;
}

.final-stat-number {
    margin-bottom: 8px;
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-color);
}

.final-stat-label {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.35;
}

/* ============ Footer ============ */
.site-footer {
    position: relative;
    z-index: 10;
    padding-top: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-about img {
    display: block;
    width: auto;
    height: 44px;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 320px;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
}

.footer-col h3 {
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.footer-col a {
    display: block;
    width: fit-content;
    padding: 6px 0;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.4s var(--ease-out-expo);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-400);
    font-size: 0.88rem;
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.footer-wordmark {
    margin-bottom: -0.14em;
    font-size: clamp(5rem, 22vw, 20rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: center;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(181, 222, 124, 0.25);
    user-select: none;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .tile-manifesto,
    .tile-photo,
    .tile-mission,
    .tile-channel {
        grid-column: span 6;
    }

    .tile-manifesto {
        grid-row: auto;
        min-height: 0;
    }

    .tile-photo {
        grid-row: auto;
        min-height: 400px;
    }

    .tile-value {
        grid-column: span 2;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-stage {
        grid-template-columns: 1fr;
        padding: 48px 36px;
    }

    .cta-orb {
        justify-self: center;
    }
}

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

    .footer-about {
        grid-column: 1 / -1;
    }

    .tile-value {
        grid-column: span 6;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tile-manifesto,
    .tile-photo,
    .tile-mission,
    .tile-value,
    .tile-channel {
        grid-column: span 2;
    }

    .tile-stat,
    .contact-bento .final-stat {
        grid-column: span 1;
    }

    .bento-tile {
        padding: 20px;
        border-radius: 22px;
    }

    .tile-manifesto {
        padding: 26px 22px;
    }

    .tile-photo {
        min-height: 320px;
        padding: 0;
    }

    .spin-badge {
        width: 116px;
        height: 116px;
        right: 12px;
        bottom: 12px;
    }

    .spin-core {
        width: 52px;
        height: 52px;
        padding: 8px;
    }

    .tile-stat {
        min-height: 200px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .tile-ring .stat-ring {
        width: 110px;
        height: 110px;
        right: -26px;
        bottom: -26px;
    }

    .tile-mission {
        padding-right: 20px;
        padding-bottom: 96px;
    }

    .tile-mission p {
        font-size: 1.15rem;
    }

    .mission-icon {
        right: 20px;
        bottom: 20px;
        width: 64px;
        height: 64px;
        padding: 10px;
    }

    .contact-section {
        padding: 64px 0;
    }

    .contact-stage {
        padding: 30px 20px;
        border-radius: 26px;
        gap: 24px;
    }

    .contact-cta {
        flex-direction: column;
    }

    .cta-orb {
        width: 190px;
        height: 190px;
    }

    .orb-core {
        width: 96px;
        height: 96px;
        padding: 20px;
    }

    .tile-channel {
        gap: 14px;
    }

    .tile-channel .svc-arrow {
        display: none;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-value {
        font-size: 1.05rem;
    }

    .final-stat-icon {
        width: 52px;
        height: 52px;
        padding: 8px;
    }

    .final-stat-number {
        font-size: 2.2rem;
    }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 56px 32px;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

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

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

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .final-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-lines span:nth-child(2) {
        display: none;
    }

    .marquee {
        padding: 18px 0;
        margin: 24px 0 64px;
    }

    .marquee-group span {
        padding: 0 18px;
    }

    .pl-meta {
        left: 20px;
        right: 20px;
        bottom: 28px;
    }

    .pl-label {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .logo-icon {
        margin-bottom: 28px;
    }

    .services-section,
    .about-section,
    .team-section,
    .contact-section {
        padding: 64px 0;
    }

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

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

    .image-container img {
        height: 320px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .member-photo {
        max-width: 280px;
    }

    .member-description {
        font-size: 0.85rem;
    }

    .floating-element {
        display: none;
    }
}

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

/* Back to Home Button */
.back-to-home {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
}

.btn-back-home {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: rgba(181, 222, 124, 0.2);
    border-color: rgba(181, 222, 124, 0.5);
    color: #B5DE7C;
    transform: translateX(-4px);
}

.btn-back-home svg {
    transition: transform 0.3s ease;
}

.btn-back-home:hover svg {
    transform: translateX(-2px);
}

/* Fixed buttons (autodiagnóstico + asesor) */
#autodiagnostico-fixed,
#contactar-asesor-fixed {
    position: fixed;
    right: 24px;
    z-index: 1000;
    min-height: 50px;
    padding: 0 20px;
    font-size: 0.92rem;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.6s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

#autodiagnostico-fixed {
    bottom: 86px;
    background: rgba(7, 13, 28, 0.75);
}

#contactar-asesor-fixed {
    bottom: 24px;
    color: #0a1226;
    background: var(--primary-color);
    border-color: transparent;
}

#contactar-asesor-fixed > svg {
    color: #0a1226;
}

#contactar-asesor-fixed::before {
    background: #e6f7cc;
}

#autodiagnostico-fixed.show,
#contactar-asesor-fixed.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@media (max-width: 768px) {
    #autodiagnostico-fixed,
    #contactar-asesor-fixed {
        right: 16px;
        width: 52px;
        min-height: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
    }

    #autodiagnostico-fixed {
        bottom: 80px;
    }

    #contactar-asesor-fixed {
        bottom: 16px;
    }

    #autodiagnostico-fixed .btn-label,
    #contactar-asesor-fixed .btn-label {
        display: none;
    }
}

/* Autodiagnóstico Section */
.autodiagnostico-section {
    position: relative;
    padding: 120px 0;
    z-index: 10;
}

.autodiagnostico-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.autodiagnostico-header {
    margin-bottom: 64px;
}

.autodiagnostico-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.autodiagnostico-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.autodiagnostico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.autodiagnostico-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.autodiagnostico-card:hover {
    transform: translateY(-8px);
    border-color: rgba(181, 222, 124, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.autodiagnostico-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.autodiagnostico-card p {
    color: var(--gray-400);
    line-height: 1.6;
}

.autodiagnostico-cta {
    text-align: center;
}

.autodiagnostico-cta .btn-primary {
    margin-bottom: 16px;
}

.autodiagnostico-note {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .autodiagnostico-header h2 {
        font-size: 2.5rem;
    }

    .autodiagnostico-subtitle {
        font-size: 1.125rem;
    }

    .autodiagnostico-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .autodiagnostico-card {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .autodiagnostico-section {
        padding: 80px 0;
    }

    .autodiagnostico-header h2 {
        font-size: 2rem;
    }

    .autodiagnostico-subtitle {
        font-size: 1rem;
    }

    .autodiagnostico-card {
        padding: 20px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
}
