/* ============================================
   PINSEO - DIGITAL AGENCY WEBSITE
   Modern, elegant, conversion-focused design
   
   Color Palette:
   - Beige: #EED9C4
   - Dark: #2B161B
   - Gold: #9E7B62
   - White: #FFFFFF
   
   Typography:
   - Headings: Playfair Display
   - Body: Poppins
============================================ */

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

:root {
    /* Colors - Paleta Mejorada con #B5D1DC */
    --color-primary: #b7f542;        /* Verde lima del hero */
    --color-secondary: #B5D1DC;      /* Azul suave principal */
    --color-accent: #e8f0f2;         /* Texto principal del hero */
    --color-dark: #0b0b0b;           /* Fondo del hero */
    --color-white: #e8f0f2;          /* Texto principal */
    --color-light-bg: #0b0b0b;       /* Fondo negro */
    --color-border: rgba(183, 245, 66, 0.25);
    
    /* Nueva paleta de colores #B5D1DC */
    --soft-blue: #B5D1DC;            /* Color principal solicitado */
    --soft-blue-light: #C8DDE6;      /* Variación más clara */
    --soft-blue-dark: #9BB8C7;       /* Variación más oscura */
    --soft-blue-alpha: rgba(181, 209, 220, 0.1); /* Con transparencia */
    --soft-blue-alpha-strong: rgba(181, 209, 220, 0.2);
    
    /* Gradientes Mejorados */
    --gradient-primary: linear-gradient(135deg, #B5D1DC 0%, #C8DDE6 50%, #9BB8C7 100%);
    --gradient-secondary: linear-gradient(45deg, #B5D1DC 0%, #C8DDE6 25%, #9BB8C7 50%, #B5D1DC 75%, #C8DDE6 100%);
    --gradient-accent: linear-gradient(90deg, transparent 0%, #B5D1DC 30%, #C8DDE6 50%, #B5D1DC 70%, transparent 100%);
    --gradient-dramatic: linear-gradient(45deg, #B5D1DC 0%, #C8DDE6 20%, #9BB8C7 40%, #B5D1DC 60%, #C8DDE6 80%, #9BB8C7 100%);
    --gradient-radial: radial-gradient(circle at center, #B5D1DC 0%, #C8DDE6 30%, #9BB8C7 60%, transparent 100%);
    --gradient-mesh: conic-gradient(from 0deg at 50% 50%, #B5D1DC 0deg, #C8DDE6 60deg, #9BB8C7 120deg, #B5D1DC 180deg, #C8DDE6 240deg, #9BB8C7 300deg, #B5D1DC 360deg);
    
    /* Typography - Consistente con Hero */
    --font-heading: 'Bebas Neue', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.10);
    --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    background-color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section--dark {
    background: #000000;
    color: var(--color-white);
    position: relative;
}

.section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Section headers */
.section__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__subtitle {
    display: inline-block;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.15;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--color-white);
    text-transform: uppercase;
}

.section__description {
    font-size: 1.125rem;
    color: var(--color-secondary);
    line-height: 1.7;
}

.section--dark .section__description {
    color: rgba(255, 255, 255, 0.8);
}

/* Highlight text */
.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-dark);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(162, 227, 82, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 700;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn--primary:hover::before {
    left: 0;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 210, 63, 0.5);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(162, 227, 82, 0.2);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(162, 227, 82, 0.4);
}

.btn--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

.btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* AOS-like data attributes (simple fallback) */
/* ============================================
   SCROLL ANIMATIONS (AOS)
============================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Fade Up */
[data-aos="fade-up"] {
    transform: translateY(40px);
}

/* Fade Down */
[data-aos="fade-down"] {
    transform: translateY(-40px);
}

/* Fade In */
[data-aos="fade-in"] {
    transform: scale(0.95);
}

/* Fade Left */
[data-aos="fade-left"] {
    transform: translateX(-40px);
}

/* Fade Right */
[data-aos="fade-right"] {
    transform: translateX(40px);
}

/* Zoom In */
[data-aos="zoom-in"] {
    transform: scale(0.9);
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 100;
    transition: var(--transition-normal);
    box-shadow: none;
    border-bottom: 1px solid rgba(183, 245, 66, 0.2);
}

.header.scroll-header {
    box-shadow: 0 4px 30px rgba(26, 26, 46, 0.12);
}

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

.nav__logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo-highlight {
    color: var(--color-primary);
}

.nav__list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav__link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-white);
    position: relative;
    transition: transform var(--transition-normal), color var(--transition-normal);
    display: inline-block;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav__link:hover {
    transform: scale(1.1);
    color: var(--color-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(162, 227, 82, 0.4);
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(181, 209, 220, 0.4);
}

/* Dropdown Menu */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 240px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown li {
    list-style: none;
}

.nav__dropdown a {
    display: block;
    padding: 12px 24px;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav__dropdown a:hover {
    background: rgba(183, 245, 66, 0.1);
    color: var(--color-primary);
    padding-left: 28px;
    transform: scale(1.05);
}

.nav__dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav__dropdown a:hover::before {
    width: 12px;
    margin-left: 12px;
}

/* Mobile menu toggle */
.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* ============================================
   HERO SECTION - Nuevo Diseño Moderno
============================================ */
:root {
    --bg: #0b0b0b;
    --text: #e8f0f2;
    --muted: #c9d0d2;
    --accent: #b7f542; /* verde lima */
    --hero-img: url('https://gonutro.com/wp-content/uploads/2025/10/Cerebro-sin-fondo.png');
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

/* Elementos decorativos del hero con #B5D1DC - Formas triangulares y ovaladas */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, var(--soft-blue-alpha-strong) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, var(--soft-blue-alpha) 0%, transparent 60%),
        radial-gradient(ellipse at 40% 40%, var(--soft-blue-alpha-strong) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 60%, var(--soft-blue-alpha) 0%, transparent 70%);
    z-index: 1;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.03;
    z-index: 1;
    animation: meshRotate 20s linear infinite;
}

@keyframes heroGlow {
    0% { 
        opacity: 0.4;
        transform: scale(1);
    }
    100% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes meshRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero__frame {
    position: absolute;
    inset: 24px;
    border: 2px solid rgba(183, 245, 66, 0.25);
    border-radius: 28px;
    pointer-events: none;
}

.hero__img {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 60% 40%, rgba(183, 245, 66, 0.08), transparent 60%), var(--bg);
    animation: backgroundBreath 4s ease-in-out 2.5s infinite;
}

.hero__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
        var(--hero-img) center center / 60% no-repeat;
    opacity: 0;
    filter: saturate(1.1) contrast(1.05);
    transition: opacity 1.5s ease-in-out;
    animation: 
        fadeInBrain 2s ease-in-out 0.5s forwards,
        brainPulse 3s ease-in-out 2.5s infinite;
}

/* Contenido */
.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 96px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero__eyebrow {
    font-weight: 300;
    color: #e5e7eb;
    max-width: 28ch;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: clamp(14px, 1.2vw, 18px);
}

.hero__eyebrow .tight {
    display: block;
    margin: 0.15em 0;
}

.hero__cta-badge {
    position: absolute;
    top: 25%;
    right: 12%;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--accent);
    color: #0b0b0b;
    display: grid;
    place-items: center;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    transform: rotate(-15deg);
    box-shadow: 0 10px 30px rgba(183, 245, 66, 0.24);
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 3;
}

.hero__cta-badge span {
    transform: rotate(15deg);
    display: block;
}

.hero__cta-badge:hover {
    filter: brightness(1.05);
    transform: rotate(-12deg) scale(1.02);
}

.hero__cta-badge:hover span {
    transform: rotate(12deg);
}

.hero__headline {
    grid-column: 1 / -1;
    margin-top: 10vh;
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    line-height: 0.92;
    letter-spacing: 0.02em;
    font-size: clamp(42px, 9vw, 140px);
    color: var(--text);
}

.hero__headline .accent {
    color: var(--accent);
}

.hero__labels {
    grid-column: 1 / -1;
    display: flex;
    gap: 24px;
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Animaciones del Hero */
@keyframes fadeInBrain {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.95;
        transform: scale(1);
    }
}

@keyframes brainPulse {
    0%, 100% {
        transform: scale(1);
        filter: saturate(1.1) contrast(1.05);
    }
    25% {
        transform: scale(1.02);
        filter: saturate(1.2) contrast(1.1);
    }
    50% {
        transform: scale(1.05);
        filter: saturate(1.3) contrast(1.15);
    }
    75% {
        transform: scale(1.02);
        filter: saturate(1.2) contrast(1.1);
    }
}

@keyframes backgroundBreath {
    0%, 100% {
        background: radial-gradient(60% 60% at 60% 40%, rgba(183, 245, 66, 0.08), transparent 60%), var(--bg);
    }
    50% {
        background: radial-gradient(65% 65% at 60% 40%, rgba(183, 245, 66, 0.12), transparent 65%), var(--bg);
    }
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animación a los elementos del contenido */
.hero__eyebrow {
    animation: fadeInContent 1s ease-out 0.2s both;
}

.hero__cta-badge {
    animation: fadeInContent 1s ease-out 0.4s both;
}

.hero__headline {
    animation: fadeInContent 1s ease-out 0.6s both;
}

.hero__labels {
    animation: fadeInContent 1s ease-out 0.8s both;
}

/* Responsividad del Hero */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .hero__headline {
        margin-top: 6vh;
    }
    
    .hero__cta-badge {
        right: 5%;
        top: 30%;
    }
    
    .hero__img::after {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
            var(--hero-img) center center / 50% no-repeat;
    }
}

@media (max-width: 520px) {
    .hero__cta-badge {
        width: 96px;
        height: 96px;
        font-size: 11px;
    }
    
    .hero__img::after {
        background:
            linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
            var(--hero-img) center center / 40% no-repeat;
    }
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

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

/* ============================================
   SERVICIOS - NUEVO TEMPLATE
============================================ */
.servicios {
    position: relative;
    padding: 140px 6vw 140px 6vw;
    background: #000;
}

.servicios__container {
    max-width: 1350px;
    margin: 0 auto;
}

/* ===== TÍTULO ===== */
.servicios__title {
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    font-size: clamp(40px, 6vw, 72px);
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: var(--color-white);
}

.servicios__subtitle {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 80px;
    font-size: 18px;
    color: var(--color-secondary);
    line-height: 1.6;
}

/* ===== GRID ===== */
.servicios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.servicio__item {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.9), rgba(10, 10, 10, 1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 48px 32px;
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Efectos decorativos con #B5D1DC - Mejorados */
.servicio__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
    border-radius: 20px;
}

.servicio__item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efectos hover solo en el botón, no en toda la tarjeta */
.servicio__item:hover {
    border-color: var(--color-primary);
    box-shadow: 
        0 0 20px rgba(183, 245, 66, 0.1), 
        inset 0 0 10px rgba(183, 245, 66, 0.05);
    transform: translateY(-4px);
}

.servicio__item:hover::before {
    opacity: 0.1;
}

.servicio__item:hover::after {
    opacity: 0.2;
}

/* ===== HEAD ===== */
.servicio__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.servicio__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(183, 245, 66, 0.1);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.servicio__item:hover .servicio__icon {
    background: var(--color-primary);
    color: #000;
    transform: scale(1.1);
}

.servicio__icon svg {
    width: 24px;
    height: 24px;
}

.servicio__head h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    line-height: 1.2;
    color: var(--color-white);
}

/* ===== LISTA ===== */
.servicio__item ul {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    flex-grow: 1;
}

.servicio__item ul li {
    color: var(--color-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.servicio__item ul li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* ===== FOOTER ===== */
.servicio__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    margin-top: auto;
}

.servicio__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(183, 245, 66, 0.3);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.servicio__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 24px;
}

.servicio__cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--gradient-radial);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -2;
    border-radius: 50%;
}

