/* ========================================
   ARVDOM - Estilos Generales
======================================== */

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

:root {
    --color-primary: #1e3a8a;
    --color-secondary: #00bcd4;
    --color-dark: #0f1f4d;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}

/* ========================================
   HEADER Y NAVEGACIÓN
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px 80px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    transition: var(--transition);
}

.header.scrolled .logo {
    height: 50px;
}

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

.nav a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--color-secondary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 15px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: none;
}

.dropdown-item::after {
    display: none;
}

.dropdown-item:hover {
    background: var(--color-light);
    color: var(--color-secondary);
    padding-left: 30px;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.btn-header {
    background: linear-gradient(135deg, var(--color-secondary), #22d3ee);
    color: var(--color-white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.btn-header::after {
    display: none;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

/* Mobile Menu - OCULTO EN DESKTOP */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 50%, var(--color-dark) 100%);
    position: relative;
    overflow: hidden;
    align-items: center;
    padding: 150px 80px 80px;
    display: grid;
    background-image: url('../img/HOME.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.36) 60%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow:
        inset 0 80px 120px rgba(0,0,0,.35),
        inset 0 -120px 180px rgba(0,0,0,.45),
        inset 120px 0 160px rgba(0,0,0,.25),
        inset -120px 0 160px rgba(0,0,0,.25);
    pointer-events: none;
    z-index: 0;
}

.hero .container,
.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1, .hero h2 {
    text-shadow: 0 6px 20px rgba(0,0,0,.45);
}

.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.network-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    height: 2px;
    animation: moveNetwork 8s linear infinite;
}

@keyframes moveNetwork {
    0% { transform: translateX(-100%) translateY(0); }
    100% { transform: translateX(200%) translateY(50px); }
}

.network-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-secondary);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    max-width: 700px;
}

h1 {
    font-size: 56px;
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-text .highlight {
    color: var(--color-secondary);
    display: block;
    font-size: 64px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ========================================
   HERO SERVICE
======================================== */
.hero-service {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 160px 10% 100px;
}

.hero-service::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 77, 0.35);
    box-shadow:
        inset 0 80px 120px rgba(0, 0, 0, 0.35),
        inset 0 -120px 180px rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-service-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    color: #fff;
    padding-top: 60px;
    animation: fadeInLeft 1.2s ease-out both;
}

.hero-service-content h1 {
    font-size: 54px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

.hero-service-content p {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* ========================================
   BOTONES
======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), #22d3ee);
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
    padding: 18px 45px;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   SECCIONES
======================================== */

section {
    padding: 100px 80px;
}

.section-light {
    background: var(--color-light);
}

.section-dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-title {
    font-size: 42px;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   FEATURES / ICONOS
======================================== */

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary), #22d3ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-white);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   SERVICIOS GRID
======================================== */

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

.service-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.2);
    border-color: var(--color-secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-secondary);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--color-dark);
    padding: 60px 80px 30px;
    color: var(--color-white);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 350px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-links svg {
    fill: var(--color-secondary);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: var(--color-white);
}

.social-link[aria-label="WhatsApp"] {
    background: #25d366 !important;
    border-color: #25d366 !important;
}

.social-link[aria-label="WhatsApp"]:hover {
    color: var(--color-white);
    background: #128C7E !important;
    border-color: #128C7E !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

/* ========================================
   FAQ
======================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    overflow: hidden;
}

.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 22px;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: var(--color-secondary);
    transition: transform .25s ease;
}

.faq-item[open] > summary {
    color: var(--color-secondary);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.faq-item[open] > summary svg {
    transform: rotate(180deg);
}

.faq-content {
    padding: 18px 22px 22px;
    color: var(--color-text-light);
    line-height: 1.7;
    animation: faqOpen .25s ease;
}

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

/* ========================================
   CTA CON FONDO
======================================== */
.section-cta-bg {
    background-image: url('../img/Infraestructura.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
    position: relative;
    z-index: 1;
}

.section-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 14, 34, 0.55);
    z-index: -1;
}

