/* ========================================
   RESET Y CONFIGURACIÓN BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    text-align: center;
}

/* ========================================
   HEADER Y NAVEGACIÓN
   ======================================== */
header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(79, 124, 255, 0.3);
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #4f7cff;
}

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

.lang-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-self: end;
}

.lang-label {
    font-size: 0.9rem;
    color: #aaa;
}

.lang-btn {
    background: transparent;
    border: 1px solid #4f7cff;
    color: #4f7cff;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.8rem;
}

.lang-btn.active {
    background: #4f7cff;
    color: white;
}

.lang-btn:hover {
    background: #4f7cff;
    color: white;
    transform: scale(1.05);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 1.4rem;
    color: #4f7cff;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ccc;
    font-size: 1.1rem;
    animation: fadeInUp 1.4s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 124, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 124, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #4f7cff;
    color: #4f7cff;
}

.btn-secondary:hover {
    background: #4f7cff;
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
}

.btn-outline:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   SECCIONES COMUNES
   ======================================== */
section {
    padding: 4rem 5%;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #4f7cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    max-width: 600px;
    margin: -0.5rem auto 3rem;
    font-size: 1.1rem;
}

/* ========================================
   SERVICIOS
   ======================================== */
.servicios-section {
    background: linear-gradient(180deg, #0a0a0a, #0f0f1a);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 124, 255, 0.2);
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-8px);
    border-color: #4f7cff;
    background: rgba(79, 124, 255, 0.1);
    box-shadow: 0 10px 30px rgba(79, 124, 255, 0.15);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.servicio-card h3 {
    margin-bottom: 0.8rem;
    color: #4f7cff;
    font-size: 1.3rem;
}

.servicio-card p {
    color: #ccc;
    font-size: 0.95rem;
}

/* ========================================
   PLANES - SECCIÓN MEJORADA
   ======================================== */
.planes-section {
    background: linear-gradient(135deg, #0f0f1a, #0a0a0a);
    padding: 4rem 5%;
}

.planes-subtitulo {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ========================================
   BOTONES DE NAVEGACIÓN DE PLANES
   ======================================== */
.planes-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.planes-buttons .btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-block;
}

.planes-buttons .btn-primary {
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 124, 255, 0.3);
}

.planes-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(79, 124, 255, 0.5);
}

.planes-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #4f7cff;
    color: #4f7cff;
}

.planes-buttons .btn-secondary:hover {
    background: #4f7cff;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(79, 124, 255, 0.3);
}

/* ========================================
   SUB SECCIONES DE PLANES
   ======================================== */
.planes-subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 124, 255, 0.15);
    scroll-margin-top: 100px;
}

.planes-subsection:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.planes-subsection h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.planes-subsection .planes-subtitulo {
    margin-bottom: 2.5rem;
    color: #aaa;
    font-size: 1rem;
}

/* ========================================
   GRID DE PLANES
   ======================================== */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ========================================
   TARJETAS DE PLANES MEJORADAS
   ======================================== */
.plan-card {
    background: rgba(20, 20, 35, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(79, 124, 255, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    animation: fadeInCard 0.6s ease forwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }

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

.plan-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.plan-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: #4f7cff;
    box-shadow: 0 15px 50px rgba(79, 124, 255, 0.2);
}

/* Variantes de colores al hover */
.plan-basico:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.2);
}

.plan-profesional:hover {
    border-color: #a855f7;
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.2);
}

.plan-empresarial:hover {
    border-color: #ef4444;
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.2);
}

.plan-badge {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.plan-recomendado {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.plan-precio {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #4f7cff;
}

.plan-precio span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #aaa;
}

.plan-ideal {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-caracteristicas {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.plan-caracteristicas li {
    padding: 0.5rem 0;
    color: #ddd;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.plan-caracteristicas li:hover {
    transform: translateX(5px);
    color: #fff;
}

.plan-caracteristicas li.destacado {
    color: #4f7cff;
    font-weight: bold;
    background: rgba(79, 124, 255, 0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.plan-link {
    display: inline-block;
    color: #4f7cff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 10px 0;
    align-self: flex-start;
    position: relative;
}

.plan-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 0;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    transition: width 0.3s ease;
}

.plan-link:hover {
    transform: translateX(8px);
    color: #8b5cf6;
}

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

/* ========================================
   INDICADOR DE SECCIÓN ACTIVA
   ======================================== */
.planes-subsection:target {
    animation: highlightSection 1s ease;
}

@keyframes highlightSection {
    0%, 50% {
        background: rgba(79, 124, 255, 0.05);
        border-radius: 20px;
        padding: 2rem;
        margin: 0 -1rem;
    }
    100% {
        background: transparent;
        padding: 0;
        margin: 0;
    }
}

/* ========================================
   EXPERIENCIA / SOBRE MÍ
   ======================================== */
.experiencia-section {
    background: linear-gradient(180deg, #0a0a0a, #0f0f1a);
}

.experiencia-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .experiencia-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.experiencia-lista {
    padding-left: 1.5rem;
}

.experiencia-lista li {
    margin-bottom: 0.8rem;
    color: #ccc;
    font-size: 0.95rem;
}

.experiencia-section h3 {
    color: #4f7cff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.grid-servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 3px solid #4f7cff;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(79, 124, 255, 0.08);
    transform: translateX(5px);
}

.card h4 {
    margin-bottom: 0.5rem;
    color: #4f7cff;
    font-size: 1.1rem;
}

.card-label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-desc {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   PROYECTOS
   ======================================== */
.proyectos-section {
    background: linear-gradient(180deg, #0f0f1a, #0a0a0a);
    padding: 5rem 5% 4rem;
}

.proyectos-section > h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
    color: #c5c7d7;
    font-size: 1.05rem;
}

.proyectos-bloques {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.proyectos-grupo {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(79, 124, 255, 0.18);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.proyectos-grupo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.proyectos-grupo h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #ffffff;
    margin: 0;
}

.proyectos-grupo > p {
    color: #c9cedb;
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.proyecto-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(79, 124, 255, 0.08));
    border: 1px solid rgba(79, 124, 255, 0.18);
    border-radius: 18px;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.proyecto-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #4f7cff, #8b5cf6);
}

.proyecto-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 18px 35px rgba(79, 124, 255, 0.14);
}

.project-label {
    display: inline-block;
    background: rgba(79, 124, 255, 0.12);
    color: #a9c0ff;
    border: 1px solid rgba(79, 124, 255, 0.28);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.proyecto-card h3 {
    margin-bottom: 0.55rem;
    color: #ffffff;
    font-size: 1.35rem;
}

.proyecto-card p {
    color: #d0d4e6;
    margin-bottom: 1rem;
    font-size: 0.94rem;
    line-height: 1.7;
}

.proyecto-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #7aa2ff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.proyecto-card a:hover {
    color: #b9c9ff;
    transform: translateX(3px);
}

.proyectos-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px dashed rgba(79, 124, 255, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    color: #c7d0eb;
    text-align: center;
    padding: 1rem;
}

.proyectos-empty h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   ESTADÍSTICAS
   ======================================== */
.estadisticas {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    background: linear-gradient(135deg, #1a1a2e, #0a0a0a);
    padding: 3rem 5%;
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.stat-numero {
    font-size: 2.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========================================
   PRODUCTOS
   ======================================== */
.productos-section {
    background: linear-gradient(180deg, #0a0a0a, #0f0f1a);
}

.productos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.categoria-productos h3 {
    color: #4f7cff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.producto-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 124, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.producto-card:hover {
    transform: translateY(-5px);
    border-color: #4f7cff;
    background: rgba(79, 124, 255, 0.1);
    box-shadow: 0 10px 30px rgba(79, 124, 255, 0.15);
}

.producto-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #4f7cff;
}

.producto-desc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.nova-desc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.producto-link {
    display: inline-block;
    color: #4f7cff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.producto-link:hover {
    color: #8b5cf6;
    transform: translateX(5px);
}

/* ========================================
   DOCUMENTACIÓN / INFOTEC
   ======================================== */
.infotec {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    text-align: center;
    padding: 4rem 5%;
    border-top: 1px solid rgba(79, 124, 255, 0.2);
    border-bottom: 1px solid rgba(79, 124, 255, 0.2);
}

.infotec h2 {
    margin-bottom: 1rem;
}

.infotec p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.infotec .btn {
    margin-top: 0.5rem;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto-section {
    background: linear-gradient(180deg, #0f0f1a, #0a0a0a);
}

.contacto-intro {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contacto-info {
    background: rgba(79, 124, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(79, 124, 255, 0.2);
}

.contacto-info h3 {
    margin-bottom: 1.5rem;
    color: #4f7cff;
    font-size: 1.3rem;
}

.contacto-info p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contacto-info a {
    color: #4f7cff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-info a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.contacto-formulario {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(79, 124, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contacto-cta-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contacto-formulario p {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.contacto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(79, 124, 255, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contacto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(79, 124, 255, 0.3);
}

.form-mensaje {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.form-mensaje.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.form-mensaje.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    text-align: center;
    padding: 2.5rem 5%;
    background: #0a0a0a;
    border-top: 1px solid rgba(79, 124, 255, 0.15);
    color: #888;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer strong {
    color: #4f7cff;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .planes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .plan-card {
        min-height: 450px;
        padding: 1.8rem;
    }
}

@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 3%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .lang-selector {
        width: 100%;
        justify-content: center;
        justify-self: center;
    }
    
    .hero {
        padding: 4rem 1rem;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .planes-section {
        padding: 3rem 1.5rem;
    }
    
    .planes-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .planes-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .planes-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .plan-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .plan-precio {
        font-size: 1.8rem;
    }
    
    .planes-subsection h3 {
        font-size: 1.6rem;
    }
    
    .planes-subsection .planes-subtitulo {
        font-size: 0.9rem;
    }
    
    .proyectos-grid {
        grid-template-columns: 1fr;
    }
    
    .estadisticas {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1.5rem;
    }
    
    .stat-numero {
        font-size: 2.2rem;
    }
    
    .infotec {
        padding: 3rem 1.5rem;
    }
    
    .infotec h2 {
        font-size: 1.6rem;
    }
    
    .producto-card {
        padding: 1.5rem;
    }
    
    .producto-card h4 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
    }
    
    .plan-card {
        padding: 1.2rem;
    }
    
    .plan-card h3 {
        font-size: 1.3rem;
    }
    
    .plan-precio {
        font-size: 1.5rem;
    }
    
    .plan-caracteristicas li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .plan-recomendado {
        font-size: 0.65rem;
        padding: 4px 12px;
        top: -10px;
        right: 12px;
    }
    
    .planes-buttons .btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
    
    .contacto-info,
    .contacto-formulario {
        padding: 1.5rem;
    }

    .contacto-btn {
        max-width: 100%;
        width: 100%;
    }
}

/* ========================================
   SCROLLBAR PERSONALIZADA
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b6de0, #7a4fe0);
}

/* ========================================
   SELECCIÓN DE TEXTO
   ======================================== */
::selection {
    background: #4f7cff;
    color: white;
}

::-moz-selection {
    background: #4f7cff;
    color: white;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #4f7cff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}