body {
  background-color: #202020;
  font-family: "Manrope", sans-serif;
  color: #ffffff;
  /* Scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Srollbar */
::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}


input,
textarea,
button {
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* AUTOFILL - quita estilos del autocompletado de Chrome y otros navegadores basados en WebKit */
input:-webkit-autofill {
  transition-delay: 9999s;
  transition-property: background-color, color;
}

/* AUTOFILL - Para que respete estilo en input */
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition-delay: 9999s;
  transition-property: background-color, color;
}

/* Aplica a todos los h3 */
h3 {
  font-family: "Gilda Display";
  font-style: normal;
  font-weight: 400;
}

/* Dot carrusel inactivo */
.dot {
  width: 16px;
  height: 16px;
  background-image: url("assets/Ellipsis.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

/* Dot carrusel activo */
.dot.active {
  width: 24px;
  height: 12px;
  margin-top: 2px;
  border-radius: 16px;
  background: #f8f7f2;
  opacity: 1;
}


/* PLUGIN - Respeta el input general */
.footer-form input[type="tel"] {
  width: 100%;
  border-radius: 32px;
  height: 40px;
}

/* PLUGIN = Quita la bandera */
.iti__flag {
  display: none;
}

/* PLUGIN - listado de códigos prefijos de los países */
.iti__country-list {
  border-radius: 25px;
  border: 1px solid #adb1b3;
  background: #202020;
}

/* PLUGIN - código de país que está seleccionado */
.iti__selected-dial-code {
  font-size: 14px;
  color: #ffffff;
}

/* Botón del fomulario de contacto */
.footer-form button {
  display: flex;
  height: 40px;
  width: 78px;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 32px;
  border: 1px solid #202020;
  background: #fff;
}

/* Barra separadora footer */
.footer-separator {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  opacity: 0.3;
}

/* =====================
   MEDIA QUERY - DESKTOP (min-width: 768px)
   ===================== */
@media (min-width: 768px) {

  html,
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  body {
    padding: 180px 80px;
    padding-bottom: 88px;
    max-width: 1440px; /* límite visual del diseño de Figma */
    margin: 0 auto; /* centra horizontalmente */
    width: 100%;
    box-sizing: border-box;
  }

  .container {
    box-sizing: border-box;
    display: flex;
    height: 600px;
    padding: 100px; /* agrego padding lateral para evitar desborde */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(
        90deg,
        rgba(32, 32, 32, 0.82) 0%,
        rgba(32, 32, 32, 0) 81.73%
      ),
      url("assets/landing_suscripton.jpg") no-repeat center center / cover;
    border-radius: 32px;
    width: 100%;
    max-width: 1440px;
    margin-bottom: 100px;
  }

  .content-desktop {
    width: 749px;
    box-sizing: border-box;
  }

  .logo {
    display: flex;
    width: 246px;
    height: 83px;
    padding: 8px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-bottom: 36px;
  }

  .logo img {
    width: 213.2px;
    height: 59.112px;
    aspect-ratio: 213.2/59.11;
  }

  .content-desktop h3 {
    font-size: 36px;
    line-height: 36px; /* 100% */
    letter-spacing: -0.9px;
    margin-top: 0; /* por si acaso */
    margin-bottom: 28px; /* espacio entre título y primer párrafo */
  }

  .content-desktop p {
    width: 452.982px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px; /* 143.75% */
    margin-top: 0;
    margin-bottom: 28px; /* separa cada párrafo */
  }

  /* Para que el último párrafo tenga 36px de separación con el input */
  .content-desktop p.sub-text {
    width: 277.99px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 15.6px */
    margin-bottom: 36px;
  }

  .carousel-container {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }

  .carousel-track {
    flex-wrap: nowrap; /* Evita salto de línea */
  }

  .header-block,
  .subscribe-block {
    display: none;
  }

  .subscribe-form {
    display: flex;
    justify-content: start;
    gap: 8px;
  }

  .subscribe-form input[type="email"] {
    width: 280px;
    padding: 12px 16px;
    border-radius: 32px;
    border: 1px solid #adb1b3;
    background: #f8f7f2;
    color: #5c6160;
    font-size: 16px;
  }

  .subscribe-form button {
    width: 107px;
    padding: 8px 16px;
    border-radius: 32px;
    background: linear-gradient(
      108deg,
      #d9a57a 2.62%,
      #b6754f 48.07%,
      #8c4e2f 93.53%
    );
    color: #ffffff;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }

  .brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 88px;
    margin-bottom: 188px;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-section h3 {
    font-size: 36px;
    line-height: 36px; /* 100% */
    letter-spacing: -0.9px;
  }

  .brand-section br {
    display: none;
  }

  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
  }

  .icon-carousel {
    overflow: hidden;
    overflow-x: auto;
    flex: 1;
  }

  .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .carousel-slide {
    flex: 0 0 calc((100% - (5 * 48px)) / 5); /* ancho fijo para 6 logos */
    max-width: calc((100% - (5 * 48px)) / 5);
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .carousel-slide img {
    max-width: 104px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: 1px solid #fff;
    background: #202020;
  }

  .carousel-btn:hover {
     background: linear-gradient(
      108deg,
      #d9a57a 2.62%,
      #b6754f 48.07%,
      #8c4e2f 93.53%
    );
    border: none;
    outline: none;
    cursor: pointer;
  }

  .carousel-btn:hover svg {
    stroke: #202020;
  }

  .carousel-btn:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
  }

  .carousel-pagination {
    display: flex;
    padding: 16px 0;
    justify-content: center;
    gap: 8px;
  }

  .dot {
    width: 16px;
    height: 16px;
    background-image: url("assets/Ellipsis.svg");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }

  .dot.active {
    width: 24px;
    height: 12px;
    margin-top: 2px;
    border-radius: 16px;
    background: #f8f7f2;
    opacity: 1;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: stretch;
    width: 100%;
    gap: 80px;
  }

  .footer-left {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
  }

  .logo-desktop {
    display: flex;
    width: 246px;
    height: 83px;
    padding: 8px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logo-desktop img {
    width: 213.2px;
    height: 59.112px;
    aspect-ratio: 213.2/59.11;
  }

  .logo-mobile {
    display: none;
  }

  .social-icons svg {
    width: 24.057px;
    height: 24.167px;
  }

  .social-icons {
    display: flex;
    padding: 0px 24px;
    align-items: flex-end;
    gap: 32px;
  }

  
  .footer-floater {
    width: 90px;
    height: 124px;
    border-radius: 12px;
    margin-top: auto;
  }

  .footer-floater-mobile {
    display: none;
  }


  .footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 0 0;
    max-width: 500px;
  }

  .footer-form h3 {
    font-size: 36px;
    line-height: 36px; /* 100% */
    letter-spacing: -0.9px;
    align-self: flex-start;
    margin: 0;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }

  .form-group label {
    padding: 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
  }

  .form-group input {
    height: 16px;
    padding: 12px;
    font-size: 16px;
    border-radius: 32px;
    border: 1px solid #adb1b3;
    background: #202020;
    color: #fff;
  }

  .footer-form button {
    height: 40px;
    width: 78px;
    padding: 8px 16px;
    border-radius: 32px;
    border: 1px solid #202020;
    background: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    cursor: pointer;
  }

  .footer-bottom {
    width: 100%;
    padding-top: 60px;
  }

  .footer-separator {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    opacity: 0.3;
  }

  .footer-info {
    display: flex;
    padding-top: 16px;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    row-gap: 60px;
    align-self: stretch;
  }

  .footer-info p {
    margin: 0;
    white-space: nowrap;
    
  }

  .footer-info p:nth-child(2) {
    margin-left: 46%;
  }

  .footer-info p:nth-child(3) {
    margin-left: auto;
  }

  .whatsapp-button {
    display: none;
  }
}

/* =====================
   MEDIA QUERY - MOBILE (max-width: 768px)
   ===================== */
@media (max-width: 768px) {
 
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  h3 {
    font-size: 24px;
    letter-spacing: -0.6px;
    line-height: 119%; /* 28.56px */
  }

  .subscribe-block,
  .container {
    padding-left: max(16px, 5vw);
    padding-right: max(16px, 5vw);
    box-sizing: border-box;
    max-width: 100vw; /* Que no exceda el ancho del viewport */
  }

  body {
    padding: 0px 0px;
    display: block;
  }

  .container {
    display: none !important;
  }

  .header-block,
  .subscribe-block {
    display: block;
  }

  /* Bloque superior */
  .header-block {
    display: flex;
    flex-direction: column;
    gap: 19px;
    max-width: 75vw;
    padding: 12%;
  }

  .logo {
    width: 156px;
    height: 43.252px;
    aspect-ratio: 156/43.25;
    padding: 8px;
    align-self: center;
    margin-bottom: 3%;
  }

  .header-block h3 {
    align-items: center;
    margin: 0;
    max-width: 75vw;
    text-align: start;
  }

  .intro-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    margin: 0;
    max-width: 70vw;
    text-align: start;
    padding-bottom: 3%;
  }

  /* Bloque inferior */
  .subscribe-block .overlay {
    display: flex;
    height: 440px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    /* align-items: flex-start; */
    gap: 10px;
    flex-shrink: 0;
    align-self: stretch;
    background: linear-gradient(
        90deg,
        rgba(32, 32, 32, 0.82) 0%,
        rgba(32, 32, 32, 0) 81.73%
      ),
      url("assets/landing_suscripton.jpg") no-repeat center center / cover;
    border-radius: 24px;
    margin-top: 20px;
    max-width: 80vw;
    margin-left: 3.5%;
  }

  .subscribe-block .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100vw;
    padding: 38px 24px 44px 20px;
  }

  .sub-text {
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 15.6px */
    font-size: 12px;
    margin: 0;
    color: #fff;
  }

  .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 70vw;
  }

  .subscribe-form input,
  .subscribe-form button {
    max-width: 70vw;
    box-sizing: border-box;
  }

  .subscribe-form input[type="email"] {
    width: 100%;
    height: 40px;
    padding: 8px 16px;
    border-radius: 32px;
    border: 1px solid #adb1b3;
    background: #f8f7f2;
    color: #5c6160;
    font-size: 12px;
  }

  .subscribe-form button {
    height: 40px;
    font-size: 16px;
    padding: 8px 16px;
    border: none;
    border-radius: 32px;
    background: linear-gradient(
      108deg,
      #d9a57a 2.62%,
      #b6754f 48.07%,
      #8c4e2f 93.53%
    );
    color: #ffffff;
    align-self: end;
  }

  /* Carrusel */
  .brand-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar el h3 */
    gap: 24px; /* Espacio entre h3 y carousel */
    padding-top: 52px;
    margin-bottom: 60px;
  }

  .brand-section h3 {
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 75vw;
    margin-bottom: 5px;
  }

  .carousel-container {
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .carousel-btn {
    display: none !important;
  }

  .icon-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .carousel-track {
    display: flex;
    gap: 16px; /* Espacio entre logos */
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: nowrap; /* Que no hagan wrap, todos en fila */
  }

  .carousel-slide {
    flex: 0 0 calc((100% - 32px) / 3); /* Ancho para 3 logos con gap 16px entre cada uno */
    max-width: calc((100% - 32px) / 3);
    display: flex;
    justify-content: center; /* Centrar el logo dentro del li */
  }

  .carousel-slide img {
    width: auto;
    max-width: 85%;
    height: auto;
    display: block;
  }

  .carousel-pagination {
    display: flex;
    padding: 16px 0;

    gap: 8px;
  }

  .footer {
    display: flex;
    flex-direction: column-reverse; /* Cambia el orden: formulario arriba, logo abajo */
    align-items: flex-start; /* Alinea a la izquierda */
    gap: 48px; /* Espacio entre bloques */
    padding: 0 24px; /* Márgenes laterales */
  }

  .footer-left {
    align-self: center;
    align-items: flex-start;
    width: 100%;
    max-width: 75vw;
    margin-bottom: 40px;
  }

  .logo-desktop {
    display: none;
  }

  .footer-logo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .logo-mobile {
    width: 39.975px;
    flex: 1 0 0;
    aspect-ratio: 39.97/40;
    display: block;
    flex: none;
  }

  .social-icons {
    display: none;
  }

  .footer-floater-mobile {
    width: 82px;
    height: 114px;
    border-radius: 12px;
  }

  .footer-floater {
    display: none;
  }

  .footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 95%;
    align-self: center;
  }

  .footer-form h3 {
    margin: 0;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 128.571%;
    padding: 4px 12px;
  }

  .form-group input {
    height: 16px;
    padding: 12px;
    border-radius: 32px;
    border: 1px solid #adb1b3;
    background: #202020;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 128.571%;
  }

  .iti__country-list {
    width: 81vw !important; /* ancho del listado en móvil */
    max-height: 150px !important; /* altura máxima para que no sea muy grande */
  }

  .footer-bottom {
    width: 100%;
    padding: 0px 40px;
    box-sizing: border-box;
    margin-bottom: 88px;
  }

  .footer-separator {
    margin-bottom: 24px; /* espacio hasta el primer párrafo */
  }

  .footer-info {
    flex-direction: column;
    gap: 16px; /* separación entre párrafos */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    text-align: left;
    align-items: start;
    margin: 0;
  }

  .whatsapp-button {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }
}
