/* ══════════════════════════════════════
   CROACK EDICIONES — styles.css
   Fuente display: Ruddy (Adobe Fonts kit jbt1qlb)
   Fuente body:    Nunito (Google Fonts)
══════════════════════════════════════ */

:root {
  --font-display: 'ruddy', 'Nunito', cursive;
  --font-body:    'Nunito', sans-serif;
  --cream:        #FEF8F0;
  --cream-dark:   #F5ECD8;
  --green-frog:   #85C86A;
  --green-mid:    #4BA847;
  --green-dark:   #2A6B35;
  --green-leaf:   #3D8C4A;
  --coral:        #E8513A;
  --coral-light:  #F4785F;
  --navy:         #1E2456;
  --navy-mid:     #2E3570;
  --yellow:       #F7CE38;
  --yellow-light: #FDE87A;
  --pink:         #F08CA0;
  --sky:          #A8D8EA;
  --white:        #FFFFFF;
  --ink:          #1E2456;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  cursor: none;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   CURSOR — ojo de rana
   · Amarillo + borde rojo grueso + arco oscuro
   · .cursor-hover → brillo dorado
   · blink gestionado por JS vía scaleY
══════════════════════════════════════ */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 54px; height: 54px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: filter .18s ease;
}
#cursor svg { width: 100%; height: 100%; display: block; }

/* Arcos del ojo: transición suave al abrir/cerrar */
#arc-open, #arc-closed { transition: opacity .06s ease; }

/* Estado hover sobre elementos clicables: brillo dorado */
#cursor.cursor-hover {
  filter:
    drop-shadow(0 0 8px rgba(255,215,0,0.95))
    drop-shadow(0 0 16px rgba(204,17,17,0.6));
}

/* ── Anillo de destellos (hover) ── */
#cursor-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  top: 0; left: 0;
  width: 0; height: 0;
  display: none;
}
#cursor-sparkle.active { display: block; }

.sparkle-ring {
  position: absolute;
  border-radius: 50%;
  border: 2.5px dashed;
  transform: translate(-50%, -50%);
}
.sparkle-ring-1 {
  width: 86px; height: 86px;
  border-width: 3px;
  border-style: dashed;
  animation: sparkRot 0.8s linear infinite, sparkColor 1.6s linear infinite;
}
.sparkle-ring-2 {
  width: 68px; height: 68px;
  border-width: 3px;
  border-style: dashed;
  animation: sparkRot 0.55s linear infinite reverse, sparkColor 1.6s linear infinite reverse;
}
.sparkle-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FFD700;
  transform: translate(-50%, -50%);
  animation: sparkPulse 0.5s ease-in-out infinite alternate;
}
@keyframes sparkRot   { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes sparkPulse { from{opacity:.2;transform:translate(-50%,-50%) scale(.5)} to{opacity:1;transform:translate(-50%,-50%) scale(1.4)} }
@keyframes sparkColor {
  0%   { border-color: rgba(255, 40,  40,  .9); }
  14%  { border-color: rgba(255,140,   0,  .9); }
  28%  { border-color: rgba(255,230,   0,  .9); }
  42%  { border-color: rgba(  0,210,  80,  .9); }
  57%  { border-color: rgba(  0,150, 255,  .9); }
  71%  { border-color: rgba(140,  0, 255,  .9); }
  85%  { border-color: rgba(255,  0, 180,  .9); }
  100% { border-color: rgba(255, 40,  40,  .9); }
}

/* ── Splash / bursts de emojis ── */
#splash-container {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.splash {
  position: absolute;
  pointer-events: none;
  font-size: 22px;
  transform-origin: center;
}
@keyframes splashOut {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.2) rotate(540deg); }
}

