﻿/* Reset y Estilos Base */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #0066cc;
    --text-color: #333333;
    --text-light: #777777;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #222222;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

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

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

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-decorator {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dots-loader {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: dotPulse 1.5s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

.preloader p {
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    font-size: 12px;
    font-weight: 600;
    background-color: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link:before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    color: var(--accent-color);
    white-space: nowrap;
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    background-color: var(--light-gray);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-clients p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.client-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.client-logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logos img:hover {
    opacity: 1;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    position: relative;
    z-index: 3;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.05);
    z-index: 1;
    animation: pulse 8s infinite ease-in-out;
}

.tech-circle.small {
    width: 300px;
    height: 300px;
    background-color: rgba(0, 102, 204, 0.03);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Servicios */
.services {
    padding: 100px 0;
    background-color: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.service-features li:before {
    content: "•";
    color: var(--accent-color);
    margin-right: 8px;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Asesorías */
.asesorias {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.asesorias .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

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

.feature i {
    color: var(--accent-color);
    font-size: 20px;
}

.feature p {
    font-size: 14px;
    font-weight: 500;
}

.asesorias-steps h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.step {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 13px;
    color: var(--text-light);
}

.asesorias-form {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

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

/* Sistema de Tickets */
.tickets {
    padding: 100px 0;
    background-color: var(--background-color);
}

.tickets-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

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

.info-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
}

.info-card i {
    font-size: 30px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.info-card ul {
    margin-top: 20px;
}

.info-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.info-card ul li strong {
    color: var(--primary-color);
}

.tickets-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background-color: var(--accent-color);
    color: white;
    padding: 20px;
}

.form-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 14px;
    opacity: 0.9;
}

#ticketForm {
    padding: 30px;
}

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

#ticketForm label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

#ticketForm input,
#ticketForm select,
#ticketForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
}

#ticketForm textarea {
    min-height: 120px;
}

#ticket-attachments {
    width: 100%;
    padding: 10px 0;
}

#ticketForm small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.tickets-status {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.tickets-status h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tickets-status p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.status-check {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.status-check input {
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    min-width: 200px;
}

/* Ventas */
.ventas {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.ventas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card.featured {
    border: 2px solid var(--accent-color);
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-price {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.product-features {
    margin-bottom: 30px;
    text-align: left;
}

.product-features li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--accent-color);
}

.ventas-cta {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ventas-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ventas-cta p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contacto */
.contact {
    padding: 100px 0;
    background-color: var(--background-color);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 3px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-social h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background-color: var(--accent-color);
    color: white;
    padding: 20px;
}

.form-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 14px;
    opacity: 0.9;
}

#contactForm {
    padding: 30px;
}

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

