/* ==========================================================================
   SISTEMA DE DISEÑO Y CONFIGURACIÓN BASE (JAEUN PERÚ)
   ========================================================================== */

:root {
    --primary: #0d1e3d;       /* Azul marino profundo (coreano/tecnológico) */
    --primary-light: #1e3a6c; /* Azul marino claro */
    --accent: #00b8ff;        /* Celeste/azul eléctrico (satélites/marítimo) */
    --accent-hover: #009ad4;  /* Celeste oscuro */
    --text: #1e293b;          /* Gris oscuro para textos principales (Slate 800) */
    --text-muted: #64748b;    /* Gris medio para descripciones (Slate 500) */
    --bg-light: #f8fafc;      /* Fondo gris claro (Slate 50) */
    --bg-white: #ffffff;      /* Blanco puro */
    --border: #e2e8f0;        /* Gris claro para bordes (Slate 200) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 20px 25px -5px rgba(13, 30, 61, 0.1), 0 8px 10px -6px rgba(13, 30, 61, 0.1);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

/* ==========================================================================
   TIPOGRAFÍA Y ENCABEZADOS DE SECCIÓN
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.title-bar-small {
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    margin: 10px 0 20px 0;
    border-radius: 2px;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
}

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

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--text-muted);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   HEADER / NAVEGACIÓN PREMIUM
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Area */
.logo-area .logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-peru-text {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid var(--border);
    line-height: 1.2;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-area .footer-logo-img {
    margin-bottom: 0;
}

/* Menu de Navegación */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu > li {
    position: relative;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-hover);
    background-color: rgba(13, 30, 61, 0.05);
}

.nav-arrow {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

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

/* Menús Desplegables (Dropdown) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.scrollable-dropdown {
    max-height: 380px;
    overflow-y: auto;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background-color: var(--bg-light);
    padding-left: 24px;
}

/* Botón de Llamada Header y Mobile */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-call-header {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 184, 255, 0.3);
}

.btn-call-header:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 255, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   PÁGINAS SIMULADAS Y TRANSICIÓN DE SECCIÓN
   ========================================================================== */

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    padding-top: 80px; /* Compensa la altura del header fijo */
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   COMPONENTE: BOTONES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 184, 255, 0.35);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   PÁGINA DE INICIO: HERO SLIDER E INTERFAZ
   ========================================================================== */

.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
}

.hero-slides, .hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 30, 61, 0.6), rgba(13, 30, 61, 0.85));
    z-index: 2;
    pointer-events: none;
}

.hero-container-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--bg-white);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

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

/* Grillas y Contenedores Modulares */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Componente Tarjeta (Cards) */
.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card {
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(0, 184, 255, 0.2);
}

.card-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: var(--accent);
}

.card-link i {
    transition: var(--transition-smooth);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Banner de Llamada de Acción (CTA) */
.cta-banner {
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 30, 61, 0.9), rgba(13, 30, 61, 0.9));
    z-index: 2;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.cta-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

/* Grid de Marcas */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.brand-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    box-shadow: var(--shadow-sm);
}

.brand-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sociedades de Clasificación */
.class-fullwidth-container {
    width: 100%;
    margin-top: 40px;
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.class-image-full {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.pb-0 {
    padding-bottom: 0 !important;
}

/* ==========================================================================
   PÁGINAS INTERNAS: INTERFAZ CON MENU LATERAL (TABS)
   ========================================================================== */

.tab-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tab-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.sidebar-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scrollable-tabs {
    max-height: 480px;
    overflow-y: auto;
}

.tab-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-btn::after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--primary);
    background-color: rgba(13, 30, 61, 0.05);
}

.tab-btn.active {
    color: var(--bg-white);
    background-color: var(--primary);
}

.tab-btn.active::after {
    opacity: 1;
    transform: translateX(0);
}

.tab-content-area {
    flex-grow: 1;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-title {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

/* Bullet list premium */
.bullet-list {
    margin-top: 20px;
}

.bullet-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.bullet-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
}

/* ==========================================================================
   PESTAÑA ESPECÍFICA: MISIÓN / VISIÓN / HISTORIA / ORGANIGRAMA
   ========================================================================== */

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.vision-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px;
    border-left: 4px solid var(--accent);
}

