/* ==========================================================================
   Seguridad Obra - Asesorías Mayra
   Estilo Industrial Moderno (Construcción & Prevención de Riesgos)
   ========================================================================== */

/* Variables y Sistema de Diseño */
:root {
    /* Paleta Industrial */
    --bg-darker: #0d0f12;
    --bg-dark: #12151c;
    --bg-card: #181d26;
    --bg-card-hover: #1f2531;
    
    --accent-yellow: #ffd000;
    --accent-yellow-rgb: 255, 208, 0;
    --accent-yellow-hover: #e6bd00;
    --accent-muted: rgba(255, 208, 0, 0.1);
    
    /* Estados de Semáforo de Riesgo (Normativa Chilena) */
    --risk-high: #ff4747;
    --risk-high-rgb: 255, 71, 71;
    --risk-med: #ff9f43;
    --risk-med-rgb: 255, 159, 67;
    --risk-low: #28c76f;
    --risk-low-rgb: 40, 199, 111;
    
    /* Textos */
    --text-white: #ffffff;
    --text-light: #f1f3f5;
    --text-gray: #a0aec0;
    --text-muted: #718096;
    
    /* Estructuras & Bordes */
    --border-color: #2b3544;
    --border-accent: #3e4c61;
    --border-industrial: rgba(255, 208, 0, 0.2);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Fuentes */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Sombras y Luces */
    --glow-yellow: 0 0 20px rgba(255, 208, 0, 0.15);
    --shadow-industrial: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    --header-height: 80px;
}

/* Reset de Estilos */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografías y Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Botones con Micro-animaciones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--bg-darker);
}

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

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.w-100 {
    width: 100%;
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.hidden {
    display: none !important;
}

/* ESTRUCTURAS COMUNES DE SECCIÓN */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ==========================================================================
   Header / Navbar Estilo Glassmorphism
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(13, 15, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-fast);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-yellow);
}

.accent-text {
    color: var(--accent-yellow);
}

/* Navegación */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-secondary-nav {
    border: 1px solid var(--border-accent);
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-secondary-nav:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    background-color: var(--accent-muted);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 150px 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 208, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 208, 0, 0.08);
    border: 1px solid var(--border-industrial);
    color: var(--accent-yellow);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 24px;
    font-weight: 800;
}

.text-stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent-yellow);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Visual lateral: Tarjeta Industrial */
.industrial-card {
    background-color: rgba(24, 29, 38, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-industrial);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.industrial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        -45deg,
        var(--accent-yellow),
        var(--accent-yellow) 10px,
        var(--bg-darker) 10px,
        var(--bg-darker) 20px
    );
}

.card-header-bar {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-dot.red { background-color: var(--risk-high); }
.card-dot.yellow { background-color: var(--risk-med); }
.card-dot.green { background-color: var(--risk-low); }

.card-header-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-left: 8px;
    letter-spacing: 1.5px;
}

