/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    /* Colores corporativos */
    --color-primary: #1E3A8A; /* Azul oscuro */
    --color-primary-light: #3B82F6; /* Azul medio */
    --color-primary-dark: #1E40AF; /* Azul más oscuro */
    --color-secondary: #FCD34D; /* Amarillo */
    --color-secondary-light: #FEF3C7; /* Amarillo claro */
    --color-secondary-dark: #F59E0B; /* Amarillo oscuro */
    
    /* Colores neutros */
    --color-white: #FFFFFF;
    --color-black: #1F2937;
    --color-gray-light: #F9FAFB;
    --color-gray: #6B7280;
    --color-gray-dark: #374151;
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    position: relative;
    display: inline-block;
}

/* Logo HTML/CSS - Propuesta 1 (Moderno con Casco) */
.logo-html {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-html .helmet-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-html:hover .helmet-logo {
    transform: scale(1.05);
}

.logo-html .helmet-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo-html .text-logo {
    display: flex;
    flex-direction: column;
}

.logo-html .text-logo-main {
    font-size: 42px;
    font-weight: 900;
    color: #1E3A8A;
    line-height: 1;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.logo-html:hover .text-logo-main {
    color: #1E40AF;
}

.logo-html .text-logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: #3B82F6;
    letter-spacing: 1.5px;
    margin-top: 3px;
}

/* Logo HTML/CSS - Propuesta 3 (Minimalista) */
.logo-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-minimal .helmet-logo {
    width: 60px;
    height: 60px;
}

.logo-minimal .text-logo-main {
    font-size: 36px;
    font-weight: 800;
    color: #1E3A8A;
}

.logo-minimal .text-logo-sub {
    font-size: 10px;
    font-weight: 400;
    color: #3B82F6;
    letter-spacing: 1px;
}

/* Logo HTML/CSS - Propuesta 5 (Monograma) */
.logo-monogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-monogram .monogram-box {
    width: 100px;
    height: 100px;
    background: #FCD34D;
    border: 3px solid #1E3A8A;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-monogram:hover .monogram-box {
    transform: scale(1.05);
}

.logo-monogram .monogram-text {
    font-size: 40px;
    font-weight: 900;
    color: #1E3A8A;
    letter-spacing: -2px;
    line-height: 1;
}

.logo-monogram .text-logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: #3B82F6;
    letter-spacing: 1.5px;
}

/* Mantener compatibilidad con logo de imagen */
.logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--color-gray-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--color-primary);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('PAGINA_WEB/REGISTRO_FOTOGRAFICO/inicio.jpeg') center/cover;
    background-size: 100%;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(30, 64, 175, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-lg) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
    color: var(--color-secondary);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 211, 77, 0.5);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--color-secondary-light);
    color: var(--color-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    text-align: justify;
}

.about-features {
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: var(--color-gray);
    font-size: 1rem;
    margin: 0;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel de imágenes */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 680px;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 680px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botones de navegación removidos - solo se usan los dots */

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    width: 30px;
    border-radius: 6px;
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-card > p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-list {
    margin-top: var(--spacing-md);
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray-dark);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary-dark);
    font-weight: 800;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--color-gray-light);
}

.clients-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.client-badge {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--color-secondary);
}

.client-badge h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.client-badge p {
    color: var(--color-gray);
}

/* Estilos de services-division eliminados - ya no se usan */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* Eliminar estilos de services-division ya que se eliminó */

.project-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.project-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    justify-content: center;
}

.project-tab {
    padding: 0.75rem 1.5rem;
    background: var(--color-gray-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-tab:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
}

.project-tab.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.project-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.project-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

/* Carrusel dentro de project-image */
.project-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.project-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.project-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 15;
    pointer-events: auto;
}

.project-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-dot.active {
    background-color: var(--color-secondary);
    width: 30px;
    border-radius: 5px;
}

.project-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Fallback para imágenes sin carrusel */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    z-index: 5;
    pointer-events: none;
}

.project-tag {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.project-info {
    padding: 0;
    position: relative;
    min-height: 100px;
}

.project-text-slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    width: 100%;
}

.project-text-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.project-description {
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    text-align: justify;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-card {
    background: var(--color-gray-light);
    padding: var(--spacing-md);
    border-radius: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--color-secondary);
}

.why-card:hover {
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.why-card h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.why-card p {
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* ============================================
   SAFETY SECTION
   ============================================ */
.safety {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.safety-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.safety-header .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.safety-header .section-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.safety-header .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    text-align: justify;
    line-height: 1.8;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.safety-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.safety-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
    text-align: justify;
}

.safety-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.safety-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.safety-item p {
    opacity: 0.9;
    line-height: 1.7;
}

.safety-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    height: 100%;
    min-height: 450px;
    width: 100%;
}

/* Carrusel dentro de safety-image */
.safety-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.safety-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.safety-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.safety-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.safety-dot.active {
    background-color: var(--color-secondary);
    width: 30px;
    border-radius: 5px;
}

.safety-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Fallback para imágenes sin carrusel */
.safety-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-gray-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--color-gray-dark);
    margin: 0;
}

.contact-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    color: var(--color-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.contact-cta > p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.contact-note {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

/* Footer Logo - Propuesta 1 con fondo azul */
.footer-logo-container {
    background: transparent;
    padding: 25px 30px;
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.footer-logo-1 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-helmet-1 {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-helmet-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.footer-text-1-main {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -1px;
}

.footer-text-1-sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 2px;
    margin-top: 5px;
}

.footer-brand p {
    opacity: 0.9;
    font-style: italic;
    margin-top: var(--spacing-sm);
}

.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: var(--transition);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .logo-html .helmet-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-html .text-logo-main {
        font-size: 32px;
    }
    
    .logo-html .text-logo-sub {
        font-size: 10px;
    }
    
    .logo img {
        height: 90px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .safety-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .safety-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .safety-header .lead {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .safety-carousel-container {
        min-height: 400px;
    }
    
    .safety-image {
        min-height: 400px;
    }
    
    .carousel-container {
        min-height: 500px;
    }
    
    /* Botones de navegación removidos */
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 320px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo-container {
        padding: 20px 25px;
    }
    
    .footer-helmet-1 {
        width: 60px;
        height: 60px;
    }
    
    .footer-text-1-main {
        font-size: 36px;
    }
    
    .footer-text-1-sub {
        font-size: 12px;
    }
    
    .services-grid,
    .projects-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 300px;
    }
    
    .project-tabs {
        flex-wrap: wrap;
    }
    
    .project-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .logo-html .helmet-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-html .text-logo-main {
        font-size: 28px;
    }
    
    .logo-html .text-logo-sub {
        font-size: 9px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .carousel-container {
        min-height: 450px;
    }
    
    /* Botones de navegación removidos */
    
    .carousel-dots {
        bottom: 10px;
    }
    
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dots .dot.active {
        width: 25px;
    }
    
    .safety-header .lead {
        font-size: 1rem;
    }
    
    .safety-carousel-container {
        min-height: 300px;
    }
    
    .safety-image {
        min-height: 300px;
    }
    
    .safety-carousel-dots {
        bottom: 15px;
    }
    
    .safety-dot {
        width: 8px;
        height: 8px;
    }
    
    .safety-dot.active {
        width: 25px;
    }
    
    .footer-logo-container {
        padding: 15px 20px;
    }
    
    .footer-helmet-1 {
        width: 50px;
        height: 50px;
    }
    
    .footer-text-1-main {
        font-size: 28px;
    }
    
    .footer-text-1-sub {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