#contactForm textarea {
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
}

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

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-color);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px 0 0 4px;
    color: white;
    font-family: var(--font-primary);
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
    width: 45px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container,
    .asesorias .container,
    .contact .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 50px;
    }
    
    .asesorias-content {
        order: 2;
    }
    
    .asesorias-form {
        order: 1;
        margin-bottom: 50px;
    }
    
    .tickets-container {
        grid-template-columns: 1fr;
    }
    
    .tickets-info {
        order: 2;
        margin-top: 40px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-card {
        flex: 1 1 300px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .asesorias-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .ventas-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .status-check {
        flex-direction: column;
    }
    
    .status-check input {
        width: 100%;
    }
}



/* Agregar a styles.css */
.easter-egg-active {
    animation: rainbowBg 3s linear infinite;
}

@keyframes rainbowBg {
    0% { background-color: #ff0000; }
    14% { background-color: #ff7f00; }
    28% { background-color: #ffff00; }
    42% { background-color: #00ff00; }
    57% { background-color: #0000ff; }
    71% { background-color: #4b0082; }
    85% { background-color: #9400d3; }
    100% { background-color: #ff0000; }
}

.easter-egg-active * {
    transform: rotate(360deg);
    transition: all 2s ease;
}



/* Sistema de Tickets */
.tickets-dashboard {
    font-family: var(--font-primary);
    background-color: #f5f7fa;
    min-height: 100vh;
}

.tickets-header {
    background-color: var(--accent-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

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

.tickets-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
}

.filter-group select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--medium-gray);
}

.tickets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ticket-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.ticket-id {
    font-weight: 700;
    color: var(--accent-color);
}

.ticket-priority {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-priority.low {
    background-color: #d4edda;
    color: #155724;
}

.ticket-priority.medium {
    background-color: #fff3cd;
    color: #856404;
}

.ticket-priority.high {
    background-color: #f8d7da;
    color: #721c24;
}

.ticket-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background-color: #e2e3e5;
    color: #383d41;
}

.ticket-status.open {
    background-color: #d1ecf1;
    color: #0c5460;
}

.ticket-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.ticket-status.resolved {
    background-color: #d4edda;
    color: #155724;
}

.ticket-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.ticket-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.ticket-footer i {
    margin-right: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .tickets-filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    #new-ticket-btn {
        width: 100%;
    }
}


/* Página 404 */
.error-page {
    background-color: var(--dark-gray);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.error-container {
    padding: 40px;
}

.error-content h1 {
    font-size: 8rem;
    margin-bottom: 0;
    color: var(--accent-color);
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.server {
    width: 120px;
    height: 160px;
    background-color: #333;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    animation: serverBlink 2s infinite;
}

.server:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 30px 0 0 var(--accent-color),
               60px 0 0 var(--accent-color);
}

.cable {
    width: 4px;
    height: 60px;
    background-color: #555;
    margin: 0 auto;
    position: relative;
}

.plug {
    width: 40px;
    height: 20px;
    background-color: #777;
    border-radius: 0 0 5px 5px;
    margin: 0 auto;
}

@keyframes serverBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}



/* ===== ASISTENTE VIRTUAL HENTECH ===== */
#hen7-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hen7-avatar {
    width: 60px;
    height: 60px;
    background-color: #0066cc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hen7-avatar:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

.hen7-avatar i {
    color: white;
    font-size: 24px;
}

.hen7-chat {
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 70px;
    right: 0;
    z-index: 1001;
}

.hen7-header {
    background-color: #0066cc;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hen7-header span {
    font-weight: 600;
    font-size: 15px;
}

.hen7-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.hen7-header button:hover {
    transform: rotate(90deg);
}

.hen7-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.message.bot {
    background-color: white;
    border: 1px solid #eee;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.message.user {
    background-color: #0066cc;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: underline;
}

.message strong {
    font-weight: 600;
}

.bot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-right: auto;
    max-width: 80%;
}

.bot-option-btn {
    background-color: #e9f5ff;
    color: #0066cc;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    pointer-events: auto;
}

.bot-option-btn:hover {
    background-color: #0066cc;
    color: white;
}

.hen7-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eee;
    background-color: white;
}

.hen7-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    transition: border 0.3s ease;
}

.hen7-input input:focus {
    border-color: #0066cc;
}

.hen7-input button {
    background-color: #0066cc;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hen7-input button:hover {
    background-color: #0056b3;
    transform: rotate(15deg);
}

.typing-indicator {
    display: flex;
    padding: 10px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

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

/* Responsive */
@media (max-width: 480px) {
    .hen7-chat {
        width: 280px;
        height: 380px;
        right: -20px;
    }
    
    .hen7-avatar {
        width: 50px;
        height: 50px;
        right: 15px;
    }
}


/* ===== SECCIÓN EQUIPO ===== */
.team-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.team-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/tech-pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.team-card {
    width: 280px;
    height: 380px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-front {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    position: relative;
    z-index: 2;
}

.tech-border {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent-color),
        #7b2dff,
        var(--accent-color)
    );
    animation: rotateBorder 4s linear infinite;
    z-index: 1;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-back {
    background-color: white;
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--accent-color);
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.skills span {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.fun-text {
    margin-top: auto;
    font-style: italic;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.fun-text i {
    color: var(--accent-color);
}

.team-linkedin {
    margin-top: 15px;
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.team-linkedin:hover {
    background-color: #0077b5;
    transform: translateY(-3px);
}

.team-cta {
    text-align: center;
    margin-top: 60px;
}

.team-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .team-card {
        width: 250px;
        height: 350px;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    .tech-border {
        width: 160px;
        height: 160px;
    }
}


.terminal-container {
  font-family: 'Courier New', monospace;
  width: 100%;
  max-width: 700px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: #1e1e1e;
  color: #f0f0f0;
}

.terminal-header {
  background-color: #3a3a3a;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

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

.terminal-btn.red { background-color: #ff5f56; }
.terminal-btn.yellow { background-color: #ffbd2e; }
.terminal-btn.green { background-color: #27c93f; }

.terminal-title {
  font-size: 0.8rem;
  color: #b3b3b3;
}

.terminal-body {
  height: 250px;
  padding: 15px;
  overflow-y: auto;
  background-color: #1e1e1e;
  line-height: 1.5;
  font-size: 0.9rem;
}

.terminal-body p {
  margin: 5px 0;
}

.terminal-input {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #252525;
  border-top: 1px solid #333;
}

.prompt {
  color: #4CAF50;
  margin-right: 8px;
  font-weight: bold;
}

#terminal-cmd {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #f0f0f0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  outline: none;
}

#terminal-cmd::placeholder {
  color: #666;
}

/* Scrollbar styling */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* CSS del Juego */
#space-game {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000 url('images/space-bg.jpg');
  z-index: 9999;
  display: none;
}

.spaceship {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url('images/spaceship.png') no-repeat;
  bottom: 50px;
  left: 50%;
}

/* ============================================= */
/* SIMULADOR DE CRISIS TI */
/* ============================================= */

.section-dark {
    background: #0a0e17;
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 100, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.simulator-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cyber-simulator {
    background: #0d1220;
    border: 1px solid #1e2a4a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 89, 255, 0.1);
    position: relative;
}

.cyber-simulator::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #141f3d;
    border-bottom: 1px solid #25345a;
}

.simulator-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    background: transparent;
    color: #5d7ebc;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.tab-btn.active {
    background: #1a3a8f;
    color: #fff;
    box-shadow: 0 2px 10px rgba(26, 58, 143, 0.5);
}

.simulator-timer {
    font-family: 'Courier New', monospace;
    color: #ff5555;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
}

.simulator-screen {
    height: 300px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    overflow-y: auto;
    line-height: 1.5;
    font-size: 16px;
}

.terminal-line {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.terminal-line::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00ffff;
}

.text-glitch {
    animation: glitch 1s linear infinite;
    position: relative;
}

@keyframes glitch {
    0% { text-shadow: 1px 0 red; }
    25% { text-shadow: -1px 0 blue; }
    50% { text-shadow: 1px 0 green; }
    100% { text-shadow: -1px 0 yellow; }
}

.simulator-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #141f3d;
    border-top: 1px solid #25345a;
}

.btn-outline {
    background: transparent;
    border: 1px solid #5d7ebc;
    color: #5d7ebc;
}

.btn-outline:hover {
    background: rgba(93, 126, 188, 0.1);
}

.simulator-loss {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    border-left: 3px solid #ff0000;
}

.loss-amount {
    font-weight: bold;
    color: #ff5555;
}

/* ============================================= */
/* MAPA DE AMENAZAS EN TIEMPO REAL */
/* ============================================= */

.threatmap-container {
    position: relative;
    height: 500px;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #25345a;
}

.threatmap-globe {
    width: 100%;
    height: 100%;
    background: #000;
}

.threatmap-stats {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.stat-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
    border: 1px solid #25345a;
}

.stat-card h3 {
    font-size: 2.2rem;
    margin: 0;
    color: #ff5555;
    font-family: 'Courier New', monospace;
}

.stat-card p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #a0a8c0;
}

.threatmap-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #25345a;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.legend-color.malware {
    background: #ff5555;
}

.legend-color.phishing {
    background: #ffcc00;
}

.legend-color.ddos {
    background: #00ccff;
}

/* ============================================= */
/* BENCHMARK TI INTERACTIVO */
/* ============================================= */

/* Benchmark TI */
#benchmark {
    padding: 80px 0;
    background: #f9fafc;
}

.benchmark-tool {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.benchmark-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e6ed;
    align-self: start;
    position: sticky;
    top: 20px;
}

.benchmark-form .form-group {
    margin-bottom: 25px;
}

.benchmark-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2e3a59;
    font-size: 14px;
}

.benchmark-form select, 
.benchmark-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.benchmark-form select:focus, 
.benchmark-form input:focus {
    border-color: #1a3a8f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

.slider-group {
    margin-top: 30px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-group span {
    font-weight: bold;
    color: #1a3a8f;
}

.benchmark-form input[type="range"] {
    -webkit-appearance: none;
    height: 6px;
    background: #e0e6ed;
    border-radius: 3px;
    margin-top: 12px;
    padding: 0;
}

.benchmark-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #1a3a8f;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.benchmark-form input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

#calculateBtn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    font-weight: 600;
}

.benchmark-results {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chart-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e6ed;
    height: 400px;
}

.benchmark-comparison {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e6ed;
}

.benchmark-comparison h3 {
    margin-top: 0;
    color: #2e3a59;
    font-size: 18px;
}

.comparison-meter {
    background: #f5f7fa;
    height: 12px;
    border-radius: 6px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.meter-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    border-radius: 6px;
    transition: all 1s ease;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    color: #7a7f8c;
    font-size: 12px;
    margin-top: 5px;
}

.benchmark-tips {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #e0e6ed;
}

.benchmark-tips h4 {
    color: #1a3a8f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.benchmark-tips h4 i {
    margin-right: 10px;
    font-size: 18px;
}

.benchmark-tips ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.benchmark-tips li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #4d5668;
}

/* Responsive */
@media (max-width: 992px) {
    .benchmark-tool {
        grid-template-columns: 1fr;
    }
    
    .benchmark-form {
        position: static;
    }
}

@media (max-width: 576px) {
    .benchmark-results {
        gap: 20px;
    }
    
    .chart-container {
        height: 350px;
    }
}

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

@media (max-width: 992px) {
    .benchmark-tool {
        grid-template-columns: 1fr;
    }
    
    .threatmap-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .simulator-screen {
        height: 250px;
        font-size: 14px;
    }
    
    .threatmap-container {
        height: 350px;
    }
    
    .threatmap-stats {
        flex-direction: column;
        right: 10px;
        bottom: 10px;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 10px 15px;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .simulator-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .simulator-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .simulator-screen {
        height: 200px;
    }
    
    .simulator-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .threatmap-container {
        height: 300px;
    }
    
    .threatmap-legend {
        bottom: auto;
        top: 20px;
        left: 10px;
    }
}


.simulator-loss {
    position: absolute;
    bottom: 80px;
    right: 20px;
    background: rgba(255, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    border-left: 3px solid #ff0000;
    z-index: 10;
}

/* Animación para el temporizador */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Mejoras para el mapa */
.threatmap-globe {
    position: relative;
}

/* Asegurar que los marcadores sean visibles */
.attack-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: attackPulse 2s infinite;
    z-index: 10;
}

@keyframes attackPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}


/* Corrección para el contador de pérdidas - SIN MODIFICAR HTML */
.cyber-simulator {
    position: relative; /* Asegurar que sea el contenedor de posición */
    padding-bottom: 80px; /* Espacio para el contador */
}

.simulator-loss {
    position: absolute;
    bottom: 20px; /* Posicin sobre los botones */
    right: 20px;
    background: rgba(255, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    border-left: 3px solid #ff5555;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    z-index: 10;
}

.simulator-loss i {
    color: #ff5555;
}

.loss-amount {
    font-weight: bold;
    color: #fff;
}

/* Tooltips para los tipos de ataque */
.tab-btn {
    position: relative;
}

.tab-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a3a8f;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    z-index: 100;
}

.tab-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}


/* Sección de Herramientas */
.herramientas-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.herramientas-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-color);
}

