/* ============================================================
   TRIMONKEY — Premium B2B Audiovisual Agency
   Design System & Styles
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
    /* Colors - Dark Premium */
    --black: #0a0a0c;
    --black-2: #0e0e11;
    --black-3: #111115;
    --surface: #111115;
    --surface-2: #18181e;
    --surface-3: #1e1e26;

    /* Accent */
    --coral: #e14d43;
    --coral-light: #ef7a72;
    --coral-btn: #c73b30;
    --coral-dark: #c23d34;
    --coral-glow: rgba(225, 77, 67, 0.12);
    --coral-glow-strong: rgba(225, 77, 67, 0.25);

    --blue: #69a8bb;
    --blue-dark: #4a8a9d;
    --blue-glow: rgba(105, 168, 187, 0.08);

    --mint: #5ad9a0;

    /* Text */
    --white: #f0f0f5;
    --gray-200: #a8a8b8;
    --gray-300: #9696b0;
    --gray-400: #84849e;
    --gray-500: #8585a0;
    --gray-600: #333345;
    --gray-700: #222233;
    --gray-border: rgba(255, 255, 255, 0.06);
    --gray-border-2: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Spacing */
    --section-gap: clamp(5rem, 12vh, 10rem);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.4);
    /* Timing */
    --t-fast: 0.2s;
    --t-base: 0.35s;
    --t-slow: 0.6s;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --max-width: 1400px;
    --container-padding: clamp(2rem, 5vw, 4rem);

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 100px;
}

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

html {
    scroll-behavior: auto;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body {
    height: auto;
}

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

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

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

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.hidden { display: none !important; }

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

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

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

ul, ol { list-style: none; }

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

/* === ACCESSIBILITY === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: var(--white);
    padding: 1rem 2rem;
    z-index: 10001;
    font-weight: 600;
    transition: top 0.3s;
    border-radius: var(--radius-sm);
}

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

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

/* Enhanced button focus */
.btn:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(225, 77, 67, 0.2);
}

.faq-question:focus-visible {
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .loading-screen { display: none !important; }
}

/* === NOISE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* === LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 max(var(--container-padding), env(safe-area-inset-right));
}

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

.section--dark {
    background: var(--black-2);
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-light), var(--blue));
    width: 0%;
    z-index: 10001;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(225, 77, 67, 0.4), 0 0 5px rgba(225, 77, 67, 0.2);
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

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

.loading-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    animation: loadingLogoReveal 1.2s var(--ease) both;
}

@keyframes loadingLogoReveal {
    0% { opacity: 0; letter-spacing: 0.3em; transform: scale(0.9); }
    100% { opacity: 1; letter-spacing: -0.02em; transform: scale(1); }
}

.loading-screen.hidden .loading-logo {
    animation: loadingLogoExit 0.4s var(--ease) forwards;
}

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

.loading-percent {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.loading-logo span {
    color: var(--coral);
}

.loading-logo-mono {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.loading-tagline {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray-500);
    animation: loadingLogoReveal 1.2s 0.3s var(--ease) both;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    overflow: hidden;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease);
}

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

.nav.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
    transition: letter-spacing var(--t-base) var(--ease);
}

.nav-logo:hover {
    letter-spacing: 0.02em;
}

.nav-logo span {
    color: var(--coral);
    transition: text-shadow var(--t-base);
}

.nav-logo:hover span {
    text-shadow: 0 0 20px rgba(225, 77, 67, 0.4);
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo-icon {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform var(--t-base) var(--ease), filter var(--t-base);
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(225, 77, 67, 0.4));
}

.nav-logo-type {
    height: 22px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--t-base);
}

.nav-logo:hover .nav-logo-type {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-300);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--t-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width var(--t-base) var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

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

.nav-links a.active {
    color: var(--coral);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--coral-btn);
    color: #fff !important;
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--t-base);
}

.nav-cta:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(225, 77, 67, 0.3);
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--gray-border-2);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--gray-200);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--t-fast) ease;
    z-index: 1001;
    line-height: 1;
}

.lang-switch:hover {
    color: var(--white);
    border-color: var(--coral);
    background: var(--coral-glow);
}

.lang-switch:active {
    transform: scale(0.95);
}

.lang-icon {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity var(--t-fast) ease;
}

.lang-switch:hover .lang-icon {
    opacity: 1;
}

.lang-label {
    font-weight: 600;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
}

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

/* Mesh gradient blobs */
.hero-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: transform;
}

.hero-mesh--1 {
    width: 600px;
    height: 600px;
    background: var(--coral);
    top: -15%;
    right: -5%;
    opacity: 0.14;
    animation: meshDrift1 18s ease-in-out infinite;
}

.hero-mesh--2 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: -10%;
    left: -8%;
    opacity: 0.12;
    animation: meshDrift2 22s ease-in-out infinite;
}

