﻿:root {
    --color-primary: #1a3a5f;    /* Azul Corporativo Seguro */
    --color-secondary: #2a6f97;  /* Azul Educativo */
    --color-accent: #ff7043;     /* Naranja Enérgico para Llamadas a la Acción */
    --color-light: #f8f9fa;      /* Gris Muy Claro */
    --color-dark: #212529;       /* Gris Oscuro */
    --color-success: #2ec4b6;    /* Verde Menta / Éxito */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-dark);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* Navbar Customization */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--color-primary) !important;
    letter-spacing: 0.5px;
}
.navbar-brand span {
    color: var(--color-accent);
}
.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    margin: 0 10px;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-secondary) !important;
}
.btn-nav {
    background-color: var(--color-primary);
    color: white !important;
    border-radius: 25px;
    padding: 8px 20px !important;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(26, 58, 95, 0.15);
}
.btn-nav:hover {
    background-color: var(--color-secondary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a3a5f 0%, #2a6f97 100%);
    color: white;
    padding: 100px 0 140px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.btn-main {
    background-color: var(--color-accent);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 35px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 112, 67, 0.3);
    transition: all 0.3s ease;
}
.btn-main:hover {
    background-color: #e65c2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 112, 67, 0.4);
}
.btn-outline-custom {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 11px 35px;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Section Global Settings */
.section-padding {
    padding: 80px 0;
}
.section-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-subtitle {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 16px;
}

/* Features Cards */
.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid transparent;
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.feature-box.ampa { border-top-color: var(--color-secondary); }
.feature-box.empresa { border-top-color: var(--color-success); }
.feature-box.asoc { border-top-color: var(--color-accent); }
        
.icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}
.ampa .icon-container { background-color: rgba(42, 111, 151, 0.1); color: var(--color-secondary); }
.empresa .icon-container { background-color: rgba(46, 196, 182, 0.1); color: var(--color-success); }
.asoc .icon-container { background-color: rgba(255, 112, 67, 0.1); color: var(--color-accent); }

/* App Section Specifics */
.bg-app-section {
    background-color: #f0f4f8;
    position: relative;
}
.app-badge img {
    height: 48px;
    transition: transform 0.2s ease;
}
.app-badge img:hover {
    transform: scale(1.05);
}
.mockup-container {
    position: relative;
    display: inline-block;
}
.mockup-phone {
    max-width: 300px;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Feature List Style */
.feature-list {
    list-style: none;
    padding-left: 0;
}
.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
}
.feature-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--color-success);
    font-size: 18px;
}

/* Contact Form */
.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 40px;
}
.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(42, 111, 151, 0.25);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px 0;
    font-size: 14px;
}
footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
}



/* ==========================================================================
   EXTENSIONES DE ESTILOS - SECCIONES FUNCIONALIDADES Y GALERÍA DE APPS
   ========================================================================== */

/* Fondos dinámicos basados en tu paleta */
.bg-primary-light {
    background-color: rgba(42, 111, 151, 0.08); /* 8% de tu Azul Educativo */
}
.tracking-wider {
    letter-spacing: 0.08em;
}

/* Estilos para el sistema de pestañas (Tabs) de Funcionalidades */
#featuresTab .nav-link {
    color: #4a5568;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

#featuresTab .nav-link:hover {
    background-color: var(--color-light);
    border-color: #adb5bd;
    color: var(--color-primary) !important;
}

#featuresTab .nav-link.active {
    color: #ffffff !important;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(26, 58, 95, 0.2);
}

/* Pestaña especial para "Proyectos Vivos" usando tu Verde Menta de éxito */
#featuresTab .custom-tab-alive.active {
    background-color: var(--color-success) !important;
    border-color: var(--color-success) !important;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.25) !important;
}

/* Efecto de elevación suave para las tarjetas de funcionalidades */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Estilo para los iconos internos del Paquete Básico */
.bg-primary-light i {
    color: var(--color-secondary);
}

/* CONTENEDORES Y MARCOS REALISTAS PARA LOS MOCKUPS DE LAS APPS */
.phone-mockup-wrapper {
    max-width: 250px;
    position: relative;
    transition: transform 0.3s ease;
}

.phone-mockup-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
}

.phone-screen-container {
    width: 100%;
    aspect-ratio: 9 / 18.5; /* Relación de aspecto perfecta para smartphones modernos */
    border: 11px solid var(--color-dark); /* Marco exterior usando tu gris oscuro */
    border-radius: 38px;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 20px 40px rgba(26, 58, 95, 0.15); /* Sombra suave con tinte azulado */
    position: relative;
}

/* Simulación de la "isla dinámica / notch" superior en el marco */
.phone-screen-container::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    background-color: var(--color-dark);
    border-radius: 10px;
    z-index: 10;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Títulos de las capturas de pantalla */
.phone-mockup-wrapper h6 {
    color: var(--color-primary);
    font-size: 15px;
}



.hero-img-combined { max-width: 100%; position: relative; }
.main-web-img { max-height: 360px; width: 100%; object-fit: cover; }
.hero-phone-floating {
    position: absolute;
    bottom: -30px;
    right: -20px;
    z-index: 5;
    transform: rotate(5deg);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
    transition: all 0.3s ease;
}
.hero-phone-floating:hover { transform: rotate(0deg) scale(1.05); }




