
@font-face {
    font-family: 'Monserrat';
    src: url('./fonts/monserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Monserrat';
    src: url('./fonts/monserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Monserrat';
    src: url('./fonts/monserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root{
    --color-primary: #116dd8; /* #F15C2E; */
/*    --color-primary: #f7a502; */
    --color-secondary: #D9D9D9;;
    --color-black: #03040050;
    --color-white: #FFFFFF;
    --font-title: 'Monserrat', sans-serif;
    --font-body: 'Monserrat', sans-serif;
/*    --font-body: 'Raleway', sans-serif; */
    --color-menu: #1A1B25;
    --color-contacto: #1A1B25;

    --contact-icon-size: 60px;     /* tamaño del círculo */
    --contact-icon-out-x: 5px;     /* cuánto se sale a la derecha */
    --contact-icon-out-y: 5px;     /* cuánto se sale hacia arriba */
}

.pyfsitio {
    font-weight: bold;
    color: #F6810E !important;
    text-decoration: none;
    /* opcional: quita el subrayado */
}

.pyfsitio:hover {
    filter: brightness(1.1);
    /* le da una leve iluminación al pasar el mouse */
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: smooth;
    background: #ffffff;
    background-image: url("./media/img/fondo.png");
    background-size: 100%;
    line-height: 1;


}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
}
p,span, a, li, small {
    font-family: var(--font-body);
}

header {
    margin-bottom: 99px;

    .navbar{
        background-color: var(--color-secondary) !important;

        .navbar-brand{
            img{
                width: 240px;
            }
        }
        .container-fluid .nav-link,
        .container-fluid .nav-link-distribuidor,
        .container-fluid .nav-link-contacto {
            display: inline-block;
            color: var(--color-menu);
            border: 1px solid var(--color-menu);
            border-radius: 60px;
            padding: 20px 20px;
            margin: 10px 20px;
            text-decoration: none;
        }

        /* Botón de Distribuidor */
        .container-fluid .nav-link-distribuidor {
            background-color: var(--color-primary);     /* color de fondo */
        }

        /* Botón de Contacto  + icono WhatsApp a la derecha */ 
        .container-fluid .nav-link-contacto {
            position: relative;
            overflow: visible;
            /* permite que el ícono sobresalga */
            background-color: var(--color-contacto);
            color: var(--color-white);
            border-color: var(--color-contacto);
            /* deja espacio interno por si no querés que se superponga */
            padding-right: calc(var(--contact-icon-size) + 20px);
        }

        /* el ícono (círculo blanco con logo naranja) que sobresale */
        .container-fluid .nav-link-contacto::after {
            content: "\F618";
            /* bi-whatsapp */
            font-family: "bootstrap-icons";
            position: absolute;
            top: calc(0px - var(--contact-icon-out-y));
            /* sobresale hacia arriba */
            right: calc(0px - var(--contact-icon-out-x));
            /* sobresale a la derecha */

            width: var(--contact-icon-size);
            height: var(--contact-icon-size);
            line-height: var(--contact-icon-size);
            font-size: calc(var(--contact-icon-size) * 0.50);   /* ~25px si size=44 */
            text-align: center;
            display: flex;
            align-items: center;    /* Centra verticalmente */
            justify-content: center;    /* Centra horizontalmente */

            background: #fff;
            /* fondo blanco del círculo */
            color: var(--color-primary);
            /* logo naranja */
            border-radius: 50%;
            border: 8px solid var(--color-contacto);
            /* borde del color del botón */
            box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
            pointer-events: none;
            /* no tapa el click del enlace */
        }

    }
}

/* Base: contenedores hero */
.hero,
.hero_mb {
    position: relative;
    width: 100%;
    /* Valores por defecto (podés sobrescribir por sección o inline) */
    --ov-x: 50%;
    /* posición horizontal del overlay (0% izq, 50% centro, 100% der) */
    --ov-y: 50%;
    /* posición vertical del overlay (0% arriba, 50% centro, 100% abajo) */
    --ov-anchor-x: 50%;
    /* ancla de centrado horizontal (igual que transform-origin) */
    --ov-anchor-y: 50%;
    /* ancla de centrado vertical */
    --ov-nudge-x: 0px;
    /* micro ajuste horizontal (px +/−) */
    --ov-nudge-y: 0px;
    /* micro ajuste vertical (px +/−) */
    --ov-width: clamp(120px, 20vw, 280px);
    /* tamaño del overlay */
}

.hero .hero-bg,
.hero_mb .hero-bg {
    display: block;
    width: 100%;
    height: auto;
}

/* Imagen superpuesta */
.hero .hero-overlay,
.hero_mb .hero-overlay {
    position: absolute;
    left: var(--ov-x);
    top: var(--ov-y);
    width: var(--ov-width);
    height: auto;
    z-index: 2;
    pointer-events: none;
    /* Centrado + nudges (puede mezclar % y px en calc) */
    transform:
        translate(calc(-1 * var(--ov-anchor-x) + var(--ov-nudge-x)),
            calc(-1 * var(--ov-anchor-y) + var(--ov-nudge-y)));
}

/* ——— Botón flotante tipo pill con badge redondo ——— */
.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-contacto);
    /* mismo color que “Contacto” */
    color: var(--color-white);
    border: 1px solid var(--color-contacto);
    border-radius: 60px;
    padding: var(--btn-pad-y, 14px) var(--btn-pad-x, 20px);
    /* deja lugar al badge a la derecha */
    padding-right: calc(var(--btn-pad-x, 20px) + var(--badge-size, 36px) + 14px);
    text-decoration: none;
    line-height: 1;
}

