/* ============================================
   HUMANIA - Sistema de Diseño Tecnológico
   Versión: Final Corregida
   ============================================ */

/* === VARIABLES DE COLOR === */
:root {
    /* Azules (95% del diseño) */
    --color-azul-principal: #004E89;
    --color-azul-oscuro: #002B4D;
    --color-azul-claro: #0077BE;
    --color-azul-hover: #005BA3;
    
    /* Naranja (SOLO para logo y texto HUMAN - 5%) */
    --color-naranja: #FF6B35;
    
    /* Grises Tecnológicos (CORREGIDOS - más visibles) */
    --color-gris-ultra-claro: #F0F4F8;
    --color-gris-muy-claro: #E8EDF2;
    --color-gris-claro: #D3DCE6;
    --color-gris-medio: #A8B4C0;
    --color-gris-oscuro: #6B7885;
    
    /* Blancos y Negros */
    --color-blanco: #FFFFFF;
    --color-negro: #1A1A1A;
    --color-texto: #2C3E50;
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === RESET Y BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-texto);
    background-color: var(--color-gris-ultra-claro);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-azul-oscuro);
}

h1 { font-size: 3rem; margin-bottom: var(--spacing-md); }
h2 { font-size: 2.5rem; margin-bottom: var(--spacing-md); }
h3 { font-size: 1.75rem; margin-bottom: var(--spacing-sm); }
h4 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }

p { margin-bottom: var(--spacing-sm); }

a {
    color: var(--color-azul-principal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-azul-claro);
}

/* === NAVEGACIÓN === */
.navbar {
    background-color: var(--color-gris-ultra-claro);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* LOGO IMAGE - SIN FONDO BLANCO - TAMAÑO AJUSTADO */
.logo-image {
    height: 216px;
    width: auto;
    object-fit: contain;
    /* Logo aumentado 20% - 216px */
}

.footer-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* COLORES DEL LOGO - Human naranja, IA azul, LABS azul claro */
.logo-human,
.logo-ia,
.logo-labs {
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
}

.logo-human {
    color: var(--color-naranja);
}

.logo-ia {
    color: var(--color-azul-principal);
}

.logo-labs {
    color: var(--color-azul-claro);
    margin-left: 0;
}

/* BANNER DECORATIVO - Azul marino sólido */
.eslogan-banner {
    background: var(--color-azul-oscuro);
    height: 60px;
}

.eslogan-text {
    display: none;
}

/* Logo tagline - Ya no se usa */
.logo-tagline {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin-left: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-texto);
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-azul-principal);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-azul-principal);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-azul-principal);
    transition: var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--color-azul-oscuro) 0%, var(--color-azul-principal) 100%);
    color: var(--color-blanco);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--color-blanco);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* === BOTONES === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    text-decoration: none;
}

/* BOTONES AZULES (CORREGIDO - SIN NARANJA) */
.btn-primary {
    background-color: var(--color-azul-principal);
    color: var(--color-blanco);
    border-color: var(--color-azul-principal);
}

.btn-primary:hover {
    background-color: var(--color-azul-claro);
    border-color: var(--color-azul-claro);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blanco);
    border-color: var(--color-blanco);
}

.btn-secondary:hover {
    background-color: var(--color-blanco);
    color: var(--color-azul-principal);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* === SERVICIOS HOME === */
.services-home {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-azul-oscuro);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-gris-oscuro);
    margin-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background: var(--color-blanco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid var(--color-azul-principal);
}

.service-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-azul-principal);
    color: var(--color-blanco);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-azul-oscuro);
}

.service-description {
    color: var(--color-gris-oscuro);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-texto);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-azul-principal);
    font-weight: bold;
}

.service-link {
    color: var(--color-azul-principal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--color-azul-claro);
}

.services-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* === ESTADÍSTICAS === */
.stats {
    background-color: var(--color-gris-muy-claro);
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-blanco);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-azul-principal);
    font-family: var(--font-display);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-gris-oscuro);
    font-size: 1rem;
    font-weight: 500;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--color-azul-oscuro) 0%, var(--color-azul-principal) 100%);
    color: var(--color-blanco);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-title {
    color: var(--color-blanco);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-text a {
    color: var(--color-blanco);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--color-naranja);
    text-underline-offset: 4px;
    transition: all var(--transition-fast);
}

.cta-text a:hover {
    color: var(--color-naranja);
    text-decoration-color: var(--color-blanco);
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--color-azul-oscuro) 0%, var(--color-azul-principal) 100%);
    color: var(--color-blanco);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--color-blanco);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* === ABOUT SECTION === */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.about-section .container {
    max-width: 1400px;
    padding: 0 var(--spacing-lg);
    margin: 0 auto;
}

.about-content {
    display: block;
    width: 100%;
}

.about-text {
    width: 100%;
    margin-bottom: var(--spacing-xl);
}

.about-text table {
    width: 100%;
    font-size: 0.95rem;
    margin: 2rem 0;
}

.about-text table td,
.about-text table th {
    padding: 0.875rem;
}

.about-image {
    width: 100%;
    margin: var(--spacing-xl) 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.about-text h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.about-text ul {
    margin: var(--spacing-md) 0;
    padding-left: 1.5rem;
}

.about-text ul li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* === VALUES SECTION === */
.values-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gris-muy-claro);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: var(--color-blanco);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-azul-oscuro);
}

/* === WHY SECTION === */
.why-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.why-card {
    background: var(--color-gris-muy-claro);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--color-azul-principal);
}

.why-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-azul-principal);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
}

.why-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-azul-oscuro);
}

