:root {
  --main-tph-color: #ffffff;
  --tph-verde: #56af31;
  --tph-amarillo: #ffdc00;
  --tph-negro: #000000;
  --tph-azul: #29abe2;
  --tph-blanco: #ffffff;
  --tph-cuenta-atras: #e8871b;
  --tph-form-label: #1d1d1b;
  --tph-form-placeholder: black;
  --tph-form-input: black;
  --tph-form-bg: #ffffff;
  --tph-font-body: 'gothamcondensedbold';
  --tph-font-amatic-bold: 'amaticbold';
  --tph-font-gotham-condensed-bold: 'gothamcondensedbold';
  --tph-font-gotham-condensed-medium: 'gothamcondensedmedium';
  --tph-font-montserrat-regular: 'montserratregular';
  --tph-font-verveine-regular: 'Verveineregular';

  /************* VARIABLES DE COLOR *************/
  /* Fondo del contenedor del carrusel */
  --tph-carousel-bg-color: #EEE;
  /* Fondo de las celdas (si no hay imagen) */
  --tph-carousel-cell-bg-color: #8C8;
  /* Color del texto descriptivo */
  --tph-carousel-text-color: #666;
  /* Color del título del servicio */
  --tph-carousel-title-color: #000;
  /* Color de la línea horizontal */
  --tph-carousel-hr-color: #CCC;

  /************* VARIABLES DE TAMAÑO *************/
  /* Ancho de las celdas del carrusel */
  --tph-carousel-cell-width: 600px;
  /* Altura de las celdas del carrusel */
  --tph-carousel-cell-height: 443px;
  /* Margen derecho de las celdas */
  --tph-carousel-cell-margin-right: 10px;
  /* Bordes redondeados de las celdas */
  --tph-carousel-border-radius: 5px;

  /************* VARIABLES DE TIPOGRAFÍA *************/
  /* Familia de fuente */
  --tph-carousel-font-family: sans-serif;
  /* Tamaño del título del servicio */
  --tph-carousel-title-font-size: 18px;
  /* Tamaño de la fuente de la descripción */
  --tph-carousel-description-font-size: 14px;
  /* Espacio arriba de la descripción */
  --tph-carousel-description-margin-top: 10px;
  /* Margen arriba y abajo de la línea horizontal */
  --tph-carousel-hr-margin: 5px 0;

}

/********************************************************************* fuentes *********************************************************/