.overlay-btn:hover {
    filter: brightness(.98);
}

/* Badge circular blanco con flecha naranja a 45° */
.overlay-btn .badge-icon {
    position: absolute;
    top: calc(-1 * var(--badge-off-y, 10px));
    right: calc(-1 * var(--badge-off-x, 10px));
    width: var(--badge-size, 54px);
    height: var(--badge-size, 54px);
    border-radius: 50%;
    background: #fff;
    border: 8px solid var(--color-contacto);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* no tapa el click */
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.overlay-btn .badge-icon i {
    font-size: calc(var(--badge-size, 40px) * 0.58);
    color: var(--color-primary);
    /* naranja del tema */
    transform: translateY(var(--glyph-nudge-y, -2px));
}

.overlay-btn:hover .badge-icon i {
    transform: translateY(calc(var(--glyph-nudge-y, -2px) - 1px));
}

/* Utilidades rápidas de colocación (opcional) */
.u-center {
    --ov-x: 50%;
    --ov-y: 50%;
    --ov-anchor-x: 50%;
    --ov-anchor-y: 50%;
}

.u-top {
    --ov-x: 50%;
    --ov-y: 0%;
    --ov-anchor-x: 50%;
    --ov-anchor-y: 0%;
}

.u-bottom {
    --ov-x: 50%;
    --ov-y: 100%;
    --ov-anchor-x: 50%;
    --ov-anchor-y: 100%;
}

.u-left {
    --ov-x: 0%;
    --ov-y: 50%;
    --ov-anchor-x: 0%;
    --ov-anchor-y: 50%;
}

.u-right {
    --ov-x: 100%;
    --ov-y: 50%;
    --ov-anchor-x: 100%;
    --ov-anchor-y: 50%;
}

.u-top-right {
    --ov-x: 100%;
    --ov-y: 0%;
    --ov-anchor-x: 100%;
    --ov-anchor-y: 0%;
}

.u-top-left {
    --ov-x: 0%;
    --ov-y: 0%;
    --ov-anchor-x: 0%;
    --ov-anchor-y: 0%;
}

.u-bottom-left {
    --ov-x: 0%;
    --ov-y: 100%;
    --ov-anchor-x: 0%;
    --ov-anchor-y: 100%;
}

.u-bottom-right {
    --ov-x: 100%;
    --ov-y: 100%;
    --ov-anchor-x: 100%;
    --ov-anchor-y: 100%;
}

/* Tus breakpoints existentes: mostrar desktop / mobile */
@media (min-width: 900px) {
    .hero {
        display: block
    }

    .hero_mb {
        display: none
    }
}

@media (max-width: 899.98px) {
    .hero {
        display: none
    }

    .hero_mb {
        display: block
    }
}


.navbar-toggler{
    border: yellow;
}


.cuida_tus_caminos {
    position: relative;
    padding: 50px;
    background: var(--color-secondary);
    color: black;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(-20px);
}

.cuida_tus_caminos::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cuida_tus_caminos i.bi-arrow-down {
    font-size: 30px;
    color: orange;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -20%);
}

