/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: #12121f;
    --bg-card-hover: #1a1a2e;
    --cyan: #00d4ff;
    --cyan-dark: #0099cc;
    --cyan-glow: rgba(0, 212, 255, 0.3);
    --cyan-glow-strong: rgba(0, 212, 255, 0.6);
    --red: #ff2a2a;
    --red-glow: rgba(255, 42, 42, 0.3);
    --white: #ffffff;
    --gray-100: #e8e8e8;
    --gray-200: #c0c0c0;
    --gray-300: #8a8a9a;
    --gray-400: #5a5a6a;
    --gray-500: #3a3a4a;
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Loader
   =========================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0 20px;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-glow-strong);
    animation: loaderPulse 1.5s ease-in-out infinite;
    margin-bottom: 30px;
    white-space: nowrap;
}

.loader-bar {
    width: min(200px, 60vw);
    height: 3px;
    background: var(--gray-500);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--red));
    border-radius: 3px;
    animation: loaderBar 2s ease-in-out forwards;
}

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

@keyframes loaderBar {
    0% { width: 0; }
    100% { width: 100%; }
}

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

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

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

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

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

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--gray-200);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ===========================
   Hero
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    background: rgba(0, 212, 255, 0.05);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.hero-bracket {
    color: var(--gray-400);
    font-weight: 400;
}

.hero-ije {
    color: var(--cyan);
    text-shadow: 0 0 40px var(--cyan-glow), 0 0 80px var(--cyan-glow);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 8px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-soluciones {
    color: var(--red);
    text-shadow: 0 0 20px var(--red-glow);
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 4px;
}

.hero-tecnologicas {
    color: var(--cyan);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-300);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 25px var(--cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--cyan-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 2px solid rgba(0, 212, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ===========================
   Sections Common
   =========================== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.highlight {
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--red));
    margin: 0 auto;
    border-radius: 3px;
}

/* ===========================
   Nosotros
   =========================== */
.nosotros {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.nosotros-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.nosotros-text p {
    color: var(--gray-300);
    margin-bottom: 15px;
    font-size: 1rem;
}

.nosotros-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.nosotros-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: var(--cyan);
    font-size: 1rem;
}

.nosotros-feature span {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--gray-100);
    font-size: 0.95rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* ===========================
   Servicios
   =========================== */
.servicios {
    background: var(--bg-secondary);
}

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

.servicio-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.servicio-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.servicio-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.servicio-card:hover .servicio-card-glow {
    opacity: 1;
}

.servicio-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--cyan);
    margin-bottom: 25px;
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 212, 255, 0.1));
    box-shadow: 0 0 30px var(--cyan-glow);
}

.servicio-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.servicio-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.servicio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.servicio-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-200);
    font-size: 0.9rem;
}

.servicio-list li i {
    color: var(--cyan);
    font-size: 0.7rem;
}

.servicio-number {
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.servicio-card:hover .servicio-number {
    color: rgba(0, 212, 255, 0.08);
}

/* ===========================
   Diferencial
   =========================== */
.diferencial {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.counter-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 16px;
    transition: var(--transition);
}

.counter-card:hover {
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-3px);
}

.counter-icon {
    font-size: 1.8rem;
    color: var(--cyan);
    margin-bottom: 15px;
}

.counter-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.counter-number::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--cyan);
}

.counter-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gray-300);
    margin-top: 5px;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.diferencial-item {
    text-align: center;
    padding: 30px 20px;
}

.diferencial-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--cyan);
    margin: 0 auto 18px;
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 25px var(--cyan-glow);
    transform: scale(1.1);
}

.diferencial-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.diferencial-item p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* ===========================
   Contacto
   =========================== */
.contacto {
    background: var(--bg-primary);
}

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

.contacto-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.contacto-info > p {
    color: var(--gray-300);
    margin-bottom: 30px;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1rem;
}

.contacto-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contacto-item a,
.contacto-item span {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.contacto-item a:hover {
    color: var(--cyan);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-200);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}

/* Contact Form */
.contacto-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-500);
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--white);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 0.95rem;
    color: var(--gray-400);
    pointer-events: none;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -18px;
    font-size: 0.78rem;
    color: var(--cyan);
    letter-spacing: 1px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

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

.contacto-form .btn {
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--cyan);
    font-size: 0.85rem;
    width: 16px;
}

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

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

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

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-left: 6px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* ===========================
   Animations (AOS-like)
   =========================== */
[data-aos] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

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

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

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

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

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

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

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

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

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

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 40px;
        transition: var(--transition-slow);
        border-left: 1px solid rgba(0, 212, 255, 0.1);
    }

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

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 20px;
    }

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

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        letter-spacing: 4px;
    }

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

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

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

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .diferencial-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

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

    .contacto-form-wrapper {
        padding: 25px;
    }

    .hero-scroll {
        display: none;
    }

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

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

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

    .servicio-card {
        padding: 30px 20px;
    }

    .section {
        padding: 70px 0;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .whatsapp-tooltip {
        display: none;
    }
}