.servicio__cta:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(183, 245, 66, 0.3),
        0 0 40px rgba(183, 245, 66, 0.2);
}

.servicio__cta:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.servicio__cta:hover::after {
    width: 200%;
    height: 200%;
    opacity: 0.3;
}

.servicio__cta svg {
    transition: transform 0.4s ease;
}

.servicio__cta:hover svg {
    transform: translateX(6px) scale(1.1);
}

/* ============================================
   RESULTADOS / MÉTRICAS
============================================ */
.resultados {
    background: #000;
    padding: 160px 6vw 80px 6vw;
    text-align: center;
    color: #f5f5f5;
    font-family: "Space Grotesk", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos flotantes - Formas triangulares y ovaladas */
.resultados::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 250px solid var(--gradient-dramatic);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite;
    z-index: 1;
    filter: blur(1px);
}

.resultados::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-bottom: 200px solid var(--gradient-primary);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite reverse, meshRotate 15s linear infinite;
    z-index: 1;
    filter: blur(2px);
}

.resultados .resultados-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 300px solid var(--gradient-primary);
    opacity: 0.05;
    animation: pulse 6s ease-in-out infinite;
    z-index: 1;
}

.resultados-container {
    max-width: 1000px;
    margin: 0 auto;
}

.resultados-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.resultados-subtitle {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    text-transform: uppercase;
    margin-bottom: 80px;
    line-height: 1.1;
    color: var(--color-white);
}

