/* ============================================================
   Legamio · Página de mantenimiento
   Paleta corporativa:
     Morado  #B04EF6
     Amarillo #F8C400
     Azul     #25B8FF
   ============================================================ */

:root {
  --bg: #ECECEC;
  --purple: #B04EF6;
  --yellow: #F8C400;
  --blue: #25B8FF;
  --ink: #3A3F47;        /* texto títulos */
  --ink-soft: #6B7280;   /* texto descripción */
  --white: #ffffff;
  --shadow: rgba(20, 23, 28, 0.18);
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout principal: centrado vertical y horizontal ---------- */
.page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
  max-width: 1320px;
}

/* ---------- Ilustración ---------- */
.illustration {
  flex: 0 1 64%;
  display: flex;
  justify-content: center;
}

.owl-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  /* El PNG tiene fondo blanco: "multiply" lo funde con el gris del fondo */
  mix-blend-mode: multiply;
  /* Imagen estática: sin animación */
  animation: none;
}

/* ---------- Contenido ---------- */
.content {
  flex: 1 1 44%;
  max-width: 480px;
}

.title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.description {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 38ch;
}

.secondary {
  margin-top: 1.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Botón principal ---------- */
/* ---------- Acciones (botón + redes) ---------- */
.actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  background-color: var(--yellow);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(248, 196, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px);
  background-color: #ffcf1f;
  box-shadow: 0 14px 26px rgba(248, 196, 0, 0.45);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Redes sociales ---------- */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  /* Degradado característico de Instagram */
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  box-shadow: 0 8px 18px rgba(214, 41, 118, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(214, 41, 118, 0.42);
}

.social:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.social-icon {
  display: block;
}

/* ============================================================
   Animaciones
   ============================================================ */


/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: ajuste proporcional */
@media (max-width: 900px) {
  .maintenance {
    gap: 2.5rem;
  }
  .illustration {
    flex-basis: 44%;
  }
  .content {
    flex-basis: 52%;
  }
}

/* Mobile: layout vertical, ilustración arriba */
@media (max-width: 680px) {
  .maintenance {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .illustration {
    flex: none;
    width: 100%;
    max-width: 360px;
  }

  .content {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .description {
    margin-left: auto;
    margin-right: auto;
  }

  /* Centrar botón + redes y mantenerlos juntos */
  .actions {
    justify-content: center;
  }
}

/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .owl-img,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
