/* ========================================
   OSCAROMARGP - Landing Page Premium
   Color Principal: #A855F7 (Púrpura/Lila)
   ======================================== */

/* CSS Variables - Color System */
:root {
    /* Fondos */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;
    --bg-card: #1C1C21;

    /* Acento Primario - Púrpura/Lila (#A855F7) */
    --primary-50: #F3E8FF;
    --primary-100: #E9D5FF;
    --primary-200: #D8B4FE;
    --primary-300: #C084FC;
    --primary-400: #A855F7;
    --primary-500: #9333EA;
    --primary-600: #7E22CE;
    --primary-700: #6B21A8;
    --primary-800: #581C87;
    --primary-900: #3B0764;

    /* Textos */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Acentos */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;
    --error: #EF4444;

    /* RGB values for rgba() */
    --primary-rgb: 168, 85, 247;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw + 0.25rem, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.25rem; font-weight: 600; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-300) 50%, var(--primary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-400);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-text-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-400);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* WhatsApp Nav Button */
.btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.btn-whatsapp-nav:hover {
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-whatsapp-nav i {
    font-size: 1.1rem;
}

/* ========================================
   PARTICLES BACKGROUND
   ======================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(100px, -100px) scale(1.5); opacity: 0.8; }
    50% { transform: translate(-50px, -200px) scale(1); opacity: 0.6; }
    75% { transform: translate(-100px, -100px) scale(1.2); opacity: 0.8; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
}

.hero-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 30%, var(--primary-500) 60%, var(--primary-400) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #FFFFFF;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    box-shadow: 
        0 0 0 1px rgba(168, 85, 247, 0.5),
        0 4px 24px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 
        0 0 0 2px rgba(168, 85, 247, 0.8),
        0 8px 40px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: var(--primary-400);
    color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tertiary:hover {
    border-color: var(--primary-400);
    color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-400);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-left: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-sphere {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.2) 100%);
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.3);
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 120px rgba(168, 85, 247, 0.3),
        inset 0 0 60px rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

.sphere-icon {
    font-size: 8rem;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
    75% { transform: translateY(-30px) rotate(1deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 0 1px rgba(168, 85, 247, 0.5),
            0 4px 24px rgba(168, 85, 247, 0.4),
            0 0 60px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 
            0 0 0 2px rgba(168, 85, 247, 0.8),
            0 8px 40px rgba(168, 85, 247, 0.6),
            0 0 80px rgba(168, 85, 247, 0.5);
    }
}

/* ========================================
   SERVICIOS SECTION
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Link wrapper for flip cards */
.service-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.service-card-link:hover .service-card-flip .service-card-inner {
    transform: rotateY(180deg);
}

/* CTA Link inside flip card */
.service-cta-link {
    display: inline-block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-400);
    font-weight: 600;
    font-size: 0.875rem;
}

.service-cta-link:hover {
    color: var(--primary-300);
}

/* Redundant .services-grid rule removed (was duplicate of line 576) */

/* Flip Cards */
.service-card-flip {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
}

.service-card-flip:hover .service-placeholder {
    transform: scale(1.05);
}

.placeholder-icon {
    font-size: 6rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.service-title-front {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.04) 50%, rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-title-back {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    color: var(--primary-400);
}

/* Glass Card */
.glass-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.04) 50%, rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.35);
    transform: translateY(-4px);
}

/* ========================================
   CASOS DE ÉXITO
   ======================================== */
.casos-exito {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.caso-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.caso-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.caso-card:hover .caso-image {
    transform: scale(1.08);
}

.caso-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.caso-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.caso-icon {
    font-size: 1.5rem;
}

.caso-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.caso-sector {
    font-size: 0.75rem;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.caso-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.caso-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-400);
}