.hero-mesh--3 {
    width: 450px;
    height: 450px;
    background: #8b5cf6;
    top: 40%;
    left: 50%;
    opacity: 0.08;
    animation: meshDrift3 25s ease-in-out infinite;
}

.hero-mesh--4 {
    width: 350px;
    height: 350px;
    background: var(--coral-light);
    bottom: 20%;
    right: 25%;
    opacity: 0.06;
    animation: meshDrift4 20s ease-in-out infinite;
}

@keyframes meshDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.05); }
    50% { transform: translate(20px, -20px) scale(0.95); }
    75% { transform: translate(-15px, -35px) scale(1.02); }
}

@keyframes meshDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(35px, -25px) scale(1.08); }
    50% { transform: translate(-25px, 40px) scale(0.92); }
    75% { transform: translate(45px, 15px) scale(1.04); }
}

@keyframes meshDrift3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    33% { transform: translate(calc(-50% + 50px), -40px) scale(1.1); }
    66% { transform: translate(calc(-50% - 30px), 30px) scale(0.9); }
}

@keyframes meshDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, -25px) scale(1.15); }
}

/* Cinematic vignette */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(10, 10, 12, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero-content .hero-brand {
    align-self: center;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.hero-brand-mono {
    height: 220px;
    width: 220px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-brand-type {
    height: 110px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 .line {
    display: block;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 30%, #f0967d 50%, var(--blue) 75%, var(--coral) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: heroGradientShift 8s ease-in-out infinite alternate;
}

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

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--gray-200);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    white-space: nowrap;
}

.btn--primary {
    position: relative;
    overflow: hidden;
    background: var(--coral-btn);
    color: #fff;
    padding: 0.9rem 2rem;
    box-shadow: 0 4px 20px rgba(225, 77, 67, 0.3);
}

.btn--primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(225, 77, 67, 0.4);
    border-radius: var(--radius-md);
}

.btn--full { width: 100%; }

.btn--secondary {
    background: transparent;
    color: var(--gray-200);
    padding: 0.9rem 2rem;
    border: 1px solid var(--gray-600);
}

.btn--secondary:hover {
    color: var(--white);
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

/* Reel button glow pulse */
.btn--reel {
    animation: reelGlow 3s ease-in-out infinite;
}

@keyframes reelGlow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 16px rgba(225, 77, 67, 0.15), 0 0 4px rgba(225, 77, 67, 0.1); }
}

.btn--secondary svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-base);
}

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

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--gray-border), rgba(225, 77, 67, 0.15), var(--gray-border)) 1;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: transform var(--t-base) var(--ease);
}

.hero-stat:hover {
    transform: translateY(-3px);
}

.hero-stat:hover .hero-stat-number {
    color: var(--coral);
    transition: color var(--t-base);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-number .accent {
    color: var(--coral);
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header--center {
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
    background: var(--coral-glow);
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(225, 77, 67, 0.1);
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--coral);
}

.section-header--center .section-tag::before {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section-title .highlight {
    color: var(--coral);
    display: inline;
}

.section-title .highlight::after {
    content: none;
}

.section-title .highlight--blue {
    color: var(--blue);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-300);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: service-counter;
}

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

.services-cta-wrap {
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--t-base) var(--ease);
    overflow: hidden;
    counter-increment: service-counter;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-light));
    opacity: 0;
    transition: opacity var(--t-base);
}

.service-card:hover {
    border-color: rgba(225, 77, 67, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(225, 77, 67, 0.05);
}

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

.service-name::before {
    content: counter(service-counter, decimal-leading-zero) '. ';
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-right: 0.2rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--coral-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    transition: all var(--t-base) var(--ease);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--coral-glow-strong);
    box-shadow: 0 0 24px rgba(225, 77, 67, 0.2);
}

.service-card:nth-child(even):hover .service-icon {
    background: rgba(105, 168, 187, 0.2);
    box-shadow: 0 0 24px rgba(105, 168, 187, 0.2);
}

.service-card:nth-child(even) .service-icon {
    background: var(--blue-glow);
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.service-desc {
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    background: var(--surface-2);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-full);
    color: var(--gray-300);
}

.service-card:hover .service-tag {
    border-color: var(--gray-border-2);
}

/* ============================================================
   IA METHODOLOGY STRIP
   ============================================================ */
.section--ia {
    padding: var(--section-gap) 0;
    background: var(--surface);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.ia-strip {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.ia-strip-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--coral-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ia-strip-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.ia-strip-text {
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ia-strip {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--coral),
        var(--gray-600),
        var(--gray-600),
        var(--coral)
    );
    opacity: 0.3;
}

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

.process-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    background-image: linear-gradient(135deg, var(--coral), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    transition: all var(--t-base);
}

.process-step:hover .process-number {
    border-color: var(--coral);
    background: var(--coral);
    background-image: none;
    -webkit-text-fill-color: white;
    box-shadow: 0 0 30px rgba(225, 77, 67, 0.3);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.process-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    position: relative;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    transition: transform 0.1s linear;
    will-change: transform;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(225, 77, 67, 0.08),
        rgba(10, 10, 12, 0.95),
        rgba(105, 168, 187, 0.05)
    );
}

