:root {
    --primario: #6A3525;
    --contraste: #E90055;
    --azul: #267ED8;
    --verde: #87BF00;
    --amarillo: #F3B841;
    --blanco: #fff;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy/GILROY-LIGHT.TTF') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy/GILROY-REGULAR.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy/GILROY-MEDIUM.TTF') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy/GILROY-BOLD.TTF') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Gilroy';
    src: url('Gilroy/GILROY-EXTRABOLD.TTF') format('truetype');
    font-weight: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    color: var(--primario);
}

.header {
    text-align: center;
    padding: 20px;
    background: var(--blanco);
}

.w-100 {
    width: 100%;
}

.hero {
    position: relative;
    /*background: url(/images/Hero.webp) center / cover;*/
    background: url('/images/Banner promo 2_1x.webp') center / cover;
    height: 625px;
    margin-bottom: 40px;
}

/* nuevo */
.hero-container {
    position: relative;
    height: 100%;
    max-width: 1400px;
    width: 100%;
    margin: auto;
}
.logoheaderContainer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #046AD3;
    background: radial-gradient(circle,rgba(4, 107, 211, 0.774) 15%, rgba(4, 106, 211, 0) 50%);
    height: 100%;
    width: 800px;
}
.Caffeversologo {
    position: absolute;
    inset: 0;
    margin: auto 0 auto 0;
    left: 0;
    top: -100px !important;
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 246px;
    object-fit: contain;
}

.logo {
    max-width: 180px;
}

.NowOn {
    position: absolute;
    width: 100%;
    max-width: 800px;
    bottom: 100px;
    left: 0;
    height: 104px;
}

[class*="hero-"] .NowOn {
    display: none
}

.cont-cafe {
    position: relative;
    display: block;
    width: 100%;
    max-width: 700px;
    height: 100%;
}

.cafe {
    position: absolute;
}

.cafe:last-of-type {
    bottom: -10%;
    left: 10%;
}

.cafe:nth-child(1) {
    max-width: 70px;
    width: 100%;
    right: 5px;
    top: 5vh;
    z-index: 1;
    filter: blur(2px);
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-filter: blur(2px);
}

.cafe:nth-child(2) {
    max-width: 50px;
    width: 100%;
    left: 10%;
    top: 15vh;
    filter: blur(3px);
    -webkit-filter: blur(3px);
}

.cafe:nth-child(3) {
    max-width: 45px;
    width: 100%;
    right: 10px;
    bottom: 1vh;
    transform: rotate(-150deg);
    -webkit-transform: rotate(-150deg);
    -moz-transform: rotate(-150deg);
    -ms-transform: rotate(-150deg);
    -o-transform: rotate(-150deg);
}