.herramienta-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.herramienta-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.herramienta-tab:hover:not(.active) {
    color: var(--dark-color);
}

.herramientas-content {
    margin-top: 30px;
}

.herramienta-container {
    display: none;
}

.herramienta-container.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.herramienta-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.herramienta-card:hover {
    transform: translateY(-5px);
}

.herramienta-header {
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.herramienta-header i {
    font-size: 1.5rem;
}

.herramienta-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.herramienta-body {
    padding: 20px;
}

.herramienta-body p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* PDF Unificador */
.pdf-upload-area {
    border: 2px dashed var(--gray-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.pdf-upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.pdf-upload-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pdf-upload-area p {
    margin-bottom: 15px;
}

.pdf-upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.btn-select {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-select:hover {
    background-color: var(--secondary-color);
}

.pdf-list {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.pdf-list .empty {
    text-align: center;
    color: var(--text-light);
    padding: 10px;
}

.pdf-list ul {
    list-style: none;
}

.pdf-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8fafc;
    border-radius: 4px;
    margin-bottom: 8px;
}

.pdf-list li span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    margin-left: 10px;
}

.pdf-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pdf-result {
    text-align: center;
}

.pdf-result .success {
    padding: 15px;
    background-color: #f0fdf4;
    border-left: 4px solid var(--success-color);
    border-radius: 0 4px 4px 0;
}

.pdf-result .error {
    padding: 15px;
    background-color: #fef2f2;
    border-left: 4px solid var(--danger-color);
    border-radius: 0 4px 4px 0;
}

/* Generador QR */
.qr-form {
    margin-bottom: 20px;
}

.qr-form .form-group {
    margin-bottom: 15px;
}

.qr-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.qr-result {
    text-align: center;
    margin-top: 20px;
}

.qr-result canvas {
    margin: 0 auto;
}

.qr-download {
    margin-top: 15px;
}

/* Contador de palabras */
.word-counter-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border: 1px solid var(--gray-color);
    border-radius: 6px;
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
}

.word-counter-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.counter-stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Generador de contraseñas */
.password-generator {
    margin-top: 20px;
}

.password-result {
    display: flex;
    margin: 20px 0;
}

.password-result input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray-color);
    border-radius: 4px 0 0 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
}