.about-image-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.about-image-watermark {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 800;
    color: var(--coral);
    opacity: 0.06;
    letter-spacing: -0.05em;
    line-height: 1;
    user-select: none;
}

.about-image-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--gray-600);
    text-transform: uppercase;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.8;
}

.about-quote {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border-left: 3px solid var(--coral);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 0.5rem 0;
    transition: box-shadow var(--t-base);
}

.about-quote:hover {
    box-shadow: -4px 0 20px rgba(225, 77, 67, 0.1);
}

.about-quote::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--coral);
    opacity: 0.2;
}

.about-quote p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.about-highlight {
    position: relative;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    transition: all var(--t-base) var(--ease);
}

.about-highlight:hover {
    border-color: rgba(225, 77, 67, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-highlight-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 0.3rem;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.about-highlight-label {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: break-word;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: var(--section-gap) 0;
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(225, 77, 67, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background var(--t-base);
    margin-top: 1rem;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.03);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--coral-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
    color: var(--coral);
}

.contact-method-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.contact-method-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.contact-method-value a {
    transition: color var(--t-base);
}

.contact-method-value a:hover {
    color: var(--coral);
}

.contact-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-base);
}

.contact-social a:hover {
    border-color: var(--coral);
    background: var(--coral-glow);
    transform: translateY(-2px);
}

.contact-social svg {
    width: 18px;
    height: 18px;
    color: var(--gray-300);
    transition: color var(--t-base);
}

.contact-social a:hover svg {
    color: var(--coral);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-trust-signal {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.form-trust-signal svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 4rem 0 2rem;
    border-top: none;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 30%, var(--black-3) 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(225, 77, 67, 0.2), rgba(105, 168, 187, 0.15), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: letter-spacing var(--t-base);
}

.footer-logo-icon {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform var(--t-base) var(--ease);
}

.footer-logo:hover .footer-logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo-type {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.footer-logo:hover {
    letter-spacing: 0.02em;
}

.footer-logo span {
    color: var(--coral);
    transition: text-shadow var(--t-base);
}

.footer-logo:hover span {
    text-shadow: 0 0 20px rgba(225, 77, 67, 0.4);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--gray-400);
    max-width: 300px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-400);
    transition: color var(--t-fast), padding-left var(--t-base);
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.footer-made-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.78rem;
    color: var(--gray-500);
    transition: color var(--t-fast);
}

.footer-legal a:hover {
    color: var(--gray-300);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* Hero entrance — cinematic stagger */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-anim-1 { animation: heroFadeUp 1.2s 0.2s var(--ease) both; }
.hero-anim-2 { animation: heroFadeUp 1.2s 0.45s var(--ease) both; }
.hero-anim-3 { animation: heroFadeUp 1.2s 0.7s var(--ease) both; }
.hero-anim-4 { animation: heroFadeUp 1.2s 1s var(--ease) both; }
.hero-anim-5 { animation: heroFadeUp 1.2s 1.25s var(--ease) both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }


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

    .process-grid::before {
        display: none;
    }


    .about-grid {
        gap: 2.5rem;
    }

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

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

}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding: 4rem 2rem 2rem;
        background: #0a0a0c;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 9999;
    }

    /* Anular propiedades que rompen position:fixed de hijos */
    .nav:has(.nav-links.active) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
    }

    .nav:has(.nav-links.active) .nav-logo,
    .nav:has(.nav-links.active) .nav-toggle {
        position: relative;
        z-index: 10000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-links .nav-cta {
        display: inline-flex;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switch {
        margin-right: 8px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .section + .section::before {
        display: none;
    }

    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

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


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


    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        aspect-ratio: 16 / 9;
    }


    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    /* Reduce reveal offsets on mobile */
    .reveal {
        transform: translateY(15px);
    }

    .reveal-left {
        transform: translateX(-20px);
    }

    .reveal-right {
        transform: translateX(20px);
    }

    /* Containment — prevent overflow between sections */
    .contact {
        contain: paint;
    }

    /* Disable hover transforms on touch */
    .service-card:hover,
    .about-highlight:hover,
    .hero-stat:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero > .container {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem 2rem;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        align-self: stretch;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        width: auto;
        align-self: stretch;
    }

    .hero-actions .btn {
        width: auto;
        justify-content: center;
    }


    .process-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 1.75rem;
        border-left: 2px solid var(--gray-600);
    }

    .process-step {
        text-align: left;
        padding: 1.5rem 0 1.5rem 1.25rem;
        position: relative;
    }

    .process-number {
        position: absolute;
        left: -2.35rem;
        top: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        margin: 0;
    }


    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlight-number {
        font-size: 1.2rem;
    }


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

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

    .footer-legal {
        justify-content: center;
    }

    .service-card {
        padding: 1.5rem;
    }


    .contact-option {
        padding: 1.75rem 1.5rem;
    }

    /* Contact form mobile — prevent iOS auto-zoom */
    .contact-form-input,
    .contact-form-textarea {
        font-size: 16px;
    }

    .contact-form-textarea {
        min-height: 100px;
    }

    .contact-form-submit .btn {
        width: 100%;
    }

    /* Touch targets min 48px */
    .btn {
        min-height: 48px;
    }

}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-border-2), rgba(225, 77, 67, 0.15), var(--gray-border-2), transparent);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--t-base), background var(--t-base), border-left-color var(--t-base);
}

