:root {
    --primary-blue: #00264e; 
    --accent-red: #d81b35;
    --dark-navy: #1a1a1a;
    --bg-light-blue: #eef5ff;
    --blob-green: #98b1a8;
}

/*--primary-blue: #0056b3; 
--accent-red: #d93025;*/

#hero-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Badge superior */
.badge-custom {
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #d0e3ff;
}

/* Título */
.main-title {
    /*font-family: "Roboto", sans-serif;*/
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.1;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.text-blue { color: var(--primary-blue); }
.text-red { color: var(--accent-red); }

/* Botones */
.btn-primary-custom {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-primary-custom:hover{
    color: #ffffff;
}

.btn-outline-custom {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 28px;
    color: var(--dark-navy);
    font-weight: 600;
    margin-left: 10px;
}

/* --- Estilos del Carrusel y Tarjeta --- */

.slider-wrapper {
    position: relative;
    padding: 20px;
}

.carousel-card {
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

/* El fondo verde orgánico (Blob) */
.blob-background {
    position: absolute;
    width: 320px;
    height: 320px;
    background-color: var(--blob-green);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.6;
    z-index: 1;
}

.image-container {
    position: relative;
    z-index: 2;
}

.image-container img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
}

/* Badge flotante de 30% */
.floating-savings-badge {
    position: absolute;
    bottom: 45px;
    left: 0px;
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
}

.floating-savings-badge .icon-box {
    background: #ffebeb;
    color: var(--accent-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

.floating-savings-badge .label {
    font-size: 0.75rem;
    color: #888;
}

.floating-savings-badge .amount {
    font-weight: 800;
    color: #333;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .main-title { font-size: 2.5rem; text-align: center; }
    .text-content { text-align: center; }
    .badge-custom { margin: 0 auto 1rem; display: table; }
    .d-flex { justify-content: center; }
}

#brands-section {
    background-color: #f8f9fa; /* Fondo gris muy claro como en la imagen */
    border-top: 1px solid #eee;
    padding: 40px 0;
}

.brands-title-top {
    font-size: 0.85rem;
    font-weight: 700;
    color: #99a1aa; /* Color gris azulado del texto */
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Estilo de los logos */
.brand-logo {
    max-width: 180px; /* Ajusta según el tamaño de tus logos */
    height: auto;
    margin: 0 auto;
    /* Efecto Blanco y Negro */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Efecto al pasar el mouse */
.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05); /* Pequeño aumento opcional */
}

/* Ajuste para centrar items en Owl Carousel si hay pocos */
.slider-brands .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

:root {
    --text-dark: #1a1e21;
    --text-muted: #6c757d;
    --primary-red: #d81b35;
}

#features-section {
    background-color: #ffffff;
    padding: 60px 0;
}

/* Encabezado */
.section-subtitle {
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-main-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.red-line-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* Estilo de las Tarjetas */
.feature-box {
    background: #f8f9fa; /* Fondo gris muy tenue */
    padding: 40px 30px;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-box:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Contenedores de Iconos */
.icon-container {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.icon-blue { background-color: #eef5ff; color: #0061f2; }
.icon-red { background-color: #ffebeb; color: #d81b35; }
.icon-green { background-color: #e6f9ed; color: #00ac69; }

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .section-main-title {
        font-size: 1.8rem;
    }
    .feature-box {
        text-align: center;
    }
    .icon-container {
        margin: 0 auto 20px;
    }
}

:root {
    --navy: #1a1e21;
    --primary-blue: #00264e;
    --red-link: #d81b35;
}

#services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-tag {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title {
    color: var(--navy);
    font-weight: 800;
    font-size: 2.5rem;
    margin-top: 5px;
}

.quote-link {
    color: var(--red-link);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.quote-link:hover {
    color: var(--navy);
    text-decoration: none;
}

/* Estilo de la Tarjeta */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin: 10px 5px; /* Espacio para la sombra */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-img-wrapper {
    height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #eee;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-content p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    overflow: hidden;
}

.view-more {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-more i {
    font-size: 0.7rem;
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .text-md-right { text-align: left !important; }
}

:root {
    --raee-green: #24b358;
    --raee-bg-light: #f4f9f6;
    --navy-dark: #1a1e21;
}

#raee-section {
    padding: 60px 0;
}

.raee-card {
    background-color: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.raee-content {
    padding: 60px;
}

.raee-tag {
    color: var(--raee-green);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.raee-title {
    color: var(--navy-dark);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.raee-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Lista de beneficios */
.raee-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.raee-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #444;
    font-weight: 500;
}

.raee-list li i {
    color: var(--raee-green);
    font-size: 1.2rem;
}

/* Botón personalizado */
.btn-raee {
    background-color: var(--raee-green);
    color: white;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-raee:hover {
    background-color: #1d9147;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 179, 88, 0.3);
}

/* Columna Visual */
.raee-visual {
    background: linear-gradient(to right, #ffffff, #d5e8df);
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-element {
    /*width: 240px;
    height: 340px;*/
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    /*border: 1px solid #e0e0e0;*/
}

/*.visual-element::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: #e0e0e0;
}*/
.visual-element img{
    border-radius: 10px 0 0 10px;
}

/* Responsivo */
@media (max-width: 991px) {
    .raee-content {
        padding: 40px 30px;
        text-align: center;
    }
    .raee-tag, .raee-list li {
        justify-content: center;
    }
    .raee-title {
        font-size: 2.2rem;
    }
    .raee-visual {
        min-height: 300px;
        order: -1; /* Mueve la imagen arriba en móviles */
    }
}