.password-result button {
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
}

.password-strength {
    margin-top: 15px;
}

.strength-meter {
    height: 8px;
    background-color: var(--gray-color);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    background-color: var(--danger-color);
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Calculadora de costos */
.cost-calculator .form-group {
    margin-bottom: 15px;
}

.cost-calculator input[type="number"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-color);
    border-radius: 4px;
}

.cost-result {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 6px;
}

.cost-result h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.cost-result p {
    margin: 5px 0;
}

/* Terminal interactivo */
.terminal-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: #0a0e17;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: 'Fira Code', 'Courier New', monospace;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  background-color: #1a1f2e;
  border-bottom: 1px solid #2a3246;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
}

.terminal-btn.red { background-color: #ff5f56; }
.terminal-btn.yellow { background-color: #ffbd2e; }
.terminal-btn.green { background-color: #27c93f; }

.terminal-title {
  font-size: 0.8rem;
  color: #a0a8c0;
  font-weight: 500;
}

.terminal-body {
  height: 400px;
  padding: 20px;
  overflow-y: auto;
  background-color: #0a0e17;
  color: #e0e6f0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-thumb {
  background-color: #2a3246;
  border-radius: 4px;
}

.command-line {
  margin-bottom: 5px;
}

.prompt-line {
  color: #5dff87;
  font-weight: bold;
  margin-right: 10px;
}

.command {
  color: #e0e6f0;
}

.command-output {
  margin-bottom: 15px;
  color: #c7d3e6;
}

.command-output a {
  color: #5dafff;
  text-decoration: none;
}

.terminal-input {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background-color: #1a1f2e;
  border-top: 1px solid #2a3246;
}

.prompt {
  color: #5dff87;
  margin-right: 10px;
  font-weight: bold;
  white-space: nowrap;
}

.terminal-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e0e6f0;
  font-family: 'Fira Code', 'Courier New', monospace;
  outline: none;
  font-size: 0.95rem;
}

.terminal-input input::placeholder {
  color: #4a5266;
}

/* Efecto cursor parpadeante */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-input input:focus::after {
  content: "|";
  animation: blink 1s step-end infinite;
  color: #5dff87;
  margin-left: 2px;
}

/* Estado de tickets */
.ticket-status-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    text-align: left;
}

.ticket-status-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-color);
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.Abierto {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.EnProceso {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-badge.Resuelto {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.Cerrado {
    background-color: #e5e7eb;
    color: #4b5563;
}

.ticket-response {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8fafc;
    border-left: 3px solid var(--primary-color);
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #f0fdf4;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background-color: #fef2f2;
    border-left: 4px solid var(--danger-color);
}


* Sección de Reparaciones */
.repair-services {
    padding: 80px 0;
    background: white;
}

.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.repair-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 30px;
    border-top: 4px solid #2563eb;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.repair-card:hover {
    transform: translateY(-5px);
}

.repair-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.repair-features {
    margin: 20px 0;
    padding-left: 20px;
}

.repair-features li {
    margin-bottom: 10px;
    position: relative;
}

.repair-features li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.repair-cta {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: #f0f4f8;
    border-radius: 10px;
}


/* === Floating CTA Button === */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.floating-btn span {
    display: inline-block;
    margin-right: 5px;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* === Emergency Banner === */
.emergency-banner {
    background-color: #dc2626;
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.emergency-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.emergency-banner i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.emergency-banner p {
    margin: 0;
    font-weight: 600;
}

.emergency-banner .btn-warning {
    background-color: white;
    color: #dc2626;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.emergency-banner .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* === CTA Sections === */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-section.cta-tools {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.cta-section h3 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cta-section p {
    color: #475569;
    margin-bottom: 0;
    max-width: 600px;
}

.cta-section .btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* CTA Box Style */
.cta-box {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-icon {
    background-color: #2563eb;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1e293b;
}

.cta-text p {
    margin-bottom: 0;
    color: #475569;
}

.cta-button {
    flex-shrink: 0;
}

/* Repair CTA */
.repair-cta {
    margin-top: 50px;
}

/* WhatsApp CTA */
.whatsapp-cta {
    margin-top: 30px;
}

.whatsapp-cta .btn-success {
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-cta .btn-success i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-cta .btn-success:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.3);
}

/* Testimonials */
.testimonials {
    margin-top: 50px;
}

.testimonial-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #e2e8f0;
}

.testimonial-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background-color: #2563eb;
    border-radius: 10px;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 400px;
}

.testimonial-content p {
    font-style: italic;
    color: #475569;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: """;
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-size: 3rem;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin: 0;
    color: #1e293b;
    font-size: 1rem;
}

.testimonial-author p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Form Footer */
.form-footer {
    margin-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.form-footer i {
    margin-right: 5px;
    color: #2563eb;
}

/* Header CTA */
.header-cta {
    margin-left: auto;
    padding-left: 20px;
}

.header-cta .btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 8px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-cta .btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.header-cta .btn-sm {
    font-size: 0.9rem;
}

/* Service Card CTA */
.service-card .btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Quick Replies in Chat Assistant */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background-color: #e0e7ff;
    color: #2563eb;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background-color: #2563eb;
    color: white;
}


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

/* Dispositivos pequeños (teléfonos, 600px y menos) */
@media only screen and (max-width: 600px) {
    /* Estilos para móviles */
}

/* Dispositivos medianos (tablets, 600px a 768px) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    /* Estilos para tablets */
}

/* Dispositivos grandes (laptops/desktops, 769px y más) */
@media only screen and (min-width: 769px) {
    /* Estilos para desktop */
}



@media only screen and (max-width: 768px) {
    /* General */
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-badge {
        font-size: 0.7rem;
        padding: 2px 5px;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 30px 0;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
        padding-top: 30px;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Emergency Banner */
    .emergency-banner .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Repair Services */
    .repair-grid {
        grid-template-columns: 1fr;
    }
    
    /* Herramientas */
    .herramientas-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    
    .herramienta-tab {
        display: inline-block;
        margin-right: 10px;
    }
    
    /* Simulador */
    .simulator-container {
        padding: 0;
    }
    
    .cyber-simulator {
        width: 100%;
    }
    
    /* Benchmark */
    .benchmark-tool {
        flex-direction: column;
    }
    
    /* Asesorías */
    .asesorias {
        flex-direction: column;
    }
    
    .asesorias-content, .asesorias-form {
        width: 100%;
    }
    
    /* Tickets */
    .tickets-container {
        flex-direction: column;
    }
    
    .tickets-info {
        margin-bottom: 30px;
    }
    
    /* Ventas */
    .ventas-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contacto */
    .contact {
        flex-direction: column;
    }
    
    .contact-content, .contact-form {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Floating CTA */
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        padding: 12px 15px;
    }
    
    .floating-btn span {
        display: none;
    }
    
    /* CTA Sections */
    .cta-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .cta-button .btn {
        width: 100%;
    }
    
    /* Testimonials */
    .testimonial-slider {
        padding-bottom: 15px;
    }
    
    .testimonial-card {
        min-width: 85%;
    }
}

/* Tablet */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .repair-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ventas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card.featured {
        transform: none;
    }
}


@media (max-width: 768px) {
    .contact-form {
        margin-top: 30px;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        width: 100%;
    }
}



@media (max-width: 768px) {
    .service-card {
        margin-bottom: 30px;
    }
}



@media (max-width: 768px) {
    .service-card {
        margin-bottom: 30px;
    }
}



@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .tech-circle {
        display: none;
    }
}