/* ===== GRID ===== */
.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.resultado {
    position: relative;
    z-index: 2;
}

.resultado::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 120px solid var(--gradient-primary);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.resultado::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 160px solid var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -2;
    animation: rotate 30s linear infinite;
}

.resultado:hover::before {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.2);
}

.resultado:hover::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
}

.contador {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(64px, 8vw, 120px);
    color: var(--color-primary);
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
}

.sufijo {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    color: var(--color-primary);
    margin-left: 4px;
}

.resultado p {
    font-size: 16px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

/* ===== CITA ===== */
.resultados-quote {
    font-family: "Space Grotesk", sans-serif;
    font-style: italic;
    font-size: 18px;
    color: var(--color-secondary);
    margin-top: 60px;
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .resultados-subtitle {
        font-size: 36px;
    }
    .contador {
        font-size: 80px;
    }
    .sufijo {
        font-size: 50px;
    }
}

/* ===== CTA FINAL ===== */
/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    background: #000;
    padding: 160px 6vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos del CTA - Formas triangulares y ovaladas */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, var(--soft-blue-alpha-strong) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 70%, var(--soft-blue-alpha) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 50%, var(--soft-blue-alpha) 0%, transparent 80%);
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 250px solid transparent;
    border-right: 250px solid transparent;
    border-bottom: 400px solid var(--gradient-dramatic);
    opacity: 0.08;
    animation: pulse 4s ease-in-out infinite, rotate 20s linear infinite;
    z-index: 1;
    filter: blur(2px);
}

