:root {
  --orange: #f39200;
  --orange-deep: #e07800;
  --orange-soft: #ffb347;
  --peach: #f6c89a;
  --ink: #000;
  --muted: #333;
  --white: #fff;
  --max: 1225px;
  --font-display: "Bangers", Impact, sans-serif;
  /* Cabin = misma familia que la home española (el Verdana_xr de Xara no trae todas las letras EN) */
  --font-hero: "Cabin", Arial, sans-serif;
  --font-slogan: "Cherry Cream Soda", cursive;
  --font-serif: "Merriweather", Georgia, serif;
  --font-body: "Cabin", Arial, sans-serif;
  --font-script: "Courgette", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.85rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* cookie */
.cookie {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: #2b2b2b;
  color: #f2f2f2;
  font-size: 0.88rem;
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--orange-soft); text-decoration: underline; }
.cookie button {
  flex-shrink: 0;
  border: 2px solid #111;
  background: var(--orange);
  color: #111;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  border-radius: 4px;
}

/* top orange rule */
.top-rule {
  height: 4px;
  background: url("1504@2x.png") center / cover;
  background-color: var(--orange);
}

/* nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  background: var(--orange);
  border: 2px solid #111;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
}
.nav-links a.access {
  background: #ffcf70;
  margin-left: 0.35rem;
}
.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.35rem;
}
.auth-user[hidden] { display: none !important; }
.nav-links .logout {
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  background: var(--orange);
  border: 2px solid #111;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
  cursor: pointer;
}
.hello-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  background: #ffcf70;
  border: 2px solid #111;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
}

/* HERO — full bleed photo like original (ES: white fill + orange outline) */
.hero {
  position: relative;
  min-height: clamp(320px, 42vw, 460px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.22)),
    url("3190@2x.jpg") center 40% / cover no-repeat;
  transform: scale(1.02);
  animation: slow-zoom 20s ease-in-out infinite alternate;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1rem;
  animation: rise 0.9s ease both;
}
.hero-logo {
  width: min(280px, 55vw);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
}
.hero-title {
  margin: 0;
  max-width: 18ch;
  text-align: center;
  font-family: var(--font-hero);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.55rem, 3.6vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  -webkit-text-stroke: 4px var(--orange);
  paint-order: stroke fill;
  text-shadow: 1px 2px 5px rgba(0,0,0,0.25);
}

/* welcome orange band */
.welcome {
  background: var(--orange);
  color: #111;
  padding: 1.15rem 0;
  border-block: 1px solid rgba(0,0,0,0.12);
}
.welcome p {
  margin: 0 auto;
  max-width: 78ch;
  text-align: center;
  font-size: 0.98rem;
}

/* circles */
.circles {
  padding: 2.2rem 0 1.2rem;
}
.circles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
}
.circles-row img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.circles-row img:hover { transform: scale(1.08) rotate(-3deg); }
.mission {
  margin: 1.4rem auto 0;
  max-width: 52ch;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.35;
}

/* intro with word-cloud */
.intro {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  overflow: hidden;
}
.cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.cloud img {
  position: absolute;
  max-width: none;
}
.cloud .c1 { top: 4%; left: 2%; width: min(320px, 40vw); transform: rotate(-14deg); }
.cloud .c2 { top: 8%; right: 4%; width: min(280px, 36vw); transform: rotate(8deg); }
.cloud .c3 { bottom: 18%; left: 12%; width: min(420px, 48vw); transform: rotate(4deg); }
.cloud .c4 { bottom: 6%; right: 8%; width: min(360px, 42vw); transform: rotate(-6deg); }

.intro .wrap { position: relative; z-index: 1; }
.intro-copy {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--muted);
}
.orange-box {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  padding: 1.1rem 1.25rem;
  background: var(--orange);
  color: #111;
  font-weight: 700;
  border-radius: 2px;
}
.orange-box p { margin: 0; }
.orange-box p + p { margin-top: 0.75rem; }

.cta-line {
  margin: 1.75rem auto 0;
  max-width: 48ch;
  text-align: center;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 1.05rem;
}

.slogan-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-bottom: 0.5rem;
}
.slogan-block .play-fun {
  width: min(560px, 90vw);
  mix-blend-mode: screen;
}
.slogan-block .logo-chip {
  width: 86px;
  height: auto;
}