.cta-buttons {
    max-width: 995px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 35px 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    color: var(--blanco) !important;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 600;
    padding: 18px 35px;
    border-radius: 12px;
    text-align: center;
    min-height: 120px;
    max-width: 450px;
    width: 100%;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-rojo {
    background: var(--contraste);
}

.azul {
    color: var(--azul) !important;
}

.btn-blue {
    background: var(--azul);
}

.btn-green {
    background: var(--verde);
}

.steps {
    max-width: 1360px;
    margin: 0 auto 50px;
    padding: 60px;
    padding-bottom: 190px;
    border-radius: 30px;
    background: radial-gradient(circle at center, #fff3df 0%, #fde9cf 100%);
    background-image: url(/images/bg-card-2.webp);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.step {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-bottom: 60px;
    max-width: 995px;
}

.step img {
    width: 100%;
    max-width: 290px;
}

.content {
    flex: 1;
    font-size: clamp(22px, 4vw, 30px) !important;
    line-height: 1.2;
    /*max-width: 530px;*/
    max-width: 570px;
}

.step.step-2 .content p,
.step.step-4 .content p {
    text-align: end;
}

.step.step-3 span {
    vertical-align: middle;
    cursor: pointer;
}

.content a {
    color: var(--contraste);
    font-weight: bold;
}

.badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}

.center-btn .btn {
    margin: auto;
}

.social {
    text-align: center;
    padding: 40px 20px 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin: 0 10px;
    background: var(--contraste);
    color: var(--blanco);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.social p {
    width: 100%;
    margin-top: 20px;
    font-weight: 600;
    font-size: clamp(20px, 4vw, 30px);
}

.footer {
    background: #2b160d;
    border-image: url(/images/bordefooter.webp) 30 round;
    border-top: 15px solid transparent;
    color: #fff;
    padding: 50px 30px 100px 30px;
}

.footer-top {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-top img {
    max-width: 237px;
    width: 100%;
}

.footer-top .terms {
    font-size: clamp(14px, 4vw, 18px);
}

.footer-top .terms h4 {
    color: var(--amarillo);
    font-weight: 600;
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 10px;
}

.footer-top .terms span {
    color: var(--amarillo);
}

.footer hr {
    margin: 35px auto;
    border: none;
    border-top: 3px solid var(--amarillo);
    max-width: 1100px;
}

.footer-bottom {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    font-size: clamp(14px, 4vw, 18px);
}

.footer-bottom h4 {
    color: var(--amarillo);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-bottom p {
    font-weight: 400;
    /*opacity: .8;*/
    margin-bottom: 20px;
}

.footer-bottom a {
    color: var(--amarillo);
    text-decoration: none;
}

@media (max-width:964px) {
    .cta-buttons {
        justify-content: center;
    }
    
    .hero {
        height: 500px;
    }
    .Caffeversologo {
        inset: 0;
        padding:15px;
        max-width: 400px;
        margin: auto;
    }

    .NowOn {
        height: 70px;
        max-width: 100%;
        margin: auto;
        bottom: 70px;
    }
}

@media (max-width:768px) {

    .hero {
        height: 50vh;
        min-height:390px;
        background-position: right;
        background-size: 1100px;
    }

    .heroimg {
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }

    .cafe:nth-child(1) {
        max-width: 40px;
    }

    .cafe:nth-child(4) {
        max-width: 80px;
    }

    .steps {
        padding: 30px 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step.step-2,
    .step.step-4 {
        flex-direction: column-reverse;
    }

    .step.step-2 .content p,
    .step.step-4 .content p {
        text-align: center;
    }

    .number {
        font-size: 48px;
    }

    .btn {
        width: 100%;
        max-width: 350px;
        min-height: 80px;
    }
    
    .logoheaderContainer::before {
        width: 100%;
    }
}

/*------------- Landing 2 -------------*/
.hero-2 {
    z-index: -1;
    margin-bottom: -200px;
}

.main-card {
    text-align: center;
}

.main-card * {
    font-family: 'Gilroy', sans-serif;
}

.main-card .card {
    background-color: var(--blanco);
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 63px 25px;
    width: 100%;
    max-width: 1144px;
    border-radius: 60px 60px 0 0;
    -webkit-border-radius: 60px 60px 0 0;
    -moz-border-radius: 60px 60px 0 0;
    -ms-border-radius: 60px 60px 0 0;
    -o-border-radius: 60px 60px 0 0;
}

.main-card .card .content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    max-width: 996px;
}

.main-card .card .content p:first-of-type {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
}

.main-card .card .content p:last-of-type {
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 500;
    max-width: 680px;
    margin-top: 50px;
}

.main-card .card .content p img {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: auto;
    margin-bottom: 16px;
}

.main-card .card .content-form {
    width: 100%;
    max-width: 996px;
    padding: 60px;
    margin-top: 24px;
    background: radial-gradient(circle at center, #fff3df 0%, #fde9cf 100%);
    background-image: url(/images/bg-card-2.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.main-card .card .content-form form input:not(.btn), .main-card .card .content-form form select {
    color: var(--primario);
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 500;
    width: 100%;
    max-width: 735px;
    max-height: 75px;
    padding: 20px;
    margin: auto;
    border: none;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background:#fff;
}

.main-card .card .content-form form select {
   /* Elimina la flecha por defecto del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Agrega el SVG cambiando 'black' por '%236A3525' */
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="%236A3525"/></svg>');
  background-repeat: no-repeat;
  
  /* Posición de la flecha (derecha, centrada verticalmente) */
  background-position: right 12px center; 
  
  /* Controla el tamaño de la flecha aquí */
  background-size: 30px; 

  /* Espacio a la derecha para que el texto no se encime con la flecha */
  padding-right: 40px; 
}


.main-card .card .content-form form input.btn {
    margin: auto;
    margin-top: 24px;
    border: none;
    cursor: pointer;
}

.alerta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 100px;
    text-align: start;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: 500;
}


/*-------------/ Landing 2 -------------*/
/*------------- Landing 3 -------------*/
.landing-3 .main-card .card .content,
.landing-4 .main-card .card .content {
    justify-content: space-evenly !important;
    width: 100% !important;
}

.landing-3 .main-card .card .content>img,
.landing-4 .main-card .card .content>img {
    max-width: 380px;
    width: 100%;
    margin-bottom: 24px;
}

.landing-3 .main-card .card .contentQr {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: end;
    gap: 3rem;
}

.landing-3 .main-card .card .contentQr .textos {
    display: inline-flex;
    flex-wrap: wrap;
    text-align: left;
}

.landing-3 .main-card .card .contentQr .textos > p:first-of-type {
    font-size: clamp(20px, 4vw, 30px)!important;
    font-weight: 700!important;
    max-width:545px;
}

.landing-3 .main-card .card .contentQr .textos > p:last-of-type {
    font-size: clamp(16px, 4vw, 20px);
    margin-top: 0;
    margin-bottom: 50px;
    
}

.landing-3 .main-card .card .contentQr .iconosTexto {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    width: 100%;
}

.landing-3 .main-card .card .contentQr .iconosTexto .alerta {
    font-weight: 700 !important;
    font-size: clamp(18px, 4vw, 25px);
    width: 47%;
    align-items: center;
    margin: 0;
}

.swal2-popup {
    width: 40em;
    border: 11px solid var(--contraste);
    -webkit-border-radius: 30px;
    border-radius: 0px;
    padding: 32px;
}
.swal2-popup h2 {
    color: var(--primario)!important;
}
.swal2-html-container {
    color: var(--primario);
}
.swal2-html-container{
    font-size: clamp(16px, 4vw, 20px)!important;
}

.swal2-actions button {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
}

.swal2-cancel {
    background-color: var(--contraste)
}
.swal2-input {
    color: var(--primario);
    font-size: clamp(20px, 4vw, 24px);
    width: 80%;
    max-height: 75px;
    margin: 20px auto;
    padding: 20px;
    border: none;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.landing-3 .main-card .card .caffenioMascota,
.landing-4 .main-card .card .caffenioMascota {
    display: flex;
    align-items: center !important;
    padding: 30px 0;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.landing-3 .main-card .card .caffenioMascota {
    background: url(/images/BackRojo_1x.webp) center / contain no-repeat;
}

.landing-4 .main-card .card .caffenioMascota {
    background: url(/images/BackAmarillo.webp) center / contain no-repeat;
}

.landing-3 .main-card .card .textoCaffenioMascota,
.landing-4 .main-card .card .textoCaffenioMascota {
    display: flex;
    flex-wrap: wrap;
    padding-left: clamp(1rem, 4vw, 3rem);
    width: 90%;
}

.landing-3 .main-card .card .caffenioMascota .textoCaffenioMascota p,
.landing-4 .main-card .card .caffenioMascota .textoCaffenioMascota p {
    margin-top: 0 !important;
    font-size: clamp(18px, 4vw, 32px) !important;
    font-weight: 600 !important;
    color: var(--blanco);
    text-align: left;
}

.landing-4 .main-card .card .caffenioMascota .textoCaffenioMascota p {
    color: var(--primario);
}

.landing-3 .main-card .card .caffenioMascota .textoCaffenioMascota p:last-of-type {
    color: var(--amarillo);
}

.mapa {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 48px;
    margin-bottom: 100px;
}

.mapa img {
    width: 100%;
    max-width: 110px;
}

.mapa p {
    font-size: clamp(20px, 4vw, 30px);
    text-align: left;
    font-weight: 600;
    width: 100%;
    max-width: 430px;
}

/*-------------/ Landing 3 -------------*/
/*------------- Landing 4 -------------*/
.landing-4 .main-card .card .content p:first-of-type {
    margin-top: 20px;
}

.landing-4 .main-card .card .content p:last-of-type {
    max-width: 100% !important;
    width: 100%;
}

.landing-4 .main-card .card .content p {
    font-weight: 600;
}

.landing-4 .cta-buttons {
    justify-content: center;
}

.landing-4 .caffenioMascota .social {
    width: 100%;
    gap: 2em;
    padding-bottom: 0px;
}

/*-------------/ Landing 4 -------------*/

@media (max-width: 768px) {
    [class*="hero-"] {
        margin-bottom: -45px;
    }

    .landing-3 .main-card .card .contentQr {
        margin-top: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-3 .main-card .card .contentQr .textos {
        justify-content: center;
        text-align: center;
    }

    .landing-3 .main-card .card .caffenioMascota,
    .landing-4 .main-card .card .caffenioMascota {
        background-size: cover;
        margin-top: 32px;
    }

    .landing-3 .main-card .card .caffenioMascota img,
    .landing-4 .main-card .card .caffenioMascota img {
        width: 40%;
    }

    .mapa {
        width: 85%;
        margin: auto;
        margin-bottom: 50px;
    }

    .landing-4 .caffenioMascota {
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-4 .textoCaffenioMascota {
        justify-content: center;
    }

    .landing-4 .caffenioMascota .textoCaffenioMascota p {
        text-align: center !important;
    }

    .landing-4 .caffenioMascota img {
        order: -1;
    }

    .landing-4 .caffenioMascota .social {
        padding: 40px 20px 10px 20px;
        gap: 1em
    }
    
    .swal2-popup {
        padding: 24px;
    }
}

/*-------------- Popup --------------*/
.btnpop {
    cursor: pointer;
}

span.btnpop-2 {
    position: absolute;
    right: 10px;
    top: 105px
}
@media screen and (width < 1000px) {
    span.btnpop-2 {
        position: absolute;
        right: -45px;
        top: 100px
    }
}

.pop {
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.pop .contenidoPop {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 30px;
    max-width: 822px;
    width: 100%;
    height: fit-content;
    background-color: var(--blanco);
    border: 11px solid var(--contraste);
    box-sizing: border-box;
}

.pop .contenidoPop img.cerrarpop {
    position: absolute;
    right: 30px;
    top: 10px;
    cursor: pointer;
}

.pop .contenidoPop h3 {
    width: 100%;
    font-size: clamp(16px, 4vw, 20px);
    text-align: left;
    margin: 24px 0;
    color: var(--contraste);
}

.pop .contenidoPop .dosColumnas {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    min-height: 300px;
}

.pop .contenidoPop .dosColumnas p {
    width: 100%;
    max-width: 250px;
    font-size: clamp(14px, 4vw, 18px);
}

.pop .contenidoPop .dosColumnas p span {
    display: block;
    padding-top: 20px;
    font-weight: 400;
}

.pop .contenidoPop .dosColumnas img {
    max-width: 580px;
    width: 100%;
    position: absolute;
    right: 0;
}

@media (max-width: 768px) {
    .pop {
        border-width: 6px;
        padding: 15px;
    }

    .pop .contenidoPop {
        max-height: 600px;
        overflow: auto;
    }

    .pop .contenidoPop .cerrarpop {
        width: 32px;
        right: 15px !important;
    }

    .pop .contenidoPop .dosColumnas p {
        max-width: 100%;
    }

    .pop .contenidoPop .dosColumnas img {
        position: relative;
        margin-top: 24px;
    }
}