:root {
  --verde: #0aa64b;
  --verde-osc: #0a7f3a;
  --amarillo: #f6db42;
  --gris: #404040;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #ffd84a;
  font-family: 'Montserrat', system-ui, Arial, sans-serif;
}

body::-webkit-scrollbar {
  display: none;
}


.kv {
  position: relative;
  margin: 0;
  display: none !important;
}


.kv-land {
  width: min(100vw, 1535px);
  aspect-ratio: 1365 / 768;
  background-image: url("../images/keyvisual.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.kv-port {
  width: 100vw;
  width: 100dvw;
  max-width: none;
  /*aspect-ratio: 768 / 2016;*/
  /* background-image: url(/public/images/vv_movil.png); */
  background-image: url("../images/fondo.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
}

.counter {
  position: absolute;
  background: #ececec;
  border-radius: .8vw;
  padding: 1.1vw 1.2vw;
  text-align: center;
  transition: box-shadow .3s;
}

.counter:hover {
  box-shadow: 0 .4vw 1vw rgba(0, 0, 0, .15);
}

.counter-title {
  margin: 0 0 .6vw;
  font-weight: 800;
  font-size: 1.05vw;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.digits {
  display: flex;
  justify-content: center;
  gap: .6vw;
  margin: 0 0 .3vw;
}

.digits span {
  display: inline-grid;
  place-items: center;
  width: 3vw;
  height: 3vw;
  font-weight: 900;
  font-size: 1.6vw;
  color: #2b2b2b;
  background: #fafafa;
}

.counter-note {
  margin: .2vw 0 0;
  font-size: .95vw;
  color: #6b6b6b;
}

.wa-btn {
  position: absolute;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .8vw;
  padding: 1vw 2vw;
  height: 4vw;
  border-radius: 1vw;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  background: var(--verde);
  color: #fff;
  font-size: 1.2vw;
  box-shadow: 0 .6vw 1.2vw rgba(0, 0, 0, .2), inset 0 -.2vw .2vw rgba(0, 0, 0, .1);
  transition: .3s;
}

.wa-btn:hover {
  background: var(--verde-osc);
}

.wa-icon {
  width: 3vw;
  height: 3vw;
  margin-right: .5vw;
}

.kv-land .counter {
  left: 7%;
  top: 73%;
  width: 22%;
}

.kv-land .wa-btn {
  left: 50%;
  top: 88%;
}

.kv-port .counter {
  display: block;
  position: relative;
  width: 80%;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10% auto;
}

.kv-port .counter-title {
  font-size: 3.6vw;
}

.kv-port .digits {
  gap: 2.4vw;
}

.kv-port .digits span {
  width: 10vw;
  height: 11vw;
  font-size: 6vw;
}

.kv-port .counter-note {
  font-size: 3.2vw;
}

.kv-port .wa-btn {
  left: 50%;
  top: 54%;
  border-radius: 2.2vw;
  padding: clamp(10px, 2.2vw, 22px) clamp(18px, 3.5vw, 28px);
  height: auto;
  font-size: clamp(16px, 3.8vw, 24px);
}

.kv-port .wa-icon {
  width: clamp(18px, 4.2vw, 30px);
  height: clamp(18px, 4.2vw, 30px);
}

/* ---- Mostrar/ocultar por orientación ---- */
@media (orientation:landscape) {
  .kv-land {
    display: block !important;
  }

  .kv-port {
    display: none !important;
  }
}

@media (orientation:portrait) {
  .kv-land {
    display: none !important;
  }

  .kv-port {
    display: block !important;
  }
}

/* Fallback por relación de aspecto (por si orientation falla en desktop) */
@media (min-aspect-ratio:1/1) {
  .kv-land {
    display: block !important;
  }

  .kv-port {
    display: none !important;
  }
}

@media (max-aspect-ratio:1/1) {
  .kv-land {
    display: none !important;
  }

  .kv-port {
    display: block !important;
  }
}

footer {
  width: 100vw;
  width: 100dvw;
  background: var(--verde-osc);
  color: #fff;
  margin: 0;
  text-align: center;
  line-height: 1.4;
  font-size: clamp(12px, 1.1vw, 16px);
  padding: 10px;
}

footer a {
  color: #fff;
  text-decoration: underline;
  font-weight: 900;
}

@media (max-width:820px) {
  .kv-land .wa-btn {
    font-size: 14px;
    height: auto;
    padding: 10px 16px;
  }

  .kv-land .wa-icon {
    width: 18px;
    height: 18px;
  }

  .kv-land .counter {
    border-radius: 12px;
    padding: 12px;
  }

  .kv-land .counter-title {
    font-size: 12px;
  }

  .kv-land .digits {
    gap: 6px;
  }

  .kv-land .digits span {
    width: 34px;
    height: 38px;
    font-size: 18px;
  }

  .kv-land .counter-note {
    font-size: 11px;
  }
}

.div-m {
  width: 100%;
  position: relative;
  display: block;
  text-align: center;
  padding: 0% 10% 0% 10%;
}
.logom{
  max-height: 250px;
}
.premios,.pasos {
  width: 100%;
}

.wa-btn2 {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 3vw;
  padding: 3vw 3vw;
  border-radius: 1vw;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  background: var(--verde);
  color: #fff;
  box-shadow: 0 .6vw 1.2vw rgba(0, 0, 0, .2), inset 0 -.2vw .2vw rgba(0, 0, 0, .1);
  transition: .3s;
  margin-top:-20px;
  text-wrap: auto;
}
.wa-icon2 {
  width: 12%;
  height: auto;
  margin-right: .5vw;
}
.pasos{
  margin-top:10%;
}