@font-face {
  font-family: 'amaticbold';
  src: url('../../../fonts/amatic-bold.woff2') format('woff2'),
    url('../../../fonts/amatic-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'gothamcondensedbold';
  src: url('../../../fonts/gotham-condensed-bold.woff2') format('woff2'),
    url('../../../fonts/gotham-condensed-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'gothamcondensedmedium';
  src: url('../../../fonts/gotham-condensed-medium.woff2') format('woff2'),
    url('../../../fonts/gotham-condensed-medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'montserratregular';
  src: url('../../../fonts/MONTSERRAT-REGULAR.woff2') format('woff2'),
    url('../../../fonts/MONTSERRAT-REGULAR.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'pintono';
  src: url('../../../fonts/pinto-no.woff2') format('woff2'),
    url('../../../fonts/pinto-no.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Verveineregular';
  src: url('../../../fonts/VerveineRegular.woff2') format('woff2'),
    url('../../../fonts/VerveineRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.font-body {
  font-family: var(--tph-font-body);
}

.font-amatic-bold {
  font-family: var(--tph-font-amatic-bold);
}

.font-gotham-condensed-bold {
  font-family: var(--tph-font-gotham-condensed-bold);
}

.font-gotham-condensed-medium {
  font-family: var(--tph-font-gotham-condensed-medium);
}

.font-montserrat-regular {
  font-family: var(--tph-font-montserrat-regular);
}

.font-pinto-no {
  font-family: var(--tph-font-pinto-no);
}

.font-verveine-regular {
  font-family: var(--tph-font-verveine-regular);
}

.font-arial {
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--tph-font-body);
  color: var(--tph-negro);
  background-color: var(--main-tph-color);
}

img,
iframe {
  max-width: 100%;
}

.bg-promo {
  background-color: var(--tph-negro);
}

.bg-menu {
  background-color: var(--tph-negro);
}

.bg-verde {
  background-color: var(--tph-verde);
}

.bg-amarillo {
  background-color: var(--tph-amarillo);
}

.bg-azul {
  background-color: var(--tph-azul);
}

.bg-blanco {
  background-color: var(--tph-blanco);
}

.bg-negro {
  background-color: var(--tph-negro) !important;
}

.color-verde {
  color: var(--tph-verde);
}

.color-amarillo {
  color: var(--tph-amarillo) !important;
}

.color-negro {
  color: var(--tph-negro) !important;
}

.color-azul {
  color: var(--tph-azul);
}

.color-blanco {
  color: var(--tph-blanco);
}

.cursor-blocked {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.alert-error {
  margin-bottom: .5rem;
}

.cookies {
  z-index: 99999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/********************************************************************* Botones *********************************************************/

.btn-participa {
  display: inline-block;
  background-color: var(--tph-amarillo);
  color: var(--tph-negro);
  font-weight: bold;
  padding: 10px 60px;
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
}

.btn-participa a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.btn-formulario {
  background-color: var(--tph-verde);
  color: var(--tph-blanco);
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.75rem 7rem;
  border: none;
  border-radius: 0.25rem;
  transition: background 0.3s ease;
  font-family: 'Verveineregular';
}

.btn-formulario:hover,
.btn-formulario:focus {
  background-color: var(--tph-azul);
  color: var(--tph-blanco);
  outline: none;
}

.btn-promo {
  background-color: rgb(0, 0, 0);
  color: #fff;
}

.btn-promo:hover {
  background-color: rgb(255, 255, 255);
  color: white;
}

.btn-promo:focus {
  background-color: rgb(255, 255, 255);
  color: white;
}

.btn-round-negativo {
  border-radius: 1.3rem !important;
  background-color: rgb(255, 255, 255);
  color: white;
}

.gradiente-texto {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #00B09F, #004862);
}

/* Estilo para los inputs de texto dentro del formulario #formCod */
#formCod #codigo_1,
#formCod #codigo_2 {
  font-family: 'jollygoodproperextrabold';
  background-color: var(--tph-rosa);
  color: var(--tph-amarillo);
  border: 2px solid var(--tph-amarillo);
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  max-width: 50%;
  margin: 0 auto;
}

/* Estilo para los placeholders en los inputs de texto dentro del formulario #formCod */
#formCod #codigo_1::placeholder,
#formCod #codigo_2::placeholder {
  color: var(--tph-amarillo);
  opacity: 1;
  font-weight: bold;
}

/* Estilo para el botón principal dentro del formulario #formCod */
#formCod #btnCod {
  font-family: 'jollygoodproperextrabold';
  background-color: var(--tph-amarillo);
  color: var(--tph-rosa);
  border: 2px solid var(--tph-rosa);
  border-radius: 50px !important;
  font-weight: bold;
  max-width: 50%;
  margin: 0 auto;
  padding: 12px;
}

/* Estilo para el botón de espera dentro del formulario #formCod */
#formCod #btnWait {
  font-family: 'jollygoodproperextrabold';
  background-color: var(--tph-amarillo);
  color: var(--tph-rosa);
  border: 2px solid var(--tph-rosa);
  border-radius: 50px !important;
  max-width: 50%;
  margin: 0 auto;
  padding: 12px;
}

/* Ajustes de tamaño y espaciado para inputs y botones en #formCod */
#formCod input.form-control,
#formCod button.btn {
  padding: 10px;
  font-size: 1rem;
}



/********************************************************************* scrollbar css *********************************************************/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--tph-dorado);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: black;
}

.alert {
  font-family: 'Typold Regular';
}

/********************************************************************************** MENU  *******************************************************************************/

.logo {
  max-width: 100px;
}

.navbar-brand {
  max-width: 210px;
}

#accesoMicuenta {
  z-index: 99999;
  font-family: 'Typold Regular';
}

#mainMenu {
  font-family: 'montserratregular' !important;
  text-transform: uppercase;
  font-weight: bold;
  padding-top: 0%;
  padding-bottom: 0%;
  position: relative;
}