/* ══════════════════════════════════════
   CAPA AMBIENTAL — nenúfares, moscas…
══════════════════════════════════════ */
#ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}
.ambient-el {
  position: fixed;
  pointer-events: none;
  will-change: transform, opacity;
}
.ambient-clickable {
  pointer-events: all;
  cursor: none;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 3px solid var(--cream-dark);
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  box-shadow: 0 4px 0 rgba(0,0,0,.05);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
nav a {
  font-weight: 800;
  font-size: .9rem;
  color: var(--navy);
  text-decoration: none;
  margin-left: 32px;
  transition: color .2s;
}
nav a:hover { color: var(--coral); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 95vh;
  background: linear-gradient(155deg, #FEF8F0 0%, #F5ECD8 45%, #E8F5E2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: .18;
}
.hero-inner {
  position: relative;
  max-width: 1160px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-book-col { flex-shrink: 0; position: relative; }
.book-shadow-wrap { position: relative; }

.hero-text-col {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.12);
}
h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.0;
  color: var(--navy);
}
h1 .accent-coral { color: var(--coral); }
h1 .accent-green { color: var(--green-mid); }

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #4a5568;
  margin: 22px 0 36px;
  max-width: 440px;
}
.hero-sub strong { color: var(--coral); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 34px;
  border-radius: 60px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: -.2px;
}
.btn:hover  { transform: translateY(-4px) scale(1.03); }
.btn:active { transform: translateY(1px) scale(.98); }

.btn-amazon {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 6px 0 #a83322, 0 8px 20px rgba(232,81,58,.3);
}
.btn-amazon:hover { box-shadow: 0 10px 0 #a83322, 0 12px 28px rgba(232,81,58,.35); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
}
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--navy); }

.age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 3px 3px 0 var(--green-dark);
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--green-mid);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: arrowBounce 2.2s infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9px); }
}

/* ══════════════════════════════════════
   3D BOOK MOCKUP
══════════════════════════════════════ */
.book-mockup {
  position: relative;
  display: flex;
  width: 280px;
  height: 370px;
  transform: perspective(900px) rotateY(-18deg);
  transform-style: preserve-3d;
  animation: bookFloat 4s ease-in-out infinite;
  filter: drop-shadow(24px 28px 18px rgba(30,36,86,.28));
}
.book-mockup--static {
  animation: none;
  transform: perspective(900px) rotateY(-18deg);
  filter: drop-shadow(20px 24px 16px rgba(30,36,86,.22));
}
@keyframes bookFloat {
  0%,100% { transform: perspective(900px) rotateY(-18deg) translateY(0); }
  50%      { transform: perspective(900px) rotateY(-15deg) translateY(-18px); }
}
.book-mockup-spine {
  width: 32px;
  height: 370px;
  background: linear-gradient(to right, #a07030, #c8952a, #b07828);
  border-radius: 3px 0 0 3px;
  transform: rotateY(-90deg) translateZ(16px) translateX(-16px);
  transform-origin: right center;
  flex-shrink: 0;
  box-shadow: inset -4px 0 8px rgba(0,0,0,.3);
}
.book-mockup-cover {
  width: 248px;
  height: 370px;
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.book-mockup-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-mockup-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.18) 0%, transparent 55%);
  pointer-events: none;
}
.book-mockup-side {
  position: absolute;
  right: -14px;
  top: 4px;
  width: 14px;
  height: 362px;
  background: repeating-linear-gradient(
    to bottom,
    #f0e8d8 0px, #f0e8d8 2px,
    #e0d0b0 2px, #e0d0b0 3px
  );
  border-radius: 0 2px 2px 0;
  transform: rotateY(90deg) translateZ(0);
  transform-origin: left center;
}
.book-3d-wrap { position: relative; width: 310px; }
.book-3d-wrap .book-mockup        { width: 270px; height: 357px; }
.book-3d-wrap .book-mockup-cover  { width: 238px; height: 357px; }
.book-3d-wrap .book-mockup-spine  { height: 357px; }
.book-3d-wrap .book-mockup-side   { height: 349px; }

/* ══════════════════════════════════════
   WAVE DIVIDERS
══════════════════════════════════════ */
.wave { display: block; overflow: hidden; line-height: 0; margin-top: -2px; }

/* ══════════════════════════════════════
   SECTION LABELS / HEADINGS
══════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.label-coral { background: var(--coral);     color: var(--white);  }
.label-navy  { background: var(--navy);      color: var(--yellow); }
.label-green { background: var(--green-mid); color: var(--white);  }

h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.05;
}
h2 .coral { color: var(--coral); }
h2 .green { color: var(--green-mid); }

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.jokes-ticker {
  background: var(--coral);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: tickerRoll 28s linear infinite;
}
.ticker-track span {
  display: inline-block;
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
  padding: 0 36px;
}
.ticker-track span::before { content: '🐸'; margin-right: 10px; }
@keyframes tickerRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   BOOK DETAIL SECTION
══════════════════════════════════════ */
#libro { background: var(--white); padding: 90px 48px; }
.book-detail {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 72px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}
.book-img-col { flex: 0 0 300px; }
.new-sticker {
  position: absolute;
  top: -20px; right: -8px;
  width: 82px; height: 82px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--navy);
  font-size: .7rem;
  text-align: center;
  border: 3px solid var(--white);
  box-shadow: 3px 3px 0 rgba(0,0,0,.15);
  line-height: 1.2;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.book-info-col { flex: 1; min-width: 280px; }
