.footer-wrapper {
  height: 100dvh;
  box-sizing: border-box;
  position: relative;
}

footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  min-height: 100%;
  box-sizing: border-box;
  background-color: var(--color-bg);
  border-top: 5px solid var(--color-placeholder);
}

.footer-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  max-width: 100vw;
  height: 100%;
  align-items: center;
  justify-content: center;
}

/* Mantenemos tus estilos para el SVG */
.FireOzzFooter {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90vh;
  z-index: 0;
  opacity: 0.1; /* Opacidad para que actúe como fondo */
  overflow: hidden;
  max-width: 100vw;
}

.FireOzzFooter path {
  fill: var(--color-text);
}

.Ozz-Text-Animation {
  position: fixed;
  bottom: -50px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: min-content;
  width: 100%;
  max-width: 100vw;
  z-index: 0;
}

.OzzTextFooter {
  font-family: "Hanson-Bold";
  color: var(--color-text);
  font-size: 300px;
  font-weight: 50;
  padding: 0;
  margin: 0;
  width: min-content;
  opacity: 0.8;
}

.FooterFirstBox {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px; /* límite de ancho */
  margin: 0 auto; /* centro horizontal */
  box-sizing: border-box;
  flex: 0 0 auto; /* no se encoja ni crezca */
  padding: 40px; /* ajusta según necesites */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 60vh;
}

/* Menú del footer */
.ft-menu {
  display: flex;
  justify-content: center;
}

/* Lista de items */
.ft-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  justify-content: center;
  align-items: center;
}

/* Items individuales */
.ft-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  max-width: min-content;
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Efecto hover */
.ft-item:hover {
  transform: scale(1.1);
  opacity: 1;
  visibility: visible;
}

/* Enlaces */
.ft-link {
  display: block;
  padding: 0rem 0rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-paragraph);
  font-size: 70px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.ft-social {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 15px; /* Espacio entre elementos sociales */
}

.ft-social a {
  display: flex; /* Cambiado a flex */
  flex-direction: initial; /* Dirección horizontal */
  align-items: center; /* Centra verticalmente los elementos */
  position: relative;
  height: 50px;
  text-decoration: none;
  gap: 10px; /* Espacio entre icono y texto */
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.ft-social a:hover {
  transform: scale(1.1);
  opacity: 1;
  visibility: visible;
}

.ft-social.text {
  color: var(--color-text);
  margin: 0; /* Elimina márgenes por defecto de p */
  white-space: nowrap; /* Evita salto de línea */
  font-size: 20px;
  font-family: var(--font-paragraph);
  text-decoration: none;
  padding-left: 5px;
}

.ft-social a svg {
  height: 100%;
  width: auto; /* Mantiene proporciones del SVG */
  max-width: 40px;
}

.ft-icon path {
  fill: var(--color-text);
}

/* Container (ajusta anchura si lo necesitas) */
.contact-widget {
  width: 450px;
  box-sizing: border-box;
}

/* Título superior */
.contact-widget h1 {
  color: var(--color-text);
  margin: 0; /* Elimina márgenes por defecto de p */
  white-space: nowrap; /* Evita salto de línea */
  font-size: 24px;
  font-family: var(--font-paragraph);
  text-decoration: none;
  padding-bottom: 15px;
  font-weight: 120;
  opacity: 0.7;
}

/* Formulario */
.contact-widget form {
  display: block;
}

/* Campo de fila completa (E-mail) */
.field {
  width: 100%;
  display: block;
  margin-bottom: 12px;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 40px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  background: var(--color-placeholder); /* tono gris oscuro como en la imagen */
  color: var(--color-text);
  font-size: 14px;
}

/* Fila con dos inputs lado a lado */
.row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.row .half {
  flex: 1 1 0;
}

.half {
  color: yellow;
}

/* Placeholder */
::placeholder {
  color: var(--color-text);
  opacity: 0.7;
}

.checkbox {
  opacity: 0.8;
  color: var(--color-text);
  margin: 0; /* Elimina márgenes por defecto de p */
  font-size: 14px;
  font-family: var(--font-paragraph);
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  max-width: 100%;
}

.checkbox a {
  color: var(--color-text);
  cursor: pointer;
}

#accept {
  transform: scale(1.2);
  position: relative;
  left: 2px;
  top: 0px;
  cursor: pointer;
}