/* Aseguramos que la imagen sea fluida y tenga un margen debajo */
.cuida_tus_caminos img {
    max-width: 100%;
    height: auto;
    /* Mantiene la relación de aspecto */
    margin-bottom: 20px;
    /* Espacio debajo de la imagen */
}

/* Ajustes para los párrafos con padding lateral de 20px */
.cuida_tus_caminos p {
    font-size: 12px;
    /* Tamaño de fuente más pequeño */
    line-height: 1.6;
    /* Espaciado entre líneas */
    color: black;
    /* Si el texto está en blanco */
    margin: 0 auto;
    /* Centra el párrafo */
    padding-left: 20px;
    /* Padding a la izquierda */
    padding-right: 20px;
    /* Padding a la derecha */
    max-width: 90%;
    /* Limita el ancho del párrafo */
}

.solucion_innovadora {
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;    
    padding: 50px;
    background: var(--color-contacto);
    color: white;
    border-radius: 54px;
    transform: translateY(-20px);
}

/* Aseguramos que la imagen sea fluida y tenga un margen debajo */
.solucion_innovadora img {
    max-width: 100%;
    height: auto;
    /* Mantiene la relación de aspecto */
    margin-bottom: 20px;
    /* Espacio debajo de la imagen */
}

/* Ajustes para los párrafos con padding lateral de 20px */
.solucion_innovadora p {
    font-size: 14px;
    /* Tamaño de fuente más pequeño */
    line-height: 1;
    /* Espaciado entre líneas */
    color: white;
    /* Si el texto está en blanco */
    margin: 10 auto;
    /* Centra el párrafo */
    padding-left: 20px;
    /* Padding a la izquierda */
    padding-right: 20px;
    /* Padding a la derecha */
    max-width: 100%;
    /* Limita el ancho del párrafo */
}

.solucion_innovadora .linea-blanca {
    width: 100%;
    /* ocupa todo el ancho del contenedor */
    height: 2px;
    /* grosor de la línea */
    background: #fff;
    /* línea blanca */
    margin: 0 auto 40px;
    /* centrada + separación con lo que sigue */
    border-radius: 999px;
    /* borde redondeado tipo pill */
}

/* ——— Botones pill con badge redondo (reutilizable) ——— */
.donde-btn,
.convertite-btn,
.contacto-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-contacto);
    color: var(--color-white);
    border: 1px solid var(--color-contacto);
    border-radius: 60px;
    padding: var(--btn-pad-y, 14px) var(--btn-pad-x, 20px);
    /* deja lugar al badge a la derecha */
    padding-right: calc(var(--btn-pad-x, 20px) + var(--badge-size, 36px) + 14px);
    text-decoration: none;
    line-height: 1;
    position: relative;
    /* clave para el badge */
    overflow: visible;
    /* deja salir el circulito */
}

.donde-btn:hover,
.convertite-btn:hover,
.contacto-btn:hover {
    filter: brightness(.98);
}