.meta-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; }
.meta-tag {
  background: var(--cream);
  color: var(--navy);
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 14px;
  border-radius: 50px;
  border: 2.5px solid var(--cream-dark);
}
.stars { display: flex; align-items: center; gap: 3px; margin-bottom: 20px; }
.star { font-size: 1.3rem; }
.star-label { font-size: .82rem; color: #888; font-weight: 700; margin-left: 8px; }
.book-desc { font-size: 1.05rem; line-height: 1.8; color: #444; margin-bottom: 30px; }

.joke-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.joke-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 16px;
  border-left: 5px solid var(--coral);
  font-size: .88rem;
  line-height: 1.5;
}
.joke-card .q { font-weight: 800; color: var(--navy); }
.joke-card .a { color: var(--green-dark); font-weight: 700; margin-top: 4px; }

/* ══════════════════════════════════════
   GAME SECTION
══════════════════════════════════════ */
.cloud {
  position: absolute;
  width: 150px; height: 46px;
  background: rgba(255,255,255,.75);
  border-radius: 50px;
  filter: blur(1px);
  z-index: 1;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute;
  background: rgba(255,255,255,.75);
  border-radius: 50%;
}
.cloud::before { width: 70px; height: 70px; top: -30px; left: 20px; }
.cloud::after  { width: 50px; height: 50px; top: -20px; right: 20px; }

.score-chip {
  background: white;
  border-radius: 20px;
  padding: 10px 24px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 4px 4px 0 rgba(0,0,0,.1);
  border: 2.5px solid var(--cream-dark);
  min-width: 110px;
}
.score-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.score-lbl { font-size: .7rem; font-weight: 800; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

#pond-scene {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
  height: 260px;
}
#pond-water {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, #5bbfda 0%, #3a9fbf 60%, #2a7a96 100%);
  border-radius: 60% 60% 0 0 / 30% 30% 0 0;
  overflow: hidden;
}
.water-wave {
  position: absolute;
  left: -50%; width: 200%;
  height: 20px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
}
.w1 { top: 14px; animation: waveRoll 5s linear infinite; }
.w2 { top: 28px; animation: waveRoll 7s linear infinite reverse; opacity: .7; }
@keyframes waveRoll { 0%{ transform: translateX(0) } 100%{ transform: translateX(25%) } }

.lily {
  position: absolute;
  bottom: 0;
  z-index: 3;
  transition: transform .3s ease;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.18));
}
.lily.bounce { animation: lilyBounce .4s ease; }
@keyframes lilyBounce {
  0%,100%{ transform: translateY(0) scale(1) }
  50%    { transform: translateY(6px) scale(1.04, .97) }
}

#game-frog {
  position: absolute;
  z-index: 10;
  bottom: 32px;
  left: 36%;
  transform: translateX(-50%);
  cursor: none;
  user-select: none;
}
#frog-wrap { position: relative; display: inline-block; }
#frog-shadow {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 14px;
  background: rgba(0,0,0,.18);
  border-radius: 50%;
  filter: blur(4px);
  transition: all .2s;
}
.frog-idle #frog-svg { animation: idleBob 2.2s ease-in-out infinite; }
@keyframes idleBob {
  0%,100%{ transform: translateY(0) rotate(0deg) }
  50%    { transform: translateY(-6px) rotate(1.5deg) }
}
.frog-jump #frog-svg { animation: jumpArc .55s cubic-bezier(.33,1,.68,1) forwards; }
@keyframes jumpArc {
  0%   { transform: translateY(0)     scaleX(1)   scaleY(1); }
  20%  { transform: translateY(-80px)  scaleX(.85) scaleY(1.2); }
  50%  { transform: translateY(-130px) scaleX(.8)  scaleY(1.3) rotate(-8deg); }
  80%  { transform: translateY(-40px)  scaleX(1.1) scaleY(.9); }
  100% { transform: translateY(0)     scaleX(1)   scaleY(1); }
}
.frog-jump #frog-shadow { animation: shadowJump .55s ease forwards; }
@keyframes shadowJump { 50%{ transform: translateX(-50%) scaleX(.5); opacity: .08; } }

