/* ==========================================================================
   MARCAIDEAS - HOJA DE ESTILOS MAESTRA
   ========================================================================== */

/* --- 1. VARIABLES GLOBALES --- */
:root {
    --color-primario: #0C0B34; /* Fondo azul marino */
    --color-acento: #ebaa24;   /* Amarillo corporativo */
    --color-cyan: #6de0f6;     /* Azul claro de botones */
    --color-rosa: #d0098d;     /* Rosa de botones */
    --fuente: 'Roboto', sans-serif;
    --fuente-titulos: 'Impact', 'Roboto', sans-serif;
}

/* --- 2. RESET Y TIPOGRAFÍA BÁSICA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fuente); color: #333; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Contenedores y Grids Generales */
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 5%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #202124; font-weight: 500;}
.grid { display: grid; gap: 30px; }
.grid-3 { 
    grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas exactas siempre */
    align-items: stretch; /* Asegura que todas las tarjetas midan lo mismo de alto */
}

/* ==========================================================================
   3. NAVEGACIÓN (HEADER)
   ========================================================================== */
.navbar { background: #fff; padding: 10px 5%; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo-img { max-height: 56px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--color-acento); }

/* Menú Desplegable */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 200px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; border-top: 3px solid var(--color-acento); }
.dropdown-content a { color: black; padding: 12px 16px; display: block; }
.dropdown-content a:hover { background-color: #f1f1f1; }
.dropdown:hover .dropdown-content { display: block; }

/* Botón WhatsApp Superior */
.btn-whatsapp { background: var(--color-acento); color: #fff; padding: 10px 20px; border-radius: 25px; font-weight: 500; }
.btn-whatsapp:hover { background: #c98e16; }

/* ==========================================================================
   4. SLIDER PRINCIPAL (ESTABLE Y RESPONSIVE)
   ========================================================================== */
.myHeroSlider { width: 100%; height: 75vh; min-height: 600px; background: var(--color-primario); overflow: hidden; position: relative;}
.swiper-slide { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;}

.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; opacity: 0.3; transition: transform 8s ease-out; }
.swiper-slide-active .slide-bg { transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: rgba(12,11,52,0.3); z-index: 2; pointer-events: none;}
.slider-bottom-fade { position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: linear-gradient(to bottom, rgba(12,11,52,0) 0%, rgba(12,11,52,1) 100%); z-index: 20; pointer-events: none;}

/* Contenedor a 2 Columnas */
.slide-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 5%; position: relative; z-index: 10; height: 100%;}

/* Columna Izquierda (Visuales) */
.slide-visuals { width: 50%; position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.visual-main { max-width: 100%; z-index: 12; opacity: 0; position: relative;}
.visual-float { position: absolute; z-index: 13; opacity: 0; pointer-events: none;}

/* Columna Derecha (Textos) */
.slide-text { width: 50%; text-align: left; padding-left: 40px; }
.slide-text h1 { font-family: var(--fuente-titulos); font-size: 4rem; color: var(--color-cyan); letter-spacing: 2px; margin-bottom: 20px; line-height: 1.1; text-transform: uppercase; opacity: 0; }
.slide-text p.desc { font-size: 1.2rem; margin-bottom: 30px; font-weight: 400; color: #fff; opacity: 0; }
.slide-text .hero-subtext { font-size: 0.95rem; color: #ccc; font-style: italic; opacity: 0; margin-top: 20px;}

/* Botones del Hero */
.hero-buttons { display: flex; gap: 20px; opacity: 0; }
.btn-hero, .btn-hero-alt { border-radius: 25px; padding: 12px 35px; font-weight: 500; font-size: 16px; border: none; cursor: pointer; display: inline-block; text-align: center;}
.btn-hero { background: var(--color-cyan); color: #fff; box-shadow: 0 5px 25px rgba(109,224,246,0.3); }
.btn-hero-alt { background: var(--color-rosa); color: #fff; box-shadow: 0 5px 25px rgba(208,9,141,0.36); }
.btn-hero:hover, .btn-hero-alt:hover { filter: brightness(1.2); transform: translateY(-3px); color: #fff;}

/* --- Animaciones en Cascada (Slider) --- */
@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.8) translateY(30px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

/* Animaciones de Levitación (Agregamos opacity: 1 para que no desaparezcan al flotar) */
@keyframes floatFast { 0%, 100% { transform: translateY(0px); opacity: 1; } 50% { transform: translateY(-15px); opacity: 1; } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0px); opacity: 1; } 50% { transform: translateY(-25px); opacity: 1; } }
@keyframes floatX { 0%, 100% { transform: translateX(0px); opacity: 1; } 50% { transform: translateX(20px); opacity: 1; } }

/* Disparadores Slider Activo (Textos e Imagen Principal) */
.swiper-slide-active .slide-text h1 { animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s; }
.swiper-slide-active .slide-text p.desc { animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s; }
.swiper-slide-active .hero-buttons { animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.6s; }
.swiper-slide-active .slide-text .hero-subtext { animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.8s; }
.swiper-slide-active .visual-main { animation: popIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s; }

/* Posicionamiento Exacto de Imágenes Flotantes (Tallas y Coordenadas sin animación aquí) */
.pc-img { width: 110%; margin-left: -5%; }
.esfera-img { width: 90px; top: -5%; right: 15%; }
.cubo-img { width: 60px; bottom: 5%; left: 0%; }
.marco-img { width: 120px; top: -10%; left: 10%; z-index: 11; }
.foco-img { width: 80px; bottom: -10%; right: 5%; }
.cubo-grande-img { width: 90px; top: 30%; right: -5%; }
.pluma-img { width: 140px; bottom: 20%; left: -10%; }

.ventanas-img { width: 85%; }
.emoji-img { width: 120px; top: 10%; left: -5%; }
.comentario-img { width: 150px; bottom: -5%; right: 0%; }
.iman-img { width: 100px; top: -5%; right: 10%; z-index: 11; }

.cloud-img { width: 100%; margin-top: 50px; }
.block-1 { width: 80px; top: 10%; right: 20%; }
.block-2 { width: 100px; bottom: 25%; left: 15%; }
.block-3 { width: 120px; top: 30%; left: 0%; z-index: 11; }
.block-4 { width: 70px; bottom: 10%; right: 10%; }
.block-5 { width: 90px; top: -5%; left: 30%; }

/* =======================================================
   MAGIA: DOBLE ANIMACIÓN EN CASCADA
   Primero entran (popIn) y al terminar el tiempo, empiezan a flotar.
   ======================================================= */
/* SLIDE 1 */
.swiper-slide-active .esfera-img { animation: popIn 0.8s forwards 0.6s, floatSlow 4s ease-in-out infinite 1.4s; }
.swiper-slide-active .cubo-img { animation: popIn 0.8s forwards 0.6s, floatFast 3s ease-in-out infinite 1.4s; }
.swiper-slide-active .marco-img { animation: popIn 0.8s forwards 0.6s, floatSlow 5s ease-in-out infinite 1.4s; }
.swiper-slide-active .foco-img { animation: popIn 0.8s forwards 0.6s, floatFast 3.5s ease-in-out infinite 1.4s; }
.swiper-slide-active .cubo-grande-img { animation: popIn 0.8s forwards 0.6s, floatX 4.5s ease-in-out infinite 1.4s; }
.swiper-slide-active .pluma-img { animation: popIn 0.8s forwards 0.6s, floatX 5s ease-in-out infinite 1.4s; }

/* SLIDE 2 */
.swiper-slide-active .emoji-img { animation: popIn 0.8s forwards 0.6s, floatSlow 4s ease-in-out infinite 1.4s; }
.swiper-slide-active .comentario-img { animation: popIn 0.8s forwards 0.6s, floatFast 3.5s ease-in-out infinite 1.4s; }
.swiper-slide-active .iman-img { animation: popIn 0.8s forwards 0.6s, floatX 4s ease-in-out infinite 1.4s; }

/* SLIDE 3 */
.swiper-slide-active .block-1 { animation: popIn 0.8s forwards 0.6s, floatSlow 3s ease-in-out infinite 1.4s; }
.swiper-slide-active .block-2 { animation: popIn 0.8s forwards 0.6s, floatFast 4s ease-in-out infinite 1.4s; }
.swiper-slide-active .block-3 { animation: popIn 0.8s forwards 0.6s, floatX 5s ease-in-out infinite 1.4s; }
.swiper-slide-active .block-4 { animation: popIn 0.8s forwards 0.6s, floatSlow 3.5s ease-in-out infinite 1.4s; }
.swiper-slide-active .block-5 { animation: popIn 0.8s forwards 0.6s, floatFast 4.5s ease-in-out infinite 1.4s; }

/* Controles Swiper */
.swiper-button-next, .swiper-button-prev { color: rgba(255,255,255,0.3) !important; transition: 0.3s; z-index: 30;}
.swiper-button-next:hover, .swiper-button-prev:hover { color: #fff !important; }
.swiper-pagination { z-index: 30 !important; bottom: 20px !important;}
.swiper-pagination-bullet { background: #fff !important; opacity: 0.3; }
.swiper-pagination-bullet-active { background: var(--color-cyan) !important; opacity: 1;}

/* ==========================================================================
   5. SECCIÓN: ¿POR QUÉ ELEGIRNOS?
   ========================================================================== */
.section-elegirnos { background-color: var(--color-primario); padding-top: 60px; padding-bottom: 80px; color: #fff; }
.header-elegirnos { text-align: center; margin-bottom: 40px; }
.header-elegirnos .section-title { color: #fff; margin-bottom: 10px; }
.divider { width: 60px; height: 3px; background-color: var(--color-acento); border: none; margin: 0 auto 30px auto; }

.icon-box { background: transparent; padding: 0 15px; text-align: center; display: flex; flex-direction: column; align-items: center;}
.icon-link { display: block; color: inherit; text-decoration: none; transition: transform 0.3s ease; }
.icon-link:hover { transform: translateY(-5px); }
.icon-box .image_wrapper { margin-bottom: 20px; height: 100px; display: flex; align-items: center; justify-content: center;}
.icon-box .image_wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.icon-box .desc_wrapper .title { font-size: 1.3rem; color: #fff; margin-bottom: 15px; font-weight: 500; }
.icon-box .desc_wrapper .desc p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   6. SECCIÓN: SERVICIOS (REPARADA: GRID + RECORTES EXACTOS)
   ========================================================================== */
.section-servicios { padding-top: 60px; padding-bottom: 80px; background-color: #f9f9f9; }
.header-servicios { text-align: center; margin-bottom: 40px; }
.header-servicios .section-title { margin-bottom: 0; }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    max-width: 100%; 
}

.service-item { 
    position: relative; 
    overflow: hidden; 
    border-radius: 8px; 
    display: block; 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.service-item:hover img { transform: scale(1.1); }

.service-caption { 
    position: absolute; 
    bottom: -60px;
    left: 0; 
    width: 100%; 
    background: rgba(12, 11, 52, 0.85); 
    color: #fff; 
    text-align: center; 
    padding: 15px 10px; 
    transition: bottom 0.3s ease; 
    box-sizing: border-box; 
}

.service-item:hover .service-caption { bottom: 0; }
.service-caption span { font-weight: 500; font-size: 1.1rem; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer { background: var(--color-primario); color: #fff; padding: 60px 5% 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px;}
.footer-col h4 { margin-bottom: 20px; font-size: 1.2rem; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a:hover { color: var(--color-acento); }

.btn-footer { background: var(--color-rosa); color: #fff; border-radius: 0; padding: 10px 20px; display: inline-block; font-weight: 500;}
.btn-footer:hover { background: #b00878; color: #fff;}

.social-col { display: flex; gap: 15px; align-items: flex-start; }
.social-col a { color: var(--color-acento); font-size: 1.5rem; transition: 0.3s;}
.social-col a:hover { transform: translateY(-3px); filter: brightness(1.2);}
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; text-align: center; font-size: 0.9rem; color: #aaa; }

/* FLOTANTE WHATSAPP */
.float-whatsapp { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; transition: 0.3s;}
.float-whatsapp:hover { background: #1ebe57; transform: scale(1.1);}

/* ==========================================================================
   8. ANIMACIONES Y SCROLL BÁSICO
   ========================================================================== */
.animated { animation-duration: 1s; animation-fill-mode: both; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.fadeInDown { animation-name: fadeInDown; }
.fadeInUp { animation-name: fadeInUp; }
.scroll-animated { opacity: 0; }
.scroll-animated.animate__animated { opacity: 1; animation-name: fadeInUp; }

/* ==========================================================================
   9. RESPONSIVE (MÓVILES)
   ========================================================================== */
@media (max-width: 900px) {
    /* Navbar */
    .nav-links { display: none; }
    
    /* Slider */
    .myHeroSlider { height: auto; min-height: 80vh; padding-top: 20px; padding-bottom: 40px;} 
    .slide-inner { flex-direction: column; text-align: center; justify-content: center; padding-top: 20px;}
    
    /* Imágenes principales en móvil */
    .slide-visuals { width: 100%; height: 250px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center;}
    .visual-main { position: relative; max-width: 80%; max-height: 100%; object-fit: contain; }
    .pc-img, .ventanas-img, .cloud-img { width: auto; margin: 0; }
    
    /* Ocultar elementos flotantes en celular para limpieza visual */
    .visual-float { display: none !important; }
    
    /* Textos en móvil */
    .slide-text { width: 100%; padding-left: 0; text-align: center; z-index: 15;}
    .slide-text h1 { font-size: 2.8rem; margin-bottom: 15px;}
    .slide-text p.desc { font-size: 1.05rem; margin-bottom: 20px;}
    .hero-buttons { justify-content: center; flex-direction: column; gap: 15px; }
    .btn-hero, .btn-hero-alt { width: 80%; margin: 0 auto; }

    /* Grids a 1 sola columna en móviles */
    .grid-3 { grid-template-columns: 1fr; } 
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    
    /* Footer */
    .footer-grid { text-align: center; }
    .social-col { justify-content: center; }
}

/* ==========================================================================
   10. PÁGINAS INTERNAS (SOBRE NOSOTROS, SERVICIOS)
   ========================================================================== */

/* Hero Secundario (Título superior) */
.page-hero { 
    background: var(--color-primario); 
    padding: 60px 0; 
    text-align: center; 
    border-bottom: 5px solid var(--color-acento);
}
.page-title { 
    font-size: 3rem; 
    color: #fff; 
    font-family: var(--fuente-titulos);
    letter-spacing: 1px;
}

/* Sección de Historia */
.grid-2-columns { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    gap: 50px; 
    align-items: center; 
}
.historia-texto p { margin-bottom: 15px; font-size: 1.1rem; color: #555;}

/* Tarjetas de Valores */
.valores-grid { 
    background: #0C0B34; 
    padding: 40px; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.valor-card { 
    background: rgba(255,255,255,0.05); 
    color: #fff; 
    padding: 15px 20px; 
    margin-bottom: 15px; 
    border-left: 4px solid var(--color-acento); 
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 15px;
    transition: 0.3s;
}
.valor-card:hover { background: rgba(255,255,255,0.1); transform: translateX(10px);}
.valor-card i { color: var(--color-cyan); font-size: 1.5rem;}

/* Carrusel Infinito de Clientes (CSS Puro) */
.section-clientes { padding-top: 60px; padding-bottom: 60px; background: #f9f9f9; overflow: hidden;}
.logos-slider { width: 100%; overflow: hidden; position: relative;}
.logos-slider::before, .logos-slider::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
}
.logos-slider::before { left: 0; background: linear-gradient(to right, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%); }
.logos-slider::after { right: 0; background: linear-gradient(to left, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%); }

.logos-slide-track {
    display: flex;
    width: calc(150px * 15); /* Ancho total de logos */
    animation: scrollLogos 20s linear infinite;
    gap: 30px;
}
.logos-slide-track img {
    width: 150px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}
.logos-slide-track img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 11)); /* Mueve los logos originales */ }
}

@media (max-width: 900px) {
    .grid-2-columns { grid-template-columns: 1fr; }
    .page-title { font-size: 2.2rem; }
    .valores-grid { padding: 25px; }
}

/* ==========================================================================
   11. PÁGINA: DISEÑO WEB (TARJETAS PREMIUM DE SERVICIOS)
   ========================================================================== */

.section-pricing {
    padding-top: 80px;
    padding-bottom: 100px;
    background: #f4f5f9; /* Un gris aún más elegante y sutil */
}

/* Categorías y Separadores */
.pricing-category { margin-bottom: 60px; }
.category-header { text-align: center; margin-bottom: 50px; }
.category-header h2 { font-size: 2.2rem; color: var(--color-primario); margin-bottom: 10px; font-weight: 700;}
.category-header p { color: #666; font-size: 1.1rem; }

.elegant-divider { border: 0; height: 1px; background: linear-gradient(to right, transparent, #ccc, transparent); margin: 60px 0; }

/* Grid de 2 Columnas (Permite que respiren los textos) */
.pricing-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Diseño de la Tarjeta Premium (Dark Mode) */
.premium-card {
    background: var(--color-primario); /* Usamos tu azul oscuro corporativo */
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(12, 11, 52, 0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
}

.premium-card:hover { transform: translateY(-15px); }

/* Cinta de "Más Popular" */
.card-ribbon {
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--color-acento);
    color: #000;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    letter-spacing: 1px;
}

/* Cabeceras con Efecto Glow */
.premium-header {
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.premium-header h3 { font-size: 1.8rem; color: #fff; margin-bottom: 15px; font-family: var(--fuente-titulos); letter-spacing: 1px; font-weight: 400;}

.cyan-glow { background: radial-gradient(circle at top, rgba(109,224,246,0.15) 0%, transparent 70%); }
.rosa-glow { background: radial-gradient(circle at top, rgba(208,9,141,0.2) 0%, transparent 70%); }
.gold-glow { background: radial-gradient(circle at top, rgba(235,170,36,0.15) 0%, transparent 70%); }

.delivery-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #ccc;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-style: italic;
}

/* Lista de Beneficios */
.premium-features {
    padding: 40px 30px;
    flex-grow: 1;
    list-style: none;
}

.premium-features li {
    color: #d1d1d1;
    font-size: 0.95rem;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

/* Puntos clave resaltados */
.premium-features li.highlight { color: #fff; font-weight: 500; }

.premium-features li i {
    font-size: 1rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

/* Colores de íconos según tarjeta */
.cyan-glow ~ .premium-features li i { color: var(--color-cyan); }
.rosa-glow ~ .premium-features li i { color: var(--color-rosa); }
.gold-glow ~ .premium-features li i { color: var(--color-acento); }

/* Pie de Tarjeta y Botones */
.premium-footer {
    padding: 0 30px 40px;
    text-align: center;
}

.btn-cyan-outline {
    display: block; width: 100%; padding: 15px 0; border-radius: 30px;
    border: 2px solid var(--color-cyan); color: var(--color-cyan);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-cyan-outline:hover { background: var(--color-cyan); color: #000; box-shadow: 0 0 20px rgba(109,224,246,0.4); }

.btn-rosa-solid {
    display: block; width: 100%; padding: 15px 0; border-radius: 30px;
    background: var(--color-rosa); color: #fff; border: 2px solid var(--color-rosa);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-rosa-solid:hover { background: #a1066c; border-color: #a1066c; box-shadow: 0 0 20px rgba(208,9,141,0.5); }

.btn-gold-outline {
    display: block; width: 100%; padding: 15px 0; border-radius: 30px;
    border: 2px solid var(--color-acento); color: var(--color-acento);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-gold-outline:hover { background: var(--color-acento); color: #000; box-shadow: 0 0 20px rgba(235,170,36,0.4); }

/* ==========================================================================
   RESPONSIVE PARA PÁGINA DE PRECIOS
   ========================================================================== */
@media (max-width: 900px) {
    .pricing-grid-2 {
        grid-template-columns: 1fr; /* Pasa a 1 columna en celular */
        gap: 30px;
        padding: 0 10px;
    }
    
    .category-header h2 { font-size: 1.8rem; }
    .premium-card:hover { transform: translateY(-5px); /* Menos movimiento en táctil */ }
}

/* ==========================================================================
   12. PÁGINA: DISEÑO GRÁFICO (Y EXTRAS DE PRECIOS)
   ========================================================================== */

/* Grid de 3 Columnas para precios (Gráficos) */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Nuevos Botones Específicos */
.btn-gold-solid {
    display: block; width: 100%; padding: 15px 0; border-radius: 30px;
    background: var(--color-acento); color: #000; border: 2px solid var(--color-acento);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-gold-solid:hover { background: #d09418; border-color: #d09418; box-shadow: 0 0 20px rgba(235,170,36,0.5); }

.btn-rosa-outline {
    display: block; width: 100%; padding: 15px 0; border-radius: 30px;
    border: 2px solid var(--color-rosa); color: var(--color-rosa);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-rosa-outline:hover { background: var(--color-rosa); color: #fff; box-shadow: 0 0 20px rgba(208,9,141,0.4); }

/* Caja de Cláusulas de Desarrollo */
.clausulas-box {
    background: #0C0B34; /* Azul oscuro corporativo */
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-left: 5px solid var(--color-acento);
}

.clausulas-header { text-align: center; margin-bottom: 40px; }
.clausulas-header h3 { font-size: 2rem; color: var(--color-acento); font-family: var(--fuente-titulos); font-weight: 400; letter-spacing: 1px; margin-bottom: 10px;}
.clausulas-header p { color: #ccc; font-size: 1rem; }

.grid-3-clausulas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.clausula-item h4 {
    color: var(--color-cyan);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.clausula-item ul { list-style: none; }
.clausula-item ul li {
    font-size: 0.9rem;
    color: #d1d1d1;
    margin-bottom: 10px;
    line-height: 1.5;
}
.clausula-item ul li strong { color: #fff; }

/* Responsive Extra para Gráficos */
@media (max-width: 900px) {
    .pricing-grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .clausulas-box { padding: 30px 20px; }
}

/* ==========================================================================
   13. PÁGINA: DRONES (CARACTERÍSTICAS Y PROCESOS)
   ========================================================================== */

/* Introducción (Por qué Elegirnos) */
.section-intro { padding-top: 60px; padding-bottom: 60px; }
.intro-texto p { font-size: 1.1rem; color: #555; margin-bottom: 15px; line-height: 1.7;}

.why-choose-us {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--color-rosa);
}
.why-choose-us ul { list-style: none; }
.why-choose-us ul li {
    font-size: 1.1rem;
    color: var(--color-primario);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.why-choose-us ul li i {
    color: var(--color-acento);
    font-size: 1.3rem;
    margin-right: 15px;
}

/* Características Principales (Tarjetas con Íconos) */
.section-features { padding-top: 80px; padding-bottom: 80px; }
.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--color-cyan);
}
.feature-card:hover { transform: translateY(-10px); }

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(109,224,246,0.1);
    color: var(--color-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px auto;
}
.feature-card h4 { font-size: 1.3rem; color: var(--color-primario); margin-bottom: 15px; font-weight: 700;}
.feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6;}

/* ¿Cómo Funciona? (Línea de Tiempo de Pasos) */
.section-process {
    background: var(--color-primario); /* Azul oscuro */
    padding-top: 80px;
    padding-bottom: 100px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.step-box {
    width: 22%;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-acento);
    color: #fff;
    font-family: var(--fuente-titulos);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px rgba(235,170,36,0.5);
}

.step-content h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.step-content p { color: #ccc; font-size: 0.9rem; line-height: 1.5; }

.step-arrow {
    color: rgba(255,255,255,0.2);
    font-size: 2rem;
    margin-top: 20px; /* Alineado con el círculo numérico */
}

/* Responsive para la Línea de Tiempo y Drones */
@media (max-width: 900px) {
    .why-choose-us { padding: 25px; margin-top: 30px; }
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .step-box { width: 100%; margin-bottom: 30px; }
    .step-arrow { transform: rotate(90deg); margin: 0 0 30px 0; }
}
/* ==========================================================================
   14. PÁGINA DE PROYECTOS / PORTAFOLIO
   ========================================================================== */

.section-portfolio {
    padding-top: 60px;
    padding-bottom: 80px;
    background: #fdfdfd;
}

/* Filtros (Visuales) */
.portfolio-filters {
    margin-bottom: 40px;
}
.filter-btn {
    display: inline-block;
    padding: 8px 25px;
    border-radius: 25px;
    background: #eee;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}
.filter-btn.active {
    background: var(--color-cyan);
    color: #fff;
    box-shadow: 0 5px 15px rgba(109,224,246,0.3);
}

/* Grid del Portafolio: Ajuste Automático e Imágenes Cuadradas */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tarjeta de Proyecto */
.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Forza a que todas sean cuadradas perfectas */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta los bordes sin deformar */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover img {
    transform: scale(1.1); /* Efecto zoom al acercar el ratón */
}

/* Capa Oscura (Aparece al hacer Hover) */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 11, 52, 0.85); /* Azul oscuro corporativo con opacidad */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    visibility: visible;
}

/* Información del Proyecto (Textos) */
.portfolio-info {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: var(--color-acento);
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.portfolio-info p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.portfolio-link {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.portfolio-link:hover {
    background: #fff;
    color: var(--color-primario);
}

/* Responsive */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

/* ==========================================================================
   15. MODAL DE VIDEO Y PORTAFOLIO AUDIOVISUAL
   ========================================================================== */

/* Estilo para las tarjetas de video */
.video-trigger { 
    cursor: pointer; 
    border-bottom: 4px solid var(--color-acento);
}
.video-trigger .portfolio-overlay { 
    opacity: 1; /* Siempre visible pero oscuro */
    background: rgba(12, 11, 52, 0.5); 
}
.video-trigger:hover .portfolio-overlay { 
    background: rgba(12, 11, 52, 0.85); 
}
.video-trigger .portfolio-info {
    transform: translateY(0); /* Fijo en el centro */
}

/* Efecto de latido en el botón de play al hacer hover */
.video-trigger:hover .fa-play-circle {
    transform: scale(1.1);
    color: #fff !important;
    transition: 0.3s;
}

/* 2 Columnas Exactas para que los Videos se vean grandes y definidos */
.video-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ================== MODAL (POP-UP OSCURO) ================== */
.video-modal {
    display: none; /* Oculto por defecto */
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.95); /* Fondo casi negro */
    align-items: center; 
    justify-content: center;
    backdrop-filter: blur(5px);
}

.video-modal.active { 
    display: flex; 
    animation: fadeInModal 0.3s ease; 
}

/* Contenedor del Iframe 16:9 */
.video-modal-content {
    position: relative; 
    width: 90%; 
    max-width: 1000px;
    aspect-ratio: 16 / 9; 
    background: #000; 
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-content iframe {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: none;
}

/* Botón de Cerrar (X) */
.close-modal {
    position: absolute; 
    top: 20px; 
    right: 40px;
    color: #fff; 
    font-size: 50px; 
    font-weight: 300; 
    cursor: pointer; 
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover { color: var(--color-acento); transform: scale(1.1);}

@keyframes fadeInModal { from {opacity: 0;} to {opacity: 1;} }

/* ==========================================================================
   16. PÁGINA: CONTÁCTANOS Y FORMULARIO
   ========================================================================== */
.section-contacto { padding: 80px 0; background: #fdfdfd; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    border-top: 5px solid var(--color-cyan);
}

/* Columna Izquierda (Info) */
.contact-info-col {
    background: var(--color-primario);
    color: #fff;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.contact-info-col::before {
    content: ''; position: absolute; bottom: -50px; right: -50px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(109,224,246,0.1) 0%, transparent 70%); border-radius: 50%;
}

.contact-info-col h3 { font-size: 2rem; color: var(--color-cyan); margin-bottom: 20px; font-family: var(--fuente-titulos); letter-spacing: 1px; font-weight: 400; }
.contact-info-col p { color: #ccc; margin-bottom: 40px; font-size: 1.1rem; line-height: 1.6; }

.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item i { font-size: 1.5rem; color: var(--color-acento); margin-right: 20px; margin-top: 5px; }
.info-item h4 { font-size: 1.1rem; color: #fff; margin-bottom: 5px; }
.info-item p { margin-bottom: 0; font-size: 0.95rem; }
.info-item a { color: #ccc; }
.info-item a:hover { color: var(--color-cyan); }

.contact-social { margin-top: 50px; display: flex; gap: 15px; }
.contact-social a { width: 45px; height: 45px; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem; transition: 0.3s; }
.contact-social a:hover { background: var(--color-rosa); transform: translateY(-5px); }

/* Columna Derecha (Formulario) */
.contact-form-col { padding: 50px 40px; }
.contact-form-col h3 { font-size: 1.8rem; color: var(--color-primario); margin-bottom: 30px; font-weight: 700; }

.form-group { margin-bottom: 25px; position: relative; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 20px; border: 1px solid #ddd; border-radius: 8px;
    font-family: var(--fuente); font-size: 1rem; color: #333; background: #fcfcfc; transition: 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-cyan); background: #fff; box-shadow: 0 0 10px rgba(109,224,246,0.1); }
.form-group textarea { height: 150px; resize: vertical; }

/* Honeypot y Mensajes de Estado */
.hidden-field { display: none !important; }
.form-status { padding: 15px 20px; margin-bottom: 25px; border-radius: 8px; display: none; font-weight: 500; font-size: 0.95rem; text-align: center; transition: 0.3s;}
.form-status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-status.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }
.form-status.sending { background: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; display: block; }

.btn-submit { background: var(--color-primario); color: #fff; border: none; padding: 15px 40px; font-size: 1.1rem; font-weight: 700; border-radius: 30px; cursor: pointer; transition: 0.3s; width: auto; display: inline-block; }
.btn-submit:hover { background: var(--color-cyan); color: #000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(109,224,246,0.3); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-col, .contact-form-col { padding: 40px 25px; }
    .btn-submit { width: 100%; }
}

