:root {
  --scale: 1;
  --green: #b7d651;
  --green-soft: #cce868;
  --line: rgba(190, 219, 85, .95);
  --white: #f7f8f4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: #020304;
  color: var(--white);
}

body { overflow: hidden; }

.stage-shell {
  width: 100vw;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020304;
}

.stage-fit {
  width: calc(1366px * var(--scale));
  height: calc(768px * var(--scale));
  position: relative;
  flex: 0 0 auto;
}

.feeding-stage {
  position: relative;
  width: 1366px;
  height: 768px;
  overflow: hidden;
  transform: scale(var(--scale));
  transform-origin: top left;
}

.feeding-stage__bg {
  position: absolute;
  inset: 0;
  background: url('./assets/alimentacion-bg.png') center center / cover no-repeat;
}

.navbar {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 58px;
  z-index: 30;
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  align-items: center;
  padding: 0 28px;
  border: 1px solid rgba(190, 219, 85, .4);
  border-radius: 23px;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: .9;
  font-size: 16px;
  font-weight: 800;
}

.brand__text strong {
  font-size: 1.18em;
  letter-spacing: .02em;
}

.menu {
  justify-self: center;
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
}

.menu__link {
  position: relative;
  height: 58px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.menu__link:hover,
.menu__link.is-active { color: #fff; }

.menu__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.menu__link:hover::after,
.menu__link.is-active::after { width: 82px; }

.sound-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.sound-pill img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.feeding-copy {
  position: absolute;
  left: 18px;
  top: 105px;
  width: 265px;
  z-index: 12;
}

.feeding-copy h1 {
  margin: 0 0 6px;
  color: var(--green-soft);
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
}

.feeding-copy p {
  margin: 0;
  width: 260px;
  color: #fff;
  font-size: 12px;
  line-height: 1.18;
}

.feeding-copy span {
  color: var(--green-soft);
}

.diet-card {
  position: absolute;
  left: 18px;
  top: 185px;
  width: 265px;
  min-height: 191px;
  z-index: 13;
  padding: 14px 18px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .40);
}

.diet-card h2 {
  margin: 0 0 16px;
  color: var(--green-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.diet-card ul {
  margin: 0;
  padding: 0 0 0 25px;
  list-style: square;
  color: #fff;
}

.diet-card li {
  margin: 0 0 5px;
  padding-left: 3px;
  font-size: 12px;
  line-height: 1.18;
}

.diet-card li::marker {
  color: #fff;
  font-size: 1em;
}

.feeding-eagle {
  position: absolute;
  left: 356px;
  top: 132px;
  width: 565px;
  height: auto;
  z-index: 10;
  object-fit: contain;
  opacity: .96;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .32)) blur(.55px) saturate(.95);
}

.feeding-fact {
  position: absolute;
  right: 65px;
  width: 230px;
  z-index: 14;
  padding: 18px 18px 17px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .35);
}

.feeding-fact h2 {
  margin: 0 0 16px;
  color: var(--green-soft);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
}

.feeding-fact p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.26;
}

.feeding-fact--1 { top: 123px; min-height: 110px; }
.feeding-fact--2 { top: 255px; min-height: 107px; }
.feeding-fact--3 { top: 383px; min-height: 108px; }

@media (max-width: 520px) {
  .stage-shell {
    overflow: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }
}


/* Audio interactivo del header */
.sound-pill {
  cursor: pointer;
  user-select: none;
  padding: 4px 7px;
  border-radius: 999px;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.sound-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  background: rgba(190, 219, 85, .08);
}
.sound-pill.is-playing {
  background: rgba(190, 219, 85, .12);
  text-shadow: 0 0 12px rgba(190, 219, 85, .45);
}
.sound-pill.is-playing img {
  animation: soundPulse .78s ease-in-out infinite alternate;
}
@keyframes soundPulse {
  from { transform: scale(.94); opacity: .78; }
  to { transform: scale(1.12); opacity: 1; }
}