/* Badge circular blanco con flecha naranja */
.donde-btn .badge-icon,
.convertite-btn .badge-icon,
.contacto-btn .badge-icon {
    position: absolute;
    top: -10px;
    /* cuánto sobresale hacia arriba */
    right: -10px;
    /* cuánto sobresale hacia la derecha */
    width: var(--badge-size, 54px);
    height: var(--badge-size, 54px);
    border-radius: 50%;
    background: #fff;
    border: 8px solid var(--color-contacto);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.donde-btn .badge-icon i,
.convertite-btn .badge-icon i,
.contacto-btn .badge-icon i {
    font-size: calc(var(--badge-size, 40px) * 0.58);
    color: var(--color-primary);
    transform: translateY(-2px);
    /* nudge fino */
}

@media (max-width: 767.98px) {

    .donde-btn,
    .convertite-btn,
    .contacto-btn {
        width: 100%;
        /* ocupan todo el ancho de la columna */
        justify-content: center;
        /* centra el texto e icono dentro del botón */
    }
}


/* ===== Acordeón de Preguntas Frecuentes ===== */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;  /* espacio entre botones/burbujas */
}

/* Botón base, tipo pill, blanco, con círculo de color contacto */
.faq-btn {
    display: inline-flex;
    align-items: center;
    /* centra verticalmente */
    justify-content: center;
    /* centra horizontalmente el texto */
    gap: 12px;
    width: 100%;
    max-width: 100%;
    background: var(--color-secondary);
    color: var(--color-contacto);
    border: 1px solid var(--color-contacto);
    border-radius: 999px;

    /* 🔥 Más alto: aumentamos padding vertical */
    padding: 16px 24px;
    /* Dejo espacio a la derecha para el círculo */
    padding-right: calc(24px + var(--badge-size, 48px));

    text-decoration: none;
    line-height: 1.2;
    position: relative;
    overflow: visible;
    font-size: 0.95rem;
    cursor: pointer;
}

/* opcional: texto siempre en una línea */
.faq-btn span.text {
    white-space: nowrap;
}

/* Hover suave */
.faq-btn:hover {
    filter: brightness(0.98);
}

.faq-btn .badge-icon {
    position: absolute;
    right: 16px;
    /* dentro del botón */
    top: 50%;
    transform: translateY(-50%);
    /* centrado verticalmente */

    width: var(--badge-size, 48px);
    height: var(--badge-size, 48px);
    border-radius: 50%;

    background: var(--color-contacto);
    /* 🔥 círculo gris secundario */
    border: 4px solid var(--color-contacto);
    /* borde blanco para separarlo */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.faq-btn .badge-icon i {
    font-size: 1.6rem;
    color: var(--color-primary);
    /* 🧡 flecha naranja */
    transform: rotate(225deg);
    /* 45 grados */
}

/* Burbuja de contenido */
.faq-bubble {
    display: none;
    background: var(--color-primary);
    color: var(--color-contacto);
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 0.9rem;
    text-align: left;
    position: relative;
}
.faq-bubble p {
    color: var(--color-contacto);
}

/* Burbuja visible */
.faq-bubble.show {
    display: block;
}

/* Puntita de la burbuja (opcional lindo detalle) */
.faq-bubble::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 24px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent var(--color-primary) transparent;
}


.instagram {
    position: relative;
    margin-top: 50px;
    margin-bottom: 00px;
    padding: 50px;
    background: var(--color-secondary);
    color: black;
    border-radius: 54px;
    transform: translateY(-20px);
}

/* Mapa distribuidor */
/* ——— Botones pill con badge redondo (reutilizable) ——— */
.distribuidor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 12px;
    background: var(--color-secondary);
    color: #000000;
    border: 1px solid var(--color-secondary);
    border-radius: 60px;
    padding: var(--btn-pad-y, 14px) var(--btn-pad-x, 20px);
    /* deja lugar al badge a la derecha */
    padding-right: calc(var(--btn-pad-x, 20px) + var(--badge-size, 36px) + 14px);
    text-decoration: none;
    line-height: 1;
    position: relative;
    /* clave para el badge */
    overflow: visible;
    /* deja salir el circulito */
}

.distribuidor-btn:hover {
    filter: brightness(.98);
}

/* Badge circular blanco con flecha naranja */
.distribuidor-btn .badge-icon {
    position: absolute;
    top: -10px;
    /* cuánto sobresale hacia arriba */
    right: -10px;
    /* cuánto sobresale hacia la derecha */
    width: var(--badge-size, 54px);
    height: var(--badge-size, 54px);
    border-radius: 50%;
    background: var(--color-contacto);
    border: 8px solid var(--color-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, .15);*/
}