.vision-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.vision-box h4 {
    margin-bottom: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -29px;
    width: 16px;
    height: 16px;
    background-color: var(--bg-white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Organigrama */
.org-structure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.org-node {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    text-align: center;
    max-width: 320px;
}

.org-node.leader {
    border-top: 4px solid var(--primary);
}

.org-node.sub-leader {
    border-top: 4px solid var(--accent);
}

.org-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.org-branches .org-node {
    max-width: 100%;
}

.org-node h4 { font-size: 1.1rem; margin-bottom: 5px; }
.org-node h5 { font-size: 0.95rem; margin-bottom: 5px; }
.org-node p { font-size: 0.8rem; color: var(--text-muted); }

/* Noticias */
.news-list {
    margin-top: 30px;
}

.news-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 5px;
}

.news-heading {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.news-heading a:hover {
    color: var(--accent);
}

/* Oficinas */
.office-box {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-top: 20px;
}

.office-box h4 {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.office-box p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-box p i {
    color: var(--accent);
    width: 20px;
}

/* ==========================================================================
   PESTAÑA ESPECÍFICA: RETROFIT / STEPS
   ========================================================================== */

.retrofit-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 184, 255, 0.3);
}

.step-card h5 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.check-item {
    font-size: 0.95rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-item i {
    color: var(--accent);
}

/* ==========================================================================
   PÁGINA DESCARGAS (DOWNLOADS)
   ========================================================================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.download-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
}

.download-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.download-icon {
    font-size: 2.5rem;
    color: #ef4444; /* Rojo para PDFs */
}

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.download-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-download {
    background-color: var(--bg-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

/* ==========================================================================
   PÁGINA CONTACTO Y FORMULARIOS
   ========================================================================== */

.contact-form-container {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-container h3 {
    margin-bottom: 8px;
}

.contact-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.15);
}

.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-feedback.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block;
}

.form-feedback.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* Informaciones de Contacto */
.contact-info-container {
    padding-left: 20px;
}

.info-card {
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.75rem;
    color: var(--accent);
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.info-text a {
    color: var(--bg-white);
}

.highlight-text {
    font-size: 1.35rem !important;
    font-weight: 700;
    color: var(--accent) !important;
}

.text-sm { font-size: 0.85rem !important; }

/* FAQ Accordion */
.faq-accordion {
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.faq-accordion h3 {
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--bg-light);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background-color: var(--border);
}

.faq-icon {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */

.main-footer {
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(13, 30, 61, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-contact-item {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--accent-hover);
    margin-right: 6px;
}

.footer-contact-item a {
    color: var(--primary);
}

.tel-link {
    font-weight: 700;
    font-size: 1.05rem;
}

.footer-bottom {
    background-color: #f1f5f9;
    padding: 25px 0;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright a {
    color: var(--primary);
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: var(--text-muted);
}

.footer-policies a:hover {
    color: var(--primary);
}

/* ==========================================================================
   ESTILOS RESPONSIVOS (RESPONSIVE LAYOUTS)
   ========================================================================== */

@media (max-width: 992px) {
    .header-container {
        height: 70px;
    }
    
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        display: none;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background-color: var(--bg-light);
        margin-top: 5px;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav.active {
        display: block;
    }

    .hero-title {
        font-size: 2.75rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-layout {
        flex-direction: column;
    }
    
    .tab-sidebar {
        width: 100%;
    }
    
    .sidebar-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .tab-btn::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-video,
    .cta-video {
        display: none;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .hero-banner {
        height: 90vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .org-branches {
        grid-template-columns: 1fr;
    }
    
    .retrofit-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-container {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Estilos para el apartado de Marcas Premium */
.brand-display {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.brand-display:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 184, 255, 0.2);
}

.brand-logo-container {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px;
    height: 140px;
    overflow: hidden;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

.brand-logo-container.multi-logos {
    flex: 0 0 240px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
    padding: 15px;
    background-color: #f8fafc;
}

.brand-logo-container.multi-logos .brand-logo-img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

.brand-info-content {
    flex: 1;
}

.brand-desc {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.brand-products {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Responsive para Marcas */
@media (max-width: 768px) {
    .brand-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .brand-logo-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        height: 140px;
    }
    
    .brand-logo-container.multi-logos {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        height: auto;
    }
    
    .brand-logo-container.multi-logos .brand-logo-img {
        max-height: 45px;
    }
    
    .brand-info-content .title-bar-small {
        margin: 10px auto 20px auto;
    }
}

/* ==========================================================================
   SELECTOR DE IDIOMA PREMIUM
   ========================================================================== */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    border-color: var(--accent);
    background-color: rgba(13, 30, 61, 0.03);
    color: var(--accent-hover);
}

.lang-btn i {
    font-size: 0.9rem;
}

.lang-btn .lang-arrow {
    font-size: 0.65rem;
    transition: var(--transition-smooth);
}

.lang-selector:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 6px 0;
    width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1010;
}

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

.lang-dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-option:hover, .lang-option.active {
    color: var(--accent-hover);
    background-color: var(--bg-light);
}

@media (max-width: 992px) {
    .header-right {
        gap: 10px;
    }
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   PROTECCIÓN DE CONTENIDO (Desactivar Selección de Texto y Arrastre de Imágenes)
   ========================================================================== */
body {
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE10+/Edge */
    user-select: none;          /* Standard */
}

/* Permitir selección en inputs y textareas para no romper la usabilidad de los formularios */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Evitar arrastrar imágenes */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

