/* assets/css/style.css */


/* --- VARIABLES Y CONFIGURACIÓN --- */

:root {
    /* Paleta Premium basada en el logo */
    --color-primary-dark: #0a1a3a;
    /* Azul marino profundo (Autoridad) */
    --color-primary: #1B3A6B;
    /* Azul del logo */
    --color-accent: #00d4ff;
    /* Cian eléctrico (Tecnología/Vanguardia - para CTAs) */
    --color-metal: #8a95a3;
    /* Gris metálico del logo */
    --color-light-grey: #f4f7f9;
    /* Fondos claros clínicos */
    --color-white: #ffffff;
    --color-text-dark: #222222;
    /* Tipografías */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    /* Efectos */
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
    --border-radius-tech: 8px;
}


/* --- RESET MODERNO --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* --- UTILIDADES --- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-light-grey);
}

.bg-dark {
    background-color: var(--color-primary-dark);
}

.bg-darker {
    background-color: #050e1f;
}

.text-white {
    color: var(--color-white) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-3 {
    padding-bottom: 1rem;
}

.pl-5 {
    padding-left: 3rem;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.border-radius-tech {
    border-radius: var(--border-radius-tech);
}


/* BOTONES IMPACTANTES */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-accent:hover {
    background-color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}


/* --- NAVEGACIÓN (Sticky & Premium) --- */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 60px;
    /* Ajustar según el logo final */
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
}

.nav-links a:hover:not(.btn) {
    color: var(--color-accent);
}


/* --- HERO SECTION (Vídeo de fondo) --- */

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 80px;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.9) 0%, rgba(27, 58, 107, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}


/* --- SECCIONES DE CONTENIDO --- */

.title-center {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
}

.title-center h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--color-metal);
}


/* Grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2-photo-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}


/* Tech Cards */

.tech-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-tech);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.box-shadow-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-accent);
}

.icon-tech {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}


/* Especialidades List */

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
}

.custom-bullets li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.custom-bullets li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* --- CONTACTO Y FORMULARIO PREMIUM --- */

.contact-section {
    position: relative;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-list .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--color-accent);
}

.form-box {
    padding: 3rem;
}

.form-box h3 {
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 6px;
    font-family: inherit;
    transition: all 0.3s;
    background: #f9fbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
}

.small-text {
    font-size: 0.8rem;
    text-align: center;
}


/* --- FOOTER --- */

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.grid-3-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* --- RESPONSIVE (Móvil) --- */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .grid-2-photo-text,
    .grid-2,
    .grid-3-footer {
        grid-template-columns: 1fr;
    }
    .photo-block {
        margin-bottom: 2rem;
    }
    .pl-5 {
        padding-left: 0;
    }
    .contact-form-block {
        margin-top: 3rem;
    }
    .nav-links {
        display: none;
    }
    /* Aquí habría que implementar el menú hamburguesa con JS */
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .form-box {
        padding: 2rem 1.5rem;
    }
}