.card-body-metrics {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.metric-value.text-green { color: var(--risk-low); }
.metric-value.text-yellow { color: var(--accent-yellow); }

.metric-sub {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.metric-divider {
    height: 1px;
    background-color: var(--border-color);
}

.card-footer-alert {
    padding: 16px 20px;
    background-color: rgba(255, 208, 0, 0.03);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.alert-icon-wrapper {
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.alert-icon-svg {
    width: 20px;
    height: 20px;
}

.alert-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Franja de Estadísticas Rápidas */
.stats-strip {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ==========================================================================
   Services Section (Grid Industrial)
   ========================================================================== */
.services-section {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: var(--accent-yellow);
    transition: height var(--transition-fast);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--accent-yellow);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 208, 0, 0.05);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-industrial);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc-card {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.service-tag {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
}

/* Tarjeta Promocional */
.promo-card {
    background: repeating-linear-gradient(
        45deg,
        #1d232e,
        #1d232e 10px,
        #171c25 10px,
        #171c25 20px
    );
    border: 1px solid var(--border-color);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.promo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--accent-yellow);
}

.promo-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* ==========================================================================
   Autodiagnóstico Section (Quiz Interactivo)
   ========================================================================== */
.diagnostico-section {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.diagnostico-box {
    background-color: rgba(13, 15, 18, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-industrial);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.diagnostico-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-yellow);
}

/* Barra de Progreso */
.quiz-progress-container {
    background-color: var(--bg-darker);
    height: 8px;
    border-radius: var(--border-radius-sm);
    position: relative;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.quiz-progress-bar {
    background-color: var(--accent-yellow);
    height: 100%;
    border-radius: var(--border-radius-sm);
    width: 0%;
    transition: width var(--transition-normal);
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.5);
}

.quiz-step-indicator {
    position: absolute;
    right: 0;
    top: -28px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Contenido del Quiz */
.quiz-content {
    min-height: 250px;
}

.question-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    line-height: 1.3;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-opt-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 18px 24px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-opt-btn:hover {
    border-color: var(--accent-yellow);
    background-color: var(--bg-card-hover);
    transform: translateX(4px);
}

.quiz-opt-btn.selected {
    border-color: var(--accent-yellow);
    background-color: rgba(255, 208, 0, 0.04);
    font-weight: 600;
}

.opt-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    display: inline-block;
    flex-shrink: 0;
    margin-left: 16px;
    position: relative;
}

.quiz-opt-btn:hover .opt-bullet {
    border-color: var(--accent-yellow);
}

.quiz-opt-btn.selected .opt-bullet {
    border-color: var(--accent-yellow);
}

.quiz-opt-btn.selected .opt-bullet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
}

.quiz-actions-bar {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

/* Pantalla de Resultados */
.results-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* Indicador de Riesgo */
.risk-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: var(--border-radius-sm);
    position: relative;
}

.risk-gauge {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
}

.gauge-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 6;
}

.gauge-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-out, stroke var(--transition-fast);
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.gauge-percentage {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.gauge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.risk-badge-result {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--bg-darker);
    text-align: center;
    width: 100%;
}

/* Resultados Info */
.results-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.results-summary {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.results-points-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.result-point-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.point-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.point-bullet.alert {
    background-color: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.point-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Formulario de Registro */
.results-form {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.form-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 8px rgba(255, 208, 0, 0.1);
}

/* Pantalla de Éxito */
.quiz-success-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(40, 199, 111, 0.1);
    color: var(--risk-low);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(40, 199, 111, 0.2);
}

.success-icon-svg {
    width: 36px;
    height: 36px;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.success-message {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 32px auto;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-construction-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Badge flotante */
.about-badge-experience {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: var(--accent-yellow);
    color: var(--bg-darker);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    box-shadow: var(--shadow-industrial);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-label {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 4px;
    line-height: 1.2;
}

.decorative-grid-dots {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--accent-yellow) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.25;
}

.placeholder-graphic {
    width: 60%;
    height: 60%;
    color: var(--border-accent);
}

.graphic-svg {
    width: 100%;
    height: 100%;
}

.about-body-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.pillar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pillar-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent-muted);
    color: var(--accent-yellow);
    border: 1px solid var(--border-industrial);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.pillar-content {
    display: flex;
    flex-direction: column;
}

.pillar-content strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-white);
}

.pillar-content span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ==========================================================================
   FAQ Section (Acordeón Interactivo)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.faq-icon {
    color: var(--accent-yellow);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
    padding: 0 24px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    padding-bottom: 24px;
    line-height: 1.6;
}

/* Estado Activo FAQ */
.faq-item.active {
    border-color: var(--border-accent);
    background-color: var(--bg-card-hover);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 16px;
    line-height: 1.5;
}

.footer-col-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    color: var(--accent-yellow);
}

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

.footer-links-col a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--text-white);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

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

.chile-flag-strip {
    display: flex;
    width: 60px;
    height: 3px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.chile-flag-strip span {
    height: 100%;
}

.flag-blue { background-color: #002B7F; width: 33.33%; }
.flag-white { background-color: #FFFFFF; width: 33.33%; }
.flag-red { background-color: #D52B1E; width: 33.33%; }

/* ==========================================================================
   Responsive Media Queries (Mobile-first adaptivity)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-side {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Mostrar menú móvil */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-darker);
        border-top: 1px solid var(--border-color);
        padding: 40px 24px;
        transition: left var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-menu ul li {
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }
    
    .btn-secondary-nav {
        display: inline-block;
        text-align: center;
        width: 100%;
        padding: 12px;
        font-size: 1.05rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        border-right: none;
    }
    
    .stat-card:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .results-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .risk-gauge-container {
        flex-direction: row;
        gap: 24px;
        justify-content: center;
        padding: 20px;
    }
    
    .risk-gauge {
        margin-bottom: 0;
        width: 100px;
        height: 100px;
    }
    
    .gauge-percentage {
        font-size: 1.5rem;
    }
    
    .risk-badge-result {
        width: auto;
        align-self: center;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand-col {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .diagnostico-box {
        padding: 24px;
    }
    
    .risk-gauge-container {
        flex-direction: column;
        gap: 16px;
    }
}
