:root {
  --mint: #2fd5c2; /* Kaia mint */
  --coral: #ff6f61; /* Kaia coral */
  --ink: #0e1b1b;
  --bg: #fafffe;
  --muted: #6b7c7c;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(
      1200px 800px at 80% -10%,
      rgba(47, 213, 194, 0.15),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at -10% 110%,
      rgba(255, 111, 97, 0.09),
      transparent 60%
    ),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: min(720px, 92vw);
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: center;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(47, 213, 194, 0.25);
}

h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin: 8px 0 10px;
}
p.lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: clamp(15px, 2.1vw, 18px);
}

.pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pill {
  background: #f2fbfa;
  color: #0e5b55;
  border: 1px solid #d8f5f1;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.cta {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  background: var(--mint);
  color: #062e2a;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(47, 213, 194, 0.3);
  transition: transform 0.08s ease;
}
.cta:active {
  transform: translateY(1px);
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.social {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social a {
  text-decoration: none;
  border: 1px solid #e6f3f1;
  padding: 10px 14px;
  border-radius: 12px;
  color: #0e5b55;
}

/* --- Estilos extra para la página 404 --- */
.code404 {
  font-weight: 600;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  margin: 6px 0 10px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--mint), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.subtle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e6f3f1;
  color: #0e5b55;
  background: #ffffff;
}

.paws {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  opacity: 0.8;
  user-select: none;
}
.paw {
  font-size: 18px;
  transform: translateY(0);
  animation: bob 1.8s ease-in-out infinite;
}
.paw:nth-child(2) {
  animation-delay: 0.1s;
}
.paw:nth-child(3) {
  animation-delay: 0.2s;
}
.paw:nth-child(4) {
  animation-delay: 0.3s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
/* --- Ajustes responsive para mobile --- */
@media (max-width: 768px) {
  body {
    display: block; /* permite que el contenido crezca verticalmente */
    padding: 24px 0; /* margen arriba y abajo */
  }

  .card {
    margin: 0 auto;
    padding: 32px 22px; /* un poco menos de padding lateral */
  }
}

