/* =========================================================
   Curso Intensivo de Marketing del Actor — Cinétika Studio
   ========================================================= */

:root {
  --orange: #dd7315;
  --orange-dark: #bc5e0e;
  --orange-light: #f0913b;
  --ink: #141414;
  --ink-2: #1f1f1f;
  --ink-soft: #33312d;
  --cream: #f5f4ef;
  --cream-2: #eceae0;
  --paper: #ffffff;
  --text: #23211d;
  --muted: #6a655c;
  --muted-light: #b9b3a7;
  --line: rgba(20, 20, 20, .12);
  --line-dark: rgba(255, 255, 255, .14);

  --font-head: "Courier Prime", "Courier New", Courier, monospace;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(20, 20, 20, .45);
  --shadow-soft: 0 12px 34px -20px rgba(20, 20, 20, .35);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; letter-spacing: normal; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 820px; }

.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(221, 115, 21, .7);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(221, 115, 21, .8); }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 1000;
  transition: width .1s linear;
}

/* ---------- Skip link (accesibilidad) ---------- */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 2000;
  background: var(--orange); color: #fff;
  padding: .6rem 1rem; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background .35s var(--ease), box-shadow .35s, padding .35s;
  padding: .85rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 58px; width: auto; transition: height .35s; }
.brand__logo--dark { display: none; }
.site-header.is-scrolled {
  background: rgba(245, 244, 239, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(0,0,0,.5);
  padding: .55rem 0;
}
.site-header.is-scrolled .brand__logo { height: 48px; }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  position: relative;
  padding: .25rem 0;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--orange); transition: width .25s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.site-header.is-scrolled .nav__link { color: var(--text); }
.site-header.is-scrolled .nav__link:hover, .site-header.is-scrolled .nav__link.is-active { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(7rem, 12vw, 9.5rem) 0 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(221, 115, 21, .42), transparent 60%),
    radial-gradient(760px 520px at 8% 110%, rgba(221, 115, 21, .16), transparent 60%),
    linear-gradient(180deg, #161616, #101010);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: var(--orange-light);
}
.eyebrow__mark { height: 22px; width: auto; }

.hero__title {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700;
  margin: 1rem 0 .9rem;
  letter-spacing: normal;
}
.hero__tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.hero__lead {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 36rem;
}

.hero__chips {
  display: flex; flex-wrap: wrap; gap: .65rem;
  margin: 1.7rem 0;
}
.hero__chips li {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: .5rem .95rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* hero media / framed photo */
.hero__media { position: relative; justify-self: center; }
.framed {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  transition: transform .5s var(--ease);
}
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--orange);
  border-radius: var(--radius);
  z-index: 0;
}
.framed img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__media:hover .framed { transform: translateY(-4px); }
.framed--dark::before { background: var(--ink); }

