/* ============================================
   ALL KING SOLUTION - Main Stylesheet
   Modern Dark Tech Theme with Glassmorphism
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1429;
    --bg-tertiary: #141b33;
    --bg-card: rgba(20, 27, 51, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a4b0cc;
    --text-muted: #6b7a99;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1d4ed8;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #141b33 50%, #1a1f3a 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

ul { list-style: none; }

/* === Particles Canvas === */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* === Glass Card === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-service {
    background: transparent;
    color: var(--accent-blue-light);
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-service:hover {
    color: var(--accent-gold);
    gap: 16px;
}

.btn-service i {
    transition: var(--transition);
}

/* === Section Styles === */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue-light);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 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;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.nav-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
}

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

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: var(--transition);
}

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

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

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

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

/* === Hero Animated FX Layer === */
.hero-fx-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* --- Aurora Waves --- */
.aurora-wave {
    position: absolute;
    width: 200%;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    will-change: transform;
}

.aurora-wave-1 {
    bottom: -80px;
    left: -30%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    animation: auroraFlow1 8s ease-in-out infinite alternate;
}

.aurora-wave-2 {
    top: 10%;
    right: -40%;
    background: linear-gradient(90deg, #8b5cf6, #f59e0b, #3b82f6);
    animation: auroraFlow2 10s ease-in-out infinite alternate;
    height: 250px;
    opacity: 0.12;
}

.aurora-wave-3 {
    top: 40%;
    left: -20%;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
    animation: auroraFlow3 12s ease-in-out infinite alternate;
    height: 200px;
    opacity: 0.1;
}

@keyframes auroraFlow1 {
    0% { transform: translateX(-10%) rotate(-3deg) scaleY(1); }
    50% { transform: translateX(5%) rotate(1deg) scaleY(1.2); }
    100% { transform: translateX(15%) rotate(3deg) scaleY(0.8); }
}

@keyframes auroraFlow2 {
    0% { transform: translateX(10%) rotate(2deg); }
    50% { transform: translateX(-5%) rotate(-2deg); }
    100% { transform: translateX(-15%) rotate(4deg); }
}

@keyframes auroraFlow3 {
    0% { transform: translateX(5%) rotate(1deg); }
    50% { transform: translateX(-10%) rotate(-3deg); }
    100% { transform: translateX(8%) rotate(2deg); }
}

/* --- Floating Orbs --- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

.hero-orb-1 {
    width: 350px;
    height: 350px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: orbFloat1 7s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 8%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    animation: orbFloat2 9s ease-in-out infinite;
}

.hero-orb-3 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 20%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    animation: orbFloat3 6s ease-in-out infinite;
}

.hero-orb-4 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    animation: orbFloat4 8s ease-in-out infinite;
}

.hero-orb-5 {
    width: 160px;
    height: 160px;
    top: 5%;
    left: 45%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: orbFloat5 11s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(-30px, 20px) scale(1.1); opacity: 0.8; }
    50% { transform: translate(-15px, -25px) scale(0.95); opacity: 0.5; }
    75% { transform: translate(20px, 10px) scale(1.05); opacity: 0.7; }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(25px, -30px) scale(1.15); opacity: 0.7; }
    66% { transform: translate(-20px, 15px) scale(0.9); opacity: 0.4; }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    50% { transform: translate(40px, -20px); opacity: 0.9; }
}

@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    30% { transform: translate(-20px, -15px) scale(1.2); opacity: 0.8; }
    60% { transform: translate(15px, 25px) scale(0.85); opacity: 0.4; }
}

@keyframes orbFloat5 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(15px, 30px); opacity: 0.5; }
    50% { transform: translate(-20px, 10px); opacity: 0.2; }
    75% { transform: translate(10px, -15px); opacity: 0.45; }
}

/* --- Animated Grid Lines --- */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: transparent;
}

.grid-line-h {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line-v {
    width: 1px;
    height: 100%;
    top: 0;
}

/* Horizontal lines with traveling light */
.grid-line-h1 {
    top: 25%;
    background: linear-gradient(90deg, transparent, transparent);
}
.grid-line-h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), transparent);
    animation: gridScanH 6s linear infinite;
}

.grid-line-h2 {
    top: 55%;
}
.grid-line-h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3), transparent);
    animation: gridScanH 8s linear infinite 2s;
}

