:root {
  --ink: #101820;
  --muted: #5d6872;
  --paper: #fff9ef;
  --surface: rgba(255, 255, 255, 0.72);
  --accent: #15b8a6;
  --accent-strong: #0f8f82;
  --sun: #ffcf56;
  --coral: #ff6b5f;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Heebo", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 207, 86, 0.34), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(21, 184, 166, 0.22), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f2fbf8 52%, #fff4ed 100%);
}

body::before,
body::after {
  position: fixed;
  inset: auto;
  z-index: -1;
  display: block;
  width: 18rem;
  height: 18rem;
  content: "";
  border: 2px solid rgba(16, 24, 32, 0.08);
  transform: rotate(12deg);
  animation: drift 12s ease-in-out infinite alternate;
}

body::before {
  top: 7vh;
  right: -6rem;
  border-radius: 45% 55% 52% 48%;
}

body::after {
  bottom: -7rem;
  left: -5rem;
  border-color: rgba(255, 107, 95, 0.16);
  border-radius: 54% 46% 42% 58%;
  animation-delay: -4s;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 3rem);
  place-items: center;
}

.hero {
  width: min(100%, 760px);
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  animation: enter 700ms ease both;
}

.logo-wrap {
  display: inline-grid;
  width: min(58vw, 260px);
  min-height: 96px;
  margin: 0 auto 1.6rem;
  place-items: center;
  animation: breathe 3.8s ease-in-out infinite;
}

.logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.95rem;
  color: var(--accent-strong);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  background: rgba(21, 184, 166, 0.12);
  border: 1px solid rgba(21, 184, 166, 0.24);
  border-radius: 999px;
}

.pulse {
  width: 0.62rem;
  height: 0.62rem;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(21, 184, 166, 0.42);
  animation: pulse 1.8s ease-out infinite;
}

h1 {
  max-width: 11ch;
  margin: 1.45rem auto 0.7rem;
  font-size: clamp(3rem, 10vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro {
  max-width: 34rem;
  margin: 0 auto 2.1rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.75;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.45rem;
  padding: 0.78rem 1.35rem;
  color: white;
  font-size: clamp(1rem, 2.3vw, 1.14rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: #1fae63;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 174, 99, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: #178f50;
  box-shadow: 0 18px 38px rgba(31, 174, 99, 0.34);
  transform: translateY(-2px);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(255, 207, 86, 0.88);
  outline-offset: 4px;
}

.whatsapp-button svg {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  fill: currentColor;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.025);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 184, 166, 0.42);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(21, 184, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 184, 166, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(12deg);
  }
  to {
    transform: translate3d(-10px, 14px, 0) rotate(20deg);
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 1rem;
    place-items: stretch;
  }

  .hero {
    display: grid;
    min-height: calc(100vh - 2rem);
    align-content: center;
  }

  .whatsapp-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
