/* ==========================================================================
   CSS SYSTEM - CUMBRE SPA (Renovación Web)
   Colores: Fondo Oscuro (#0B1120) | Acento Dorado (#F5A623)
   Tipografías: Outfit (Títulos) y Inter (Cuerpo)
   ========================================================================== */

/* 1. VARIABLES & CUSTOM PROPERTIES */
:root {
    --bg-primary: #0B1120;
    --bg-secondary: #060913;
    --bg-card: #151E33;
    --bg-card-hover: #1E294B;
    --accent-gold: #F5A623;
    --accent-gold-hover: #FFB84D;
    --accent-gold-rgb: 245, 166, 35;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dark: #0F172A;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #20BA5A;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(245, 166, 35, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 2. CSS RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

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

/* 3. UTILITY CLASSES */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

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

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--text-main); }
.text-underline { text-decoration: underline; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-transform: uppercase;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.4);
    transform: translateY(-2px);
}

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

.btn-border-gold:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

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

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

/* SECTION HEADER */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.subsection-title {
    font-size: 24px;
    margin-bottom: 35px;
    position: relative;
}

/* ==========================================================================
   4. HEADER & NAVIGATION (Glassmorphism Sticky Navbar)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 17, 32, 0.75);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color var(--transition-normal), padding var(--transition-normal);
    padding: 15px 0;
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(6, 9, 19, 0.9);
    box-shadow: var(--shadow-md);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.main-header.scrolled .logo-img {
    height: 40px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 8px 0;
    position: relative;
}

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

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

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

.nav-cta {
    border: 1px solid var(--accent-gold);
    padding: 8px 18px;
    border-radius: 4px;
    color: var(--accent-gold);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark) !important;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: transform var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Open State of Toggle */
.nav-toggle.open .hamburger {
    background-color: transparent;
}
.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-secondary);
    min-height: 90vh;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 30%, rgba(245, 166, 35, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 90% 70%, rgba(37, 211, 102, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-left: 3px solid var(--accent-gold);
    padding-left: 10px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-main);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 580px;
}

