/* ========================================
   CSS VARIABLES - Design System
   ======================================== */
:root {
    /* Brand Colors */
    --primary-teal: #3eaeb6;
    --primary-teal-dark: #2d9aa2;
    --secondary-blue: #0c4767;
    --secondary-blue-light: #0e5a82;
    --accent-orange: #f98621;
    --accent-orange-dark: #e07519;

    /* Backgrounds */
    --light-bg: #f8fafb;
    --white: #ffffff;

    /* Text - WCAG AA Compliant */
    --text-dark: #1a202c;
    --text-body: #2d3748;
    --text-muted: #4a5568;
    --text-light: #718096;

    /* Typography */
    --font-main: 'Livvic', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 10px 40px rgba(62, 174, 182, 0.3);

    /* Transitions */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-smooth);
    --transition-normal: 250ms var(--ease-smooth);
    --transition-slow: 400ms var(--ease-smooth);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* New UI Enhancements */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 15px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 20px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: 1.2;
}

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

/* Focus States - Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* ========================================
   HEADER - Glassmorphism with Scroll
   ======================================== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 71, 103, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all var(--transition-normal);
    z-index: -1;
}

.header.scrolled::before {
    background: rgba(12, 71, 103, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 38px;
}

/* Reading Progress Bar */
.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1002;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Desktop Navigation */
.nav-menu {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.nav-link i {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: transform var(--transition-fast);
}

.nav-item:hover>.nav-link {
    color: var(--primary-teal);
}

.nav-item:hover>.nav-link i {
    transform: translateY(2px);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(12, 71, 103, 0.98);
    border-bottom: 3px solid var(--primary-teal);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    font-family: var(--font-ui);
}

.dropdown-menu li a:hover {
    background: rgba(62, 174, 182, 0.15);
    color: var(--primary-teal);
    padding-left: 28px;
}

/* Sub-dropdowns */
.subdropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: rgba(12, 71, 103, 0.98);
    border-left: 2px solid var(--primary-teal);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.has-subdropdown:hover .subdropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.header-cta:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all var(--transition-normal);
}

.hamburger::before {
    content: '';
}

.hamburger::after {
    content: '';
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
    transform: scaleX(0);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: block;
    }

    .menu-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--secondary-blue);
        padding: 100px 30px 40px;
        transition: right var(--transition-normal), visibility 0s linear 0.25s;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        transition: right var(--transition-normal), visibility 0s linear 0s;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
        justify-content: space-between;
        font-size: 1.1rem;
    }

    .dropdown-menu,
    .subdropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        border: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }

    .nav-item.active .dropdown-menu,
    .has-subdropdown.active .subdropdown-menu {
        max-height: 1000px;
        padding: 10px 0;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Header responsive adjustments for small screens */
@media (max-width: 480px) {
    .header-cta span {
        display: none;
    }

    .header-cta {
        padding: 10px 14px;
    }

    .logo-img {
        height: 36px;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--secondary-blue);
    color: var(--white);
    padding: 120px 0 160px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 71, 103, 0.95) 0%, rgba(12, 71, 103, 0.7) 40%, rgba(62, 174, 182, 0.4) 100%),
        url('../images/exome_hero_background.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

/* DNA Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(62, 174, 182, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(249, 134, 33, 0.15) 0%, transparent 30%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(249, 134, 33, 0.9);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-family: var(--font-ui);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    opacity: 1;
    max-width: 550px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 480px) {
    .hero-cta-group {
        flex-direction: row;
        align-items: center;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-dot {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 56px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(62, 174, 182, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

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

/* Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.3s;
}

.btn:active::after {
    transform: scale(2.5);
    opacity: 1;
    transition: transform 0s, opacity 0s;
}

@media (min-width: 768px) {
    .btn {
        padding: 18px 40px;
        font-size: 1.05rem;
    }
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: var(--space-lg);
}

.stats-bar {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stats-grid::-webkit-scrollbar {
    display: none;
}

.stat-item {
    flex: 1 0 50%;
    min-width: 140px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    scroll-snap-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-xs);
    color: var(--primary-teal);
}

.stat-icon-img {
    width: 44px;
    height: 44px;
    margin: 0 auto var(--space-xs);
    display: block;
    /* This filter converts black to #3eaeb6 (var(--primary-teal)) */
    filter: invert(65%) sepia(35%) saturate(836%) hue-rotate(136deg) brightness(91%) contrast(88%);
    transition: transform var(--transition-normal);
}

