/*=============================================
propuesta.css
===============================================
CSS PARA INDEX
21-08-2026
=============================================*/

/* :root {
    --rema-blue: #1e3a8a;
    --rema-red: #dc2626;
    --rema-dark: #1f2937;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    overflow-x: hidden;
} */

/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    --rema-blue: #1e3a8a;
    /* --rema-blue: #1A86BF; */
    --rema-blue-light: #2563eb;
    --rema-red: #dc2626;
    --rema-red-hover: #b91c1c;
    --rema-dark: #1f2937;
    --rema-gray-50: #f9fafb;
    --rema-gray-100: #f3f4f6;
    --rema-gray-200: #e5e7eb;
    --rema-gray-300: #d1d5db;
    --rema-gray-500: #6b7280;
    --rema-gray-700: #374151;
    --rema-gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--rema-gray-900);
    background: var(--rema-gray-50);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
    overflow-x: hidden;
    /* Clave para evitar el desbordamiento */
}


/* .logo {
    width: 50px;
    height: auto;
}

.navbar {
    background: #1e3a8a;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(1, 30, 71, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--rema-red) !important;
} */


.logo {
    width: 42px;
    height: auto;
    margin-right: 12px;
}

.brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.navbar {

    /* background-color: #1A86BF; */
    padding: 0.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    /* height: 72px; */
}

.navbar-1 {
    background: #1e3a8a;
}

.navbar-2 {
    background: linear-gradient(135deg, var(--rema-blue) 0%, var(--rema-dark) 100%);
}

.navbar-3 {
    background: #1A86BF;
}

.navbar.scrolled {
    /* background: rgba(30, 58, 138, 0.98) !important; */
    background: linear-gradient(135deg, var(--rema-blue) 0%, var(--rema-dark) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.nav-link:hover,
.nav-link.active-link {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rema-red);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 60%;
}

.btn-rema {
    /* background: var(--rema-red); */
    color: white;
    border: 2px solid var(--rema-red);
    padding: 5px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-rema:hover {
    background: #b91c1c;
    color: white;
}


#inicio,
#servicios,
#productos,
#contacto {
    scroll-margin-top: 6rem;

}


/* INFORMATION AND HERO */
.information {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Background con Imagen Panorámica */
.hero-bg .banderin {
    max-width: 100%;
    height: auto;
}

.hero-bg {
    margin: 0 0 2rem 0;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-content: baseline;
}



/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-bg {
        min-height: auto;
        padding: 3rem 0;
        margin: 1rem;
    }

    .nav-link::after {

        height: 1px;
    }

    .nav-link:hover::after,
    .nav-link.active-link::after {
        width: 20%;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        padding: 0;
        margin: 0.5rem;
    }
}

main {
    background: #fbf8ff;
}


/*SERVICIOS*/
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rema-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--rema-red);
    margin: 0 auto 3rem;
}

.info-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid var(--rema-blue);
    height: 100%;
}

.info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.info-card.red-border {
    border-top-color: var(--rema-red);
}

.info-card .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon-wrapper i {
    font-size: 2.5rem;
}


.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    height: 100%;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 40px;
    height: 40px;
    color: var(--rema-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

/*MARCAS*/
.logo-cloud-section {
    background: var(--rema-dark);
    background: linear-gradient(135deg, var(--rema-blue) 0%, var(--rema-dark) 100%);
    padding: 1rem 0;
    overflow: hidden;
    margin: 0;
}

.logo-cloud {
    display: flex;
    /*animation: scroll 10s linear infinite; 
    white-space: nowrap;*/
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0;
}

/* @keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
} */

.logo-item img {
    /* font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8); */
    padding: .2rem 1.5rem;
    flex-shrink: 1;
    flex-grow: 2;
    width: auto;
    height: 3rem;
}

/*PRODUCTOS*/
.catalog-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    /* cursor: pointer; */
    border: 2px solid transparent;
    height: 100%;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--rema-red);
}

.catalog-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
}

.catalog-card:hover .catalog-icon {
    transform: scale(1.1);
}

.catalog-icon i {
    font-size: 3rem;
    color: white;
}

/*ESTADISTICAS*/
.stats-section {
    background: var(--rema-blue);
    color: white;
    padding: 1rem 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--rema-red);
    margin-bottom: 0.5rem;
}



/* Tabs */
.tab-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    background: #e5e7eb;
    color: #4a5568;
    border: none;
    transition: all 0.3s;
    margin: 0.25rem;
}

.tab-btn:hover {
    background: var(--rema-red);
    color: white;
}

.tab-btn.active {
    background: var(--rema-red);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-icon-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon-circle i {
    font-size: 4rem;
    color: white;
}





/* Testimonials Carousel */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--rema-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
}

.carousel-indicators .active {
    background-color: var(--rema-red);
}

/* Contact */
.contact-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.contact-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-form-wrapper {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
}

.form-control:focus {
    border-color: var(--rema-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.btn-submit {
    background: var(--rema-blue);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #1e293b;
    color: white;
    transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: bounce 3s infinite;
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

.instagram-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #833ab4;
    /* Respaldo para navegadores antiguos */
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #fcb045);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: bounce 3s infinite;
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

.whatsapp-float:hover,
.instagram-float:hover {
    text-decoration: none;
    color: var(--rema-gray-200);

}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

footer {
    background: var(--rema-dark);
    color: white;
    padding: 3rem 0 2rem;
}

footer a {
    /* color: #9ca3af; */
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--rema-blue);
}

.modal-content {
    background-color: var(--rema-blue);
}