.hero__badge {
  position: absolute;
  left: -8px; bottom: -26px;
  z-index: 2;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.hero__badge-top { font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.hero__badge-main { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.hero__badge-sub { font-size: .8rem; color: var(--orange-dark); font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--hero {
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem 0;
  background: rgba(0, 0, 0, .25);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__track--dark { color: var(--ink); opacity: .72; }
.marquee__track--rev { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-top: .5rem;
}
.section--dark .section__title { color: #fff; }
.section__sub { color: var(--muted); margin-top: .9rem; font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(255,255,255,.75); }

.tag {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem;
  color: var(--orange-dark);
  background: rgba(221, 115, 21, .12);
  padding: .4rem .8rem; border-radius: 999px;
}
.tag--on-dark { color: var(--orange-light); background: rgba(221, 115, 21, .18); }

.kicker {
  font-family: var(--font-head); font-style: italic; font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--orange-dark);
  margin-bottom: .8rem;
}

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); color: #fff; padding: clamp(2.6rem, 5vw, 3.6rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; }
.stat__label { display: block; margin-top: .5rem; font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500; }

/* ---------- Presentación ---------- */
.presentation__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.presentation__content p { color: var(--muted); margin-top: 1rem; }
.presentation__content .section__title { margin: .6rem 0; }
.presentation__highlight {
  color: var(--text) !important;
  font-weight: 500;
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  margin-top: 1.4rem !important;
}

/* ---------- Objetivos ---------- */
.objectives__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.objective {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.objective:hover { transform: translateY(-5px); border-color: var(--orange); }
.objective__no { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--orange); opacity: .25; line-height: 1; }
.objective h3 { font-size: 1.18rem; margin: .4rem 0 .5rem; }
.objective p { color: var(--muted); font-size: .98rem; }
.objective--cta {
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem;
}
.objective--cta h3 { color: #fff; font-size: 1.35rem; }
.objective--cta p { color: rgba(255,255,255,.8); }
.objective--cta .btn { margin-top: .6rem; }

/* ---------- Timeline (programa) ---------- */
.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--orange), rgba(221,115,21,.15));
}
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: .9rem 0; }
.tl-marker {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.3rem;
  border: 3px solid var(--orange);
  z-index: 1;
  transition: transform .35s var(--ease), background .35s;
}
.tl-item:hover .tl-marker { background: var(--orange); transform: scale(1.08); }
.tl-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease);
}
.tl-item:hover .tl-card { transform: translateX(6px); }
.tl-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.tl-card__head h3 { font-size: 1.18rem; }
.tl-date { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: #fff; background: var(--orange); padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.tl-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Ficha (dark) ---------- */
.fact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.fact-item { background: var(--ink-2); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; transition: background .3s; }
.fact-item:hover { background: #262524; }
.fact-item__k { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--orange-light); }
.fact-item__v { color: rgba(255,255,255,.88); }
.fact__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.fact__cta-note { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ---------- Profesorado ---------- */
.profs__lead { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-bottom: 3rem; }
.prof-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.prof-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(20,20,20,.5); }
.prof-card__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.prof-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.04); transition: filter .45s var(--ease), transform .6s var(--ease); }
.prof-card:hover .prof-card__photo img { filter: grayscale(0%); transform: scale(1.05); }
.prof-card__body { padding: 1.2rem 1.4rem 1.5rem; border-top: 4px solid var(--orange); }
.prof-card__body h3 { font-size: 1.3rem; }
.prof-card__role { display: block; color: var(--orange-dark); font-weight: 700; font-family: var(--font-display); font-size: .92rem; margin: .15rem 0 .5rem; }
.prof-card__body p { color: var(--muted); font-size: .96rem; }
/* Dirección y representación: protagonismo */
.prof-card--lead { display: grid; grid-template-columns: 230px 1fr; box-shadow: var(--shadow); }
.prof-card--lead .prof-card__photo { aspect-ratio: auto; height: 100%; min-height: 250px; }
.prof-card--lead .prof-card__body { border-top: 0; border-left: 5px solid var(--orange); display: flex; flex-direction: column; justify-content: center; padding: 1.6rem 1.8rem; }
.prof-card--lead .prof-card__body h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prof-card--lead .prof-card__role { font-size: 1rem; margin: .25rem 0 .7rem; }
.prof-card--lead .prof-card__body p { font-size: 1rem; }

.profs__subtitle { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: .3rem; }
.profs__subtext { color: var(--muted); margin-bottom: 1.8rem; max-width: 640px; }
/* Colaboradores: segundo plano, pero visibles */
.profs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.profs__grid .prof-card { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: .9rem; padding: .7rem .9rem; background: transparent; box-shadow: none; }
.profs__grid .prof-card:hover { transform: none; box-shadow: none; border-color: var(--orange); }
.profs__grid .prof-card__photo { width: 70px; height: 70px; aspect-ratio: 1 / 1; border-radius: 50%; }
.profs__grid .prof-card__body { border-top: 0; padding: 0; }
.profs__grid .prof-card__body h3 { font-size: 1.02rem; }
.profs__grid .prof-card__role { font-size: .82rem; margin: .1rem 0 0; }

/* ---------- Cinétika ---------- */
.cinetika__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: 3rem; }
.cinetika__intro p { color: var(--muted); margin-top: 1rem; }
.cinetika__intro .section__title { margin: .6rem 0; }
.cinetika__wingman {
  margin-top: 1.6rem; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.cinetika__wingman-tag { font-family: var(--font-display); font-weight: 900; color: var(--orange); font-size: 1.3rem; }
.cinetika__wingman p { color: rgba(255,255,255,.85); margin: 0; font-size: .96rem; }

.cinetika__label {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--muted);
  margin: 2rem 0 1rem;
}
/* Muro de "logos" en texto (chips) — sustituible por <img> cuando haya logos */
.cinetika .marquee { padding-block: 8px; }
.cinetika .marquee__track { gap: .9rem; }
.cinetika .marquee__track--dark { opacity: 1; }
.cinetika .marquee__track span {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .88;
  transition: color .25s, border-color .25s, background .25s, opacity .25s;
}
.cinetika .marquee__track span:hover {
  color: var(--orange-dark);
  border-color: var(--orange);
  background: #fff;
  opacity: 1;
}

.cinetika__awards {
  margin-top: 3rem;
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 1.6rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-soft);
}
.cinetika__awards-text h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--orange-dark); }
.cinetika__awards-text p { color: var(--muted); margin-top: .6rem; }
.cinetika__nebrija { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; border-left: 1px solid var(--line); padding-left: 1.6rem; }
.cinetika__nebrija img { height: 52px; width: auto; }
.cinetika__nebrija p { color: var(--muted); font-size: .9rem; }