.frog-laugh #frog-svg { animation: laughShake .55s ease; }
@keyframes laughShake {
  0%,100%{ transform: rotate(0deg)  scale(1); }
  15%    { transform: rotate(-6deg) scale(1.08); }
  30%    { transform: rotate(6deg)  scale(1.1); }
  45%    { transform: rotate(-5deg) scale(1.09); }
  60%    { transform: rotate(4deg)  scale(1.07); }
  75%    { transform: rotate(-3deg) scale(1.04); }
}

#speech-bubble {
  display: none;
  position: absolute;
  bottom: 115px; left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 18px;
  padding: 10px 16px;
  min-width: 180px; max-width: 240px;
  text-align: center;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.15), 0 0 0 3px var(--coral);
  z-index: 20;
  white-space: normal;
  line-height: 1.45;
  animation: bubblePop .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes bubblePop {
  from { transform: translateX(-50%) scale(.5); opacity: 0; }
  to   { transform: translateX(-50%) scale(1);  opacity: 1; }
}
#speech-bubble.show { display: block; }
#bubble-tail {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--coral);
}
.ripple-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.55);
  transform: translate(-50%,-50%) scale(0);
  animation: rippleExpand 1.2s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleExpand { to{ transform: translate(-50%,-50%) scale(1); opacity: 0; } }

.game-fly {
  position: absolute;
  font-size: 1.4rem;
  z-index: 5;
  cursor: none;
  animation: flyHover 2s ease-in-out infinite;
  transition: transform .2s;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,.2));
}
@keyframes flyHover {
  0%,100%{ transform: translateY(0) rotate(-5deg) }
  50%    { transform: translateY(-10px) rotate(5deg) }
}
.game-fly.caught { animation: flyCaught .4s ease-out forwards !important; }
@keyframes flyCaught { to{ transform: translateY(-40px) scale(0); opacity: 0; } }

.score-pop {
  position: fixed;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  pointer-events: none;
  z-index: 9999;
  animation: scorePop 1s ease-out forwards;
  text-shadow: 2px 2px 0 rgba(0,0,0,.15);
}
@keyframes scorePop {
  0%   { opacity: 1; transform: translateY(0)     scale(1); }
  100% { opacity: 0; transform: translateY(-80px) scale(1.3); }
}
#achievement {
  position: fixed;
  top: 80px; left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 6px 0 #b89800, 0 10px 30px rgba(0,0,0,.2);
  z-index: 9999;
  white-space: nowrap;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
#achievement.show { transform: translateX(-50%) translateY(0); }
#ripple-pool { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9998;
  animation: confettiFall 1.2s ease-out forwards;
}
@keyframes confettiFall {
  0%   { opacity: 1; transform: translateY(0)     rotate(0deg)   scale(1); }
  100% { opacity: 0; transform: translateY(200px) rotate(720deg) scale(.5); }
}

/* ══════════════════════════════════════
   WHY SECTION
══════════════════════════════════════ */
#por-que {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 90px 48px;
  text-align: center;
}
.features {
  max-width: 1060px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}
