/* =================================================================
   FullServicesPY · style.css
   Estilos generales (header, hero, secciones, footer, modal, menú)
   Las tarjetas de sistemas viven en cards.css
   ================================================================= */

/* ---------- RESET Y VARIABLES ---------- */
:root {
    --primary:      #0a1628;
    --secondary:    #0d1f3c;
    --tertiary:     #132a4a;
    --accent:       #f39c12;
    --accent-hover: #e67e22;
    --accent-glow:  rgba(243, 156, 18, 0.2);
    --white:        #ffffff;
    --gray:         #a0b4c8;
    --dark:         #0a1628;
    --shadow:       0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);
    --border-radius: 16px;
    --transition:   all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Orbitron', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.btn, .logo-text, .stat-number,
.section-tag, .filter-btn, .mobile-nav-link {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ---------- HIGHLIGHT ---------- */
.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
    animation: highlightPulse 2s ease-in-out infinite;
}
@keyframes highlightPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

/* =================================================================
   BOTONES
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before { width: 300px; height: 300px; }

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-large { padding: 18px 40px; font-size: 16px; }
.btn-small { padding: 10px 20px; font-size: 12px; }
.btn-full  { width: 100%; }

/* =================================================================
   HEADER
   ================================================================= */
.header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    border-bottom-color: var(--accent);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}
.logo a:hover .logo-icon {
    transform: rotate(180deg) scale(1.1);
}
.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.logo-text span { color: var(--accent); }

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
}
.nav-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
    font-family: var(--font-body);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}
.menu-toggle:hover { color: var(--accent); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #132a4a 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: scale(1);   opacity: 0.5; }
    50%      { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 50px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-family: var(--font-body);
}
.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 25px;
}
.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    margin: 0 auto 40px;
    max-width: 600px;
    font-weight: 400;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
}

.hero-decorations { position: absolute; inset: 0; pointer-events: none; }
.decoration-circle {
    position: absolute;
    top: 20%; left: 5%;
    width: 150px; height: 150px;
    border: 2px solid rgba(243, 156, 18, 0.15);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.decoration-square {
    position: absolute;
    bottom: 20%; right: 8%;
    width: 100px; height: 100px;
    border: 2px solid rgba(243, 156, 18, 0.15);
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite;
}
.decoration-triangle {
    position: absolute;
    top: 60%; right: 20%;
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid rgba(243, 156, 18, 0.08);
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0)); }
    50%      { transform: translateY(-20px) rotate(var(--rot, 0)); }
}

/* =================================================================
   SECCIONES (genérico)
   ================================================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--accent);
}
.section-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* =================================================================
   SECCIÓN SISTEMAS
   ================================================================= */
.systems-section {
    padding: 100px 0;
    background: var(--primary);
}

/* Filtros */
.systems-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.filter-btn {
    padding: 12px 24px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    background: rgba(243, 156, 18, 0.1);
}
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* =================================================================
   SOBRE NOSOTROS
   ================================================================= */
.about-section {
    padding: 100px 0;
    background: var(--primary);
}
.about-content {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 0;
    align-items: center;
}
.about-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.about-feature i {
    color: var(--accent);
    font-size: 20px;
    margin-top: 3px;
}
.about-feature h4 {
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--white);
}
.about-feature p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.about-image .carousel-container { width: 100%; }
.about-image #carousel { height: 400px; }
.about-image .slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* =================================================================
   CONTACTO
   ================================================================= */
