/* ==========================================
           VARIABLES DE COLOR Y FUENTES
           ========================================== */
        :root {
            --primary-blue: #0A1332;
            --secondary-blue: #16286B;
            --primary-red: #A32A33;
            --secondary-red: #8F262F;
            --light-bg: #F8F9FA;
            --dark-text: #333333;
            --grey-hex: #B3B3B3;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark-text);
            overflow-x: hidden;
        }

        /* ==========================================
           TOP BAR & NAVBAR
           ========================================== */
        .top-bar {
            background-color: var(--primary-blue);
            color: white;
            font-size: 0.85rem;
            padding: 8px 0;
        }
        
        .navbar {
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            padding: 15px 0;
            background-color: white;
        }

        .mir-logo-text {
            color: var(--secondary-blue);
            line-height: 1.1;
        }
        .mir-logo-text strong {
            font-size: 2.5rem;
            letter-spacing: -1px;
            position: relative;
        }
        .mir-logo-text strong span { color: var(--primary-red); }
        .mir-logo-text small {
            display: block;
            font-size: 0.55rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: var(--primary-blue);
        }

        .nav-link {
            font-weight: 700;
            color: var(--primary-blue) !important;
            text-transform: uppercase;
            font-size: 0.9rem;
            margin: 0 10px;
            transition: color 0.3s;
            cursor: pointer;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--primary-red) !important;
        }

        /* ==========================================
           HERO SECTION & CAROUSEL
           ========================================== */
        .hero-section {
            position: relative;
            height: 500px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            background-attachment: fixed;
        }
        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(10,19,50,0.8) 0%, rgba(10,19,50,0.2) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            color: white;
        }
        .hero-content h2 {
            font-weight: 400;
            font-size: 2rem;
            margin-bottom: 0;
        }
        .hero-content h1 {
            font-weight: 800;
            font-size: 4rem;
            margin-bottom: 20px;
        }
        .btn-mir-outline {
            background-color: white;
            color: var(--primary-red);
            font-weight: 600;
            padding: 10px 25px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s;
        }
        .btn-mir-outline:hover {
            background-color: var(--primary-red);
            color: white;
        }

        /* ==========================================
           SERVICIOS GRID (INICIO)
           ========================================== */
        .service-card {
            position: relative;
            height: 220px;
            background-size: cover;
            background-position: center;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            text-decoration: none;
            overflow: hidden;
            cursor: pointer;
        }
        .service-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            transition: all 0.3s;
        }
        .service-card:hover::before {
            background: rgba(163,42,51,0.7);
        }
        .service-card h4 {
            position: relative;
            z-index: 2;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 0 15px;
        }

        /* ==========================================
           HEXAGONOS & GEOMETRÍA
           ========================================== */
        .geometric-bg {
            position: relative;
            padding: 80px 0;
            background: var(--primary-blue);
            clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
            margin: 60px 0;
        }
        
        .hex-wrapper {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            position: relative;
            z-index: 2;
        }

        .hex {
            width: 320px;
            height: 280px;
            clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem 3rem;
            text-align: center;
            color: white;
        }
        .hex.red { background-color: var(--primary-red); }
        .hex.blue { background-color: var(--secondary-blue); }
        .hex.grey { background-color: var(--grey-hex); color: var(--primary-blue); }
        
        .hex h3 { font-weight: 700; font-size: 1.4rem; margin-bottom: 15px; }
        .hex p, .hex ul { font-size: 0.85rem; line-height: 1.4; margin: 0; }
        .hex ul { list-style: none; padding: 0; text-align: left; }
        .hex ul li::before { content: '✓'; margin-right: 8px; font-weight: bold; }

        /* ==========================================
           CLIENTES
           ========================================== */
        .clients-logos img {
            max-width: 150px;
            height: auto;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s;
        }
        .clients-logos img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* ==========================================
           CTA SECTION
           ========================================== */
        .cta-section {
            background-image: url('../images/bg-cintillo-pie.jpg');
            background-size: cover;
            background-position: center;
            position: relative;
            padding: 80px 0;
            color: white;
            background-attachment: fixed;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(163,42,51,0.9) 0%, rgba(10,19,50,0.7) 100%);
        }
        .btn-mir-solid {
            background-color: rgba(255,255,255,0.2);
            border: 1px solid white;
            color: white;
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            transition: background 0.3s;
        }
        .btn-mir-solid:hover {
            background-color: white;
            color: var(--primary-red);
        }

        /* ==========================================
           FOOTER
           ========================================== */
        footer {
            background-color: white;
            padding: 40px 0 20px;
        }
        .footer-bottom {
            border-top: 1px solid #eee;
            padding-top: 20px;
            margin-top: 30px;
        }
        .footer-contact-item {
            color: var(--dark-text);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .footer-contact-item i {
            color: var(--primary-red);
            font-size: 1.2rem;
        }

        /* ==========================================
           PAGE VIEWS (SPA LOGIC)
           ========================================== */
        .page-view { display: none; animation: fadeIn 0.5s; }
        .page-view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* Floating WhatsApp */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: white;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 35px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
            z-index: 1000;
            text-decoration: none;
            transition: transform 0.3s;
        }
        .whatsapp-float:hover { transform: scale(1.1); color: white; }

        /* Helpers */
        .section-title {
            text-align: center;
            font-weight: 400;
            font-size: 2rem;
            margin-bottom: 40px;
        }
        .section-title strong { font-weight: 800; }
        
        /* Portfolio Box */
        .portfolio-item img {
            width: 100%;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

.carousel-caption {
    position: absolute;
    right: 15%;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: left;
    top: 40%;
}
.carousel-caption h5{
    font-size: 2.25rem;
}
.carousel-caption h2{
    font-size: 3.25rem;
    font-weight: bold;
}
.manita{
    cursor: pointer;
}
.color-blanco{
    color: #fff;
}
/* --- Contact Form Section --- */
        .contact-section {
            padding: 80px 0;
            background-color: #fff;
        }
        .contact-card {
            background: #fff;
            padding: 40px;
            border-radius: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #f0f0f0;
        }
        .form-control {
            border: none;
            border-bottom: 1px solid #ccc;
            border-radius: 0;
            padding: 15px 0;
            margin-bottom: 20px;
            background: transparent;
        }
        .form-control:focus {
            box-shadow: none;
            border-color: var(--mir-red);
        }
        .btn-enviar {
            background-color: #9F3E43;
            color: white;
            border-radius: 8px;
            padding: 10px 30px;
            border: none;
            text-transform: uppercase;
            font-weight: 700;
            display: inline-block;
            transition: transform 0.2s;
        }
        .btn-enviar:hover {
            background-color: #8a3a3a;
            color: white;
        }

        .contact-info {
            padding-left: 50px;
        }
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            font-weight: 700;
            color: var(--mir-blue);
        }
        .info-item i {
            color: var(--mir-red);
            margin-right: 15px;
            font-size: 1.2rem;
        }
.w-200{
    width: 200px;
}
.w-150{
    width: 150px;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}

@media screen and (max-width: 1199px) {

}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 95%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 95%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 95%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
    html {
        font-size: 95%;
    }
    .hero-section {
        background-attachment: local;
    }
    .cta-section {
        background-attachment: local;
    }
}