:root {
  --bg-hero: #FFC362;
  --text: #2F2F2F;
  --pill-bg: #FFC362;
  --pill-border: #2F2F2F;
  --max-gallery-h: 642px;
}

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Aeonic Pro";
  src: url("assets/fonts/AeonikPro-Regular.woff2") format("woff2"),
       url("assets/fonts/AeonikPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: "Aeonic Pro", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #f8f8f5;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

body, a, button {
  cursor: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  width: 100%;
  background: var(--bg-hero);
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.chat-link {
  position: absolute;
  top: clamp(10px, 2.5vw, 20px);
  right: clamp(10px, 2.5vw, 24px);
  font-size: clamp(14px, 1.6vw, 16px);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  width: 100%;
}

.logo {
  width: min(760px, 80vw);
  height: auto;
  display: block;
}

.claim {
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px);
  opacity: 0.9;
}

/* ---------- TICKER ---------- */
.ticker-wrap {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: min(380px, 90vw);
  border: 1.5px solid var(--pill-border);
  border-radius: 999px;
  background: var(--pill-bg);
  overflow: hidden;
  pointer-events: none;
}

.ticker {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 8s linear infinite;
  padding: 12px 20px;
  font-size: clamp(13px, 1.2vw, 16px);
}

.ticker span::after {
  content: ":)";
  padding-left: 40px;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}

/* ---------- GALLERY ---------- */
.gallery {
  width: 100%;
  height: clamp(280px, 60vh, var(--max-gallery-h));
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  gap: 0;                  /* sin espacios entre elementos */
  padding: 0;              /* sin gutters laterales */
  margin: 0;               /* pegada al hero */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: none;        /* sin fondo */
  border: none;
}

.gallery::-webkit-scrollbar {
  height: 10px;
}
.gallery::-webkit-scrollbar-track {
  background: transparent;
}
.gallery::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

/* ---------- ITEMS ---------- */
.item {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  scroll-snap-align: start;
  background: #000; /* relleno neutro detrás de vídeos */
  border: none;
  border-radius: 0; /* sin bordes redondeados */
}

.item.wide {
  aspect-ratio: 16 / 9;
}

.item img,
.item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .ticker {
    padding: 10px 16px;
    gap: 24px;
  }
  .item {
    aspect-ratio: 3 / 4;
  }
}

/* ---------- CUSTOM CURSOR ---------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 2px solid #2F2F2F;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.08s ease-out, opacity 0.2s ease;
}

/* Hide default pointer */
body, a, button {
  cursor: none;
}

/* Cursor grows on hover links or buttons */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
  transform: translate(-50%, -50%) scale(1.3);
}

/* ---------- CUSTOM CURSOR ---------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 2px solid #2F2F2F;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.08s ease-out, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Aeonic Pro", sans-serif;
  font-size: 13px;
  color: #2F2F2F;
  background: transparent;
}

body, a, button {
  cursor: none;
}

/* Crece ligeramente sobre enlaces */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
  transform: translate(-50%, -50%) scale(1.3);
}

/* Estado con mensaje */
.custom-cursor.message {
  width: auto;
  height: auto;
  padding: 10px 18px;
  border:none;

  font-size: clamp(14px, 1.3vw, 14px);
  color: #ffffff;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.15s ease;
}