.stat-item:hover .stat-icon-img {
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Scroll indicator for mobile */
.stats-scroll-hint {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: var(--space-sm) 0;
}

.stats-scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.3;
    transition: opacity var(--transition-fast);
}

.stats-scroll-dot.active {
    opacity: 1;
    background: var(--primary-teal);
}

@media (min-width: 640px) {
    .stat-item {
        flex: 1;
        min-width: auto;
    }

    .stats-scroll-hint {
        display: none;
    }
}

@media (min-width: 768px) {
    .stat-item {
        padding: var(--space-xl) var(--space-lg);
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--space-3xl) 0;
}

@media (max-width: 767px) {
    .section {
        padding: var(--space-2xl) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-teal));
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-full);
}

.section-header--left {
    text-align: left;
    margin-left: 0;
}

.section-header--left .divider {
    margin-left: 0;
}

/* ========================================
   INFO SECTION - What is Exoma
   ======================================== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (min-width: 900px) {
    .info-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-3xl);
    }
}

.info-text p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
}

.info-text strong {
    color: var(--secondary-blue);
}

.highlight-box {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(62, 174, 182, 0.05) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-teal);
    position: relative;
}

@media (min-width: 768px) {
    .highlight-box {
        padding: var(--space-xl);
    }
}

.highlight-box h3 {
    margin-bottom: var(--space-md);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.highlight-box h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
}

.highlight-item {
    margin-bottom: var(--space-md);
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item strong {
    color: var(--secondary-blue);
    display: block;
    margin-bottom: 4px;
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: var(--space-lg);
}

.features-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-body);
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    border-radius: 50%;
}

.features-list li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 4px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 900;
}

/* ========================================
   TECHNICAL SPECS - Cards Section
   ======================================== */
.tech-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(62, 174, 182, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Ocultar el gradiente decorativo en móvil para evitar sombra bicolor */
@media (max-width: 767px) {
    .tech-section::before {
        display: none;
    }
}

.tech-section .section-header h2,
.tech-section .section-header p {
    color: var(--white);
}

.tech-section .section-header p {
    opacity: 0.8;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    position: relative;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.card {
    background: rgba(255, 255, 255, 0.06);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--primary-teal);
}

.card-icon-img {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    display: block;
    /* This filter converts black to #3eaeb6 (var(--primary-teal)) */
    filter: invert(65%) sepia(35%) saturate(836%) hue-rotate(136deg) brightness(91%) contrast(88%);
    transition: transform var(--transition-normal);
}

.card h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
    line-height: 1.3;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-section {
    background: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

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

@media (min-width: 768px) {
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        right: -20px;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-teal), transparent);
    }
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
    box-shadow: 0 8px 24px rgba(249, 134, 33, 0.3);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* ========================================
   FOOTER CTA
   ======================================== */
.footer-cta {
    text-align: center;
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--primary-teal), transparent);
}

.footer-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-sm);
}