/* ========================================
   PARTNER SLIDER
======================================== */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-slider {
    margin: 50px 0;
    overflow: hidden;
    padding: 20px 0;
    background: var(--color-light);
}

.partner-slide-track {
    display: flex;
    width: calc(200px * 8);
    animation: slide 30s linear infinite;
    white-space: nowrap;
}

.partner-logo {
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: var(--transition);
    flex-shrink: 0;
}

.partner-slider:hover .partner-slide-track {
    animation-play-state: paused;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-img {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .header,
    section,
    .footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   🔥 RESPONSIVE MÓVIL - CORRECCIONES
======================================== */
@media (max-width: 768px) {
    
    /* ===== HEADER MÓVIL ===== */
    .header {
        padding: 15px 20px !important;
    }
    
    .header.scrolled {
        padding: 12px 20px !important;
    }
    
    .logo {
        height: 45px !important;
    }
    
    .header.scrolled .logo {
        height: 40px !important;
    }
    
    /* ===== BOTÓN HAMBURGUESA ===== */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* ===== MENÚ LATERAL ===== */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85vw;
        max-width: 350px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    
    .nav.active {
        right: 0 !important;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
        width: 100%;
        font-size: 15px;
    }
    
    .nav a::after {
        display: none;
    }
    
    /* ===== DROPDOWN MÓVIL ===== */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(30, 58, 138, 0.03) !important;
        border-radius: 0 !important;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 600px;
    }
    
    .dropdown.active .arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 12px 20px !important;
        font-size: 14px !important;
        border-left: 3px solid transparent;
    }
    
    .dropdown-item:hover {
        padding-left: 25px !important;
        border-left-color: var(--color-secondary);
        background: rgba(0, 188, 212, 0.08) !important;
    }
    
    .btn-header {
        width: 100%;
        text-align: center;
        margin-top: 20px;
        padding: 15px 30px !important;
    }
    
    /* ===== OVERLAY ===== */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* ===== HERO MÓVIL ===== */
    .hero {
        min-height: 70vh;
        padding: 100px 20px 50px !important;
        background-position: 40% center;
    }
    
    h1 {
        font-size: 32px !important;
        line-height: 1.3;
    }
    
    .hero-text .highlight {
        font-size: 38px !important;
    }
    
    .hero-subtitle {
        font-size: 17px !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 15px 30px !important;
        font-size: 16px !important;
    }
    
    /* ===== HERO SERVICE MÓVIL ===== */
    .hero-service {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 120px 20px 60px !important;
        min-height: 60vh;
    }
    
    .hero-service-content {
        max-width: 100%;
        padding-top: 0;
        animation: fadeInUp 1s ease-out both;
    }
    
    .hero-service-content h1 {
        font-size: 32px !important;
    }
    
    .hero-service-content p {
        font-size: 17px !important;
    }
    
    /* ===== SECCIONES MÓVIL ===== */
    section {
        padding: 60px 20px !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 15px !important;
    }
    
    /* ===== GRIDS MÓVIL ===== */
    .features-container,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-title {
        font-size: 20px !important;
    }
    
    /* ===== FOOTER MÓVIL ===== */
    .footer {
        padding: 40px 20px 20px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 35px;
        text-align: center;
    }
    
    .footer-logo {
        width: 250px !important;
        margin: 0 auto 15px;
    }
    
    .footer-links li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    /* ===== FAQ MÓVIL ===== */
    .faq-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* ===== TEXTOS RESPONSIVE ===== */
    h1, h2, h3, h4, h5, h6, p, span, div, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
    h1 {
        font-size: 26px !important;
    }
    
    .hero-text .highlight {
        font-size: 32px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .nav {
        width: 90vw;
    }


}.caracteristicas-grid {
    display: grid;
    grid-template-columns: 1fr; /* UNA columna */
    gap: 40px;
    align-items: start;
}

.caracteristicas-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.caracteristicas-card h3 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.caracteristicas-card ul {
    list-style: none;
    padding: 0;
}

.caracteristicas-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
@media (min-width: 1024px) {

    .caracteristicas-grid {
        grid-template-columns: 1.1fr 0.9fr; /* texto más ancho */
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

}
/* ... Tus estilos de procesos y caracteristicas-card ... */

/* =========================================
   ESTILOS ESCRITORIO (> 768px)
   Aplica el diseño de 2 COLUMNAS para .caracteristicas-grid
========================================= */
@media screen and (min-width: 769px) {
    .caracteristicas-grid {
        /* Esto fuerza las dos columnas en PC */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }
}

/* =========================================
   ESTILOS PROCESO DE TRABAJO
========================================= */

/* Estilo por defecto (Escritorio y Tablet grande: 5 columnas) */
.proceso-grid {
    display: grid;
    /* La regla original que pusiste en el HTML: 5 columnas iguales */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
}

/* =========================================
   MEDIA QUERY PARA MÓVILES
========================================= */
@media screen and (max-width: 768px) {
    
    /* Regla responsiva: APILAR los 5 pasos en 1 columna en móvil */
    .proceso-grid {
        grid-template-columns: 1fr !important; /* ¡CRUCIAL! Ahora solo 1 columna */
        gap: 30px; /* Un poco más de espacio vertical */
    }

    /* Opcional: Centrar el texto para que se vea mejor apilado */
    .proceso-grid > div {
        padding: 0 10px; /* Reducir padding horizontal si es necesario */
    }
}



/* =========================================
   ESTILOS ESPECÍFICOS PARA CARACTERÍSTICAS (3 COLUMNAS)
========================================= */

/* Estilo por defecto (Escritorio: 3 columnas) */
.caracteristicas-grid {
    display: grid;
    /* Define 3 columnas iguales para escritorio */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Espacio entre las columnas y filas */
    margin-top: 30px;
}

/* =========================================
   MEDIA QUERY PARA MÓVILES
========================================= */
@media screen and (max-width: 768px) {
    
    /* Regla responsiva: APILAR los elementos en 1 columna en móvil */
    .caracteristicas-grid {
        /* Sobrescribe el valor de escritorio y fuerza 1 columna */
        grid-template-columns: 1fr !important; 
        gap: 25px; 
    }

    /* Opcional: Asegura que la tarjeta individual ocupe todo el ancho */
    .caracteristicas-grid > div {
        padding: 0 10px; 
        text-align: center;
    }
}
/* =========================================
   ESTILOS MÉTODO DE TRABAJO (5 COLUMNAS - PC)
========================================= */
.metodo-grid {
    display: grid;
    /* Define 5 columnas de ancho igual para PC */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; /* Espacio entre las tarjetas */
    margin-top: 40px;
    text-align: center;
}

/* =========================================
   MEDIA QUERY PARA MÓVILES (MÁXIMO 768px)
========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. APILAR: El layout de 5 columnas se convierte en 1 columna */
    .metodo-grid {
        /* Fuerza 1 columna en móvil, apilando los elementos verticalmente */
        grid-template-columns: 1fr !important; 
        gap: 30px; /* Espacio vertical entre los círculos/tarjetas apiladas */
        padding: 0 15px;
    }
    
    /* 2. CENTRAR el texto y el círculo en móvil */
    .metodo-grid > div {
        text-align: center;
    }
    
    /* 3. Asegura que el círculo ocupe un ancho razonable */
    .metodo-grid .circulo-paso {
        margin: 0 auto 15px; /* Centrar el círculo si es necesario */
    }
}
/* =========================================
   ESTILOS GRID DE INDUSTRIAS (Nueva Clase)
========================================= */

/* ESTILO BASE (Por defecto: Móvil - 1 Columna) */
.industrias-grid {
    display: grid;
    /* Por defecto, 1 columna y espaciado para móvil */
    grid-template-columns: 1fr; 
    gap: 20px; 
    padding: 0 15px; /* Margen lateral en móvil */
    margin-bottom: 60px;
}

/* =========================================
   MEDIA QUERY PARA ESCRITORIO (Mínimo 769px)
   Esto AÑADE las 4 columnas SÓLO en PC (IMG 1).
========================================= */
@media screen and (min-width: 769px) {
    .industrias-grid {
        /* Fuerza 4 columnas SOLO en escritorio */
        grid-template-columns: repeat(4, 1fr); 
        gap: 30px; 
        padding: 0; /* Quitar el margen lateral de móvil */
    }
}
/* =========================================
   ESTILOS SECCIÓN EXPERIENCIA (Nueva Clase)
========================================= */

/* ESTILO BASE (Por defecto: Móvil - 1 Columna, Apilado) */
.experiencia-grid {
    display: grid;
    grid-template-columns: 1fr; /* Apilado en móvil */
    gap: 40px; /* Espacio vertical en móvil */
    padding: 0 15px; /* Margen lateral en móvil */
}

/* Manejar la tarjeta de estadísticas en móvil: Hacerla estática */
.tarjeta-stats {
    /* Anula el position: absolute de PC y la hace estática en el flujo */
    position: static !important; 
    margin: 40px auto 0; /* Espacio y centrado debajo de la imagen */
    max-width: 90%; /* Ajusta el ancho para móvil */
}

/* =========================================
   MEDIA QUERY PARA ESCRITORIO (Mínimo 769px)
   Esto AÑADE el layout de 2 columnas para PC (IMG 1)
========================================= */
@media screen and (min-width: 769px) {
    /* 1. Fuerza 2 columnas en PC */
    .experiencia-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 80px; 
        align-items: center;
        padding: 0;
    }

    /* 2. Restablece la posición absoluta de la tarjeta en PC */
    .tarjeta-stats {
        /* Restaura los valores originales de PC */
        position: absolute;
        bottom: -80px;
        right: -60px;
        margin: 0; /* Quita el margen de móvil */
        max-width: 300px; /* Restaura el ancho */
    }
}
/* =========================================
   ESTILOS SECCIÓN AUTOMATIZACIÓN INTELIGENTE (Nueva Clase)
========================================= */