/* Optimización para móviles */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Mejora de scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


/* Añade esto al final de tu CSS actual */
.bot-option-btn {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.bot-option-btn:active, 
.bot-option-btn:focus {
    transform: scale(0.95);
    background-color: var(--accent-color);
    color: white;
}

.hen7-messages {
    overflow-x: hidden;
}

/* Corrige el z-index del chat */
.hen7-chat {
    z-index: 1001;
}

#hen7-assistant {
    z-index: 1000;
}

/* Modal de éxito */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.success-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.success-modal .modal-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.success-modal h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-modal p {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
}

.success-modal .close-modal {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

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

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

/* Spinner para botones */
.fa-spinner {
    margin-right: 8px;
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

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


/* Consejo del Día */
.daily-tip {
    background-color: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.tip-container {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.tip-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-right: 1.5rem;
}

.tip-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tip-content p {
    margin-bottom: 1rem;
    color: #475569;
    font-size: 1.1rem;
}

/* Reto de Seguridad */
.security-challenge {
    background-color: #f1f5f9;
    padding: 3rem 0;
}

.challenge-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.challenge-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}

.challenge-content {
    display: flex;
    gap: 2rem;
}

.challenge-card {
    flex: 2;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.challenge-card h3 {
    margin-top: 0;
    color: #1e293b;
}

.challenge-card p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.challenge-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    height: 10px;
    background-color: #dbeafe;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: #2563eb;
    transition: width 0.5s ease;
}

.challenge-actions {
    display: flex;
    gap: 1rem;
}

.challenge-rewards {
    flex: 1;
    background-color: #f0fdf4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.challenge-rewards h4 {
    margin-top: 0;
    color: #065f46;
}

.challenge-rewards ul {
    list-style: none;
    padding: 0;
}

.challenge-rewards li {
    margin-bottom: 0.5rem;
    color: #047857;
}

.challenge-rewards i {
    color: #10b981;
    margin-right: 0.5rem;
}

.streak-counter {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background-color: #ffedd5;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    color: #9a3412;
}

.streak-counter i {
    color: #f97316;
    margin-right: 0.5rem;
}

/* Servicios Web */
.web-services {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.web-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.web-service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #2563eb;
}

.web-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.web-service-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.web-service-card h3 {
    margin-top: 0;
    color: #1e293b;
}

.web-service-card p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.web-service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.web-service-features li {
    margin-bottom: 0.5rem;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.web-service-features li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.web-services-cta {
    margin-top: 3rem;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.pulse {
    animation: pulse 1.5s infinite;
}




.nav li:nth-child(4) .nav-link {
    white-space: normal;
    line-height: 1.3;
    padding: 8px 12px;
    text-align: center;
}