.btn-whatsapp {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-whatsapp:hover {
    background-color: var(--accent-gold-hover);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-featured-image {
    width: 100%;
    max-width: 440px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    max-width: 440px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* TRUST INDICATORS BAR */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    z-index: 3;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   6. NOSOTROS SECTION
   ========================================================================== */
.nosotros-section {
    background-color: var(--bg-primary);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.nosotros-content .lead-text {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.5;
}

.nosotros-content .body-text {
    margin-bottom: 20px;
}

.highlight-box {
    border-left: 4px solid var(--accent-gold);
    background-color: rgba(245, 166, 35, 0.03);
    padding: 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    color: var(--text-main);
}

.nosotros-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.rounded-image {
    border-radius: 8px;
}

/* Mision y Vision Cards */
.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.mv-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 166, 35, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-icon {
    width: 30px;
    height: 30px;
    color: var(--accent-gold);
}

.mv-title {
    font-size: 22px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mv-text {
    font-size: 15px;
    color: var(--text-muted);
}

/* Valores Grid */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 25px;
    border-radius: 6px;
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 166, 35, 0.2);
    background-color: var(--bg-card-hover);
}

.value-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: rgba(245, 166, 35, 0.15);
    line-height: 1;
    transition: color var(--transition-normal);
}

.value-card:hover .value-number {
    color: var(--accent-gold);
}

.value-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
}

.value-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   7. SERVICIOS SECTION
   ========================================================================== */
.servicios-section {
    background-color: var(--bg-secondary);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.service-step {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
}

.service-card:hover .service-step {
    color: var(--accent-gold);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
    background-color: rgba(245, 166, 35, 0.08);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.service-card:hover .service-icon {
    color: var(--accent-gold);
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.service-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.service-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-list li {
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--accent-gold);
    font-weight: 700;
}

.service-action-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ==========================================================================
   8. PROYECTOS SECTION (Filterable Gallery Grid)
   ========================================================================== */
.proyectos-section {
    background-color: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-dark);
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    aspect-ratio: 4 / 3;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-category {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: transform var(--transition-normal);
}

.gallery-item-title {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 3px;
    transform: translateY(10px);
    transition: transform var(--transition-normal) 0.05s;
}

.gallery-item-meta {
    font-size: 13px;
    color: var(--text-muted);
    transform: translateY(10px);
    transition: transform var(--transition-normal) 0.1s;
}

.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(245, 166, 35, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

/* Hover States for Gallery */
.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-category,
.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-meta {
    transform: translateY(0);
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 9, 19, 0.95);
    overflow: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.lightbox-caption {
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--text-main);
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition-fast);
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* ==========================================================================
   9. WHY US SECTION (4 Pillars)
   ========================================================================== */
.why-us-section {
    background-color: var(--bg-secondary);
}

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

.pillar-card {
    background-color: var(--bg-card);
    border-top: 4px solid var(--accent-gold);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 25px;
    border-radius: 0 0 8px 8px;
    position: relative;
    transition: all var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-card-hover);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: rgba(245, 166, 35, 0.1);
    line-height: 1;
    margin-bottom: 20px;
    transition: color var(--transition-normal);
}

.pillar-card:hover .pillar-num {
    color: var(--accent-gold);
}

.pillar-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pillar-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   10. COMPLIANCE & SEGURIDAD SECTION
   ========================================================================== */
.compliance-section {
    background-color: var(--bg-primary);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.compliance-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.card-glow-gold:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.08);
}

.card-glow-safety:hover {
    border-color: #EF4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.05);
}

.compliance-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.compliance-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 166, 35, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-icon-wrapper {
    background-color: rgba(239, 68, 68, 0.08);
}

.comp-icon {
    width: 30px;
    height: 30px;
    color: var(--accent-gold);
}

.safety-icon-wrapper .comp-icon {
    color: #EF4444;
}

.compliance-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.compliance-body {
    flex-grow: 1;
    margin-bottom: 35px;
}

.compliance-text {
    font-size: 15px;
    margin-bottom: 20px;
}

.compliance-text strong {
    color: var(--text-main);
}

/* Checklists & badglets */
.compliance-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.safety-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   11. CONTACTO SECTION & FORM (Glassmorphism layout)
   ========================================================================== */
.contacto-section {
    background-color: var(--bg-secondary);
}

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

.contacto-info-title {
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.contacto-info-intro {
    font-size: 15px;
    margin-bottom: 35px;
}

.contacto-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contacto-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

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

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
}

a.detail-value:hover {
    color: var(--accent-gold);
}

.whatsapp-cta-box {
    background-color: rgba(37, 211, 102, 0.03);
    border: 1px solid rgba(37, 211, 102, 0.15);
    border-radius: 8px;
    padding: 30px;
}

.whatsapp-box-title {
    font-size: 18px;
    color: var(--whatsapp-green);
    margin-bottom: 10px;
}

.whatsapp-box-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-whatsapp-fill {
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    border: none;
    font-weight: 700;
    width: 100%;
}

.btn-whatsapp-fill:hover {
    background-color: var(--whatsapp-green-hover);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.icon-whatsapp {
    width: 18px;
    height: 18px;
}

/* Glassmorphism Form */
.contacto-form-container {
    background: rgba(21, 30, 51, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: rgba(6, 9, 19, 0.6);
    border: 1.5px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.15);
    background-color: rgba(6, 9, 19, 0.9);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

textarea.form-control {
    resize: vertical;
}

.form-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* Form Submit State loaders */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(15, 23, 42, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Form alerts styling */
.form-alert {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 380px;
}

.footer-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-legal-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   13. FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.icon-whatsapp-float {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--bg-card);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation */
.animate-pulse {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4), 0 10px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================================================
   14. INTERSECTION OBSERVER ANIMATIONS (Scroll triggers)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Initial load animations for Hero */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES (Breakpoints)
   ========================================================================== */

/* Tablet & Widescreen Limits */
@media (max-width: 1024px) {
    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .nosotros-grid {
        gap: 40px;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-legal {
        grid-column: span 2;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 35px;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 18px;
        display: block;
    }
    
    .nav-cta {
        display: inline-block;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-section {
        padding-top: 120px;
        padding-bottom: 250px; /* Space for statistics bar */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        display: flex;
        justify-content: center;
    }
    
    .hero-image-container {
        justify-content: center;
    }
    
    .stats-bar {
        padding: 20px 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nosotros-image {
        order: -1; /* Image first on mobile */
    }
    
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contacto-form-container {
        padding: 25px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-legal {
        grid-column: span 1;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .icon-whatsapp-float {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-tooltip {
        display: none !important; /* Hide tooltip on mobile to avoid overlaying */
    }
}