.contact-section {
    padding: 100px 0;
    background: var(--secondary);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info .section-title { color: var(--accent); }
.contact-info p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.contact-item i {
    color: var(--accent);
    font-size: 20px;
    margin-top: 3px;
}
.contact-item h4 {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}
.contact-item a,
.contact-item p {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}
.contact-item a:hover { color: var(--accent); }

/* Redes grandes (2x2) */
.social-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    width: 100%;
}
.social-section h4 {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}
.social-icons-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}
.social-icons-grid a:hover {
    transform: translateY(-5px);
    background: rgba(108, 99, 255, 0.15);
    border-color: #6c63ff;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}
.social-icons-grid a i {
    font-size: 40px;
    transition: transform 0.3s ease;
}
.social-icons-grid a:hover i { transform: scale(1.1); }
.social-icons-grid a .social-label {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    letter-spacing: 0.5px;
}
.social-icons-grid a.facebook:hover { background: rgba(24,119,242,0.2); border-color: #1877f2; }
.social-icons-grid a.facebook i { color: #1877f2; }
.social-icons-grid a.twitter:hover {
    background: rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 12px 28px rgba(255,255,255,0.08);
}
.social-icons-grid a.instagram:hover { background: rgba(225,48,108,0.2); border-color: #e1306c; }
.social-icons-grid a.instagram i { color: #e1306c; }
.social-icons-grid a.tiktok:hover { background: rgba(0,0,0,0.3); border-color: #ffffff; }
.social-icons-grid a.tiktok i { color: #ffffff; }

.social-x-mark {
    display: inline-block;
    color: #ffffff;
    font-family: 'Arial Black', 'Segoe UI', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: translateY(-1px);
}
.social-icons-grid a.twitter .social-x-mark {
    font-size: 2.25rem;
    margin-bottom: 4px;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background: #060e1a;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-display);
}
.footer-logo i { color: var(--accent); }
.footer-logo span { color: var(--accent); }
.footer-brand p {
    margin: 15px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    padding: 8px 0;
}
.social-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 12px 26px rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .28s ease, box-shadow .28s ease,
                background .28s ease, border-color .28s ease, filter .28s ease;
}
.social-links a::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
    opacity: 0.9;
}
.social-links a i {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
}
.social-links a:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 18px 30px rgba(0,0,0,0.32), 0 0 20px rgba(255,255,255,0.18);
    filter: brightness(1.12);
}
.social-links .facebook-link:hover {
    background: linear-gradient(135deg, rgba(24,119,242,0.95), rgba(59,130,246,0.9));
    border-color: rgba(255,255,255,0.45);
}
.social-links .instagram-link:hover {
    background: linear-gradient(135deg,
        rgba(245,133,41,0.95), rgba(221,42,123,0.92),
        rgba(129,52,175,0.93), rgba(81,91,212,0.9));
    border-color: rgba(255,255,255,0.45);
}
.social-links .whatsapp-link:hover {
    background: linear-gradient(135deg, rgba(37,211,102,0.95), rgba(18,140,126,0.92));
    border-color: rgba(255,255,255,0.45);
}
.social-links .x-link {
    background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(60,60,60,0.9));
    border-color: rgba(255,255,255,0.35);
}
.social-links .x-link:hover {
    background: linear-gradient(135deg, rgba(17,17,17,0.98), rgba(80,80,80,0.95));
    border-color: rgba(255,255,255,0.65);
    box-shadow: 0 18px 32px rgba(0,0,0,0.38), 0 0 22px rgba(255,255,255,0.12);
}
.social-links .tiktok-link:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.96), rgba(28,28,28,0.9));
    border-color: rgba(255,255,255,0.45);
}
.social-links .tiktok-link i { color: #ffffff; }

.footer-links h4,
.footer-contact-info h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
}
.footer-contact-info i {
    color: var(--accent);
    width: 20px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.heart {
    color: #e74c3c;
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

/* =================================================================
   MODAL CONTACTO
   ================================================================= */
.contact-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 16px;
}
.contact-modal-overlay.active { display: flex; }

.contact-modal {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}
.contact-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.contact-modal-close:hover { transform: rotate(90deg); }

.contact-modal h2 {
    font-family: var(--font-display);
    font-size: 26px;
    color: #fff;
    margin-bottom: 10px;
}
.contact-modal .modal-subtitle {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 15px;
}
.contact-modal .form-group { margin-bottom: 20px; }
.contact-modal .form-group label {
    display: block;
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-modal .form-group input,
.contact-modal .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}
.contact-modal .form-group input:focus,
.contact-modal .form-group textarea:focus {
    outline: none;
    border-color: #6c63ff;
}
.contact-modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-modal .btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6c63ff, #4a3fcf);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-modal .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}
.contact-modal .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-alert {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.success-alert.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.success-alert i {
    font-size: 60px;
    color: #4ade80;
    margin-bottom: 15px;
}
.success-alert h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}
.success-alert p {
    color: #aaa;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* =================================================================
   MENÚ MÓVIL DESLIZANTE
   ================================================================= */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, #0d1f3c 0%, #0a1628 100%);
    border-left: 1px solid rgba(243, 156, 18, 0.2);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(243, 156, 18, 0.15);
    background: rgba(243, 156, 18, 0.05);
}
.mobile-menu-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-menu-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.25s ease;
}
.mobile-menu-close:hover {
    background: rgba(243, 156, 18, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    flex: 1;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
}
.mobile-nav-link i:first-child {
    font-size: 18px;
    color: var(--accent);
    width: 22px;
    text-align: center;
}
.mobile-nav-link span { flex: 1; }
.mobile-nav-link i:last-child {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.25s ease;
}
.mobile-nav-link:hover {
    background: rgba(243, 156, 18, 0.08);
    border-left-color: var(--accent);
    color: var(--white);
    padding-left: 28px;
}
.mobile-nav-link:hover i:last-child {
    transform: translateX(4px);
    color: var(--accent);
}

.mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu-footer span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 900;
    color: var(--white);
}
.mobile-menu-footer span span { color: var(--accent); }
.mobile-menu-footer small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* =================================================================
   WHATSAPP FLOTANTE
   ================================================================= */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: whatsapp-pulse 2.2s infinite;
    max-width: calc(100vw - 32px);
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
    color: #fff;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #04880B;
    color: #0C074A;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #25d366;
}
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =================================================================
   CARRUSEL 3D (about-image)
   ================================================================= */