/* ---------- Precio ---------- */
.price__card {
  display: grid; grid-template-columns: .8fr 1.2fr;
  background: var(--ink); color: #fff;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden; box-shadow: var(--shadow);
}
.price__main {
  background: linear-gradient(150deg, var(--orange), var(--orange-dark));
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
}
.price__amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; }
.price__iva { font-size: .95rem; color: rgba(255,255,255,.9); }
.price__split { font-size: 1.05rem; margin-top: .6rem; }
.price__split strong { font-family: var(--font-display); }
.price__features { padding: clamp(2rem, 4vw, 3rem); }
.price__features ul { display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.price__features li { color: rgba(255,255,255,.9); }
.price__perks { border-top: 1px solid var(--line-dark); padding-top: 1.2rem; display: grid; gap: .5rem; }
.price__discount { color: #fff; font-size: 1rem; }
.price__discount strong { color: var(--orange-light); }
.price__nebrija { color: rgba(255,255,255,.72); font-size: .88rem; }
.price__cta { margin-top: 1.4rem; width: 100%; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-soft); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-weight: 700; font-size: 1.5rem; color: var(--orange);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.3rem 1.2rem; }
.faq-item__body p { color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 85% 0%, rgba(221,115,21,.35), transparent 65%);
}
.cta-final__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-final__content h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; }
.cta-final__content p { color: rgba(255,255,255,.8); margin: 1rem 0 1.8rem; font-size: 1.08rem; max-width: 34rem; }
.cta-final__contact { display: grid; gap: 1rem; }
.cta-final__contact li { display: flex; flex-direction: column; border-left: 3px solid var(--orange); padding-left: 1rem; }
.cta-final__contact span { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-light); font-family: var(--font-display); font-weight: 700; }
.cta-final__contact a { font-size: 1.05rem; font-weight: 500; transition: color .25s; }
.cta-final__contact a:hover { color: var(--orange-light); }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0e; color: rgba(255,255,255,.7); padding: 3rem 0 1.6rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: .9rem; }
.site-footer__brand p { max-width: 22rem; font-size: .92rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }
.site-footer__nav a { font-family: var(--font-display); font-weight: 600; font-size: .92rem; transition: color .25s; }
.site-footer__nav a:hover { color: var(--orange-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.whatsapp-fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50%; background: #25d366;
  animation: fabpulse 2.4s var(--ease) infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); }
@keyframes fabpulse {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Barra CTA fija (solo móvil) ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
  display: none; gap: .55rem;
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 16, 16, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  transform: translateY(115%);
  transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  height: 50px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
}
.mobile-cta__btn--wa { flex: 1.7; background: #25d366; color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .8); }
.mobile-cta__btn--wa:active { background: #1fb457; }
.mobile-cta__btn--call { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  .whatsapp-fab { display: none; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .whatsapp-fab::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 320px; margin-bottom: 1rem; }
  .presentation__inner, .cinetika__top, .price__card, .cta-final__inner { grid-template-columns: 1fr; }
  .presentation__media { max-width: 480px; }
  .objectives__grid, .profs__grid { grid-template-columns: repeat(2, 1fr); }
  .profs__lead { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .fact__grid { grid-template-columns: repeat(2, 1fr); }
  .cinetika__awards { grid-template-columns: 1fr; }
  .cinetika__nebrija { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.4rem; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.6);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { color: #fff !important; font-size: 1.2rem; }
  .site-header.is-scrolled .nav__link { color: #fff !important; }
  .nav__cta { margin-top: .5rem; }
  .nav-toggle { display: flex; z-index: 10; }
  .nav-toggle.is-open span { background: #fff !important; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .objectives__grid, .profs__grid, .fact__grid { grid-template-columns: 1fr; }
  .prof-card--lead { grid-template-columns: 1fr; }
  .prof-card--lead .prof-card__photo { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
  .prof-card--lead .prof-card__photo img { object-position: center 25%; }
  .prof-card--lead .prof-card__body { border-left: 0; border-top: 5px solid var(--orange); }
  .tl-item { grid-template-columns: 44px 1fr; gap: .9rem; }
  .timeline::before { left: 21px; }
  .tl-marker { width: 44px; height: 44px; font-size: 1.05rem; }
  .hero__badge { left: 0; }
  .btn--lg { width: 100%; }
  .hero__actions { width: 100%; }
}

/* ---------- Lo que te llevas (takeaways) ---------- */
.takeaways__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.4rem; }
.takeaway-card {
  display: block; color: inherit;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.takeaway-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(20,20,20,.45); }
.takeaway-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.takeaway-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.takeaway-card:hover .takeaway-card__media img { transform: scale(1.05); }
/* Retratos del profesorado: B/N que pasa a color al enfocar; en táctil (sin hover) siempre en color */
@media (hover: none) {
  .prof-card__photo img { filter: none; }
}
.takeaway-card__tag { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; }
.takeaway-card__body { padding: 1.4rem 1.6rem 1.6rem; }
.takeaway-card__body h3 { font-size: 1.5rem; }
.takeaway-card__body p { color: var(--muted); margin: .5rem 0 .9rem; }
.takeaway-card__link { font-family: var(--font-display); font-weight: 700; color: var(--orange-dark); transition: color .25s; }
.takeaway-card:hover .takeaway-card__link { color: var(--orange); }

/* ---------- Showcase (videobook / photobook) ---------- */
.showcase .section__head { margin-bottom: 2.2rem; }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.video-card {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: #000;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .35s, transform .6s var(--ease); }
.video-card:hover img { opacity: 1; transform: scale(1.05); }
.video-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(221,115,21,.92);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s;
}
.video-card__play::before {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff; margin-left: 5px;
}
.video-card:hover .video-card__play { transform: scale(1.12); background: var(--orange); }
.video-card:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,8,8,.92); padding: 5vw;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__frame { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 2rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; }
.lightbox__msg code { background: rgba(255,255,255,.14); padding: .1rem .4rem; border-radius: 6px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: var(--orange); transform: rotate(90deg); }

@media (max-width: 760px) {
  .takeaways__grid { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
}

/* ---------- Contadores destacados (palmarés) ---------- */
.awards-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
.award-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.8rem, 4vw, 2.9rem) 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease);
}
.award-box:hover { transform: translateY(-5px); }
.award-box::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.award-box__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 9vw, 5rem); line-height: 1; color: var(--orange-light); }
.award-box__label { display: block; margin-top: .6rem; font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.85); }
@media (max-width: 420px) {
  .awards-counters { gap: .8rem; }
  .award-box { padding: 1.5rem .8rem; }
}