.feat {
  background: var(--white);
  border-radius: 24px;
  padding: 38px 24px;
  border: 3px solid var(--cream-dark);
  box-shadow: 6px 6px 0 var(--cream-dark);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover {
  transform: translateY(-7px);
  box-shadow: 10px 14px 0 var(--coral-light);
  border-color: var(--coral-light);
}
.feat-icon  { font-size: 2.8rem; margin-bottom: 14px; }
.feat-title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.feat-text  { font-size: .88rem; color: #556; line-height: 1.65; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
#testimonios { background: var(--navy); padding: 90px 48px; }
#testimonios h2 { color: var(--yellow); text-align: center; }
.testi-grid {
  max-width: 960px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 28px 24px;
}
.testi-quote  { font-size: 1rem; color: rgba(255,255,255,.88); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { font-weight: 800; color: var(--yellow); font-size: .85rem; }
.testi-role   { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ══════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════ */
#newsletter {
  background: var(--green-mid);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#newsletter::before,
#newsletter::after {
  content: '🐸';
  position: absolute;
  font-size: 120px;
  opacity: .07;
}
#newsletter::before { left: -20px; bottom: -20px; }
#newsletter::after  { right: -20px; top: -20px; transform: scaleX(-1); }
#newsletter h2 { color: var(--white); }
#newsletter p  { color: rgba(255,255,255,.85); margin: 14px auto 34px; max-width: 480px; font-size: 1.05rem; line-height: 1.7; }

.nl-form { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.nl-form input {
  padding: 15px 26px;
  border-radius: 50px;
  border: 3px solid rgba(255,255,255,.5);
  font-size: .95rem;
  font-family: var(--font-body);
  font-weight: 700;
  background: rgba(255,255,255,.15);
  color: var(--white);
  outline: none;
  width: 300px;
  cursor: none;
  transition: border-color .2s;
}
.nl-form input:focus { border-color: var(--yellow); }
.nl-form input::placeholder { color: rgba(255,255,255,.55); }
.btn-nl { background: var(--yellow); color: var(--navy); box-shadow: 0 5px 0 #b89800; }
.btn-nl:hover { box-shadow: 0 8px 0 #b89800; }
#nl-ok { display: none; color: var(--yellow); font-weight: 800; font-size: 1rem; margin-top: 18px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--navy-mid); padding: 52px 48px 28px; text-align: center; }
footer p { color: rgba(255,255,255,.45); font-size: .82rem; margin: 4px 0; }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  transition: color .2s;
}
.footer-links a:hover { color: var(--yellow); }

/* ══════════════════════════════════════
   SECCIÓN RESEÑAS
══════════════════════════════════════ */
#reseñas {
  background: linear-gradient(135deg, var(--cream) 0%, #FFF5E8 100%);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#reseñas::before {
  content: '⭐';
  position: absolute;
  font-size: 160px;
  opacity: .04;
  left: -20px; bottom: -30px;
  pointer-events: none;
}
#reseñas::after {
  content: '⭐';
  position: absolute;
  font-size: 120px;
  opacity: .04;
  right: -10px; top: -20px;
  pointer-events: none;
}
.reseñas-inner {
  max-width: 680px;
  margin: 0 auto;
}
.reseñas-inner h2 { color: var(--navy); }
.reseñas-inner h2 span { color: var(--coral); }
.reseñas-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #556;
  margin: 20px 0 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.stars-big {
  font-size: 2.4rem;
  letter-spacing: 4px;
  margin-bottom: 28px;
  display: block;
}
.btn-reseña {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 0 #b89800, 0 8px 20px rgba(247,206,56,.35);
  font-size: 1.05rem;
}
.btn-reseña:hover {
  box-shadow: 0 10px 0 #b89800, 0 14px 28px rgba(247,206,56,.45);
}
.reseña-note {
  display: block;
  margin-top: 18px;
  font-size: .8rem;
  color: #888;
  font-weight: 700;
}

/* ══════════════════════════════════════
   SOCIAL LINKS EN FOOTER
══════════════════════════════════════ */
.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .85rem;
  text-decoration: none;
  border: 2.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.social-btn:hover {
  color: var(--white);
  transform: translateY(-3px);
}
.social-btn.instagram:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  border-color: transparent;
}
.social-btn.tiktok:hover {
  background: #010101;
  border-color: #69C9D0;
  color: #69C9D0;
}
.social-btn svg { flex-shrink: 0; }

/* ══════════════════════════════════════
   BANDA "MÁS LIBROS EN CAMINO"
══════════════════════════════════════ */
.proximos-strip {
  background: var(--navy);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}
.proximos-strip p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  max-width: 500px;
}
.proximos-strip strong { color: var(--yellow); }
.proximos-strip .pill-badge { margin-bottom: 0; }

/* ══════════════════════════════════════
   FLOATING FROG
══════════════════════════════════════ */
#float-frog {
  position: fixed;
  bottom: -110px; right: 32px;
  width: 80px;
  z-index: 300;
  pointer-events: none;
  transition: bottom .5s cubic-bezier(.34,1.56,.64,1);
}
#float-frog.show { bottom: 24px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 680px) {
  header { padding: 12px 20px; }
  nav { display: none; }
  .hero, #libro, #por-que, #newsletter, #testimonios { padding: 60px 20px; }
  .hero-inner { gap: 40px; }
  .joke-preview { grid-template-columns: 1fr; }
  .book-detail { gap: 40px; }
  .book-mockup { width: 220px; height: 292px; }
  .book-mockup-cover { width: 190px; height: 292px; }
  .book-mockup-spine { height: 292px; }
  .book-mockup-side  { height: 284px; }
}