/* WHAT IS */
.what {
  padding: 2.5rem 0 1.5rem;
}
.section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--orange);
}
.section-rule {
  display: block;
  width: 100%;
  height: 3px;
  margin: 0 0 1.4rem;
  background: linear-gradient(90deg, var(--orange), rgba(243,146,0,0.15));
  border: 0;
}
.what-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.what-grid .apple {
  width: 100%;
  max-width: 220px;
  justify-self: center;
}
.quote {
  font-family: var(--font-script);
  color: var(--orange-deep);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.quote em { color: #c0392b; font-style: italic; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 2rem;
}
.photo-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
}

/* PLAY AND LEARN band */
.play-learn {
  padding: 2.5rem 0 1rem;
  text-align: center;
}
.play-learn-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f39200 0%, #ffcf70 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 0 rgba(180,90,0,0.25));
}
.play-learn-title .and {
  font-family: var(--font-script);
  font-size: 0.35em;
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
  margin: -0.15em 0;
}
.play-learn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.play-learn-row .logo-chip { width: 78px; }

/* ACTIVITIES */
.activities {
  padding: 1.5rem 0 2rem;
}
.activities .lead {
  max-width: 70ch;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.act-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  overflow: visible;
}
.act-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  overflow: visible;
}
.act-thumb-wrap {
  display: block;
  position: relative;
  aspect-ratio: 203 / 152;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  background: #111;
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  z-index: 1;
}
a.act-thumb-wrap:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 22px rgba(0,0,0,0.24);
  z-index: 6;
}
.act-thumb-wrap img.thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.act-thumb-wrap .thumb-hover {
  opacity: 0;
}
a.act-thumb-wrap:hover .thumb-hover {
  opacity: 1;
}
a.act-thumb-wrap:hover .thumb-default {
  opacity: 0;
}
a.act-thumb-wrap:hover .thumb-bbg {
  filter: grayscale(1);
}
.act-badge {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: -1.75rem;
  width: 7.5rem;
  padding: 0.28rem 0;
  text-align: center;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-45deg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  pointer-events: none;
}
.act-badge.new { background: #e10600; font-size: 0.72rem; }
.act-badge.soon { width: 9.2rem; left: -2.15rem; top: 0.95rem; font-size: 0.58rem; }
.act-badge.soon.purple { background: #8b2bc9; }
.act-badge.soon.green { background: #1f8a3b; }
.act-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
}
.act-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}
.act-card .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.28rem 0.85rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  width: fit-content;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.act-card .more:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.act-card .more.blue { background: #1e5eff; }
.act-card .more.olive { background: #a8b400; }
.act-card .more.purple { background: #8b2bc9; }
.act-card .more.green { background: #1f8a3b; }
.act-card .level {
  font-size: 0.82rem;
  color: var(--orange-deep);
  font-weight: 700;
}

.price-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2.2rem 0 1.2rem;
}
.price-band .price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #f39200, #ffc857);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-3deg);
  filter: drop-shadow(1px 2px 0 rgba(0,0,0,0.12));
}
.price-band .logo-chip { width: 72px; }

/* METHODOLOGY */
.method {
  padding: 1.5rem 0 2.5rem;
}
.method-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.method-copy {
  color: #c56a00;
  font-size: 0.98rem;
}
.method-copy p { margin-bottom: 0.9rem; }
.method-art {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* HOW IT WORKS — match Spanish layout */
.how {
  padding: 1.5rem 0 2.75rem;
  background: #fff;
}
.how-body {
  overflow: hidden;
}
.how-board {
  float: left;
  width: min(269px, 42%);
  height: auto;
  margin: 0 1.35rem 0.85rem 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.how-list {
  margin: 0;
  padding: 0 0 0 1.35rem;
  color: #222;
  font-size: 0.98rem;
  line-height: 1.45;
}
.how-list li {
  margin: 0 0 0.55rem;
  padding-left: 0.15rem;
}
.how-list li::marker {
  font-weight: 700;
  color: #111;
}
.how-list .hl {
  color: var(--orange);
  font-weight: 700;
}
@media (max-width: 640px) {
  .how-board {
    float: none;
    display: block;
    width: min(269px, 100%);
    margin: 0 auto 1rem;
  }
}

/* CONTACT */
.contact {
  padding: 2.5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}
.contact-card {
  padding: 1.2rem 1.25rem;
  border: 2px solid #111;
  border-radius: 10px;
  background: #fff;
}
.contact-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  color: var(--orange);
}
.contact-card a { color: var(--orange-deep); font-weight: 700; }

/* footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--orange-soft); }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@media (max-width: 980px) {
  .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .what-grid,
  .method-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .method-art { justify-self: center; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .act-grid { grid-template-columns: 1fr; }
  .circles-row img { width: 88px; height: 88px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .nav-links a.access { margin-left: 0; }
}