.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    padding: 20px 0;
}
.carousel-container *,
.carousel-container *::before,
.carousel-container *::after {
    box-sizing: border-box;
}
#carousel {
    position: relative;
    width: 100%;
    height: 500px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.carousel-slide {
    position: absolute;
    width: var(--slide-width, 240px);
    height: var(--slide-height, 280px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    background: rgba(18, 20, 30, .58);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid rgba(75, 204, 255, 0.45);
    overflow: hidden;
    opacity: .45;
    isolation: isolate;
    transition:
        transform .65s cubic-bezier(.22, .61, .36, 1),
        opacity .55s ease,
        border-color .55s ease,
        filter .55s ease;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, .75),
        0 0 20px rgba(100, 190, 200, .18),
        0 0 45px rgba(100, 190, 200, .12),
        inset 0 1px 0 rgba(255, 255, 255, .12),
        inset 0 -1px 0 rgba(255, 255, 255, .06),
        inset 0 0 70px rgba(100, 190, 200, .06);
}
.carousel-slide::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .65s ease, filter .65s ease;
    box-shadow:
        0 -1px 1px rgba(255, 255, 255, .9),
        -1px 1px 1px #64BEC8,
        0 0 8rem -20px #64BEC8,
        inset 0 0 76px -10px #64BEC8,
        inset 0 0 5.6rem -10px #64BEC8;
    filter: blur(10px);
}
.carousel-slide.active::before {
    opacity: 1;
    filter: blur(0);
}
.carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(125deg,
            rgba(255, 255, 255, .18) 0%,
            rgba(255, 255, 255, .09) 28%,
            transparent 55%),
        radial-gradient(circle at top center,
            rgba(120, 240, 255, .18),
            transparent 40%),
        radial-gradient(circle at bottom,
            rgba(0, 140, 255, .10),
            transparent 65%);
}
.carousel-slide.active {
    opacity: 1;
    filter: none;
    border-color: #56dcff;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 26px;
    display: block;
    padding: 10px;
}
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.nav {
    width: 55px;
    height: 55px;
    border: 1px solid rgba(75, 204, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .3s;
    box-shadow:
        inset 0 0 20px -6px #64BEC8,
        inset 0 0 .5rem -10px #64BEC8;
}
.nav:hover {
    background: #8de4ff;
    color: #000;
    transform: scale(1.08);
}
#dots {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .25);
    transition: .3s;
}
.dot.active {
    background: #8de4ff;
    transform: scale(1.25);
    box-shadow: 0 0 10px #8de4ff;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
    .hero-title     { font-size: 48px; }
    .about-content,
    .contact-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-content  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav { width: 46px; height: 46px; font-size: 28px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        border-bottom: 2px solid var(--accent);
    }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; }
    .menu-toggle { display: block; }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-title     { font-size: 32px; }
    .hero-subtitle  { font-size: 16px; }
    .hero-actions   { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .section-title    { font-size: 32px; }
    .systems-filters  { flex-wrap: wrap; }
    .filter-btn       { font-size: 11px; padding: 8px 16px; }

    .about-features { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content  { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom   { flex-direction: column; text-align: center; gap: 10px; }

    .about-image #carousel { height: 300px; }
}

@media (max-width: 576px) {
    .header .container { padding-left: 10px; padding-right: 10px; }
    .header-content    { gap: 6px; }
    .header-actions    { gap: 6px; }

    .header-actions .btn-primary {
        padding: 7px 10px;
        font-size: 11.5px;
        border-radius: 8px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .header-actions .btn-primary i {
        font-size: 10px;
        margin-right: 3px;
    }
    .logo-text  { font-size: 15px; }
    .logo-icon  { font-size: 17px; }
    .menu-toggle { padding: 6px 8px; font-size: 16px; }

    .about-image #carousel { height: 260px; }

    .contact-modal { padding: 24px 20px; }
    .contact-modal h2 { font-size: 22px; }

    .social-icons-grid { gap: 14px; }
    .social-icons-grid a { padding: 20px 14px; }
    .social-icons-grid a i { font-size: 34px; }

    :root {
        --slide-width: 220px;
        --slide-height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .btn { font-size: 12px; padding: 12px 20px; }

    /* Menú móvil más compacto */
    .mobile-menu { width: 85vw; right: -90vw; }
    .mobile-menu.active { right: 0; }
    .mobile-menu-header { padding: 16px 18px; }
    .mobile-menu-title  { font-size: 12px; letter-spacing: 1px; gap: 8px; }
    .mobile-menu-title i { font-size: 14px; }
    .mobile-menu-close  { width: 32px; height: 32px; font-size: 14px; }
    .mobile-nav-link    { padding: 14px 18px; font-size: 12px; gap: 14px; }
    .mobile-nav-link i:first-child { font-size: 16px; width: 20px; }
    .mobile-nav-link:hover { padding-left: 22px; }
    .mobile-menu-footer { padding: 16px 18px; }
    .mobile-menu-footer span  { font-size: 13px; }
    .mobile-menu-footer small { font-size: 10px; }

    :root {
        --slide-width: 170px;
        --slide-height: 110px;
    }
}

@media (max-width: 400px) {
    .header-actions .btn-primary {
        padding: 6px 9px;
        font-size: 11px;
        max-width: 105px;
    }
    .header-actions .btn-primary i { display: none; }
    .logo-text   { font-size: 13.5px; }
    .logo-icon   { font-size: 15px; }
    .menu-toggle { padding: 5px 7px; font-size: 15px; }

    .about-image #carousel { height: 220px; }
}

@media (max-width: 360px) {
    .mobile-menu { width: 88vw; right: -93vw; }
    .mobile-menu.active { right: 0; }
    .mobile-nav-link { padding: 13px 14px; font-size: 11px; gap: 12px; }
    .mobile-nav-link i:first-child { font-size: 15px; width: 18px; }
    .mobile-nav-link:hover { padding-left: 18px; }
    .mobile-menu-header  { padding: 14px 14px; }
    .mobile-menu-title   { font-size: 11px; }
    .mobile-menu-footer  { padding: 14px 14px; }

    .logo-text  { font-size: 13px !important; }
    .logo-icon  { width: 32px; height: 32px; font-size: 15px !important; }

    .header-actions .btn-primary {
        padding: 6px 8px !important;
        font-size: 10px !important;
        max-width: 85px !important;
    }
    .menu-toggle {
        padding: 5px 7px !important;
        font-size: 15px !important;
    }

    .hero-title    { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-badge    { font-size: 10px; padding: 6px 14px; }

    .section-title    { font-size: 24px; }
    .section-subtitle { font-size: 13px; }

    .filter-btn { font-size: 10px; padding: 7px 12px; gap: 5px; }

    .footer-bottom { font-size: 11px; }

    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        right: 10px !important;
        bottom: 10px !important;
    }
}

/* =================================================================
   MODAL DE IMAGEN AMPLIADA
   ================================================================= */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.image-zoom-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-zoom-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoomed-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom-overlay.active .zoomed-image {
    transform: scale(1);
    opacity: 1;
}

.image-zoom-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(243, 156, 18, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.image-zoom-close:hover {
    background: var(--accent-hover);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px var(--accent-glow);
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Efecto hover en las imágenes del carrusel */
.carousel-slide {
    cursor: pointer;
}

/* Icono de zoom al hacer hover */
.carousel-slide .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(243, 156, 18, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
    font-size: 24px;
    color: var(--primary);
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.5);
}

.carousel-slide:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.carousel-slide .slide-img {
    transition: var(--transition);
}

.carousel-slide:hover .slide-img {
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.5);
    filter: brightness(0.7);
}