.distribuidor-btn .badge-icon i {
    font-size: calc(var(--badge-size, 40px) * 0.58);
    color: var(--color-primary);
    transform: translateY(-2px);
    /* nudge fino */
}

/* Contenedor interno del contenido del botón */
.distribuidor-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-center;
    gap: 4px;
    padding-left: 20px;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    text-align: center;
}

/* Título negro en negrita */
.distribuidor-btn-title {
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;

}

/* Domicilio + teléfono en negro, dos renglones */
.distribuidor-btn-text {
    margin: 0;
    color: #000;
    font-size: 0.8rem;
    line-height: 1.3;
    padding-top: 20px;
}

@media (max-width: 767.98px) {

    .distribuidor-btn {
        width: 100%;
        /* ocupan todo el ancho de la columna */
        justify-content: center;
        /* centra el texto e icono dentro del botón */
    }
}

.distribuidor-mapas .map-wrapper iframe {
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Estado activo del botón de sucursal */
.map-btn.map-btn--active {
    filter: brightness(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.distribuidor-contacto {
    background-color: var(--color-contacto);
    color: var(--color-secondary);
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 50px;
    margin-top: 50px;
    margin-bottom: 100px;
    margin-left: 50px;
    margin-right: 50px;

    /* Espacio interno */
    border-radius: 60px;
    /* Bordes redondeados */
}

/* Ajustes para los párrafos con padding lateral de 20px */
.distribuidor-contacto p {
    font-size: 12px;
    /* Tamaño de fuente más pequeño */
    line-height: 1.6;
    /* Espaciado entre líneas */
    color: var(--color-secondary);
    /* Si el texto está en blanco */
    margin: 0 auto;
    /* Centra el párrafo */
    padding-left: 20px;
    /* Padding a la izquierda */
    padding-right: 20px;
    /* Padding a la derecha */
    max-width: 90%;
    /* Limita el ancho del párrafo */
    text-align: center;
}
/* Ajustes para los párrafos con padding lateral de 20px */
.distribuidor-contacto h1 {
    color: var(--color-primary);
}

/* Estilo de los campos del formulario */
.distribuidor-contacto .form-control {
    border: 2px solid var(--color-secondary);
    /* borde de color secundario */
    background-color: var(--color-contacto);
    /* fondo del color contacto */
    color: #fff;
    /* texto blanco */
    border-radius: 60px;
    /* esquinas redondeadas tipo píldora */
    padding: 35px 20px;
    /* padding interno (vertical + horizontal) */
    font-size: 1rem;
    /* tamaño de letra coherente */
    font-weight: 500;
}

/* Estado focus: evitar borde azul feo */
.distribuidor-contacto .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.15);
    outline: none;
}

.distribuidor-contacto textarea.form-control {
    border: none;
    /* sin borde */
    border-radius: 30px;
    /* podés ajustar o dejar 0 si querés recto */

    /* Fondo con imagen */
    background-image: url('./media/img/contacto_fondomensaje.webp');
    background-size: cover;
    /* la imagen cubre todo el área */
    background-position: center;
    /* centrada */
    background-repeat: no-repeat;
    /* que no se repita */

    /* Importante: pisamos el background sólido anterior */
    background-color: transparent;

    color: #fff;
    /* texto blanco */
    padding: 20px 24px;
    /* más aire interno */
    min-height: 250px;
    /* para que se luzca la imagen */
    resize: vertical;
    /* si querés que pueda agrandarse hacia abajo */
}

.distribuidor-contacto textarea.form-control {
    border: none;
    /* sin borde */
    background-image: url('./media/img/contacto_fondomensaje.webp');
    background-repeat: no-repeat;
    background-size: contain;
    /* que se vea completa */
    background-position: top center;
    /* alineada arriba y centrada */

    background-color: transparent;
    /* por si acaso */
    color: var(--color-contacto);
    border-radius: 20px;

    min-height: 360px;
    /* altura mínima para que no recorte la imagen */
    padding: 20px 24px;
    /* espacio interno */
    resize: vertical;
    /* opcional: permitir agrandar hacia abajo */
}

.distribuidor-contacto textarea.form-control::placeholder {
    color: var(--color-contacto);
    opacity: 0.8;
    /* Asegura que el color no se vea apagado */
}

.distribuidor-contacto textarea.form-control::-webkit-input-placeholder {
    color: var(--color-contacto);
}

.distribuidor-contacto textarea.form-control:-ms-input-placeholder {
    color: var(--color-contacto);
}

.distribuidor-contacto textarea.form-control::placeholder {
    color: var(--color-contacto);
}

/* Placeholder: color suave */
.distribuidor-contacto .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}