.cta-section .cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.03;
    z-index: -1;
    border-radius: 24px;
    animation: meshRotate 30s linear infinite;
}

.cta-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 100px 80px;
    max-width: 1350px;
    width: 100%;
    text-align: center;
    color: #f5f5f5;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(183, 245, 66, 0.1);
}

.cta-box h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    color: #f5f5f5;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    border: 2px solid var(--color-primary);
    border-radius: 40px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 25px rgba(183, 245, 66, 0.3);
    transform: translateY(-3px);
}

/* CTA Responsive */
@media (max-width: 700px) {
    .cta-box {
        padding: 80px 30px;
    }
    .cta-box h2 {
        font-size: 32px;
    }
}

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

@media (max-width: 650px) {
    .servicios__grid {
        grid-template-columns: 1fr;
    }
    
    .servicio__item {
        padding: 32px 24px;
    }
}

/* ============================================
   PROYECTOS SECTION
============================================ */
.proyectos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.proyecto-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.proyecto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    mix-blend-mode: overlay;
}

.proyecto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.proyecto-card:hover::after {
    opacity: 0.1;
}

.proyecto-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.proyecto-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.proyecto-card:hover .proyecto-card__image img {
    transform: scale(1.1);
}

.proyecto-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 22, 27, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.proyecto-card:hover .proyecto-card__overlay {
    opacity: 1;
}

.proyecto-card__content {
    padding: var(--spacing-md);
}

.proyecto-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.proyecto-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.proyecto-card__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TESTIMONIOS - NUEVO TEMPLATE
============================================ */
.testimonios {
    background: #000;
    padding: 80px 6vw;
    color: #f5f5f5;
    font-family: "Space Grotesk", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de testimonios - Formas triangulares y ovaladas */
.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, var(--soft-blue-alpha-strong) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, var(--soft-blue-alpha) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, var(--soft-blue-alpha) 0%, transparent 70%);
    z-index: 1;
    animation: heroGlow 10s ease-in-out infinite alternate;
}

.testimonios::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.02;
    z-index: 1;
    animation: meshRotate 25s linear infinite;
}

.testimonios__container {
    max-width: 1300px;
    margin: 0 auto;
}

.testimonios__eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonios__title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(44px, 6vw, 72px);
    text-transform: uppercase;
    margin-bottom: 80px;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

/* ===== GRID ===== */
.testimonios__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* ===== CARD ===== */
.testimonio__card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 50px 40px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonio__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    border-radius: 20px;
}

.testimonio__card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -2;
    animation: rotate 25s linear infinite;
}

.testimonio__card:hover::before {
    opacity: 0.2;
    transform: scale(1.05);
}

.testimonio__card:hover::after {
    opacity: 0.15;
    transform: rotate(90deg) scale(1.3);
}

.testimonio__card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(183, 245, 66, 0.12);
}

/* ===== TEXT ===== */
.quote {
    font-size: 72px;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-family: "Bebas Neue", sans-serif;
    line-height: 0.6;
    opacity: 0.8;
}

blockquote {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    font-style: italic;
    margin: 0 0 36px;
}

/* ===== AUTOR ===== */
.autor {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    box-shadow: 0 0 12px rgba(183, 245, 66, 0.25);
}

