@font-face {
  font-family: 'AlteRegular';
  src: url('../fonts/AlteHaasGroteskRegular.ttf') format('truetype');
  font-weight: 400;
  /*Regular*/
  font-style: normal;
}

@font-face {
  font-family: 'AlteBold';
  src: url('../fonts/AlteHaasGroteskBold.ttf') format('truetype');
  font-weight: 700;
  /*Bold*/
  font-style: normal;
}

:root {
  --color-fondo: #FFF4E6;
  --color-texto: #0133F0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-fondo);
  font-family: 'AlteRegular';
  color: var(--color-texto);
  letter-spacing: -0.199em;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  background-color: var(--color-texto);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 5px;
  letter-spacing: 0em;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15%;
  gap: 100px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  letter-spacing: 0em;
}


/* Punto indicador con parpadeo animado */
.status-dot {
  width: 7px;
  height: 7px;
  background-color: #00ff66;
  /* Verde de estado activo */
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

h1 {
  font-size: 50px;
  font-family: 'AlteBold';
  text-align: center;
  line-height: 0.9;
  margin: 0 5%;
}

h1::after {
  content: '';
  display: inline-block;
  width: 4px;
  /* Grosor de la barrita */
  height: 1em;
  /* Altura de la barrita (proporcional al texto) */
  background-color: var(--color-texto);
  /* Color de la barrita */
  margin-left: 5px;
  /* Separación entre el texto y la barra */
  vertical-align: middle;
  /* Alineación vertical con el texto */
  animation: parpadeo 0.8s infinite;
  /* Velocidad del parpadeo */
}

@keyframes parpadeo {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.contact {
  display: flex;
  justify-content: space-around;
  gap: 150px;
  font-size: 35px;
  /* border-top: 1px solid var(--color-texto); */
}

.col-contact {
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--color-texto);
  transition: transform 0.3s ease-in-out;
  transform-origin: left center;
}

a:hover {
  font-weight: bold;
  transform: scale(1.1);
}

.enlaces {
  line-height: 0.9;
}


/* Contenedor del mensaje flotante */
.toast-organico {
  position: fixed;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background-color: #0133F0;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0em;

  /* Formas orgánicas suavizadas (blob/bubble) */
  border-radius: 25px 8px 30px 18px;
  box-shadow: 0 10px 25px -5px rgba(1, 51, 240, 0.35),
    0 4px 10px -2px rgba(1, 51, 240, 0.2);

  /* Estado inicial para ocultar */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 30px) scale(0.8) rotate(-3deg);

  /* Transición de salida por defecto */
  transition: opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.4, 0, 1, 1),
    visibility 0.4s;
}

/* Icono de check */
.toast-organico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Clase activa: Transición de entrada (rebote fluido y orgánico) */
.toast-organico.activo {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1) rotate(0deg);
  transition: opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.3s;
}

.salto-forzado {
  display: none;
}

@media (max-width: 1300px) {

  main {
    gap: 60px;
  }

  .contact {
    gap: 70px;
    font-size: 25px;
    letter-spacing: -0.099em;
  }

  h1 {
    font-size: 40px;
  }
}

@media (max-width: 900px) {

  main {
    gap: 50px;
  }

  .contact {
    gap: 30px;
    flex-direction: column;
    font-size: 20px;
  }

  .col-contact {
    align-items: center;
  }

  h1 {
    font-size: 35px;
  }
}

@media (max-width: 500px) {

  main {
    margin: 0 5%;
  }

  .contact {
    gap: 20px;
  }

  main {
    gap: 40px;
  }
  .status-dot{
    padding-left: 5px;
    margin: 0 10px;
  }
  
}

@media (max-width: 400px) {

  h1 {
    font-size: 20;
  }

  .contact {
    font-size: 18;
  }
}

@media (min-width: 1813px) {
  h1 {
    margin: 0 10%;
  }
}

@media (max-width: 707px) {
        .salto-forzado {
            display: inline; /* o 'block' según el diseño */
        }
    }