.faq-item:hover {
    border-color: var(--gray-border-2);
}

.faq-item.active {
    border-color: rgba(225, 77, 67, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    gap: 1rem;
    transition: color var(--t-base);
}

.faq-question:hover {
    color: var(--coral);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--t-base);
    font-size: 0.75rem;
    color: var(--gray-400);
}

.faq-item.active .faq-icon {
    background: var(--coral-glow);
    border-color: rgba(225, 77, 67, 0.2);
    color: var(--coral);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.92rem;
    color: var(--gray-300);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active {
    background: var(--surface-2);
    border-left-color: var(--coral);
}

/* ============================================================
   ENHANCED MICRO-INTERACTIONS
   ============================================================ */

/* Shimmer effect for primary buttons */
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.btn--primary:hover::after {
    left: 100%;
}

/* Process number pulse on hover */
.process-step:hover .process-number {
    animation: numberPulse 0.6s ease;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--t-base) var(--ease);
    backdrop-filter: blur(12px);
}

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

.back-to-top:hover {
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 77, 67, 0.3);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    color: var(--gray-300);
    transition: color var(--t-fast);
}

.back-to-top:hover svg {
    color: white;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.8);
    transition: all var(--t-base) var(--ease);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* Section nav dots — replaced by .section-nav / .section-nav-dot defined below */

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: max(var(--container-padding), env(safe-area-inset-left));
    right: max(var(--container-padding), env(safe-area-inset-right));
    z-index: 9000;
    padding: 1rem 1.5rem;
    background: rgba(17, 17, 21, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    transform: translateY(120%);
    transition: transform 0.5s var(--ease);
    box-shadow: var(--shadow-xl);
}

.cookie-consent.visible {
    transform: translateY(0);
}

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

.cookie-consent-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-text p {
    font-size: 0.85rem;
    color: var(--gray-200);
    margin: 0;
}

.cookie-consent-link {
    font-size: 0.78rem;
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn--small {
    padding: 0.55rem 1.2rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 48px;
        height: 48px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

/* ============================================================
   VIDEO LIGHTBOX
   ============================================================ */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
    cursor: pointer;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t-base);
    z-index: 10;
}

.video-lightbox-close:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.video-lightbox-close svg {
    width: 20px;
    height: 20px;
    color: white;
}

.video-lightbox-content {
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: default;
    background: var(--black-2);
    border: 1px solid var(--gray-border);
    transform: scale(0.9);
    transition: transform 0.5s var(--ease);
}

.video-lightbox.active .video-lightbox-content {
    transform: scale(1);
}

.video-lightbox-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(225, 77, 67, 0.05),
        rgba(10, 10, 12, 0.98),
        rgba(105, 168, 187, 0.03)
    );
}

.video-lightbox-placeholder .showreel-play {
    width: 100px;
    height: 100px;
}

.video-lightbox-placeholder .showreel-play svg {
    width: 36px;
    height: 36px;
}

.video-lightbox-placeholder p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ============================================================
   SECTION DECORATIVE ELEMENTS
   ============================================================ */

/* Corner accent for dark sections */
.section--dark::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(225, 77, 67, 0.03), transparent 70%);
    pointer-events: none;
}

/* ============================================================
   HERO SCROLL INDICATOR
   ============================================================ */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: var(--gray-600);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.hero-scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(to bottom, var(--coral), transparent);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -16px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
body {
    animation: pageIn 0.6s var(--ease) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* View Transitions API — Cinematic fade to black */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: cinematicOut 0.5s cubic-bezier(.4,0,.2,1) forwards;
}

::view-transition-new(root) {
    animation: cinematicIn 0.5s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes cinematicOut {
    0% { opacity: 1; filter: brightness(1); }
    100% { opacity: 0; filter: brightness(0); }
}

@keyframes cinematicIn {
    0% { opacity: 0; filter: brightness(0); }
    100% { opacity: 1; filter: brightness(1); }
}

/* ============================================================
   ENHANCED CARD EFFECTS
   ============================================================ */

/* Service card gradient hover overlay */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(225, 77, 67, 0.06) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity var(--t-base);
    pointer-events: none;
    border-radius: inherit;
}

.service-card:hover::after {
    opacity: 1;
}

/* Testimonial quote glow on hover */