.caso-link:hover {
    color: var(--primary-300);
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios {
    padding: 120px 0;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonio-card {
    padding: 32px;
}

.testimonio-stars {
    color: var(--primary-400);
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonio-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(168, 85, 247, 0.1);
    border: 2px solid var(--primary-400);
    border-radius: 50%;
    font-size: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.faq-item {
    padding: 24px;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-answer {
    padding-left: 48px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--primary-400);
}

.faq-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 30%, #15803D 60%, #22C55E 100%) !important;
    border-color: #22C55E !important;
}

/* ========================================
   POR QUÉ ELEGIRNOS
   ======================================== */
.porque-elegirnos {
    padding: 120px 0;
}

.porque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.porque-image {
    text-align: center;
    padding: 64px;
}

.porque-icon {
    font-size: 6rem;
    display: block;
    margin-bottom: 24px;
}

.porque-image h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.porque-slogan {
    font-size: 1rem;
    color: var(--primary-400);
    font-style: italic;
    margin-top: 16px;
}

.porque-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.porque-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.porque-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.cta-urgency {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ========================================
   CONTACTO SECTION
   ======================================== */
.contacto {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contacto-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.contacto-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contacto-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contacto-method:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.05);
}

.method-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-value {
    font-size: 1.125rem;
    font-weight: 600;
}

.contacto-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-location {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.footer-slogan {
    font-size: 0.875rem;
    color: var(--primary-400);
    font-style: italic;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Credits */
.credits {
    text-align: center;
}

.credits-main {
    font-size: 0.875rem;
    color: var(--text-quaternary);
    margin-bottom: 16px;
}

.credits-developer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 12px;
}

.credits-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.credits-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-400);
}

.credits-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.credits-contact,
.credits-email {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.credits-web a {
    color: var(--primary-400);
    text-decoration: underline;
}

.credits-web a:hover {
    color: var(--primary-300);
}

.credits-tech {
    font-size: 0.8125rem;
    color: var(--text-quaternary);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.credits-tech strong {
    color: var(--primary-400);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop XL */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) and (max-width: 1439px) {
    .services-grid {
        gap: 24px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-sphere {
        width: 300px;
        height: 300px;
    }
    
    .services-grid,
    .casos-grid,
    .testimonios-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .porque-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .hero-sphere {
        width: 200px;
        height: 200px;
    }
    
    .sphere-icon {
        font-size: 4rem;
    }
    
    .services-grid,
    .casos-grid,
    .testimonios-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-flip {
        height: 350px;
    }
    
    .faq-answer {
        padding-left: 0;
        padding-top: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   HERO BADGES
   ======================================== */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 14px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.hero-badge-accent {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--primary-400);
}

.badge-icon {
    font-size: 0.875rem;
}

/* ========================================
   PROYECTOS TÉCNICOS (GITHUB)
   ======================================== */
.proyectos-tecnicos {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.proyecto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.proyecto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.proyecto-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.proyecto-nombre {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.proyecto-nombre:hover {
    color: var(--primary);
}

.proyecto-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.proyecto-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proyecto-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.proyecto-lenguaje {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.lenguaje-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.proyecto-stats {
    display: flex;
    gap: 16px;
}

.proyecto-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.proyecto-stat i {
    font-size: 0.875rem;
}

.proyecto-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.proyecto-tag {
    background: rgba(168, 85, 247, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.proyectos-cta {
    text-align: center;
    margin-top: 20px;
}

.proyectos-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .proyectos-grid {
        grid-template-columns: 1fr;
    }
    
    .proyecto-card {
        padding: 20px;
    }
}

/* ========================================
   PRESENCIA DIGITAL
   ======================================== */
.presencia-digital {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.presencia-card {
    text-align: center;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.presencia-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
}

.presencia-icon {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.presencia-icon i {
    font-size: 2rem;
    color: white;
}

.presencia-card h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.presencia-card p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.presencia-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-400);
}

/* ========================================
   MEDIOS GOBIERNO
   ======================================== */
.medios-gobierno {
    padding: 48px;
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 24px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 100px;
    color: var(--primary-400);
    margin-bottom: 24px;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.medios-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.medios-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.medios-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.medio-item {
    padding: 24px;
}

.medio-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.medio-icon {
    font-size: 1.75rem;
}

.medio-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.medio-periodo {
    font-size: 0.8125rem;
    color: var(--primary-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.medio-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.medio-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.medio-link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-400);
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.medio-link:hover {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary-300);
}

.medio-list {
    list-style: none;
    margin-bottom: 12px;
}

.medio-list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

.medio-note {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    color: #22C55E;
}

/* ========================================
   COTIZA AHORA
   ======================================== */
.cotiza-ahora {
    padding: 120px 0;
}

.urgency-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    color: #F59E0B;
    margin-top: 24px;
}

.urgency-icon {
    font-size: 1.25rem;
}

.formularios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* ========================================
   FORM TABS SYSTEM
   ======================================== */
.form-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.form-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-tertiary);
    font-family: 'Inter', sans-serif;
    min-width: 140px;
}

.form-tab:hover {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.06);
    transform: translateY(-2px);
}

.form-tab.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0.06) 100%);
    border-color: var(--primary-400);
    color: var(--text-primary);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.form-tab-icon {
    font-size: 2rem;
    filter: grayscale(0.5);
    transition: filter 0.3s ease;
}

.form-tab.active .form-tab-icon {
    filter: grayscale(0) drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

.form-tab-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Form Panels */
.form-panels {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.form-panel {
    display: none;
    animation: fadeInPanel 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-panel.active {
    display: block;
}

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

/* Mobile responsive tabs */
@media (max-width: 767px) {
    .form-tabs {
        gap: 10px;
    }
    
    .form-tab {
        padding: 16px 20px;
        min-width: 100px;
        border-radius: 16px;
    }
    
    .form-tab-icon {
        font-size: 1.75rem;
    }
    
    .form-tab-label {
        font-size: 0.6875rem;
    }
}

.formulario-card {
    padding: 24px;
}

.formulario-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.form-icon {
    font-size: 1.5rem;
}

.formulario-card p {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.formulario-card iframe {
    border-radius: 12px;
    min-height: 500px;
    background: var(--bg-tertiary);
}

/* ========================================
   PREMIUM NATIVE FORMS
   ======================================== */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-quaternary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
    background: rgba(168, 85, 247, 0.05);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A1A1AA' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-form {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 8px;
    animation: none;
    opacity: 1;
}

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

.form-status {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.whatsapp-alternative {
    text-align: center;
    padding: 32px;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
}

.whatsapp-alternative p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 18px 36px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.btn-whatsapp-large i {
    font-size: 1.5rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(34, 197, 94, 0.6), 0 0 0 12px rgba(34, 197, 94, 0.1);
    }
}

/* ========================================
   RESPONSIVE - PRESENCIA Y FORMULARIOS
   ======================================== */
@media (max-width: 1023px) {
    .presencia-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .formularios-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .formulario-card iframe {
        min-height: 600px;
    }
}

@media (max-width: 767px) {
    .hero-badges {
        gap: 8px;
    }
    
    .hero-badge {
        font-size: 0.6875rem;
        padding: 6px 10px;
    }
    
    .presencia-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .presencia-card {
        padding: 24px 16px;
    }
    
    .presencia-icon {
        width: 48px;
        height: 48px;
    }
    
    .presencia-icon i {
        font-size: 1.5rem;
    }
    
    .presencia-card h3 {
        font-size: 1rem;
    }
    
    .medios-gobierno {
        padding: 32px 24px;
    }
    
    .medios-content {
        grid-template-columns: 1fr;
    }
    
    .subsection-title {
        font-size: 1.375rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: 10px 16px;
    }
    
    .formulario-card iframe {
        min-height: 500px;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        bottom: 16px;
        right: 16px;
    }
}

/* ========================================
   ANIMATIONS - Scroll Reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Will-change for performance */
.animated-element {
    will-change: transform, opacity;
}

/* Reduce particles on mobile */
@media (max-width: 768px) {
    .particle:nth-child(n+20) {
        display: none;
    }
}

/* ========================================
   GOOGLE TRANSLATE WIDGET STYLES
   ======================================== */
#google_translate_element {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
}

#google_translate_element .goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
}

#google_translate_element .goog-te-gadget-simple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#google_translate_element .goog-te-gadget-simple span {
    color: #E4E4E7 !important;
    border: none !important;
}

#google_translate_element .goog-te-menu-value span {
    color: #FFFFFF !important;
}

#google_translate_element .goog-te-banner-frame {
    display: none !important;
}

#google_translate_element .skiptranslate {
    display: none !important;
}

#google_translate_element #goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

@media (max-width: 768px) {
    #google_translate_element {
        bottom: 15px;
        left: 15px;
    }
    
    #google_translate_element .goog-te-gadget-simple {
        padding: 8px 12px !important;
    }

    .premium-form .form-group input,
    .premium-form .form-group select,
    .premium-form .form-group textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }
}