/* ——— Botones pill con badge redondo (reutilizable) ——— */
.distribuidor-contacto .form-convertite-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: var(--color-contacto);
    border: 1px solid var(--color-primary);
    border-radius: 60px;
    padding: var(--btn-pad-y, 14px) var(--btn-pad-x, 20px);
    /* deja lugar al badge a la derecha */
    padding-right: calc(var(--btn-pad-x, 20px) + var(--badge-size, 36px) + 14px);
    text-decoration: none;
    line-height: 1;
    position: absolute;
    /* clave para el badge */
    overflow: visible;
    /* deja salir el circulito */

}

.distribuidor-contacto .form-convertite-btn:hover {
    filter: brightness(.98);
}

/* Badge circular blanco con flecha naranja */
.distribuidor-contacto .form-convertite-btn .badge-icon {
    position: absolute;
    top: -10px;
    /* cuánto sobresale hacia arriba */
    right: -10px;
    /* cuánto sobresale hacia la derecha */
    width: var(--badge-size, 54px);
    height: var(--badge-size, 54px);
    border-radius: 50%;
    background: var(--color-primary);
    border: 8px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.distribuidor-contacto .form-convertite-btn .badge-icon i {
    font-size: calc(var(--badge-size, 40px) * 0.58);
    color: var(--color-secondary);
    transform: translateY(-2px);
    /* nudge fino */
}
/* Igualar columnas y repartir mejor los campos */
.formulario-distribuidor-row {
    align-items: stretch;
}

.formulario-col-izq .mb-3 {
    /* opcional: separa un poco más los campos */
    margin-bottom: 16px;
}

/* Wrapper para el textarea + botón */
.mensaje-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hacemos que el textarea llene la altura disponible
   y deje espacio para que el botón no tape el texto */
.mensaje-wrapper textarea.form-control {
    height: 100%;
    min-height: 260px;
    /* ajustá a gusto */
    padding-bottom: 70px;
    /* espacio para el botón superpuesto */
}

/* Botón superpuesto en desktop */
.btn-enviar-superpuesto {
    position: absolute;
    right: 10px;
    bottom: -20px;
    /* se mete un poquito debajo del textarea */
    z-index: 5;
}

/* En mobile, mejor que no se superponga para que no rompa nada */
@media (max-width: 767.98px) {
    .mensaje-wrapper {
        height: auto;
    }

    .mensaje-wrapper textarea.form-control {
        min-height: 220px;
        padding-bottom: 16px;
    }

    .btn-enviar-superpuesto {
        position: static;
        margin-top: 16px;
        align-self: flex-start;
        /* mantiene la estética */
    }
}

@media (max-width: 767.98px) {

    .distribuidor-contacto .form-convertite-btn {
        width: 100%;
        /* ocupan todo el ancho de la columna */
        justify-content: center;
        /* centra el texto e icono dentro del botón */
    }
}

/* Contenedor del mensaje con fondo imagen */
.distribuidor-contacto .mensaje-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Fondo con la imagen del mensaje */
.distribuidor-contacto .mensaje-bg {
    position: relative;
    background-image: url("./media/img/contacto_fondomensaje.webp");
    background-repeat: no-repeat;
    background-size: contain;
    /* que se vea completa */
    background-position: center;
    max-width: 597px;
    /* ancho real de la imagen */
    aspect-ratio: 597 / 529;
    /* mantiene la proporción de la imagen */
    width: 100%;
    margin: 0 auto;
    /* centrado en la columna */

    display: flex;
    align-items: center;
    justify-content: center;

    /* padding interno para que el texto quede bien dentro del área "escribible" */
    padding: 20px 110px 30px 10px;
        /* top right bottom left */
    /* ajustable a ojo según veas el diseño */
}

/* Textarea flotando sobre la imagen */
.distribuidor-contacto .textarea-mensaje {
    background: transparent;
    border: none;
    width: 100%;
    height: 100%;
    resize: none;
    color: var(--color-contacto);
    /* texto en color contacto */
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Placeholder en color contacto */
.distribuidor-contacto .textarea-mensaje::placeholder {
    color: var(--color-contacto);
    opacity: 0.7;
}

/* Evitar que la regla anterior del textarea le rompa esto */
.distribuidor-contacto textarea.form-control {
    border-radius: 0;
    /* ya no hace falta pill en esta versión */
    border: none;
    background: transparent;
    min-height: auto;
    box-shadow: none;
}

/* Botón superpuesto (lo mantenemos) */
.btn-enviar-superpuesto {
    position: absolute;
    right: 10px;
    bottom: -20px;
    z-index: 5;
}

/* En mobile, que no se superponga raro */
@media (max-width: 767.98px) {
    .distribuidor-contacto .mensaje-bg {
        padding: 30px 24px;
    }

    .btn-enviar-superpuesto {
        position: static;
        margin-top: 16px;
        align-self: flex-start;
    }
}

/* footer */
footer {
    position: relative;
    padding: 50px;
    background: #b9b9b9;
    color: black;
    border-top-left-radius: 54px;
    border-top-right-radius: 54px;
    transform: translateY(-65px);
}
/* Aseguramos que la imagen sea fluida y tenga un margen debajo */
.footer img {
    max-width: 100%;
    height: auto;
    /* Mantiene la relación de aspecto */
    margin-bottom: 20px;
    /* Espacio debajo de la imagen */
}

/* Íconos del footer */
.social-links-footer a {
    text-decoration: none;
    margin: 0 12px;
    color: var(--color-contacto) !important;
}

.social-links-footer i {
    font-size: 1rem;
    /* más grandes */
    color: var(--color-primary);
    /* naranja del tema */
    transition: transform .2s ease;
}

.social-links-footer i:hover {
    transform: scale(1.15);
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 330px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.whatsapp-widget.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.whatsapp-widget-header {
    background: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
}

.whatsapp-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.whatsapp-header-text {
    flex-grow: 1;
}

.whatsapp-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
}

.online-status {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.close-widget {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

.whatsapp-widget-content {
    padding: 10px;
}

.message-bubble {
    background: #e8f5e9;
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.message-bubble p {
    margin: 0;
    color: #333;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-button {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-button:hover {
    background: #1da856;
}

.whatsapp-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
}

.whatsapp-toggle img {
    width: 35px;
    height: 35px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .whatsapp-widget {
        width: calc(100% - 40px);
        bottom: 80px;
    }
}

@media screen and (min-width:900px){
    .hero{
        img{
            display: block;
        }
    }
    .hero_mb{
        img{
            display: none;
        }
    }
}

@media (min-width: 639px) {
    
    
    
}

@media (min-width: 640px) and (max-width: 1023px) {
    
    .card{
        max-width: 300px;
    }
   
}


@media (max-width: 1280px) {
    
}

@media (max-width: 639px) {
    .card img {
        height: 160px; /* Altura menor para mobile */
    }
}

#whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    z-index: 1050;
    /* por encima del navbar offcanvas/modals */
}

#whatsapp-fab:hover {
    filter: brightness(0.95);
}

#whatsapp-fab .bi {
    font-size: 1.6rem;
    line-height: 1;
}

#map-title {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    text-align: center;
    height: 100px;
    /* Define la altura del contenedor si es necesario */
}