/* Process step enhanced connecting line */
.process-step::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--gray-600), var(--gray-700));
    z-index: 1;
}

.process-step:last-child::before {
    display: none;
}

.process-step.visible::before {
    background: linear-gradient(90deg, var(--coral), var(--gray-600));
    animation: lineGrow 0.8s var(--ease) both;
}

@keyframes lineGrow {
    from { transform: scaleX(0); transform-origin: left; }
    to { transform: scaleX(1); transform-origin: left; }
}


.footer-links a:hover {
    padding-left: 0.5rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width var(--t-base);
}

.footer-links a:hover::before {
    width: 0.3rem;
}

@media (max-width: 768px) {
    .process-step::before {
        display: none;
    }
}

/* ============================================================
   ENHANCED FORM VALIDATION STATES
   ============================================================ */
.contact-form-input:valid:not(:placeholder-shown),
.contact-form-textarea:valid:not(:placeholder-shown) {
    border-color: rgba(90, 217, 160, 0.6);
}

.contact-form-input:invalid:not(:placeholder-shown):not(:focus),
.contact-form-textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(225, 77, 67, 0.6);
}


/* ============================================================
   WHATSAPP NOTIFICATION DOT
   ============================================================ */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--coral);
    border: 2px solid #25D366;
    animation: whatsappDot 3s ease-in-out infinite;
}

@keyframes whatsappDot {
    0%, 70%, 100% { transform: scale(1); }
    80% { transform: scale(1.3); }
    90% { transform: scale(1); }
}

/* ============================================================
   MOBILE NAV STAGGERED LINKS
   ============================================================ */
@media (max-width: 768px) {
    .nav-links.active a {
        animation: navLinkReveal 0.4s var(--ease) both;
    }
    .nav-links.active li:nth-child(1) a { animation-delay: 0.05s; }
    .nav-links.active li:nth-child(2) a { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) a { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) a { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) a { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(6) a { animation-delay: 0.3s; }

    @keyframes navLinkReveal {
        from { opacity: 0; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Custom scrollbar — see enhanced version in CUSTOM SCROLLBAR section below */

/* ============================================================
   FOOTER GRADIENT BACKGROUND
   ============================================================ */
/* ===
   HERO TYPING CURSOR BLINK
   ============================================================ */
.hero h1 .highlight::after {
    content: '|';
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--coral);
    font-weight: 300;
    animation: cursorBlink 0.75s step-end infinite;
    margin-left: 2px;
    font-size: 0.85em;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================================
   SECTION TITLE TYPEWRITER CURSOR
   ============================================================ */
.section-title .highlight.typing-active::after {
    content: '|';
    position: static;
    width: auto;
    height: auto;
    background: none;
    animation: cursorBlink 0.75s step-end infinite;
    color: var(--coral);
    margin-left: 1px;
    font-weight: 300;
}

/* ============================================================
   FOOTER LINK ANIMATED UNDERLINE
   ============================================================ */

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width var(--t-base) var(--ease);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ============================================================
   EMAIL COPY TOOLTIP
   ============================================================ */
.copy-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--surface-2);
    color: var(--mint);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--mint);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all var(--t-fast) var(--ease);
    z-index: 10;
}

.copy-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--mint);
}

/* ============================================================
   SERVICE TAG HOVER COLOR SHIFT
   ============================================================ */
.service-card:hover .service-tag {
    color: var(--white);
    background: var(--surface-3);
}

/* ============================================================
   PROCESS STEP CONNECTING DOT
   ============================================================ */
.process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-600);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 1024px) {
    .process-step::after {
        display: none;
    }
}

/* ============================================================
   LOADING SCREEN ENHANCED BACKGROUND
   ============================================================ */
.loading-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(225, 77, 67, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(105, 168, 187, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================================
   SECTION TAG CENTER DOT INDICATOR
   ============================================================ */
.section-header--center .section-tag::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
    animation: liveDot 2s ease-in-out infinite;
}

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

/* ============================================================
   HERO STAT SEPARATOR
   ============================================================ */
.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gray-600), transparent);
}

.hero-stat {
    position: relative;
}

/* ============================================================
   BTN PRIMARY SHIMMER EFFECT (position/overflow in base .btn--primary above)
   ============================================================ */
.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: btnShimmer 4s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* ===
   CONTACT SOCIAL ICON STAGGER ON REVEAL
   ============================================================ */
.contact-social a {
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--t-base) var(--ease);
}

.visible .contact-social a,
.reveal-left.visible .contact-social a {
    opacity: 1;
    transform: translateY(0);
}

.visible .contact-social a:nth-child(1) { transition-delay: 0.1s; }
.visible .contact-social a:nth-child(2) { transition-delay: 0.2s; }
.visible .contact-social a:nth-child(3) { transition-delay: 0.3s; }

/* ============================================================
   TAB HIDDEN — Pause heavy animations when tab not visible
   ============================================================ */
