/* Punto Pío — holding page (dark luxury)
   The logo is a gold egg with a black outline, so on a near-black canvas the
   outline melts away and the egg glows. Palette pulled from the logo:
   gold egg #F3C14A · brand red #F5403A · warm off-white #F4F1E8 · ink #0D0D0D */

:root {
  --canvas: #0d0d0d;
  --gold: #f3c14a;
  --gold-soft: #e8b23a;
  --ink: #f4f1e8; /* warm off-white text */
  --muted-text: #9c9488;
  --line: #2a2722;
  --red: #f5403a;
  --btn: #f4f1e8;
  --btn-ink: #111010;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 40rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Removed: the old radial panel glowed as a big rectangle behind the logo
   ("the square is glowing"). The glow now lives on .logo itself via stacked
   drop-shadows, which follow the egg's transparent silhouette exactly. */
.egg-glow {
  display: none;
}

/* Language toggle */
.lang {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 5;
  font-family: var(--sans);
}

.lang button {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-text);
  padding: 0.25rem 0.15rem;
  transition: color 0.2s ease;
}

.lang button:hover {
  color: var(--ink);
}

.lang button[aria-pressed="true"] {
  color: var(--gold);
}

.lang__sep {
  color: var(--line);
  font-size: 0.8rem;
}

/* Stage */
.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  padding: 4rem clamp(1.5rem, 6vw, 3rem);
  text-align: center;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.logo {
  width: clamp(9rem, 30vw, 13rem);
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
  /* Glow hugs the egg's shape (drop-shadow follows the PNG alpha), so there's
     no glowing rectangle. Two stacked shadows = soft, even gold halo. */
  filter: drop-shadow(0 0 22px rgba(243, 193, 74, 0.55))
    drop-shadow(0 0 9px rgba(243, 193, 74, 0.4));
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.headline {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.subline {
  margin: 0 auto 2.5rem;
  max-width: 30rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--muted-text);
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  background: var(--btn);
  color: var(--btn-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(243, 193, 74, 0.35);
}

.cta:active {
  transform: translateY(0);
}

.cta__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.note {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-text);
  letter-spacing: 0.01em;
}

/* Footer */
.foot {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted-text);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.foot__sep {
  color: var(--line);
}

.foot__link {
  color: var(--muted-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot__link:hover {
  color: var(--gold);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth language swap */
[data-i18n] {
  transition: opacity 0.18s ease;
}

body.lang-switching [data-i18n] {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .stage,
  [data-i18n] {
    animation: none;
    transition: none;
  }
}

/* Policy page specific layout */
.policy-stage {
  width: 100%;
  max-width: 45rem;
  padding: 6rem clamp(1.5rem, 6vw, 3rem) 4rem;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.policy-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.policy-logo-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.policy-logo {
  width: 5.5rem;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(243, 193, 74, 0.4));
  transition: opacity 0.2s ease;
}

.policy-logo:hover {
  opacity: 0.9;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--gold);
}

.policy-body h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--ink);
  line-height: 1.1;
}

.policy-date {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  font-weight: 400;
  margin: 2rem 0 0.8rem;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

.policy-body p {
  margin: 0 0 1.25rem;
  color: var(--muted-text);
  font-size: 1rem;
}

.policy-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--muted-text);
}

.policy-body li {
  margin-bottom: 0.5rem;
}

.policy-body strong {
  color: var(--ink);
}

/* Language switching logic for static text blocks */
html[lang="es"] .lang-content[lang="en"] {
  display: none;
}
html[lang="en"] .lang-content[lang="es"] {
  display: none;
}