#mainMenu .container-fluid {
  background-color: var(--tph-negro);
  min-height: 4rem;
  color: var(--tph-blanco) !important;
  z-index: 1;
}

#mainMenu .nav-link {
  color: var(--tph-blanco);
}

.fixed-top {
  position: fixed !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/********************************************************************************** INICIO  *******************************************************************************/
/* ===========================
   Variables y gradient
   =========================== */
:root {
  --grad-start: rgba(255, 213, 0, 1);
  /* #FFD500 */
  --grad-end: rgba(31, 161, 56, 1);
  /* #1FA138 */
}

.gradient-66 {
  background: #FFD500;
  background: linear-gradient(66deg, var(--grad-start) 0%, var(--grad-end) 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===========================
   BASE MÓVIL (<992px)
   =========================== */

/* En móvil, degradado SOLO en header */
.site-main {
  background: none;
}

.hero-header {
  background: #FFD500;
  background: linear-gradient(66deg, var(--grad-start) 0%, var(--grad-end) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 2rem 1rem;
  /* aire extra en header */
}

/* Contenedor hero */
.hero-grid {
  flex-direction: column;
  /* apilado en móvil */
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  /* más separación entre bloques */
  text-align: center;
  padding: 2rem 0;
}

/* Título */
.hero-title {
  width: 85%;
  /* que no ocupe todo */
  max-width: 480px;
  height: auto;
  margin: 0 auto 1.5rem;
  /* centrado + margen inferior */
  display: block;
}

/* Collage */
.hero-art {
  width: 90%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  /* centrado */
}

/* ===========================
   DESKTOP (≥992px)
   =========================== */
@media (min-width: 992px) {

  /* En desktop, degradado en TODO el main */
  .site-main {
    min-height: 100dvh;
    background: #FFD500 !important;
    background: linear-gradient(66deg, var(--grad-start) 0%, var(--grad-end) 100%) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  /* Header transparente en desktop */
  .hero-header {
    background: transparent !important;
  }

  /* Layout en fila con aire */
  .hero-grid {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    min-height: clamp(520px, 60vh, 700px);
    text-align: center;
    /* centramos mejor las columnas */
    padding: 5rem 3rem;
    /* aire arriba/abajo y laterales */
    gap: 4rem;
    /* separación entre columnas */
  }

  .hero-title {
    width: 90%;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-art {
    width: 95%;
    max-width: 880px;
    margin: 0 auto;
  }
}



/********************************************************************************** mecánica  *******************************************************************************/
/* ===========================
   MECÁNICA – mobile first
   =========================== */

/* Móvil: fondo BLANCO */
#mecanica,
.mecanica {
  background-color: #fff;
}

.mecanica-heading {
  /* el amarillo de la franja de título */
  background-color: var(--tph-amarillo);
  display: inline-block;
  padding: 0.75rem 1.25rem;
  line-height: 1;
}

.mecanica-subcopy {
  font-size: 1.25rem;
}

.mecanica-lead {
  font-size: 1.25rem;
  margin-bottom: 2rem !important;
}

.mecanica-steps {
  row-gap: 2rem;
  /* espacio vertical entre filas en móvil */
}

.mecanica-step {
  max-width: 520px;
  /* que no se estire demasiado en móviles anchos */
  margin-left: auto;
  margin-right: auto;
}

.mecanica-badge img {
  display: block;
  margin: 0 auto 1rem;
  /* espacio bajo el rótulo negro */
  width: min(92%, 480px);
  /* tamaño visual como en mock */
  height: auto;
}

.mecanica-text {
  font-size: 1.25rem !important;
  /* cuerpo de texto en móvil */
  line-height: 1.25;
}

.color-contacta {
  color: var(--tph-azul);
}

.color-bases {
  color: var(--tph-azul);
}

/* ===========================
   Desktop ≥ 992px
   (mantienes tu fondo de PC; aquí lo dejamos transparente)
   =========================== */
@media (min-width: 992px) {

  #mecanica,
  .mecanica {
    background-color: transparent;
  }

  .mecanica-subcopy {
    display: none;
  }

  /* como en tu mock de desktop */

  .mecanica-lead {
    font-size: 1.5rem !important;
    margin-bottom: 3rem !important;
  }

  .mecanica-steps {
    row-gap: 0;
  }

  .mecanica-step {
    max-width: none;
  }

  .mecanica-badge img {
    width: 420px;
    /* ancho fijo del rótulo en desktop (similar al mock) */
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .mecanica-text {
    font-size: 1.5rem !important;
    line-height: 1.25;
  }

  .color-contacta {
    color: var(--tph-blanco);
  }

  .color-bases {
    color: var(--tph-blanco);
  }
}

/********************************************************************************** regalo-sec  *******************************************************************************/


/* ===== Regalo seguro – MOBILE FIRST ===== */
.regalo-sec {
  position: relative;
  background: var(--tph-verde);
  /* verde Martiko (coincide con el héroe) */
  color: #fff;
}

/* Línea superior con degradado (amarillo → verde) */
.regalo-sec::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD500 0%, #1FA138 100%);
}

/* Contenedor interno */
.regalo-wrap {
  max-width: 1120px;
  /* ancho máximo del contenido */
  margin: 0 auto;
  padding: 1.75rem 1rem;
  /* aire interior móvil */
  display: flex;
  flex-direction: column;
  /* en móvil: apilado */
  align-items: center;
  justify-content: center;
  gap: 1rem;
  /* separación icono-texto */
  text-align: center;
}

/* Icono */
.regalo-icon {
  width: 120px;
  height: auto;
  display: block;
}

/* Texto */
.regalo-copy {
  font-size: 1rem;
  /* móvil */
  line-height: 1.25;
  margin: 0;
}

/* ===== Desktop ≥ 992px ===== */
@media (min-width: 992px) {
  .regalo-wrap {
    flex-direction: row;
    /* lado a lado */
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
    /* más aire en desktop */
    text-align: left;
    /* texto alineado izq en desktop */
  }

  .regalo-icon {
    width: 120px;
    /* tamaño desktop */
  }

  .regalo-copy {
    font-size: 1.375rem;
    /* ≈22px */
    line-height: 1.25;
    margin: 0;
  }
}



/********************************************************************************** video  *******************************************************************************/


/* ===== Límite de tamaño del vídeo ===== */
:root {
  --video-w-mobile: 320px;
  /* ancho máx en móvil */
  --video-w-desktop: 420px;
  /* ancho máx en desktop */
  --video-max-h: 72vh;
  /* por si la pantalla es muy baja/alta */
}

.video-wrapper.receta-video {
  width: 100%;
  max-width: var(--video-w-mobile);
  max-height: var(--video-max-h);
  aspect-ratio: 9 / 16;
  /* mantiene 9:16 */
}

.video-wrapper.receta-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .video-wrapper.receta-video {
    max-width: var(--video-w-desktop);
  }
}


/********************************************************************************** countdown  *******************************************************************************/

#countdown {
  font-family: var(--tph-font-special);
  font-size: 2rem;
}

#countdown .wrapper {
  text-align: center;
}

#countdown .time {
  color: var(--tph-amarillo);
  font-size: 3rem;
  padding: 0.25rem;
}

#countdown .label {
  font-size: 1.8rem;
  display: block;
  color: var(--tph-amarillo);
}

#countdown svg {
  font: bold 5rem;
  width: 100%;
  height: 120px;
}