.autor__info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
}

.autor__info span {
    font-size: 13px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .testimonios__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .testimonios__grid {
        grid-template-columns: 1fr;
    }
    
    .testimonio__card {
        text-align: center;
    }
    
    .autor {
        justify-content: center;
    }
}


/* Contact info */
.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding-top: var(--spacing-md);
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.contact-info__item svg {
    color: var(--color-primary);
}

.contact-info__item a:hover {
    color: var(--color-primary);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #000000;
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos del footer */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: 
        radial-gradient(ellipse at center, var(--soft-blue-alpha) 0%, transparent 70%);
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer__social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
    display: flex;
    gap: var(--spacing-md);
}

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

/* ============================================
   SUBPÁGINAS DE SERVICIOS - ELEMENTOS DECORATIVOS
============================================ */

/* Secciones de características/servicios */
.service-features {
    position: relative;
    overflow: hidden;
}

.service-features::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 200px solid var(--soft-blue-alpha);
    opacity: 0.3;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.service-features .container {
    position: relative;
    z-index: 2;
}

/* Tarjetas de características mejoradas */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
    animation: rotate 25s linear infinite;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 0 40px rgba(183, 245, 66, 0.15),
        0 0 80px var(--soft-blue-alpha-strong);
}

.feature-card:hover::before {
    opacity: 0.2;
    transform: scale(1.05);
}

.feature-card:hover::after {
    opacity: 0.3;
    transform: rotate(90deg) scale(1.2);
}

/* Secciones de proceso mejoradas */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 180px solid var(--soft-blue-alpha-strong);
    opacity: 0.2;
    z-index: 1;
    animation: float 10s ease-in-out infinite reverse;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

/* Pasos del proceso mejorados */
.process-step {
    position: relative;
    transition: all 0.6s ease;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--gradient-primary);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 130px solid var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -2;
    animation: rotate 30s linear infinite;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.05);
}

.process-step:hover::before {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.3);
}

.process-step:hover::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
}

/* Números de proceso mejorados - Forma triangular */
.process-number {
    position: relative;
    transition: all 0.6s ease;
}

.process-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--gradient-primary);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.process-step:hover .process-number::before {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Secciones de resultados mejoradas */
.results-section {
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid var(--soft-blue-alpha-strong);
    opacity: 0.15;
    z-index: 1;
    animation: float 12s ease-in-out infinite;
}

.results-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 25%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 120px solid var(--soft-blue-alpha);
    opacity: 0.1;
    z-index: 1;
    animation: float 15s ease-in-out infinite reverse;
}

.results-section .container {
    position: relative;
    z-index: 2;
}

/* Tarjetas de casos de éxito mejoradas */
.case-study-card {
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dramatic);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
}

.case-study-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
    animation: rotate 20s linear infinite;
}

.case-study-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 0 60px rgba(183, 245, 66, 0.2),
        0 0 120px var(--soft-blue-alpha-strong);
}

.case-study-card:hover::before {
    opacity: 0.15;
    transform: scale(1.05);
}

.case-study-card:hover::after {
    opacity: 0.25;
    transform: rotate(45deg) scale(1.3);
}

/* Métricas de resultados mejoradas */
.result-metric {
    position: relative;
    transition: all 0.6s ease;
}

.result-metric::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 120px solid var(--gradient-primary);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.result-metric:hover::before {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.4);
}

/* ============================================
   SCROLL TO TOP BUTTON
============================================ */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    z-index: 99;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(162, 227, 82, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
============================================ */

/* Tablets and below */
@media screen and (max-width: 968px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero__image {
        height: 300px;
    }
    
    .deco-circle {
        width: 200px;
        height: 200px;
    }
    
    .deco-square {
        width: 150px;
        height: 150px;
    }
    
    .servicios__grid {
        grid-template-columns: 1fr;
    }
    
    .proyectos__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .testimonios__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    /* Mobile menu */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg) var(--spacing-md);
        transition: var(--transition-normal);
        z-index: 100;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    /* Dropdown en móvil */
    .nav__dropdown {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        margin: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav__item--dropdown.active .nav__dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        margin-top: 8px;
        padding: 8px 0;
    }
    
    .nav__dropdown a {
        padding: 10px 20px 10px 32px;
        font-size: 13px;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .hero {
        padding-top: 6rem;
        min-height: auto;
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .servicios__grid,
    .proyectos__grid,
    .testimonios__grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 100px 6vw;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Print styles */
@media print {
    .header,
    .scroll-top,
    .nav__toggle,
    .scroll-down,
    .cta-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