.grid-line-h3 {
    top: 80%;
}
.grid-line-h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 15%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.25), rgba(139, 92, 246, 0.25), transparent);
    animation: gridScanH 10s linear infinite 4s;
}

/* Vertical lines with traveling light */
.grid-line-v1 {
    left: 20%;
}
.grid-line-v1::after {
    content: '';
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3), transparent);
    animation: gridScanV 7s linear infinite 1s;
}

.grid-line-v2 {
    left: 50%;
}
.grid-line-v2::after {
    content: '';
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 15%;
    background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.25), transparent);
    animation: gridScanV 9s linear infinite 3s;
}

.grid-line-v3 {
    left: 78%;
}
.grid-line-v3::after {
    content: '';
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 18%;
    background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.2), rgba(59, 130, 246, 0.2), transparent);
    animation: gridScanV 11s linear infinite 5s;
}

@keyframes gridScanH {
    0% { left: -20%; }
    100% { left: 120%; }
}

@keyframes gridScanV {
    0% { top: -20%; }
    100% { top: 120%; }
}

/* --- Pulse Rings --- */
.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    will-change: transform, opacity;
}

.pulse-ring-1 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    animation: pulseExpand 4s ease-out infinite;
}

.pulse-ring-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    animation: pulseExpand 4s ease-out infinite 2s;
}

@keyframes pulseExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.6;
        border-color: rgba(59, 130, 246, 0.4);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-color: rgba(139, 92, 246, 0.05);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 14, 26, 0.6) 0%,
        rgba(10, 14, 26, 0.8) 50%,
        rgba(10, 14, 26, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.hero-badge span {
    color: var(--accent-gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.servicios {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(40px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
}

.service-card-overlay i {
    font-size: 2rem;
    color: var(--accent-blue-light);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.service-card-content {
    padding: 28px;
}

.service-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-content > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent-blue-light);
    font-size: 0.75rem;
}

/* ============================================
   NOSOTROS SECTION
   ============================================ */
.nosotros {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.nosotros-content .section-badge,
.nosotros-content .section-title {
    text-align: left;
}

.nosotros-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--accent-blue-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nosotros-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.experience-card {
    text-align: center;
    padding: 48px 60px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.exp-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.exp-number span {
    font-size: 3rem;
}

.exp-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 8px;
}

.nosotros-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.feature-bubble {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.feature-bubble:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-bubble i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.feature-bubble span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   COTIZACIÓN SECTION
   ============================================ */
.cotizacion {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
}

.cotizacion-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

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

.cotizacion-info-card {
    padding: 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cotizacion-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.cotizacion-info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cotizacion-info-card h3 i {
    color: var(--accent-blue-light);
}

.cotizacion-info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.cotizacion-form {
    padding: 40px;
}

/* === Form Styles === */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--accent-blue-light);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236b7a99'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

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

/* ============================================
   CONTACTO SECTION
   ============================================ */
.contacto {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-primary);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacto-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 14px;
    font-size: 1.3rem;
    color: white;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.contact-link {
    color: var(--accent-blue-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-link:hover {
    color: var(--accent-gold);
}

.contacto-form {
    padding: 36px;
}

.contacto-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-form h3 i {
    color: var(--accent-blue-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--accent-blue-light);
    padding-left: 6px;
}

.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    z-index: 999;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    text-align: center;
    padding: 48px;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

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

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .nosotros-content .section-badge,
    .nosotros-content .section-title {
        text-align: center;
    }

    .nosotros-text {
        text-align: center;
    }

    .nosotros-values {
        align-items: center;
    }

    .cotizacion-wrapper {
        grid-template-columns: 1fr;
    }

    .cotizacion-info {
        flex-direction: row;
    }

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

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

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
    }

    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 24px;
    }

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

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

    .service-features {
        grid-template-columns: 1fr;
    }

    .cotizacion-info {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cotizacion-form {
        padding: 28px 20px;
    }

    .contacto-cards {
        grid-template-columns: 1fr;
    }

    .contacto-form {
        padding: 28px 20px;
    }

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

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

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .experience-card {
        padding: 32px 40px;
    }

    .exp-number {
        font-size: 4rem;
    }

    .nosotros-features {
        grid-template-columns: 1fr;
    }
}
