/*
Theme Name: Teddy Exact HTML Theme
Author: OpenAI
Description: Tema WordPress que conserva exactamente el HTML proporcionado para la home.
Version: 1.0.1
Text Domain: teddy-exact-html-theme
*/

body{margin:0;}


/* === Teddy Home Animations === */
body.teddy-animations-ready .site-header,
body.teddy-animations-ready .hero__copy > *,
body.teddy-animations-ready .hero__actions,
body.teddy-animations-ready .hero__books img,
body.teddy-animations-ready .about__visual,
body.teddy-animations-ready .about__copy > *,
body.teddy-animations-ready .values__cta,
body.teddy-animations-ready .value-card,
body.teddy-animations-ready .saga__copy > *,
body.teddy-animations-ready .saga__visual .book,
body.teddy-animations-ready .saga__visual .saga__plus,
body.teddy-animations-ready .audience__header > *,
body.teddy-animations-ready .audience-card,
body.teddy-animations-ready .audience__impact,
body.teddy-animations-ready .buy__copy > *,
body.teddy-animations-ready .buy__card,
body.teddy-animations-ready .author__grid > *,
body.teddy-animations-ready .find__header > *,
body.teddy-animations-ready .logo-card,
body.teddy-animations-ready .find__list,
body.teddy-animations-ready .gallery .eyebrow,
body.teddy-animations-ready .gallery .headline,
body.teddy-animations-ready .gallery__item,
body.teddy-animations-ready .site-footer__grid > *,
body.teddy-animations-ready .footer-note {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

body.teddy-animations-ready .hero__books img:nth-child(1),
body.teddy-animations-ready .hero__books img:nth-child(2),
body.teddy-animations-ready .hero__books img:nth-child(3),
body.teddy-animations-ready .saga__visual .book {
  transform-origin: center center;
}

body.teddy-animations-ready .hero__books img,
body.teddy-animations-ready .saga__visual .book,
body.teddy-animations-ready .author__photo-card,
body.teddy-animations-ready .gallery__item,
body.teddy-animations-ready .logo-card,
body.teddy-animations-ready .value-card {
  transform: translateY(34px) scale(.96);
}

body.teddy-animations-ready .is-visible {
  opacity: 1 !important;
  transform: none !important;
}

body.teddy-animations-ready .hero__copy > *:nth-child(1) { transition-delay: .05s; }
body.teddy-animations-ready .hero__copy > *:nth-child(2) { transition-delay: .15s; }
body.teddy-animations-ready .hero__actions { transition-delay: .28s; }
body.teddy-animations-ready .hero__books img:nth-child(1) { transition-delay: .18s; }
body.teddy-animations-ready .hero__books img:nth-child(2) { transition-delay: .28s; }
body.teddy-animations-ready .hero__books img:nth-child(3) { transition-delay: .38s; }
body.teddy-animations-ready .hero__books img:nth-child(4) { transition-delay: .48s; }
body.teddy-animations-ready .hero__books img:nth-child(5) { transition-delay: .58s; }

body.teddy-animations-ready .value-card:nth-child(1),
body.teddy-animations-ready .audience-card:nth-child(1),
body.teddy-animations-ready .logo-card:nth-child(1),
body.teddy-animations-ready .gallery__item:nth-child(1) { transition-delay: .02s; }
body.teddy-animations-ready .value-card:nth-child(2),
body.teddy-animations-ready .audience-card:nth-child(2),
body.teddy-animations-ready .logo-card:nth-child(2),
body.teddy-animations-ready .gallery__item:nth-child(2) { transition-delay: .10s; }
body.teddy-animations-ready .value-card:nth-child(3),
body.teddy-animations-ready .audience-card:nth-child(3),
body.teddy-animations-ready .logo-card:nth-child(3),
body.teddy-animations-ready .gallery__item:nth-child(3) { transition-delay: .18s; }
body.teddy-animations-ready .value-card:nth-child(4),
body.teddy-animations-ready .logo-card:nth-child(4),
body.teddy-animations-ready .gallery__item:nth-child(4) { transition-delay: .26s; }
body.teddy-animations-ready .value-card:nth-child(5),
body.teddy-animations-ready .logo-card:nth-child(5),
body.teddy-animations-ready .gallery__item:nth-child(5) { transition-delay: .34s; }
body.teddy-animations-ready .gallery__item:nth-child(6) { transition-delay: .42s; }
body.teddy-animations-ready .gallery__item:nth-child(7) { transition-delay: .50s; }
body.teddy-animations-ready .gallery__item:nth-child(8) { transition-delay: .58s; }

@media (prefers-reduced-motion: reduce) {
  body.teddy-animations-ready .site-header,
  body.teddy-animations-ready .hero__copy > *,
  body.teddy-animations-ready .hero__actions,
  body.teddy-animations-ready .hero__books img,
  body.teddy-animations-ready .about__visual,
  body.teddy-animations-ready .about__copy > *,
  body.teddy-animations-ready .values__cta,
  body.teddy-animations-ready .value-card,
  body.teddy-animations-ready .saga__copy > *,
  body.teddy-animations-ready .saga__visual .book,
  body.teddy-animations-ready .saga__visual .saga__plus,
  body.teddy-animations-ready .audience__header > *,
  body.teddy-animations-ready .audience-card,
  body.teddy-animations-ready .audience__impact,
  body.teddy-animations-ready .buy__copy > *,
  body.teddy-animations-ready .buy__card,
  body.teddy-animations-ready .author__grid > *,
  body.teddy-animations-ready .find__header > *,
  body.teddy-animations-ready .logo-card,
  body.teddy-animations-ready .find__list,
  body.teddy-animations-ready .gallery .eyebrow,
  body.teddy-animations-ready .gallery .headline,
  body.teddy-animations-ready .gallery__item,
  body.teddy-animations-ready .site-footer__grid > *,
  body.teddy-animations-ready .footer-note {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* FIX FULL WIDTH HEADER & FOOTER */
.site,
.site-header,
.site-footer,
.container,
.wrap,
.header-inner,
.footer-inner {
  max-width: 100% !important;
  width: 100% !important;
}

.site-header,
.site-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body {
  overflow-x: hidden;
}