body.tab-hidden *,
body.tab-hidden *::before,
body.tab-hidden *::after {
    animation-play-state: paused !important;
}


/* ============================================================
   FAQ ANSWER LINK STYLE
   ============================================================ */
.faq-answer-inner a {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t-fast);
}

.faq-answer-inner a:hover {
    color: var(--coral-light);
}

/* ===
   SERVICE CARD EVEN HOVER COLORS
   ============================================================ */
.service-card:nth-child(even):hover {
    border-color: rgba(105, 168, 187, 0.2);
}

.service-card:nth-child(even):hover::before {
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

/* ============================================================
   LOADING BAR GRADIENT GLOW
   ============================================================ */
.loading-bar-fill {
    box-shadow: 0 0 10px rgba(225, 77, 67, 0.4), 0 0 20px rgba(225, 77, 67, 0.2);
}

/* ============================================================
   HERO LINE DISPLAY BLOCK WITH SPACING
   ============================================================ */
.hero h1 .line:last-child {
    margin-top: 0.1em;
}

/* ============================================================
   SECTION TAG TRANSITION
   ============================================================ */
.section-tag {
    transition: all var(--t-base) var(--ease);
}

.section-tag:hover {
    background: rgba(225, 77, 67, 0.18);
    border-color: rgba(225, 77, 67, 0.25);
}

/* ============================================================
   CONTACT FORM INPUT HOVER
   ============================================================ */
.contact-form-input:hover,
.contact-form-textarea:hover {
    border-color: var(--gray-500);
}

/* ============================================================
   ABOUT IMAGE SHIMMER ANIMATION
   ============================================================ */
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    animation: imageShimmer 6s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

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

/* ============================================================
   MOBILE NAV STAGGERED LINK ANIMATION
   ============================================================ */
@media (max-width: 768px) {
    .nav-links.active li {
        animation: navLinkSlide 0.4s var(--ease) both;
    }
    .nav-links.active li:nth-child(1) { animation-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.3s; }
}

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

/* ============================================================
   NAV LOGO GLOW ON SCROLL
   ============================================================ */
.nav.scrolled .nav-logo {
    text-shadow: 0 0 20px rgba(225, 77, 67, 0.15);
}

/* ============================================================
   LOADING SCREEN LOGO PULSE
   ============================================================ */
.loading-logo {
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* ===
   HERO SCROLL INDICATOR BOUNCE
   ============================================================ */
.hero-scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================================
   PROCESS STEP TITLE CORAL ON HOVER
   ============================================================ */
.process-step:hover .process-title {
    color: var(--coral);
    transition: color var(--t-base);
}

/* ============================================================
   ABOUT QUOTE HOVER GLOW
   ============================================================ */
.about-quote:hover {
    border-left-color: var(--coral-light);
    box-shadow: -4px 0 20px rgba(225, 77, 67, 0.1);
    transition: all var(--t-base);
}

/* ============================================================
   SECTION VISIBLE TRANSITION (JS triggered)
   ============================================================ */
.section-visible .section-header {
    opacity: 1;
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
    border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-600) var(--black);
}

/* ============================================================
   SENDING DOTS ANIMATION
   ============================================================ */
.sending-dots {
    animation: sendingDots 1.2s steps(4) infinite;
    display: inline-block;
    width: 1.5em;
    text-align: left;
    overflow: hidden;
}

@keyframes sendingDots {
    0% { width: 0; }
    25% { width: 0.5em; }
    50% { width: 1em; }
    75% { width: 1.5em; }
}

/* ===
   HERO STAT HOVER BORDER COLOR
   ============================================================ */
.hero-stat:hover {
    border-color: rgba(225, 77, 67, 0.2);
    transition: border-color var(--t-base);
}

/* ============================================================
   ABOUT IMAGE HOVER WATERMARK REVEAL
   ============================================================ */
.about-image:hover .about-image-watermark {
    opacity: 0.12;
    transition: opacity var(--t-slow);
}

/* ============================================================
   SCROLLING STATE TRANSITIONS
   ============================================================ */
body.scrolling-down .hero-scroll-indicator {
    opacity: 0;
    transition: opacity var(--t-base);
}

body.scrolling-up .back-to-top.visible {
    transform: translateY(0);
}

/* ============================================================
   CONTENT VISIBILITY OPTIMIZATION
   ============================================================ */
.section:not(.hero):not(.trust) {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ============================================================
   SECTION TAG DECORATIVE COLON
   ============================================================ */
.section-header--center .section-tag {
    gap: 0.4rem;
}

/* ===
   ABOUT HIGHLIGHT ICON DECORATION
   ============================================================ */
.about-highlight::before {
    content: '';
    width: 3px;
    height: 24px;
    background: linear-gradient(to bottom, var(--coral), transparent);
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity var(--t-base);
}

.about-highlight:hover::before {
    opacity: 1;
}

/* ============================================================
   FOOTER TAGLINE MAX WIDTH
   ============================================================ */
.footer-tagline {
    max-width: 280px;
}

/* ============================================================
   PROCESS STEP HOVER SHADOW
   ============================================================ */
.process-step:hover {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
}

/* ============================================================
   LOADING BAR SHIMMER
   ============================================================ */
.loading-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loadingShimmer 1.5s ease-in-out infinite;
}

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

/* ============================================================
   NAV CTA PULSE ON FIRST VISIT
   ============================================================ */
.nav-cta {
    position: relative;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--coral);
    opacity: 0;
    animation: ctaPulse 3s 2s ease-in-out 2;
    z-index: -1;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.08); }
}