/* ESTILO BASE (Por defecto: Móvil - 1 Columna, Apilado) */
.automatizacion-grid {
    display: grid;
    /* Por defecto, 1 columna (Móvil) */
    grid-template-columns: 1fr; 
    gap: 30px; /* Espacio vertical en móvil */
    padding: 0 15px; /* Margen lateral en móvil */
}

/* Ajuste para el padding de la sección en móvil (si es necesario) */
#detalles {
    padding: 40px 0; /* Reduce el padding de la sección completa en móvil */
}


/* =========================================
   MEDIA QUERY PARA ESCRITORIO (Mínimo 769px)
   Esto AÑADE el layout de 2 columnas para PC
========================================= */
@media screen and (min-width: 769px) {
    /* 1. Fuerza 2 columnas en PC */
    .automatizacion-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 60px; 
        align-items: start;
        padding: 0;
    }
    
    /* Restaura el padding de la sección en PC */
    #detalles {
        padding: 100px 80px; 
    }
}
/* =========================================
   ESTILOS SECCIÓN STORAGE (Nueva Clase)
========================================= */

/* ESTILO BASE (Por defecto: Móvil - 1 Columna, Apilado) */
.storage-grid {
    display: grid;
    /* Por defecto, 1 columna (Móvil) */
    grid-template-columns: 1fr; 
    gap: 30px; /* Espacio vertical en móvil */
    padding: 0 15px; /* Margen lateral en móvil */
}

/* =========================================
   MEDIA QUERY PARA ESCRITORIO (Mínimo 769px)
   Esto AÑADE el layout de 3 columnas para PC
========================================= */
@media screen and (min-width: 769px) {
    /* 1. Fuerza 3 columnas en PC */
    .storage-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px; /* Espacio horizontal original de PC */
        padding: 0;
    }
}