/* ==============================
   Configuración general
   ============================== */

   * {
    box-sizing: border-box;
  }
  
  html,
  body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
  }
  
  html {
    background-color: #08aee5;
  }
  
  body {
    min-height: 100vh;
    min-height: 100svh;
  
    background-color: #08aee5;
    background-image: url("../img/el-fondazo-desktop.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
  
  
    overflow-x: hidden;
  }
  
  /* ==============================
     Contenedor principal
     ============================== */
  
  .landing {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
  
    display: flex;
    justify-content: center;
    align-items: flex-start;
  
    /*
     * Ubica los botones dentro del espacio libre
     * de la imagen de escritorio.
     */
    padding: 60.5vh 24px 50px;
  }
  
  /* ==============================
     Grupo de botones
     ============================== */
  
  .ticket-options {
    width: min(100%, 1240px);
  
    display: flex;
    flex-direction: column;
    align-items: center;
  
    gap: 16px;
  }
  
  .button-row {
    width: 100%;
  
    display: flex;
    justify-content: center;
    align-items: center;
  
    gap: 16px;
  }
  
  /* Dos botones azules */
  .button-row--blue .image-button {
    width: min(100%, 294px);
  }
  
  /* Cuatro botones rojos */
  .button-row--red .image-button {
    width: min(100%, 294px);
  }
  
  /* Botón amarillo */
  .button-row--yellow .image-button {
    width: min(100%, 294px);
  }
  
  /* ==============================
     Botones de imagen
     ============================== */
  
  .image-button {
    display: block;
    flex: 0 1 auto;
  
    border: 0;
    outline: none;
    text-decoration: none;
  
    transform: scale(1);
    transform-origin: center;
    transition:
      transform 180ms ease,
      filter 180ms ease;
  
    -webkit-tap-highlight-color: transparent;
  }
  
  .image-button img {
    display: block;
    width: 100%;
    height: auto;
  
    user-select: none;
    -webkit-user-drag: none;
  }
  
  .image-button:hover {
    transform: scale(0.95);
    filter: brightness(1.04);
  }
  
  .image-button:active {
    transform: scale(0.91);
  }
  
  .image-button:focus-visible {
    border-radius: 4px;
    outline: 4px solid #ffffff;
    outline-offset: 5px;
  }
  
  /* ==============================
     Versión mobile
     ============================== */
  
  @media (max-width: 767px) {
    body {
      background-image: url("../img/el-fondazo-mobile.png");
      background-position: center top;
      background-size: cover;
      background-attachment: fixed;
    }
  
    .landing {
      /*
       * La imagen mobile es mucho más alta.
       * Este mínimo conserva un espacio vertical
       * parecido al diseño de referencia.
       */
      min-height: max(100svh, 292vw);
  
      padding:
        clamp(700px, 105.5vw, 760px)
        20px
        clamp(90px, 20vw, 150px);
    }
  
    .ticket-options {
      width: min(100%, 425px);
      gap: 16px;
    }
  
    .button-row {
      flex-direction: column;
      gap: 16px;
    }
  
    .button-row--blue .image-button,
    .button-row--red .image-button,
    .button-row--yellow .image-button {
      width: 100%;
    }
  }
  
  /* ==============================
     Celulares pequeños
     ============================== */
  
  @media (max-width: 480px) {
    .landing {
      min-height: max(100svh, 292vw);
      padding-top: 105.5vw;
      padding-right: 18px;
      padding-left: 18px;
    }
  
    .ticket-options,
    .button-row {
      gap: 14px;
    }
  }
  
  /* ==============================
     Respeto por preferencias de
     movimiento reducido
     ============================== */
  
  @media (prefers-reduced-motion: reduce) {
    .image-button {
      transition: none;
    }
  }