/* ---------- Encuadre de imagen en tarjetas ---------- */
.takeaway-card__img--top { object-position: top; }


/* ---------- Hitos de programa (intro / cierre) + nota ---------- */
.tl-marker--event { background: var(--orange); border-color: var(--orange-dark); font-size: 1.4rem; }
.tl-item:hover .tl-marker--event { background: var(--orange-dark); }
.program__note { max-width: 880px; margin: 1.2rem auto 0; color: var(--muted); font-size: .85rem; font-style: italic; text-align: center; }

/* ---------- Lightbox de fotos (galería photobook) ---------- */
.lightbox__img { display: none; max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__nav {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  place-items: center; transition: background .25s, transform .25s;
}
.lightbox__nav:hover { background: var(--orange); transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: max(14px, 2.5vw); }
.lightbox__nav--next { right: max(14px, 2.5vw); }
.lightbox.is-image .lightbox__frame { display: none; }
.lightbox.is-image .lightbox__img { display: block; }
.lightbox.is-image .lightbox__nav { display: grid; }

/* ---------- Galería photobook: auto-scroll (JS) + flechas ---------- */
.pstrip { position: relative; margin-top: 2.4rem; }
.pstrip__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.pstrip__viewport::-webkit-scrollbar { display: none; }
.pstrip__track { display: flex; gap: 1rem; width: max-content; margin: 0; padding: .5rem .4rem 1.2rem; list-style: none; }
.pstrip__item { position: relative; flex: 0 0 auto; width: 240px; }
.pstrip__item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  background: var(--cream-2); cursor: zoom-in; display: block;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.pstrip__item img:hover { transform: scale(1.03); box-shadow: 0 22px 44px -22px rgba(20, 20, 20, .5); }
.pstrip__num {
  position: absolute; top: 10px; left: 10px; z-index: 1; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  background: rgba(20, 20, 20, .72); color: #fff; padding: .22rem .55rem; border-radius: 999px;
}
.pstrip__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .82); color: var(--ink); font-size: 1.7rem; line-height: 1;
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s, transform .25s, color .25s;
}
.pstrip__arrow:hover { background: var(--orange); color: #fff; transform: translateY(-50%) scale(1.08); }
.pstrip__arrow:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; }
.pstrip__arrow--prev { left: 6px; }
.pstrip__arrow--next { right: 6px; }
@media (max-width: 900px) { .pstrip__item { width: 200px; } }
@media (max-width: 560px) { .pstrip__item { width: 150px; } .pstrip__arrow { width: 40px; height: 40px; font-size: 1.5rem; } }

/* Enlace @fotablos en la línea del rol */
.prof-card__ig { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.prof-card__ig:hover { color: var(--orange); }

/* Precio: mensualidad grande, total pequeño */
.price__per { font-size: .34em; font-weight: 600; opacity: .85; margin-left: .1em; }
