/* ---------------------------------------------------
   Tokens — paleta sacada de la ilustración de Foxxy
--------------------------------------------------- */
:root {
  --rose:        #C9A79E;  /* fondo base */
  --lavender:    #C7AEE3;  /* fondo, mitad del glow */
  --purple:      #5C3AA0;  /* pelo, acento principal */
  --purple-deep: #3B2568;  /* hover / texto sobre claro */
  --orange:      #F2701B;  /* pelaje, acento secundario */
  --cream:       #F7E4C4;  /* pelaje claro, superficies */
  --ink:         #2A1F35;  /* texto principal */

  --surface:     color-mix(in srgb, var(--cream), white 24%);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Quicksand", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, var(--rose) 0%, var(--lavender) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow-x: hidden;
}

/* ---------------------------------------------------
   Firma: halo lavanda + chispas/huellitas flotando,
   ecos del círculo de la placa de Foxxy.
--------------------------------------------------- */
.bg-glow {
  position: fixed;
  top: 46%;
  left: 50%;
  width: min(78vw, 720px);
  height: min(78vw, 720px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    color-mix(in srgb, var(--lavender), white 22%) 0%,
    transparent 68%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

.deco {
  position: fixed;
  color: var(--cream);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.deco svg { width: 100%; height: 100%; display: block; }
.deco--star  { top: 11%;    left: 9%;   width: 30px; height: 30px; }
.deco--heart { bottom: 15%; right: 8%;  width: 26px; height: 26px; color: var(--purple); opacity: 0.32; }
.deco--paw   { top: 20%;    right: 12%; width: 34px; height: 34px; color: var(--orange); opacity: 0.28; }

@media (prefers-reduced-motion: no-preference) {
  .deco--star  { animation: float 6s ease-in-out infinite; }
  .deco--heart { animation: float 7s ease-in-out infinite 0.5s; }
  .deco--paw   { animation: float 8s ease-in-out infinite 1s; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 52px;
  max-width: 920px;
  width: 100%;
}

.hero__art {
  position: relative;
  flex: 0 0 auto;
  width: min(42vw, 320px);
}

/* halo propio detrás del arte, más nítido que el bg-glow */
.hero__halo {
  position: absolute;
  inset: -6% -6% -6% -6%;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--lavender), white 30%) 0%,
    color-mix(in srgb, var(--lavender), transparent 40%) 55%,
    transparent 72%);
  z-index: -1;
}

.hero__art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(59, 37, 104, 0.28));
}

/* pin de "señal de radio" — guiño a la radioaficionada */
.hero__badge {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(242, 112, 27, 0.45);
}
.hero__badge svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: settle 0.7s ease-out both; }
  .hero__badge   { animation: pop 0.5s ease-out 0.6s both; }
  .hero__badge svg { animation: pulse 2.6s ease-in-out 1.2s infinite; transform-origin: 12px 12px; }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.hero__content {
  flex: 1 1 auto;
  min-width: 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--purple);
  margin: 0 0 6px 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.4vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 14px 0;
  color: var(--purple-deep);
  letter-spacing: -0.01em;
}
.hero__title .dot { color: var(--orange); }

.hero__tagline {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 20px 0;
  max-width: 48ch;
  color: var(--ink);
}

/* ---------------------------------------------------
   Facetas — chips tipo pins de placa
--------------------------------------------------- */
.facets {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facets li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface), transparent 8%);
  color: var(--purple-deep);
  border: 1.5px solid color-mix(in srgb, var(--purple), transparent 78%);
  white-space: nowrap;
}

/* ---------------------------------------------------
   Lema
--------------------------------------------------- */
.motto {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--purple-deep);
  margin: 0 0 26px 0;
  padding-left: 16px;
  max-width: 44ch;
  border-left: 3px solid var(--orange);
}
.motto__mark {
  color: var(--orange);
  font-weight: 800;
}

/* ---------------------------------------------------
   Botones de contacto
--------------------------------------------------- */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--purple);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(92, 58, 160, 0.35);
}
.btn--primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(59, 37, 104, 0.4);
}

.btn--ghost {
  background: color-mix(in srgb, var(--surface), transparent 30%);
  color: var(--purple-deep);
  border-color: color-mix(in srgb, var(--purple), transparent 55%);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

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

/* ---------------------------------------------------
   QR + footer
--------------------------------------------------- */
.qr-block {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-block img {
  border-radius: 16px;
  padding: 8px;
  background: var(--cream);
  box-shadow: 0 6px 24px rgba(42, 31, 53, 0.18);
}
.qr-block p {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-deep);
  margin: 0;
  letter-spacing: 0.02em;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink), transparent 30%);
}
.site-footer p { margin: 0; }

/* ---------------------------------------------------
   Mobile
--------------------------------------------------- */
@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .hero__art { width: min(56vw, 260px); }
  .hero__tagline,
  .motto { max-width: none; }
  .facets,
  .contact-buttons { justify-content: center; }
  .motto {
    text-align: left;
    display: inline-block;
  }
}