/* ============================================================
   SERVICE CARD HOVER BORDER GLOW
   ============================================================ */
.service-card:hover {
    border-color: rgba(225, 77, 67, 0.15);
}

.service-card:nth-child(even):hover {
    border-color: rgba(105, 168, 187, 0.15);
}

/* ============================================================
   HIGHLIGHT — Color only, no underline
   ============================================================ */
.highlight {
    color: var(--coral);
}

/* ============================================================
   FOOTER LEGAL SEPARATOR DOTS
   ============================================================ */
.footer-legal a + a::before {
    content: '\00B7';
    margin: 0 0.5rem;
    color: var(--gray-600);
    pointer-events: none;
}

/* ============================================================
   EMAIL COPY TO CLIPBOARD TOOLTIP
   ============================================================ */
.contact-method-value a[href^="mailto"] {
    cursor: pointer;
    position: relative;
}

.contact-method-value a[href^="mailto"]::after {
    content: 'Copiar';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--surface);
    color: var(--gray-300);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-border);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.contact-method-value a[href^="mailto"]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


/* ============================================================
   PROCESS NUMBER PULSE ANIMATION
   ============================================================ */
.process-step:hover .process-number {
    animation: processPulse 0.6s var(--ease);
}

@keyframes processPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ============================================================
   CONFIGURADOR PAGE PREFETCH ON HOVER
   ============================================================ */
a[href="configurador.html"] {
    position: relative;
}

/* ============================================================
   SECTION NAV DOTS (desktop lateral navigation)
   ============================================================ */
.section-nav {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 90;
    opacity: 0;
    transition: opacity var(--t-base);
}

body.scrolling-down .section-nav,
body.scrolling-up .section-nav {
    opacity: 1;
}

.section-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-600);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-base);
}

.section-nav-dot:hover {
    background: var(--gray-400);
    transform: scale(1.3);
}

.section-nav-dot.active {
    background: var(--coral);
    transform: scale(1.3);
}

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


/* ============================================================
   SERVICE TAG COLOR SHIFT ON CARD HOVER
   ============================================================ */
.service-card:hover .service-tag {
    color: var(--white);
    background: rgba(225, 77, 67, 0.12);
    transition: all var(--t-base);
}

.service-card:nth-child(even):hover .service-tag {
    background: rgba(105, 168, 187, 0.12);
}


/* ============================================================
   SHOWREEL PLAY BUTTON PULSE RING
   ============================================================ */
.showreel-play::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(225, 77, 67, 0.3);
    animation: playRing 2s ease-in-out infinite;
}

@keyframes playRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.4; }
}


/* ============================================================
   GPU ACCELERATION HINTS
   ============================================================ */
.loading-screen,
.scroll-progress {
    will-change: transform, opacity;
}


/* ============================================================
   REDUCED DATA PREFERENCE
   ============================================================ */
@media (prefers-reduced-data: reduce) {
    .hero-bg,
    body::before {
        display: none;
    }
}

/* ============================================================
   HIGH CONTRAST MODE
   ============================================================ */
@media (prefers-contrast: high) {
    :root {
        --gray-border: rgba(255, 255, 255, 0.15);
        --gray-border-2: rgba(255, 255, 255, 0.25);
    }

    .section-tag {
        border-width: 2px;
    }
}

/* ============================================================
   DARK COLOR SCHEME DECLARATION
   ============================================================ */
:root {
    color-scheme: dark;
}

/* ============================================================
   SECTION TITLE GRADIENT ON HOVER
   ============================================================ */
.section-title {
    transition: background-size 0.4s var(--ease);
    background-size: 100%;
}

.section-title:hover {
    background: linear-gradient(90deg, var(--white), var(--coral), var(--blue), var(--white));
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

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

/* ============================================================
   SERVICE ICON BREATHE ON VISIBLE
   ============================================================ */
@keyframes iconBreathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.section-visible .service-icon {
    animation: iconBreathe 3s ease-in-out infinite;
}

.section-visible .service-card:nth-child(2) .service-icon { animation-delay: 0.3s; }
.section-visible .service-card:nth-child(3) .service-icon { animation-delay: 0.6s; }
.section-visible .service-card:nth-child(4) .service-icon { animation-delay: 0.9s; }

/* ============================================================
   SCROLL-TRIGGERED STAGGER COLUMNS
   ============================================================ */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }

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

