/* Chiappini Producciones - Diseño Moderno 2025 */

:root {
    --primary: #e10613;
    --primary-dark: #b0040e;
    --dark: #0a0a0a;
    --dark-800: #1a1a1a;
    --dark-700: #2a2a2a;
    --dark-600: #3a3a3a;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text);
    gap: 0.75rem;
}

.logo img {
    height: 45px;
    transition: transform 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text);
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-list li a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(225, 6, 19, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 6, 19, 0.5);
}

.cta-button-mobile {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(225, 6, 19, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(225, 6, 19, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 26, 46, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--dark);
    background: var(--text);
    padding: 0 0.5rem;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-button-explore {
    background: var(--text);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-button-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-secondary:hover {
    background: var(--text);
    color: var(--dark);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.hero-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-card.floating {
    animation: floating 3s ease-in-out infinite;
}

.hero-card.floating.delay-1 {
    animation-delay: 0.5s;
}

.hero-card.floating.delay-2 {
    animation-delay: 1s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-card i {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
    display: block;
}

.hero-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 4rem 0;
}

.fullwidth-banda-negra {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, var(--dark), var(--dark-800));
    color: var(--text);
    padding: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fullwidth-banda-negra i {
    color: var(--primary);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ============================================
   SERVICIOS MODERNOS
   ============================================ */
.servicios-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.servicio-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.servicio-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.servicio-card-modern:hover::before {
    transform: scaleX(1);
}

.servicio-card-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(225, 6, 19, 0.2);
}

.servicio-card-modern.featured {
    border: 2px solid var(--primary);
    background: rgba(225, 6, 19, 0.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--text);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.servicio-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.servicio-card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.servicio-card-modern p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.servicio-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.servicio-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.servicio-features li i {
    color: var(--primary);
    font-size: 1rem;
}

.servicio-cta-modern {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.servicio-cta-modern:hover {
    background: var(--primary);
    color: var(--text);
    transform: translateX(5px);
}

/* ============================================
   PROCESO TIMELINE
   ============================================ */
.proceso-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.proceso-step {
    text-align: center;
    position: relative;
}

.proceso-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.proceso-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 25px rgba(225, 6, 19, 0.3);
    transition: all 0.3s;
}

.proceso-step:hover .proceso-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(225, 6, 19, 0.5);
}

.proceso-step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.proceso-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PROYECTOS MODERNOS
   ============================================ */
.proyectos-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.proyecto-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.proyecto-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.proyecto-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, rgba(225, 6, 19, 0.1), rgba(26, 26, 46, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.proyecto-image-placeholder i {
    font-size: 3rem;
    opacity: 0.3;
}

.proyecto-content-modern {
    padding: 2rem;
}

.proyecto-categoria {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.proyecto-content-modern h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.proyecto-content-modern p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.proyecto-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag i {
    color: var(--primary);
}

.proyecto-cta-container {
    text-align: center;
    margin-top: 3rem;
}

.proyecto-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.proyecto-note i {
    color: var(--primary);
}

/* ============================================
   CARRUSEL DE EMPRESAS
   ============================================ */
.empresas-section {
    text-align: center;
}

.empresas-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(225, 6, 19, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.empresas-carousel-wrapper {
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.empresas-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.empresa-logo-item {
    min-width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empresa-logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.empresa-logo-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   NOSOTROS SECTION
   ============================================ */
.nosotros-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.nosotros-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.nosotros-text .lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.nosotros-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.nosotros-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.value-card:hover {
    background: rgba(225, 6, 19, 0.05);
    border-color: var(--primary);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CONTACTO MODERNO
   ============================================ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contacto-info-modern h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contacto-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contacto-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contacto-method {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.method-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.method-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.method-info a:hover {
    color: var(--text);
}

.contacto-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contacto-form-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contacto-form-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-modern {
    position: relative;
}

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group-modern select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}

.form-group-modern select option {
    background: var(--dark-800);
    color: var(--text);
    padding: 0.75rem;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group-modern i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.form-group-modern textarea+i {
    top: 1.5rem;
    transform: none;
}

.btn-submit-modern {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(225, 6, 19, 0.3);
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(225, 6, 19, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--text);
}

.footer-tagline {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-dev {
    margin-top: 0.5rem;
}

.footer-dev i {
    color: var(--primary);
}

/* ============================================
   POPUPS
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: var(--dark-800);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.popup-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popup-modal h2 i {
    color: var(--primary);
}

.popup-modal p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.popup-options {
    margin-bottom: 2rem;
}

.popup-option-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.popup-option-btn:hover {
    border-color: var(--primary);
    background: rgba(225, 6, 19, 0.1);
}

.popup-option-btn i {
    font-size: 2.5rem;
    color: var(--primary);
}

.popup-option-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

.popup-option-btn small {
    color: var(--text-muted);
}

.popup-divider {
    text-align: center;
    color: var(--text-muted);
    margin: 2rem 0;
    position: relative;
}

.popup-divider::before,
.popup-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.popup-divider::before {
    left: 0;
}

.popup-divider::after {
    right: 0;
}

.popup-contact-methods h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-contact-methods h4 i {
    color: var(--primary);
}

.popup-qr-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

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

.popup-qr {
    width: 160px;
    height: 160px;
    background: white;
    padding: 0.5rem;
    border-radius: 15px;
    margin-bottom: 0.75rem;
}

.qr-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.qr-label strong {
    color: var(--text);
    font-size: 1rem;
}

.qr-label span {
    color: var(--primary);
    font-size: 0.9rem;
}

.popup-email {
    margin-top: 2rem;
    text-align: center;
}

.popup-email h4 {
    justify-content: center;
}

.popup-email p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.popup-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 6, 19, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    header {
        padding: 1rem 1.5rem;
    }

    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .cta-button {
        display: none;
    }

    nav.active {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }

    nav.active .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    nav.active .cta-button-mobile {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .section-intro h2 {
        font-size: 2rem;
    }

    .fullwidth-banda-negra {
        font-size: 1.3rem;
        padding: 1.5rem 1rem;
    }

    .servicios-grid-modern,
    .proyectos-grid-modern {
        grid-template-columns: 1fr;
    }

    .proceso-timeline {
        grid-template-columns: 1fr;
    }

    .empresas-carousel-container {
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .empresas-carousel-wrapper {
        max-width: calc(100vw - 140px);
    }

    .empresa-logo-item {
        min-width: 150px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .content-wrapper {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button-explore,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }

    .popup-modal {
        padding: 2rem 1.5rem;
    }

    .popup-qr-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}