#countdown text {
  fill: none;
  stroke: var(--tph-amarillo);
  stroke-width: 6px;
  stroke-linejoin: round;
  animation: 2s pulsate infinite;
}

@keyframes pulsate {
  50% {
    text-shadow: 4px 4px #fff;
  }
}

/********************************************************************************** participa  *******************************************************************************/

#participa .highlight-bg {
  background-color: var(--tph-amarillo);
  display: inline-block;
  padding: 1.5rem;
}

#participa .input-group-text {
  display: none;
}

form#formReg_l label {
  display: block;
  color: var(--tph-form-label);
}

form#formReg_l input {
  border-radius: 5rem;
  border-color: var(--tph-negro);
}

form#formReg_l .form-control {
  color: var(--tph-form-input);
  background-color: var(--tph-form-bg);
  font-size: 1rem;
  font-family: var(--font-textos);
}

form#formReg_l .form-select {
  border-color: var(--tph-negro);
  background-color: var(--tph-form-bg);
  font-family: var(--font-textos);
  border-radius: 5rem;
  color: black;
}

form#formReg_l label.custom-control-label {
  display: block !important;
  color: var(--tph-form-label);
  font-size: 1rem;
}

form#formReg_l .form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--tph-form-placeholder);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--tph-form-placeholder);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-select:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--tph-form-placeholder);
}

