/* Foodiescuela — estilos propios del sitio (prueba v4)
   Prefijo .fs- para no interferir con Encore. Weriad Marketing, 2026-10-12. */
@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,500;0,600;0,700;1,600;1,700&family=Chivo:wght@400;500;700&display=swap");

/* El encabezado y el pie de Encore se sustituyen por los propios (fs_header / fs_footer) */
body.fs-site .header,
body.fs-site .footer,
body:has(.fs-gh) .header,
body:has(.fs-gh) .footer { display: none !important; }
body.fs-site { background: #f2ede4; }

.fs {
  --fs-red: #a00e09;
  --fs-red-dark: #7d0b07;
  --fs-cream: #f2ede4;
  --fs-sand: #d9d1c7;
  --fs-line: #e4d6cd;
  --fs-ink: #1f1a17;
  --fs-text: #4a4440;
  --fs-muted: #6b625c;
  --fs-blush: #f6c9b6;
  font-family: "Chivo", "Helvetica Neue", Arial, sans-serif;
  color: var(--fs-ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.fs *, .fs *::before, .fs *::after { box-sizing: border-box; }
/* Encore colorea todos los títulos (.background-light h1…) con un gris: se anula dentro de .fs */
.fs h1, .fs h2, .fs h3, .fs h4,
.fs.background-light h1, .fs.background-light h2, .fs.background-light h3 { font-family: "Cabin", "Helvetica Neue", Arial, sans-serif; margin: 0; color: inherit; }
.fs p, .fs figure, .fs blockquote { margin: 0; }
.fs img { max-width: 100%; }
.fs a { text-decoration: none; }
.fs__wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.fs .fs__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fs-red); }
.fs .fs__title { font-weight: 700; font-size: clamp(36px, 4.8vw, 66px); line-height: 1; letter-spacing: -0.03em; color: var(--fs-ink); text-wrap: balance; }
.fs .fs__title em { font-style: italic; color: var(--fs-blush); }
.fs .fs__lead { font-size: 18px; line-height: 1.65; color: var(--fs-text); }

/* Botones */
.fs .fs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 30px; border-radius: 999px;
  font-family: "Chivo", Arial, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .03em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.fs .fs-btn:hover { transform: translateY(-2px); text-decoration: none; }
.fs .fs-btn--solid { background: var(--fs-red); color: #fff; }
.fs .fs-btn--solid:hover { box-shadow: 0 14px 30px -12px rgba(160, 14, 9, .55); color: #fff; }
.fs .fs-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; }
.fs .fs-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.fs .fs-btn--line { color: var(--fs-red); border: 2px solid var(--fs-red); background: transparent; }
.fs .fs-btn--line:hover { color: var(--fs-red); }
.fs .fs-btn--white { background: #fff; color: var(--fs-red); }
.fs .fs-btn--white:hover { color: var(--fs-red); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.fs .fs-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; letter-spacing: .04em; }
.fs .fs-btn svg { width: 18px; height: 18px; flex: none; }
.fs .fs-btn--sm svg { width: 16px; height: 16px; }

/* ---------- ENCABEZADO GLOBAL ----------
   Por defecto: fondo crema (páginas internas, login).
   Sobre un Hero con foto o video (.fs-hero / .fs-phero): transparente y en blanco. */
.fs-gh { position: relative; z-index: 20; background: var(--fs-cream); border-bottom: 1px solid var(--fs-line); }
.fs-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.fs-top__brand { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.fs-top__brand img { height: 30px; width: auto; }
.fs-top__nav { display: flex; gap: clamp(18px, 2.4vw, 34px); font-size: 15px; font-weight: 500; white-space: nowrap; }
.fs .fs-btn { white-space: nowrap; }
.fs .fs-top__nav a { color: var(--fs-ink); opacity: .85; }
.fs .fs-top__nav a:hover { opacity: 1; color: var(--fs-red); text-decoration: underline; text-underline-offset: 6px; }
.fs .fs-top__login { color: var(--fs-red); border: 1.5px solid var(--fs-red); background: transparent; }
.fs .fs-top__login:hover { color: var(--fs-red); background: rgba(160, 14, 9, .06); }
.fs .fs-top__lib { background: var(--fs-red); color: #fff; }
.fs .fs-top__lib:hover { color: #fff; box-shadow: 0 14px 30px -12px rgba(160, 14, 9, .55); }
.fs-top__actions { display: flex; align-items: center; gap: 10px; }
.fs-top__menu { display: none; position: relative; }
.fs-top__menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(31, 26, 23, .3); color: var(--fs-ink); display: flex; align-items: center; justify-content: center; }
.fs-top__menu summary::-webkit-details-marker { display: none; }
.fs-top__menu summary svg { width: 20px; height: 20px; }
.fs-top__panel { position: absolute; right: 0; top: 54px; min-width: 220px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); display: flex; flex-direction: column; }
.fs .fs-top__panel a { color: var(--fs-ink); padding: 12px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.fs .fs-top__panel a:hover { background: var(--fs-cream); color: var(--fs-red); }
@media (max-width: 1080px) {
  .fs-top__nav, .fs .fs-top__login { display: none !important; }
  .fs-top__menu { display: block; }
}
/* Variante sobre foto/video */
body:has(.fs-hero, .fs-phero) .fs-gh { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
body:has(.fs-hero, .fs-phero) .fs-top__brand { background: var(--fs-cream); }
body:has(.fs-hero, .fs-phero) .fs .fs-top__nav a { color: #fff; opacity: .9; }
body:has(.fs-hero, .fs-phero) .fs .fs-top__nav a:hover { color: #fff; opacity: 1; }
body:has(.fs-hero, .fs-phero) .fs .fs-top__login { color: #fff; border-color: rgba(255, 255, 255, .55); }
body:has(.fs-hero, .fs-phero) .fs .fs-top__login:hover { background: rgba(255, 255, 255, .14); color: #fff; }
body:has(.fs-hero, .fs-phero) .fs .fs-top__lib { background: #fff; color: var(--fs-red); }
body:has(.fs-hero, .fs-phero) .fs .fs-top__lib:hover { color: var(--fs-red); }
body:has(.fs-hero, .fs-phero) .fs-top__menu summary { color: #fff; border-color: rgba(255, 255, 255, .55); }

/* ---------- HERO ---------- */
.fs-hero { position: relative; color: #fff; min-height: 640px; display: flex; flex-direction: column; background: #2a1d18 center / cover no-repeat; }
.fs-hero__media { position: absolute; inset: 0; overflow: hidden; background: inherit; }
.fs-hero__media .backgroundVideo { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.fs-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 14, 11, .55) 0%, rgba(24, 14, 11, .15) 38%, rgba(24, 14, 11, .85) 100%); }
.fs-hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-top: 120px; padding-bottom: 64px; }
.fs-hero__logo { width: clamp(170px, 18vw, 250px); height: auto; display: block; }
.fs .fs-hero__title { font-weight: 700; font-size: clamp(54px, 9.4vw, 148px); line-height: .9; letter-spacing: -0.035em; max-width: 11ch; color: #fff; text-wrap: balance; }
.fs .fs-hero__title em { font-style: italic; color: var(--fs-blush); }
.fs-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fs .fs-hero__text { max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.fs-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 861px) { .fs-hero { min-height: 760px; } }
@media (max-width: 860px) { .fs-hero__row { flex-direction: column; align-items: flex-start; } }

/* Cinta */
.fs-ribbon { background: var(--fs-red); color: #fff; overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.fs-ribbon__track { display: flex; width: max-content; gap: 48px; align-items: center; white-space: nowrap;
  font-family: "Cabin", Arial, sans-serif; font-weight: 700; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.01em; animation: fsMarquee 28s linear infinite; }
.fs-ribbon__track em { color: var(--fs-blush); }
.fs-ribbon__dot { opacity: .55; }
@keyframes fsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- CHEF ---------- */
.fs-chef { background: var(--fs-cream); }
.fs-chef__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 80px); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.fs-chef__media { flex: 1 1 440px; min-width: 0; position: relative; }
.fs-chef__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; display: block; }
.fs-chef__quote { position: relative; z-index: 1; margin: -96px 24px 0 auto; max-width: 300px; background: var(--fs-red); color: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: 0 30px 60px -30px rgba(80, 10, 5, .6); }
.fs .fs-chef__quote p { font-family: "Cabin", Arial, sans-serif; font-weight: 600; font-style: italic; font-size: 21px; line-height: 1.3; color: #fff; }
.fs .fs-chef__quote span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.fs-chef__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.fs .fs-chef__body .fs__title { font-size: clamp(38px, 4.6vw, 64px); }
.fs-chef__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; margin-top: 8px; }
.fs-chef__tile { background: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.fs-chef__tile svg { width: 26px; height: 26px; }
.fs .fs-chef__tile strong { font-family: "Cabin", Arial, sans-serif; font-size: 18px; color: var(--fs-ink); }
@media (max-width: 860px) { .fs-chef__quote { margin: -56px 14px 0 auto; max-width: calc(100% - 28px); } }

/* ---------- VIDEO ---------- */
.fs-video { background: var(--fs-ink); color: #fff; padding: clamp(72px, 8vw, 120px) 0; }
.fs-video__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; align-items: center; text-align: center; }
.fs-video__head { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.fs.fs-video .fs__eyebrow { color: var(--fs-blush); }
.fs.fs-video .fs__title { color: #fff; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; max-width: 16ch; }
.fs-video__frame { width: 100%; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(160, 14, 9, .55); outline: 1px solid rgba(255, 255, 255, .08); background: #000; }
.fs-video__frame .video { margin: 0; }

/* ---------- GALERÍA ---------- */
.fs-gallery { background: var(--fs-cream); padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 96px); }
.fs-gallery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 16px; }
.fs-gallery__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.fs-gallery__a { grid-column: span 7; grid-row: span 2; }
.fs-gallery__b { grid-column: span 5; }
.fs-gallery__c { grid-column: span 3; }
.fs-gallery__d { grid-column: span 2; }
@media (max-width: 860px) {
  .fs-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .fs-gallery__grid > * { grid-column: auto !important; grid-row: auto !important; height: 200px; }
}

/* ---------- PLANES ---------- */
.fs-plans { background: var(--fs-cream); padding: clamp(80px, 9vw, 130px) 0; }
.fs-plans__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 52px; }
.fs-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.fs-plan { background: #fff; border: 1px solid var(--fs-line); border-radius: 28px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 26px; position: relative; color: var(--fs-ink); }
.fs-plan--featured { background: var(--fs-red); border-color: var(--fs-red); color: #fff; box-shadow: 0 40px 80px -36px rgba(160, 14, 9, .65); }
.fs-plan__badge { position: absolute; top: 22px; right: 22px; background: #fff; color: var(--fs-red); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.fs .fs-plan__name { font-size: 24px; font-weight: 700; color: inherit; }
.fs .fs-plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; color: inherit; }
.fs-plan__amount { font-family: "Cabin", Arial, sans-serif; font-weight: 700; font-size: 60px; letter-spacing: -0.04em; line-height: 1; }
.fs-plan__period { font-size: 16px; opacity: .8; }
.fs .fs-plan__note { font-size: 15px; margin-top: 8px; color: var(--fs-muted); }
.fs .fs-plan--featured .fs-plan__note { color: rgba(255, 255, 255, .9); }
.fs-plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; flex: 1; color: #3a3430; }
.fs-plan--featured .fs-plan__list { color: #fff; }
.fs-plan__list li { display: flex; gap: 12px; margin: 0; }
.fs-plan__list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px;
  background: currentColor; color: var(--fs-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fs-plan--featured .fs-plan__list li::before { color: #fff; }
.fs .fs-plan .fs-btn { width: 100%; }
.fs .fs-plans__login { margin-top: 22px; text-align: center; font-size: 14px; color: var(--fs-muted); }
.fs .fs-plans__login a, .fs .fs-faq__contact a, .fs .fs-faq__answer a { color: var(--fs-red); font-weight: 700; }

/* ---------- TESTIMONIOS ---------- */
.fs-quotes { background: var(--fs-sand); padding: clamp(72px, 8vw, 120px) 0; }
.fs-quotes__inner { max-width: 1220px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.fs.fs-quotes .fs__title { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; max-width: 20ch; }
.fs-quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.fs-quote { background: var(--fs-cream); border-radius: 26px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.fs-quote svg { width: 44px; height: 34px; }
.fs .fs-quote blockquote { font-family: "Cabin", Arial, sans-serif; font-weight: 500; font-size: clamp(21px, 2vw, 26px); line-height: 1.35; color: var(--fs-ink); padding: 0; border: 0; }
.fs .fs-quote figcaption { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fs-red); }

/* ---------- ACCESOS ---------- */
.fs-links { background: var(--fs-cream); padding: clamp(80px, 9vw, 130px) 0; }
.fs-links__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.fs.fs-links .fs__title { font-size: clamp(36px, 4.4vw, 60px); }
.fs .fs-links__head p { font-size: 18px; color: var(--fs-text); max-width: 420px; }
.fs-links__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.fs .fs-card { color: inherit; display: flex; flex-direction: column; gap: 18px; transition: transform .35s ease; }
.fs .fs-card:hover { transform: translateY(-6px); color: inherit; }
.fs-card__img { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--fs-sand); }
.fs-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.fs-card:hover .fs-card__img img { transform: scale(1.05); }
.fs-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fs-card__text { display: flex; flex-direction: column; gap: 4px; }
.fs .fs-card__text strong { font-family: "Cabin", Arial, sans-serif; font-size: 22px; color: var(--fs-ink); }
.fs .fs-card__text span { font-size: 15px; color: var(--fs-muted); }
.fs-card__go { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--fs-red); color: #fff; display: flex; align-items: center; justify-content: center; }
.fs-card__go svg { width: 18px; height: 18px; }
.fs-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fs-red); border: 1.5px solid var(--fs-red); padding: 8px 12px; border-radius: 999px; flex: none; }

/* ---------- PREGUNTAS ---------- */
.fs-faq { background: #fff; padding: clamp(80px, 9vw, 120px) 0; }
.fs-faq__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); }
.fs-faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fs .fs-faq__intro .fs__title { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.04; }
.fs .fs-faq__contact { font-size: 16px; color: var(--fs-muted); }
.fs-faq__list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--fs-line); }
.fs-faq__item { border-bottom: 1px solid var(--fs-line); }
.fs .fs-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; min-height: 44px;
  font-family: "Cabin", Arial, sans-serif; font-weight: 600; font-size: 21px; color: var(--fs-ink); }
.fs-faq__item summary::-webkit-details-marker { display: none; }
.fs-faq__item summary:focus-visible { outline: 2px solid var(--fs-red); outline-offset: 4px; }
.fs-faq__plus { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--fs-cream); color: var(--fs-red);
  display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; transition: transform .25s ease; }
.fs-faq__item[open] .fs-faq__plus { transform: rotate(45deg); }
.fs .fs-faq__answer, .fs .fs-faq__answer p { padding: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--fs-text); max-width: 640px; }
.fs .fs-faq__answer p { padding: 0; }
.fs .fs-faq__answer { padding-bottom: 26px; }

/* ---------- CTA FINAL ---------- */
.fs-final { position: relative; color: #fff; padding: clamp(110px, 12vw, 170px) 0; text-align: center; background: #2a1d18 center 30% / cover no-repeat; }
.fs-final__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 8, 5, .78), rgba(31, 18, 14, .86)); }
.fs-final__inner { position: relative; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.fs.fs-final .fs__title { color: #fff; font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.035em; }
.fs.fs-final p { font-size: 19px; line-height: 1.55; max-width: 520px; color: rgba(255, 255, 255, .9); }
.fs.fs-final .fs-btn { min-height: 60px; padding: 20px 36px; font-size: 17px; }

/* ---------- PIE ---------- */
.fs-foot { background: var(--fs-ink); color: var(--fs-sand); padding: 64px 0 36px; }
.fs-foot__inner { display: flex; flex-direction: column; gap: 44px; }
.fs-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.fs-foot__logo { width: 200px; height: auto; }
.fs-foot__nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.fs .fs-foot__nav a { color: var(--fs-sand); }
.fs .fs-foot__nav a:hover { color: #fff; }
.fs-foot__social { display: flex; gap: 10px; }
.fs .fs-foot__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(217, 209, 199, .35); color: var(--fs-cream); display: flex; align-items: center; justify-content: center; }
.fs .fs-foot__social a:hover { background: rgba(255, 255, 255, .08); }
.fs-foot__social svg { width: 18px; height: 18px; }
.fs .fs-foot__copy { padding-top: 26px; border-top: 1px solid rgba(217, 209, 199, .18); font-size: 13px; color: #a89d94; }
.fs-foot .powered-by { background: transparent; padding: 18px 0 0; }

/* Barra fija móvil */
.fs-mbar { display: none; }
@media (max-width: 860px) {
  .fs-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(242, 237, 228, .96); border-top: 1px solid var(--fs-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .fs.fs-mbar a { flex: 1; min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
  .fs.fs-mbar .fs-mbar__a { color: var(--fs-red); border: 2px solid var(--fs-red); }
  .fs.fs-mbar .fs-mbar__b { flex: 1.3; color: #fff; background: var(--fs-red); }
  body:has(.fs-mbar) { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .fs-ribbon__track { animation: none; }
  .fs .fs-btn, .fs-faq__plus, .fs .fs-card, .fs-card__img img { transition: none; }
}

/* =========================================================
   PÁGINAS INTERNAS (v4)
   ========================================================= */

/* ---------- Hero de página interna ---------- */
.fs-phero { position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; background: #2a1d18 center 22% / cover no-repeat; }
.fs-phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 14, 11, .6) 0%, rgba(24, 14, 11, .25) 45%, rgba(24, 14, 11, .85) 100%); }
.fs-phero__inner { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.fs.fs-phero .fs__eyebrow { color: var(--fs-blush); }
.fs.fs-phero .fs__title { color: #fff; font-size: clamp(44px, 7vw, 104px); line-height: .92; letter-spacing: -0.035em; max-width: 14ch; }
.fs.fs-phero p.fs-phero__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 560px; }
@media (min-width: 861px) { .fs-phero { min-height: 520px; } }

/* ---------- Valores ---------- */
.fs-values { background: var(--fs-cream); padding: clamp(64px, 8vw, 110px) 0; }
.fs-values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.fs-value { background: #fff; border-radius: 26px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.fs-value__num { font-family: "Cabin", Arial, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .16em; color: var(--fs-red); }
.fs .fs-value h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -0.02em; color: var(--fs-ink); }
.fs .fs-value h3 em { color: var(--fs-red); }
.fs .fs-value p { font-size: 17px; line-height: 1.6; color: var(--fs-text); }

/* ---------- Bloque imagen + texto ---------- */
.fs-split { background: var(--fs-cream); }
.fs-split--white { background: #fff; }
.fs-split__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 80px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.fs-split--reverse .fs-split__grid { flex-direction: row-reverse; }
.fs-split__media { flex: 1 1 420px; min-width: 0; }
.fs-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; display: block; }
.fs-split__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.fs .fs-split__body .fs__title { font-size: clamp(36px, 4.4vw, 60px); }
.fs .fs-split__body .fs__lead p { margin: 0 0 14px; }
.fs .fs-split__body .fs__lead p:last-child { margin-bottom: 0; }

/* ---------- Contacto ---------- */
.fs-contact { background: var(--fs-cream); }
.fs-contact__grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: clamp(32px, 5vw, 72px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.fs-contact__media { flex: 1 1 400px; min-width: 0; }
.fs-contact__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 28px; display: block; }
.fs-contact__card { flex: 1 1 420px; min-width: 0; background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.fs .fs-contact__card .fs__title { font-size: clamp(36px, 4.2vw, 58px); }
.fs-contact__mail { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--fs-cream); color: var(--fs-ink); word-break: break-all; }
.fs .fs-contact__mail { color: var(--fs-ink); }
.fs-contact__mail svg { width: 24px; height: 24px; flex: none; color: var(--fs-red); }
.fs .fs-contact__mail strong { font-family: "Cabin", Arial, sans-serif; font-size: 18px; }
.fs-contact__social { display: flex; gap: 10px; flex-wrap: wrap; }
.fs .fs-contact__social a { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--fs-line); color: var(--fs-ink); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.fs .fs-contact__social a:hover { border-color: var(--fs-red); color: var(--fs-red); }

/* ---------- Tienda ---------- */
.fs-store { background: var(--fs-cream); padding: clamp(64px, 8vw, 120px) 0; }
.fs-store__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.fs-store__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; }
.fs-offer { background: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--fs-line); }
.fs-offer--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.fs-offer__img { background: var(--fs-red); }
.fs-offer__img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.fs-offer__body { padding: clamp(26px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.fs .fs-offer__title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--fs-ink); }
.fs .fs-offer__desc { font-size: 16px; line-height: 1.65; color: var(--fs-text); }
.fs .fs-offer__desc p { margin: 0 0 10px; }
.fs .fs-offer__price { font-family: "Cabin", Arial, sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -0.02em; color: var(--fs-ink); }
.fs .fs-offer .fs-btn { align-self: flex-start; }
@media (max-width: 860px) { .fs-offer--wide { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.fs-nf { background: var(--fs-cream); padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.fs-nf__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fs-nf__code { font-family: "Cabin", Arial, sans-serif; font-weight: 700; font-size: clamp(110px, 18vw, 220px); line-height: .85; letter-spacing: -0.05em; color: var(--fs-red); }
.fs .fs-nf .fs__title { font-size: clamp(32px, 4vw, 52px); }
.fs .fs-nf p { font-size: 18px; color: var(--fs-text); max-width: 460px; }
.fs-nf__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Acceso (login y contraseñas) ---------- */
.fs-auth { background: var(--fs-cream); padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.fs-auth__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(31, 26, 23, .45); min-height: 600px; }
.fs-auth__aside { position: relative; color: #fff; background: #2a1d18 center / cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 48px); gap: 14px; }
.fs-auth__aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 8, 5, .25), rgba(110, 8, 5, .88)); }
.fs-auth__aside > * { position: relative; }
.fs-auth__aside img.fs-auth__logo { width: 190px; height: auto; }
.fs .fs-auth__quote { font-family: "Cabin", Arial, sans-serif; font-weight: 600; font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: #fff; max-width: 18ch; }
.fs .fs-auth__quote-by { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.fs-auth__main { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.fs .fs-auth__main .fs__title { font-size: clamp(34px, 3.6vw, 50px); }
.fs .fs-auth__sub { font-size: 16px; line-height: 1.6; color: var(--fs-muted); }
.fs-auth form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.fs-field { display: flex; flex-direction: column; gap: 8px; }
.fs .fs-field label { font-size: 14px; font-weight: 700; color: var(--fs-ink); margin: 0; }
.fs .fs-field input[type="text"], .fs .fs-field input[type="email"], .fs .fs-field input[type="password"] {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px !important; border: 1.5px solid var(--fs-line) !important;
  background: var(--fs-cream) !important; font: inherit; font-size: 16px; color: var(--fs-ink); box-shadow: none; outline: none; }
.fs .fs-field input:focus { border-color: var(--fs-red) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(160, 14, 9, .12); }
.fs-field--error input { border-color: var(--fs-red) !important; }
.fs .fs-field__error { font-size: 14px; color: var(--fs-red); }
.fs .fs-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--fs-text); cursor: pointer; margin: 0; min-height: 44px; }
.fs .fs-check input { width: 20px; height: 20px; accent-color: var(--fs-red); margin: 0; }
.fs .fs-alert { padding: 14px 18px; border-radius: 14px; background: rgba(160, 14, 9, .08); color: var(--fs-red-dark); font-size: 15px; border: 1px solid rgba(160, 14, 9, .25); }
.fs .fs-auth form .fs-btn { width: 100%; border: 0; }
.fs-auth__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--fs-muted); }
.fs .fs-auth__links a { color: var(--fs-red); font-weight: 700; }
@media (max-width: 860px) {
  .fs-auth__card { grid-template-columns: 1fr; min-height: 0; }
  .fs-auth__aside { min-height: 220px; }
  .fs-auth__aside .fs-auth__quote { font-size: 22px; }
}

/* ---------- Pie global: ajustes ---------- */
.fs-foot { margin-top: 0; }


/* =========================================================
   v5 — menú de alumno, Mi contenido y ajustes de revisión
   ========================================================= */
.fs .fs-offer__desc { white-space: pre-line; }
@media (max-width: 860px) { .fs-split__media img { aspect-ratio: 4 / 3; } }

/* Menú del alumno con sesión iniciada */
.fs-top__user { position: relative; }
.fs-top__user summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; }
.fs-top__user summary::-webkit-details-marker { display: none; }
.fs-top__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--fs-line); display: block; }
body:has(.fs-hero, .fs-phero) .fs-top__avatar { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6); }
.fs-top__user .fs-top__panel { z-index: 30; }

/* Mi contenido */
.fs-lib { background: var(--fs-cream); padding: clamp(56px, 7vw, 100px) 0; }
.fs-lib__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.fs .fs-lib__resume { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 22px; background: var(--fs-ink); color: #fff; border-radius: 26px; padding: 16px 24px 16px 16px; margin-bottom: 32px; transition: transform .25s ease; }
.fs .fs-lib__resume:hover { transform: translateY(-3px); color: #fff; }
.fs-lib__resume-img img { width: 160px; height: 100px; object-fit: cover; border-radius: 16px; display: block; }
.fs-lib__resume-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fs .fs-lib__resume .fs__eyebrow { color: var(--fs-blush); }
.fs .fs-lib__resume strong { font-family: "Cabin", Arial, sans-serif; font-size: 22px; color: #fff; }
.fs-lib__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.fs .fs-lib__card { background: #fff; border: 1px solid var(--fs-line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .3s ease, box-shadow .3s ease; }
.fs .fs-lib__card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(160, 14, 9, .55); color: inherit; }
.fs-lib__img { display: block; aspect-ratio: 16 / 9; background: var(--fs-red); }
.fs-lib__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-lib__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fs .fs-lib__title { font-family: "Cabin", Arial, sans-serif; font-size: 22px; color: var(--fs-ink); }
.fs-lib__bar { display: block; height: 8px; border-radius: 999px; background: var(--fs-line); overflow: hidden; }
.fs-lib__resume .fs-lib__bar { background: rgba(255, 255, 255, .18); max-width: 360px; }
.fs-lib__bar span { display: block; height: 100%; background: var(--fs-red); border-radius: 999px; }
.fs-lib__resume .fs-lib__bar span { background: var(--fs-blush); }
.fs .fs-lib__pct { font-size: 13px; color: var(--fs-muted); }
.fs .fs-lib__resume .fs-lib__pct { color: rgba(255, 255, 255, .75); }
.fs .fs-lib__desc { font-size: 15px; line-height: 1.6; color: var(--fs-text); }
.fs .fs-lib__body .fs-btn { align-self: flex-start; margin-top: auto; }
.fs-lib__empty { background: #fff; border-radius: 26px; padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (max-width: 700px) {
  .fs .fs-lib__resume { grid-template-columns: 96px minmax(0, 1fr); padding: 14px; }
  .fs-lib__resume-img img { width: 96px; height: 64px; }
  .fs .fs-lib__resume .fs-btn { grid-column: 1 / -1; width: 100%; }
  .fs-lib__grid { grid-template-columns: 1fr; }
}

/* v6 — un solo curso: tarjeta horizontal; imagen de oferta sin recortar */
.fs-lib__grid--single { grid-template-columns: 1fr; }
.fs-lib__grid--single .fs-lib__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.fs-lib__grid--single .fs-lib__img { aspect-ratio: auto; min-height: 260px; }
.fs-lib__grid--single .fs-lib__body { padding: clamp(24px, 3.5vw, 44px); justify-content: center; }
.fs .fs-lib__grid--single .fs-lib__title { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 760px) { .fs-lib__grid--single .fs-lib__card { grid-template-columns: 1fr; } .fs-lib__grid--single .fs-lib__img { min-height: 0; aspect-ratio: 16 / 9; } }
.fs-offer__img img { object-fit: contain; background: var(--fs-red); }

/* v6.1 — en móvil los paneles (alumno y ☰) se anclan al borde derecho de la barra para no salirse de la pantalla */
@media (max-width: 1080px) {
  .fs-top { position: relative; }
  .fs-top__user, .fs-top__menu { position: static; }
  .fs-top__panel { top: calc(100% - 8px); right: 0; left: auto; width: calc(100vw - 32px); max-width: 320px; min-width: 0; }
}

/* v6.2 — Página de gracias */
.fs.fs-ty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 83px); background: var(--fs-cream); }
.fs-ty__media { position: relative; min-height: 320px; }
.fs-ty__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; margin: 0; }
.fs-ty__body { display: flex; align-items: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px); }
.fs-ty__inner { max-width: 520px; display: flex; flex-direction: column; gap: 18px; }
.fs-ty__check { width: 64px; height: 64px; border-radius: 50%; background: var(--fs-red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(160, 14, 9, .12); margin-bottom: 8px; }
.fs-ty__check svg { width: 30px; height: 30px; }
.fs.fs-ty .fs__title { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; color: var(--fs-ink); }
.fs-ty__text { margin: 0; font-size: 18px; line-height: 1.55; color: #4a403a; }
.fs-ty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.fs-ty__note { margin: 6px 0 0; font-size: 14px; color: #6b5f58; }
@media (max-width: 860px) {
  .fs.fs-ty { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .fs-ty__media { min-height: 240px; height: 34vh; }
  .fs-ty__body { padding: 32px 20px 56px; }
  .fs-ty__actions .fs-btn { flex: 1 1 100%; justify-content: center; }
}