#accept:hover {
  transform: scale(1.5);
  position: relative;
}

.checkbox label {
  gap: 5px;
  display: flex;
  align-items: flex-start;
}

.FooterSecondBox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: min-content;
  text-align: center;
  padding: 0;
  margin: 0;
  min-width: calc(100% - 80px);
  gap: 35px;
  padding-top: 10px;
  border-top: 1px solid var(--color-input-text);
  z-index: 3;
}

.FooterSecondBox a {
  color: var(--color-text);
  margin: 0; /* Elimina márgenes por defecto de p */
  white-space: nowrap; /* Evita salto de línea */
  font-size: 16px;
  font-family: var(--font-paragraph);
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  opacity: 0.6;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.FooterSecondBox a:hover {
  transform: scale(1.1);
  opacity: 1;
  visibility: visible;
}

.alert-success {
  display: none;
}

.alert-error {
  position: absolute;
  z-index: 20;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.2rem;
  padding: 20px 40px;
  min-width: 420px;
  font-family: var(--font-paragraph);
  right: 0;
  top: 90px;
  max-width: 100vw;
  border: 1px solid var(--color-text);
}

@media (max-width: 1200px) {
  .ft-link {
    display: block;
    padding: 0rem 0rem;
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-paragraph);
    font-size: 40px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
  }

  .alert-error {
    font-size: 0.9rem;
    min-width: auto;
    padding: 15px 25px;
    left: 0;
    right: 0;
    top: 80px;
    margin: 0 auto;
    text-align: center;
    max-width: 90%;
  }

  .footer-wrapper {
    height: 950px;
    min-height: 100dvh;

    position: relative;
  }
  .FireOzzFooter {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90vh;
    z-index: 0;
    opacity: 0.1; /* Opacidad para que actúe como fondo */
    overflow: hidden;
    max-width: 100vw;
  }
  .FooterFirstBox {
    display: flex;
    flex-direction: column;
    padding: 40px 10px 40px; /* ajusta según necesites */
    gap: 40px;
  }

  .FooterSecondBox {
    min-width: calc(100% - 20px);
  }

  .ft-social a {
    display: flex; /* Cambiado a flex */
    flex-direction: initial; /* Dirección horizontal */
    align-items: center; /* Centra verticalmente los elementos */
    position: relative;
    height: 40px;
    text-decoration: none;
    gap: 10px; /* Espacio entre icono y texto */
  }

  .ft-social a:hover {
    transform: scale(1.1);
  }

  .ft-social.text {
    color: var(--color-text);
    margin: 0; /* Elimina márgenes por defecto de p */
    white-space: nowrap; /* Evita salto de línea */
    font-size: 25px;
    font-family: var(--font-paragraph);
    text-decoration: none;
    padding-left: 10px;
  }

  .ft-social a svg {
    height: 100%;
    width: auto; /* Mantiene proporciones del SVG */
    max-width: 80px;
  }

  /* Container (ajusta anchura si lo necesitas) */
  .contact-widget {
    width: 800px;
    max-width: 95%;
    box-sizing: border-box;
  }

  /* Título superior */
  .contact-widget h1 {
    font-size: 28px;
    padding-bottom: 12px;
    font-weight: 500;
  }

  /* Campo de fila completa (E-mail) */
  .field {
    margin-bottom: 16px;
  }

  /* Inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 100%;
    height: 32px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    background: var(
      --color-placeholder
    ); /* tono gris oscuro como en la imagen */
    font-size: 20px;
  }

  .checkbox {
    font-size: 16px;
  }

  #accept {
    left: 4px;
    transform: scale(1.1);
    top: 1px;
    margin-right: 7px;
  }

  /* Fila con dos inputs lado a lado */
  .row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
  }

  /* Botón outline (Send!!) */
  button[type="submit"],
  .contact-widget input[type="submit"] {
    padding: 8px 16px;
    font-size: 16px;
    margin-top: 20px;
  }

  .FooterSecondBox a {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .Ozz-Text-Animation {
    bottom: -25px;
  }
  .footer-wrapper {
    height: 850px;
    min-height: var(--fixed-dvh);
  }
}