/* Capability card glow — using base ::after at ~2813 (radial gradient) */


.loading-logo img {
    animation: logoPulse 2s ease-in-out infinite;
}

/* ============================================================
   SCROLL PROGRESS GLOW
   ============================================================ */
.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 80px;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, transparent, rgba(225, 77, 67, 0.4));
    border-radius: 0 2px 2px 0;
    filter: blur(3px);
}

/* ============================================================
   HERO BOTTOM GRADIENT FADE
   ============================================================ */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--black), transparent);
    z-index: 2;
    pointer-events: none;
}

/* ============================================================
   CONFIGURADOR FULLSCREEN OVERLAY
   ============================================================ */
.config-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.97);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.config-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.config-overlay-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.8) 0%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
    pointer-events: none;
}

.config-overlay-close {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gray-200);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.config-overlay-close:hover {
    background: rgba(225, 77, 67, 0.15);
    color: var(--coral);
    transform: scale(1.1);
}

.config-overlay-close:active {
    transform: scale(0.95);
}

.config-overlay-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--black);
}

/* ============================================================
   CONTACT OPTION CARDS
   ============================================================ */
.contact-option {
    background: var(--surface);
    border: 1px solid var(--gray-border-2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.contact-option:hover {
    border-color: rgba(225, 77, 67, 0.15);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(225, 77, 67, 0.04);
}

.contact-option:last-child:hover {
    border-color: rgba(105, 168, 187, 0.2);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(105, 168, 187, 0.04);
}

.contact-option-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gray-border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.contact-option-icon {
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-glow);
    border-radius: var(--radius-md);
}

.contact-option:last-child .contact-option-icon {
    background: var(--blue-glow);
}

.contact-option h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-option p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.contact-option .contact-option-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form-group {
    width: 100%;
}

.contact-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: border-color var(--t-fast), background var(--t-fast);
    outline: none;
}

.contact-form-input:focus {
    border-color: var(--blue);
    background: rgba(255, 255, 255, 0.06);
}

.contact-form-input::placeholder {
    color: var(--gray-400);
    transition: opacity var(--t-fast), transform var(--t-fast);
}

.contact-form-input:focus::placeholder {
    opacity: 0.4;
    transform: translateX(4px);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-submit {
    margin-top: 0.25rem;
}

.contact-form-meta {
    border-top: 1px solid var(--gray-border);
    margin-top: 1.25rem;
    padding-top: 0.25rem;
}

/* Form success state */
.contact-form-success {
    text-align: center;
    padding: 2rem 0;
}

.contact-form-success h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-form-success p {
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* ============================================================
   SECTORS GRID
   ============================================================ */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.sector-item {
    background: var(--surface);
    border: 1px solid var(--gray-border-2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.sector-item:hover {
    border-color: rgba(225, 77, 67, 0.12);
    box-shadow: var(--shadow-md), 0 0 30px rgba(225, 77, 67, 0.04);
    transform: translateY(-2px);
}

.sector-item:nth-child(even):hover {
    border-color: rgba(105, 168, 187, 0.15);
    box-shadow: var(--shadow-md), 0 0 30px rgba(105, 168, 187, 0.04);
}

.sector-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-glow);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.sector-item:nth-child(even) .sector-icon {
    background: var(--blue-glow);
}

.sector-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.sector-desc {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sector-item {
        padding: 1.5rem;
    }
}

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

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    *,
    *::before,
    *::after {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
        border-color: #ccc !important;
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
        transform: none !important;
        filter: none !important;
    }

    body::before {
        display: none !important;
    }

    .loading-screen,
    .scroll-progress,
    .nav,
    .hero-bg,
    .hero-scroll-indicator,
    .back-to-top,
    .whatsapp-float,
    .cookie-consent,
    .video-lightbox,
    .config-overlay,
    .showreel-play,
    .section-nav,
    video, iframe, embed {
        display: none !important;
    }

    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .section {
        padding: 2rem 0 !important;
        page-break-inside: avoid;
        orphans: 3;
        widows: 3;
    }

    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }

    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }

    .btn {
        border: 1px solid #333 !important;
        padding: 0.5rem 1rem !important;
    }

    .footer {
        page-break-before: always;
    }
}

/* === LEGAL PAGES === */
.legal-page { padding: 120px 0 80px; max-width: 800px; margin: 0 auto; }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 2rem; }
.legal-page h1 .highlight { color: var(--coral); }
.legal-page h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--white); margin: 2rem 0 0.8rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--gray-200); line-height: 1.8; margin-bottom: 0.8rem; }
.legal-page ul { padding-left: 1.5rem; list-style: disc; }
.legal-page a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--coral); font-size: 0.85rem; font-weight: 500; margin-bottom: 2rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-page th, .legal-page td { padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--gray-border); font-size: 0.85rem; }
.legal-page th { background: var(--surface); color: var(--white); font-weight: 600; }
.legal-page td { color: var(--gray-200); }
