
:root {
    --rojo-orbecom: #da1f26; 
    --blanco-puro: #ffffff;
    --gris-fondo: #f0f2f5;  
    --texto-oscuro: #1a1a1a;
    --texto-gris: #555555;
    --verde-wapp: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    overflow-x: hidden; /* Evita scrolleos horizontales forzados */
}

body {
    background-color: var(--gris-fondo);
    color: var(--texto-oscuro);
    line-height: 1.6;
}

.hero {
    position: relative;
    background-color: var(--blanco-puro); 
    padding: 6rem 2rem 8rem 2rem;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: left; 
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7); 
}

.hero-layout {
    position: relative;
    z-index: 3;
    width: 100%;

    margin: 0; 
}

.logo-container, .hero-content {
    max-width: 700px; 
}

.logo-container {
    margin-bottom: 0; 
    margin-left: 5rem; 
}

.hero-main-logo {
    max-width: 100%;
    max-height: 500px; 
    height: auto;
    object-fit: contain;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--rojo-orbecom);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--texto-oscuro);
}

.btn-primary {
    display: inline-block;
    background-color: var(--rojo-orbecom);
    color: var(--blanco-puro);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(218, 31, 38, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #b3161c;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(218, 31, 38, 0.4);
}

.banner-envio {
    display: flex;
    justify-content: center;
    margin-top: -3rem; 
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.envio-card {
    background-color: var(--blanco-puro);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    width: 100%;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 3px solid var(--rojo-orbecom);
}

.icon-envio {
    font-size: 3rem;
    color: var(--rojo-orbecom);
    margin-bottom: 1rem;
}

.envio-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--texto-oscuro);
}

.envio-card h3 span {
    color: var(--rojo-orbecom); 
}

.servicios {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--blanco-puro);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;

    border-bottom: 6px solid var(--rojo-orbecom);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--texto-oscuro);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card p {
    color: var(--texto-gris);
    font-weight: 600;
}

.footer {
    background-color: var(--rojo-orbecom);
    color: var(--blanco-puro);
    padding: 4rem 2rem 2rem 2rem;
    text-align: left;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    align-items: center;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column; /* Apila el mapa y la dirección verticalmente */
    align-items: center;    /* Los centra */
}

.plan-cuida {
    margin-bottom: 2rem;
}

.plan-cuida h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.plan-cuida h2 span {
    font-size: 4rem; 
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
}

.contacto-item i {
    font-size: 2rem;
}

.contacto-item p {
    text-align: left;
    font-size: 1.1rem;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

.float-wapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--verde-wapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.float-wapp:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 1.5rem 4rem 1.5rem; /* Padding superior mínimo para que el logo quede bien arriba */
    }
    .logo-container { 
        margin-left: 0; 
        text-align: left; 
        margin-bottom: 1.5rem;
    }
    .hero-main-logo { 
        max-height: 200px; /* Logo mucho más grande según lo solicitado */
    }
    .hero-content {
        text-align: left;
    }
    .hero-content h2 { 
        font-size: 1.5rem; 
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .banner-envio {
        padding: 1rem;
    }
    .envio-card {
        padding: 1.5rem 1rem;
    }
    .envio-card h3 { 
        font-size: 1.2rem; 
        line-height: 1.4;
    }
    .grid-container {
        grid-template-columns: 1fr; 
    }
    .plan-cuida h2 { font-size: 2.2rem; }
    .plan-cuida h2 span { font-size: 3rem; }
    .contacto-info { flex-direction: column; gap: 1rem; }
    .contacto-item {
        padding: 1rem; /* Menos padding lateral en móvil para dar espacio al texto */
        word-break: break-word; /* Evita que el correo electrónico rompa la caja */
    }
    .float-wapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
}