form#formReg_l a {
  color: var(--tph-form-label);
}

form option {
  color: #000000;
  font-size: 1rem;
}

form option:hover {
  background-color: #ffffff;
}

form .input-group-text {
  background: transparent;
  color: #fff;
  border: none;
}

form .form-check-input:checked {
  background-color: var(--tph-azul);
  border-color: var(--tph-azul);
}

.form-check-input {
  --bs-form-check-bg: gray;
}

/********************************************************************************** premios  *******************************************************************************/



/********************************************************************************** contacto  *******************************************************************************/

#contacto {
  width: 100%;
  padding: 1rem;
}

#contacto h1 {
  font-size: 4rem;
}

#contacto h2 {
  font-size: 2rem;
}

.tel_promo a {
  text-decoration: none;
  color: var(--tph-rosa);
  /* font-size: 1.5rem; */
  text-align: end;
}

.email_contacto a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  text-align: start;
}

/* Limita la anchura real a través del wrapper */
#contacto .contacto-img-wrap {
  width: 100%;
  max-width: 300px;
  /* <— hazla más pequeña aquí */
  margin: 0 auto 1rem;
  /* centrada + aire inferior */
}

/* La imagen ocupa el 100% del wrapper (y no más) */
#contacto .contacto-illustration {
  display: block;
  width: 100%;
  height: auto;
}


/********************************************************************************** footer  *******************************************************************************/

footer {
  background-color: var(--tph-verde);
  position: sticky;
  font-family: 'Typold Regular';
}

footer ul {
  list-style: none;
}

footer a {
  color: var(--tph-blanco);
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s color;
}

footer a:hover {
  color: black;
}

footer .small {
  color: black;
  font-size: 1.1rem;
}

footer img .small {
  max-width: 1.5rem;
}

.logoBonduellPie {
  max-width: 8rem;
}

.pull-right {
  float: right;
}

.xs-d-flex {
  flex-direction: column;
}

/********************************************************************************** Area personal  *******************************************************************************/
.card-width {
  min-width: 10rem;
}

.flex-adapt {
  flex-direction: column !important;
}

/********************************************************************************** textos  *******************************************************************************/

/********************************************************************************** media query  *******************************************************************************/

@media (max-width: 992px) {

  /* 1) Relativiza el contenedor para referenciarlo con los absolutos */
  #mainMenu .container-fluid {
    position: relative;
  }

  /* 2) Centra el logo */
  #mainMenu .navbar-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--tph-negro);
    padding: 0 .5rem;
    z-index: 3;
  }

  /* 3) Ajusta el toggler para que no se solape */
  #mainMenu .navbar-toggler {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 3;
  }

  /* 4) Asegura que el menú desplegable quede detrás del logo */
  #mainMenu .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--tph-negro);
    z-index: 2;
  }
}


@media (min-width: 536px) {}

@media (min-width: 636px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {

  #contacto h1 {
    font-size: 5rem;
  }

  #contacto h2 {
    font-size: 4rem;
  }

  .btn-formulario {
    padding: 0.75rem 18rem;
  }

  #contacto .contacto-illustration {
    width: 85%;
    max-width: 460px;
    /* límite en escritorio */
    margin: 0 auto;
    /* centrada dentro de su columna */
  }

  #contacto .contacto-img-wrap {
    max-width: 360px;
    /* ajusta a tu gusto (320–420px) */
    margin: 0 auto;
  }

}

@media (min-width: 1024px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {

  #mainMenu,
  section,
  header,
  footer {
    max-width: 1920px;
    margin: 0 auto;
  }

}

@media(min-width:1800px) {}