.footer-cta>.container>p {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    color: var(--text-muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta .btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    box-shadow: 0 10px 40px rgba(12, 71, 103, 0.3);
}

.footer-cta .btn-primary:hover {
    box-shadow: 0 15px 50px rgba(12, 71, 103, 0.4);
}

/* ========================================
   OFFICIAL GENOMA @[FOOTER]
   ======================================== */
.main-footer {
    background-color: #0C4767;
    color: #ffffff;
    font-family: var(--font-main);
    padding: 80px 0 0 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 40px;
    filter: brightness(0) invert(1);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.footer-column h3 .accent {
    color: #EB8332;
    font-weight: 800;
    margin-right: 12px;
    font-size: 1.4rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin: 25px 0 12px 0;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #37B0B8;
    padding-left: 5px;
}

.contact-item,
.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.contact-item i,
.location-item i {
    color: #EB8332;
    margin-right: 15px;
    margin-top: 4px;
    width: 18px;
    font-size: 1rem;
    text-align: center;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #37B0B8;
}

.footer-bottom {
    background-color: #37B0B8;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.footer-bottom .disclaimer {
    font-weight: 400;
    font-size: 0.72rem;
    opacity: 0.9;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 0 0;
        text-align: center;
    }

    .contact-item,
    .location-item {
        justify-content: center;
    }

    .footer-column h3 {
        justify-content: center;
    }
}

/* ========================================
   MOBILE STICKY CTA
   ======================================== */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: var(--space-sm) var(--space-md);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
        transform: translateY(100%);
        transition: transform var(--transition-normal);
    }

    .mobile-sticky-cta.visible {
        transform: translateY(0);
    }

    .mobile-sticky-cta .btn {
        width: 100%;
    }

    /* Add padding to body to prevent content hiding */
    body.has-sticky-cta {
        padding-bottom: 88px;
    }
}

/* ========================================
   ANIMATIONS - Respects reduced-motion
   ======================================== */
@media (prefers-reduced-motion: no-preference) {

    /* Parallax Floating Elements */
    .parallax-element {
        will-change: transform;
        transition: transform 0.1s linear;
    }

    /* Premium Reveal Classes */
    .reveal {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        transition: all 0.8s var(--ease-spring);
        will-change: transform, opacity;
    }

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

    .reveal-left {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.8s var(--ease-spring);
        will-change: transform, opacity;
    }

    .reveal-left.active {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.8s var(--ease-spring);
        will-change: transform, opacity;
    }

    .reveal-right.active {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-scale {
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.8s var(--ease-spring);
        will-change: transform, opacity;
    }

    .reveal-scale.active {
        opacity: 1;
        transform: scale(1);
    }

    /* Stagger logic for reveal */
    .reveal-stagger>* {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s var(--ease-spring);
    }

    .reveal-stagger.active>* {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-stagger.active>*:nth-child(1) {
        transition-delay: 0.1s;
    }

    .reveal-stagger.active>*:nth-child(2) {
        transition-delay: 0.2s;
    }

    .reveal-stagger.active>*:nth-child(3) {
        transition-delay: 0.3s;
    }

    .reveal-stagger.active>*:nth-child(4) {
        transition-delay: 0.4s;
    }

    .reveal-stagger.active>*:nth-child(5) {
        transition-delay: 0.5s;
    }

    .reveal-stagger.active>*:nth-child(6) {
        transition-delay: 0.6s;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--secondary-blue);
    transition: all var(--transition-fast);
}

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

.faq-item summary:hover {
    background: rgba(62, 174, 182, 0.05);
}

.faq-question {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.4;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary-teal);
    transition: transform var(--transition-normal);
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    left: 4px;
    top: 11px;
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    left: 11px;
    top: 4px;
}

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

.faq-item[open] summary {
    background: rgba(62, 174, 182, 0.08);
    border-bottom: 1px solid rgba(62, 174, 182, 0.15);
}

.faq-answer {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    color: var(--text-body);
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.faq-answer p {
    margin-bottom: var(--space-sm);
}

.faq-answer ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.faq-answer ul li {
    margin-bottom: var(--space-xs);
    position: relative;
}

.faq-answer ul li::marker {
    color: var(--primary-teal);
}

/* ========================================
   RELATED SERVICES SECTION
   ======================================== */
.related-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    color: var(--white);
}

.related-section .section-header h2,
.related-section .section-header p {
    color: var(--white);
}

.related-section .divider {
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.related-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-decoration: none;
    color: var(--white);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.related-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.related-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.related-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
}

.related-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile adjustments for FAQ */
@media (max-width: 768px) {
    .faq-item summary {
        padding: var(--space-sm) var(--space-md);
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }

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

    .related-card {
        padding: var(--space-md);
    }

    .related-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

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

@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator {
        display: none;
    }
}