/* === SERVICE DETAIL === */
/* VERSIÓN 5.2 - 15:10h - LAYOUT VERTICAL FORZADO */
.service-detail {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.service-detail:nth-child(even) {
    background-color: var(--color-gris-ultra-claro);
}

.service-detail .container {
    max-width: 1400px;
    padding: 0 var(--spacing-lg);
    margin: 0 auto;
}

.service-detail-grid {
    display: block;
    width: 100%;
}

.service-detail-grid.reverse {
    /* Ya no necesitamos reverse, todo es vertical */
}

.service-detail-image {
    width: 100%;
    margin-bottom: var(--spacing-xl);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.service-detail-content {
    width: 100%;
}

.service-detail-content h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.service-features-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.service-features-list li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) 1.5rem;
    position: relative;
}

.service-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-azul-principal);
    font-weight: bold;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.agent-type {
    background: var(--color-gris-ultra-claro);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
}

.agent-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.service-process {
    counter-reset: process-counter;
    list-style: none;
    margin: var(--spacing-md) 0;
}

.service-process li {
    counter-increment: process-counter;
    padding: var(--spacing-sm) 0 var(--spacing-sm) 3rem;
    position: relative;
}

.service-process li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: var(--spacing-sm);
    width: 2rem;
    height: 2rem;
    background: var(--color-azul-principal);
    color: var(--color-blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.service-benefits {
    background: var(--color-gris-ultra-claro);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin: var(--spacing-lg) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.benefit {
    text-align: center;
}

.benefit-stat {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-azul-principal);
    font-family: var(--font-display);
}

.benefit-label {
    font-size: 0.875rem;
    color: var(--color-gris-oscuro);
}

.service-pricing {
    background: var(--color-azul-principal);
    color: var(--color-blanco);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin: var(--spacing-lg) 0;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: var(--spacing-xs);
}

.price-tag.free-price {
    font-size: 2rem;
}

.price-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* === CASE STUDIES === */
.case-study {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.case-study.alt {
    background-color: var(--color-gris-ultra-claro);
}

.case-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.case-sector {
    display: inline-block;
    background: var(--color-azul-principal);
    color: var(--color-blanco);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.case-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.case-subtitle {
    color: var(--color-gris-oscuro);
    font-size: 1.125rem;
}

.case-content {
    max-width: 1000px;
    margin: 0 auto;
}

.case-challenge,
.case-solution,
.case-results {
    margin-bottom: var(--spacing-xl);
}

.case-challenge h3,
.case-solution h3,
.case-results h3 {
    color: var(--color-azul-oscuro);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-azul-principal);
}

.case-challenge ul,
.case-solution ul {
    list-style: none;
    margin-top: var(--spacing-md);
}

.case-challenge li,
.case-solution li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) 1.5rem;
    position: relative;
}

.case-challenge li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--color-naranja);
}

.case-solution li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-azul-principal);
    font-weight: bold;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.result-card {
    background: var(--color-azul-principal);
    color: var(--color-blanco);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: var(--spacing-xs);
}

.result-label {
    font-size: 0.9375rem;
    opacity: 0.95;
}

.case-testimonial {
    background: var(--color-gris-muy-claro);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--color-azul-principal);
}

.case-testimonial blockquote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
}

.case-testimonial cite {
    display: block;
    margin-top: var(--spacing-sm);
    font-style: normal;
    font-weight: 600;
    color: var(--color-azul-principal);
}

/* === CONTACT SECTION === */
.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-blanco);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-wrapper h2 {
    margin-bottom: var(--spacing-sm);
}

.form-intro {
    color: var(--color-gris-oscuro);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    background: var(--color-gris-ultra-claro);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-azul-oscuro);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-gris-claro);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background-color: var(--color-blanco);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-azul-principal);
}

.form-error {
    display: block;
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.checkbox-group {
    display: flex;
    align-items: start;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.form-note {
    font-size: 0.875rem;
    color: var(--color-gris-oscuro);
    margin-top: var(--spacing-sm);
    text-align: center;
}

.form-success {
    background: #10B981;
    color: var(--color-blanco);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
}

.form-success h3 {
    color: var(--color-blanco);
    margin-bottom: var(--spacing-sm);
}

.hidden {
    display: none;
}

.contact-info-card {
    background: var(--color-gris-ultra-claro);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-azul-oscuro);
}

.contact-detail {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-detail strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-azul-oscuro);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: var(--spacing-xs) 0;
    color: var(--color-texto);
}

/* === FAQ SECTION === */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gris-muy-claro);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.faq-item {
    background: var(--color-blanco);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--color-azul-oscuro);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

/* === FOOTER === */
.footer {
    background-color: var(--color-azul-oscuro);
    color: var(--color-blanco);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo-image {
    height: 40px;
}

.footer-logo-text .logo-name {
    font-size: 1.25rem;
}

.footer-logo-text .logo-tagline {
    font-size: 0.625rem;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.8;
    text-align: justify;
}

.footer-brand {
    color: var(--color-blanco);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-title {
    color: var(--color-blanco);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-contact a {
    color: var(--color-blanco);
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title { font-size: 1.75rem; }
    .page-title { font-size: 2rem; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-blanco);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        gap: var(--spacing-sm);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Asegurar ancho completo en móviles */
    .about-content,
    .service-detail-grid {
        padding: 0 1rem !important;
    }
    
    .about-text table {
        font-size: 0.8rem !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .about-text table td,
    .about-text table th {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
        min-width: 100px;
    }
    
    .agents-grid {
        grid-template-columns: 1fr !important;
    }
    
    .logo-tagline {
        font-size: 0.5rem;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-image,
    .footer-logo-image {
        height: 35px;
    }
    
    .logo-name {
        font-size: 1.125rem;
    }
    
    .logo-tagline {
        font-size: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === UTILIDADES === */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }