/* --------------------------------------------------------------HOME-PAGE---------------------------------------------------------------*/

/* -------------------------------Header------------------------------ */

body {
    margin: auto;
}

.header-color {
    background: linear-gradient(135deg, #10284c 0%, #000000 100%);
}


.my-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    color: white;
    font-family: 'Plus Jakarta Sans';
}

.section-header {
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 2rem 3rem 4rem 5rem;
    font-family: 'Plus Jakarta Sans';
}

.section-header h1 {
    font-style: italic;
    font-size: 3rem;
}

.logo-header img {
    width: 15rem;
}

.title-header {
    width: 48%;
}

.map-header {
    font-size: 1.2rem;
    margin-right: 3rem;
    margin-top: 3rem;
    text-align: right;
}

.map-header img {
    margin-right: 9rem;
    margin-top: -2rem;
}


/* ------Menu-header------ */

.menu-header {
    margin-left: auto;
    margin-right: 6rem;
}

.menu-header ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-header a{
    text-decoration: none;
    color: white;
}

.menu-header a:hover {
    color: rgb(59, 130, 246);
}

/* ------Btn-header------ */

.btn-header button{
    padding: 1rem 1rem;
    cursor: pointer;
    color: white;
    border-color: #3b82f6;
    border-style: dashed;
    border-radius: 50px;
    background-color: #161616;
}

.btn-header button:hover {
    border-style: double;
    background-color: #2679fedd;
}


/* ------Btns-section-header------ */

.first-btn {
    padding: 1rem 2rem;
    color: white;
    background-color: #1f4a90;
    border-color: #1f4a90;
    border-radius: 50px;
    font-size: 1rem;
    margin-right: 5rem;
    cursor: pointer;
    margin-top: 1rem;
    border-style: solid;
}

.first-btn:hover {
    background-color: #161616;
    border-color: #3b82f6;
    border-style: dashed;
}

.second-btn {
    padding: 1rem 2rem;
    color: white;
    background-color: #3b82f6;
    border-color: #3b82f6;
    border-radius: 50px;
    font-size: 1rem;
    margin-right: 5rem;
    cursor: pointer;
    margin-top: 1rem;
    border-style: solid;
}

.second-btn:hover {
    background-color: #161616;
    border-color: #3b82f6;
    border-style: dashed;
}

/* --------------------------------Top-bar--------------------------------- */

.top-bar{
    background: #3b82f6;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-family: 'Montserrat';
    font-weight: bold;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 85s linear infinite;
}

.marquee-content span {
    padding-right: 200px;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --------------------------------Main--------------------------------- */


main {
    margin-top: 1rem;
}
.h2-home {
    text-align: center;
    font-weight: 800;
    font-size: 2rem;
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
}

.main-section {
    display: flex;
    padding: 2rem;
    gap: 5%;
    justify-content: center;
    font-family: 'Plus Jakarta Sans';
    margin-bottom: 4rem;
}

.main-section div {
    max-width: 20%;
}


/* --------------------------------Body--------------------------------- */

/* ------section-trust------ */

.section-trust {
    font-family: 'Plus Jakarta Sans';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-trust h3 {
    font-size: 1rem;
    font-style: italic;
}

.div-clients {
    width: 80%;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.div-clients img {
    width: 10rem;
}


/* Footer */


footer {
    background: linear-gradient(135deg, #10284c 0%, #000000 100%);
    font-family: 'Plus Jakarta Sans';
    text-align: center;
    color: white;
    padding: 3rem;
}



/* --------------------------------------------------------------ENVIOS-PAGE---------------------------------------------------------------*/


/* -------------------------------Header------------------------------ */


.section-blue {
    background-color: #3b82f6;
}

.text-header-envio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 40%;
    margin-top: 3rem;
    margin-right: 4rem;
}

.h2-envio {
    font-weight: 800;
    font-style: italic;
    font-size: 1rem;
}


.text-header-envio img{
    width: 100%;

}



/* --------------------------------Main--------------------------------- */

.section-main-envio {
    display: flex;
    padding: 2rem;
    gap: 2%;
    justify-content: center;
    font-family: 'Plus Jakarta Sans';
    margin-bottom: 2rem;
}

.section-main-envio img {
    width: 80%;
    padding-top: 2rem;
}

.text-main-section {
    width: 30%;
}


/* --------------------------------Body--------------------------------- */


.section-acordeon {
    font-family: 'Plus Jakarta Sans';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 2rem;
    width: 60%;
    gap: 1rem;
}

.section-acordeon h3 {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
}

.acordeon {
    width: 100%;
}

.acordeon label {
    background-color: #161616;
    color: white;
    display: block;
    padding: 1rem;
    cursor: pointer;
    transition: all 300ms ease;
    text-align: center;
}

.acordeon label:hover {
    background-color: #3b82f6;
}

.acordeon .contenido-acordeon {
    max-height: 0;
    overflow: hidden;
    transition: all 300ms ease;
}

.btn-acordeon:checked ~ .contenido-acordeon{
    max-height: 600px;
}

.btn-acordeon {
    display: none;
}

/* ==========================================================================
Componente: Cotizador Semántico (Unidades Relativas)
========================================================================== */

.cotizador-container {
    font-family: 'Montserrat';
    background-color: #ffffff;
    width: 80%;
    max-width: 28rem;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 
                0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.06);
    margin: 2rem auto;
}

.cotizador-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f172a;
    text-align: center;
}

.campo-grupo {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Estilos específicos para el agrupamiento semántico */
.campo-fieldset {
    border: none;
    margin-bottom: 1.25rem;
}

.campo-legend {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #475569;
}

.campo-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: #475569;
}

.campo-label-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-bottom: 0.25rem;
}

.campo-control {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.625rem;
    border: 0.0625rem solid #cbd5e1;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #1e293b;
    width: 80%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.campo-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.1875rem rgba(59, 130, 246, 0.15);
}

.dimensiones-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.btn-cotizar {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
    transition: background-color 0.2s;
}

.btn-cotizar:hover {
    background-color: #1d4ed8;
}

.btn-cotizar:active {
    background-color: #1e40af;
}

/* El elemento output ahora se comporta como bloque visible */
.resultado-caja {
    display: block;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f1f5f9;
    border-left: 0.25rem solid #3b82f6;
    border-radius: 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.resultado-total {
    display: block;
    font-size: 1.25rem;
    color: #0f172a;
    margin-top: 0.5rem;
}

.resultado-separador {
    border: 0;
    border-top: 0.0625rem solid #e2e8f0;
    margin: 0.75rem 0;
}

.resultado-secundario {
    color: #64748b;
}


/* Estilo para el aviso dinámico de recolección */
.aviso-recoleccion {
    display: block;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: #f0fdf4; /* Fondo verde suave */
    border: 0.0625rem solid #bbf7d0;
    border-radius: 0.375rem;
    color: #166534; /* Texto verde oscuro tipográfico */
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
}

/* Ocultar el aviso cuando esté completamente vacío */
.aviso-recoleccion:empty {
    display: none;
}


/* Botón de solicitud por WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans';
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #ffffff;
    padding: 0.75rem 0rem;
    border-radius: 0.375rem;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

.btn-whatsapp:active {
    transform: scale(0.98);
}

/* Fonts */

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url(../FONTS/PlusJakartaSans-Italic-VariableFont_wght.ttf) format('truetype');
    font-style: italic;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url(../FONTS/PlusJakartaSans-VariableFont_wght.ttf) format('truetype');
    font-style: normal;
}

/* --------------------------------------------------------------SHOP-PAGE---------------------------------------------------------------*/

.section-title-shop {
    font-family: 'Montserrat';
    padding: 0 3rem 2rem 3rem;
}

.section-title-shop h2 {
    font-size: 3rem;
}

.cards{
    font-family: 'Montserrat';
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 50rem;

    margin: auto;
}

.card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    display:flex;

    flex-direction:column;

    align-items:center;

}

.card a{

    margin-top:auto;

}

.card img{

    width:90px;

    margin-bottom:20px;

}

.card-price{

    margin:18px 0;

    font-size:26px;

    font-weight:700;

    color:#ff2b2b;

}

.shop-cards {
    margin-bottom: 1rem;
}











/* --------------------------------------------------------------TÉRMINOS-PAGE---------------------------------------------------------------*/

.section-terms {
    font-family: 'Plus Jakarta Sans';
    padding: 0 2rem;
    color: #4b4b4b;
}

.link-footer{
    color: white;
    text-decoration: none;
}

.link-footer:hover {
    color: #3b82f6;
}

/* --------------------------------------------------------------RESPONSIVE---------------------------------------------------------------*/

/* Tablets */
@media (max-width: 1024px) {

    .section-header {
        padding: 2rem;
        gap: 2rem;
    }

    .section-header h1 {
        font-size: 2.2rem;
    }

    .title-header {
        width: 55%;
    }

    .map-header {
        margin-right: 0;
    }

    .map-header img {
        width: 250px;
        margin-right: 0;
    }

    .text-header-envio {
        width: 45%;
        margin-right: 0;
    }

    .main-section div {
        max-width: 30%;
    }

    .text-main-section {
        width: 45%;
    }

    .section-acordeon {
        width: 80%;
    }
    
    /* SHOP CARDS */
    .cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 50rem;

    margin: auto;
    }

    .shop-cards {
        max-width: 90%;
        margin: auto;
    }

    

}


/* Celulares */
@media (max-width: 768px) {

    /* Header */

    .my-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .menu-header {
        margin: 0;
    }

    .menu-header ul {
        flex-direction: column;
        padding: 0;
        gap: 1rem;
    }

    .logo-header img {
        width: 12rem;
    }

    /* Hero */

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1rem;
    }

    .title-header {
        width: 100%;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .map-header {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .map-header img {
        width: 30%;
        max-width: 350px;
        margin: 1rem auto 0;
        display: block;
    }

    .text-header-envio {
        width: 100%;
        margin: 0;
    }

    .text-header-envio img {
        max-width: 350px;
        margin: auto;
    }

    /* Botones */

    .first-btn,
    .second-btn {
        margin: 0.5rem;
        width: 100%;
        max-width: 300px;
    }

    /* Main Home */

    .main-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-section div {
        max-width: 100%;
        text-align: center;
    }

    /* Main Envíos */

    .section-main-envio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-main-envio img {
        width: 100%;
        max-width: 350px;
    }

    .text-main-section {
        width: 100%;
    }

    /* FAQ */

    .section-acordeon {
        width: 90%;
        padding: 1rem;
    }

    .section-acordeon h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    /* SECTION TRUST */

    .section-trust {
        width: 70%;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

    /* SHOP CARDS */
    .cards{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 50rem;

        margin: auto;
    }

    .shop-cards {
        max-width: 95%;
        margin: auto;
    }
    .card, h3{
        font-size: small;
    }

    .card span{
        font-size: medium;
    
    }
    .cotizador-container {
        max-width: 80%;
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .cotizador-titulo {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* Aumenta el tamaño táctil de los inputs para evitar errores al pulsar con el dedo */
    .campo-control, 
    .btn-cotizar {
        font-size: 1.0625rem;
        padding: 0.75rem;
    }

    .resultado-total {
        font-size: 1.125rem;
    }
}

/* Celulares pequeños */
@media (max-width: 480px) {

    .section-header h1 {
        font-size: 1.6rem;
    }

    .h2-home {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .section-acordeon h3 {
        font-size: 1.3rem;
    }

    .btn-header button {
        width: 100%;
    }

    .acordeon {
        width: 80%;
    }

    /* SECTION TRUST */

    .section-trust {
        width: 80%;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: auto;
    }

    /* SHOP CARDS */
    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 50rem;

        margin: auto;
    }

    .shop-cards {
        max-width: 95%;
        margin: auto;
    }

    .card, h3{
        font-size: small;
    }

    /* Deshace la cuadrícula de 3 columnas para que largo, ancho y alto se apilen verticalmente */
    .cotizador-container {
        max-width: 80%;
        padding: 1.5rem;
        margin: auto;
    }

    .dimensiones-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .campo-label-sub {
        font-size: 0.8125rem;
        margin-bottom: 0.125rem;
    }
}






