@font-face {
  font-family: 'Brittany';
  src: url('../elementos/BrittanySignature.ttf') format('truetype');
  font-weight: normal;
}

:root {
  --green: #1e4a3a;
  --green-deep: #173a2d;
  --yellow: #f5e642;
  --gray: #f0eeea;
  --white: #ffffff;
  --ink: #1a1a1a;
  --teal: #55887d;
  --orange: #ff914d;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body { overflow-x: hidden; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--gray);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- MARQUEE BASE ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  padding: 10px 0;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 26px;
  font-family: 'Montserrat', sans-serif;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-track span {
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.marquee .star { display: inline-block; font-size: 18px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ALERTA ANTI-PAUSA (VSL) ---------- */
.pause-alert {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  background: rgba(23,58,45,.95);
  border-radius: 10px;
  cursor: pointer;
  z-index: 3;
}

.pause-alert-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  color: var(--yellow);
  max-width: 560px;
}

.pause-alert-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 520px;
}

.pause-alert-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-deep);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 12px 28px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .pause-alert { gap: 10px; padding: 16px; }
  .pause-alert-title { font-size: 17px; }
  .pause-alert-sub { font-size: 12px; }
  .pause-alert-btn { font-size: 11px; padding: 9px 20px; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transition: opacity 1800ms cubic-bezier(.2,.7,.2,1), transform 1800ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.reveal.from-left  { transform: translateX(-42px); }
.reveal.from-right { transform: translateX(42px); }
.reveal.from-up    { transform: translateY(32px); }
.reveal.in { opacity: 1; transform: translate(0,0); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
