/* Gamblers del Tablero: one stylesheet for the six pages.
   Tokens first, then fonts, chrome (header, nav, footer), shared blocks, then one block per page. */

:root {
  /* colours (sampled from the reference site) */
  --black: #000000;
  --white: #ffffff;
  --pink: #f04e9f;
  --pink-light: #ea84c6;
  --grey-300: #bfbfbf;
  --grey-500: #808080;
  --grey-700: #404040;
  /* type families */
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --body: 'Questrial', 'Helvetica Neue', Arial, sans-serif;
  --ui: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --avenir: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;
  --poppins: 'Poppins', 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --cormorant: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  /* body copy size: the reference site uses about 16 px on desktop, 16 to 19 on a phone */
  --fs-body: 16px;
  /* spacing */
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('/fonts/libre-baskerville.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Questrial';
  src: url('/fonts/questrial.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 16px/1.75 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--white); box-shadow: 0 0 0 5px var(--black); }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 20; background: var(--white); padding: 8px 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- header ---- */
.site-header {
  display: flex; align-items: center; gap: 24px;
  padding: clamp(14px, 3.9vw, 50px) var(--gutter);
  background: var(--white);
}
.logo { display: block; flex: none; }
.logo img { width: 140px; height: auto; }
.socials { display: flex; gap: 14px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.socials a { display: block; width: 18px; height: 18px; color: var(--black); }
.socials svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.socials .stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; background: transparent; color: var(--black);
  border: 0; cursor: pointer;
}
.menu-toggle svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 12px 34px; border: 1px solid var(--black);
  background: var(--black); color: var(--white); text-decoration: none; cursor: pointer;
  font: 14px/1.3 var(--body); text-align: center;
}
.btn:hover { background: var(--grey-700); }
.btn[disabled] { opacity: .6; cursor: default; }
.cta { white-space: nowrap; }

/* ---- nav ---- */
.site-nav { background: var(--black); }
.site-nav ul {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0 auto; padding: 0 var(--gutter);
}
.site-nav li + li { border-left: 1px solid rgba(255, 255, 255, .55); }
.site-nav a {
  display: block; padding: 11px 15px; color: var(--white); text-decoration: none;
  font: 700 13px/1.4 var(--ui);
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav a[aria-current='page'] { color: var(--pink); }

/* ---- footer ---- */
.site-footer { padding: 40px var(--gutter) 32px; text-align: center; }
.site-footer a { font: 16px/1.6 var(--body); text-decoration: none; }
.site-footer p { margin-top: 28px; font: 300 15px/1.8 var(--avenir); }

/* ---- shared page blocks ---- */
.page-title { font: 700 clamp(30px, 4.1vw, 52px)/1.2 var(--display); padding: 48px var(--gutter) 24px; text-align: center; }
.notfound { text-align: center; padding: 8px var(--gutter) 72px; }
.form-ok { font: 18px/1.6 var(--body); text-align: center; padding: 24px 0; }
.form-error { margin-top: 12px; padding: 10px 14px; background: #fde8e8; color: #7a0c0c; font: 15px/1.5 var(--body); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; }
.lightbox-close {
  position: absolute; top: 6px; right: 6px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--black); font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---- Inicio ---- */
.hero { position: relative; background: var(--grey-700); }
.hero-img { width: 100%; height: clamp(260px, 62.5vw, 800px); object-fit: cover; }
.hero-title {
  position: absolute; top: clamp(18px, 6%, 56px); left: 0; right: 0; padding: 0 var(--gutter); text-align: center;
  font: 700 clamp(20px, 3.3vw, 42px)/1.25 var(--serif); color: var(--black);
  text-shadow: 0 0 10px rgba(255, 255, 255, .8), 1px 1px 1px rgba(255, 255, 255, .7), -1px -1px 1px rgba(0, 0, 0, .6);
}
.welcome { background: var(--black); color: var(--white); padding: clamp(40px, 6vw, 80px) 0; margin-top: 12px; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.welcome h2 { font: 400 clamp(26px, 2.8vw, 36px)/1.25 var(--serif); }
.welcome p { font: var(--fs-body)/1.85 var(--body); max-width: 40ch; }
.link-line { display: inline-block; margin-top: 22px; padding-top: 16px; position: relative; font: 800 14px/1.4 var(--avenir); text-decoration: none; }
.link-line::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; border-top: 1px solid var(--white); }
.link-line:hover { text-decoration: underline; }
.news { display: grid; grid-template-columns: 1fr 1fr; min-height: min(660px, 51.5vw); }
.news-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px;
  padding: 56px var(--gutter); text-align: center;
}
.news h2 { font: 700 clamp(26px, 4.2vw, 54px)/1.2 var(--display); }
.news-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.about { background: var(--pink); padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); text-align: center; }
.about h2 { font: 400 clamp(26px, 3vw, 40px)/1.3 var(--serif); margin-bottom: 20px; }
.about-text { max-width: 900px; margin: 0 auto; font: clamp(16px, 1.6vw, 20px)/1.45 var(--serif); }
.about-text p + p { margin-top: 4px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: calc(1120px + 2 * var(--gutter)); margin: 40px auto 0; padding: 0 var(--gutter); text-align: left; }
.card { position: relative; background: var(--grey-300); }
.card img { width: 100%; aspect-ratio: 545 / 575; object-fit: cover; object-position: 50% 0; }
.card:first-child img { object-position: 81% 0; }
.bio { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: rgba(191, 191, 191, .9); font: 15px/1.5 var(--serif); }
.bio h3 { font: 700 16px/1.4 var(--serif); margin-bottom: 4px; }
.join { padding: clamp(40px, 6vw, 72px) var(--gutter); text-align: center; }
.join h2 { font: 400 clamp(30px, 3.6vw, 46px)/1.2 var(--display); margin-bottom: 8px; }
.join > p { font: 18px/1.6 var(--body); margin-bottom: 28px; }
.newsletter-form { display: flex; flex-wrap: wrap; max-width: 740px; margin: 0 auto; }
.newsletter-form input[type='email'] {
  flex: 1 1 200px; min-width: 0; padding: 13px 16px; border: 1px solid var(--black); border-right: 0;
  font: 16px/1.3 var(--body); background: var(--white); color: var(--black);
}
.newsletter-form .btn { flex: none; }
.newsletter-form .form-error { flex-basis: 100%; }
.contact { background: var(--pink-light); padding: 0 clamp(16px, 6vw, 80px); margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--black); min-height: 430px; overflow: hidden; }
.contact-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 40px 24px; color: var(--white); text-align: center; font: var(--fs-body)/1.6 var(--body);
}
.contact-text h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.3 var(--display); color: var(--pink); margin-bottom: 6px; }
.contact-text a { text-decoration: none; }
/* head-and-shoulders crop of a square photo: scale 1.65 from near the top edge inside a clipping box, the hedge and both faces stay */
.contact-photo { position: relative; overflow: hidden; min-height: 430px; }
.contact-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.65); transform-origin: 50% 5%; }

/* ---- small screens ---- */
@media (max-width: 767px) {
  :root { --fs-body: 17px; }
  .site-header { flex-wrap: wrap; gap: 12px; padding: 10px 14px; }
  .logo img { width: 96px; }
  .cta { margin-left: auto; padding: 9px 11px; font-size: 12px; white-space: normal; }
  .menu-toggle { display: block; }
  .socials { order: 5; width: 100%; justify-content: center; margin: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { display: block; padding: 0; }
  .site-nav li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .site-nav a { padding: 14px var(--gutter); font-size: 14px; }
  .hero-img { height: 70vw; min-height: 260px; }
  .welcome-grid, .news, .contact-grid, .cards { grid-template-columns: 1fr; }
  .welcome h2 br { display: none; }
  .news-text { padding: 40px var(--gutter); gap: 32px; }
  .news-img { min-height: 60vw; }
  .bio { position: static; background: var(--grey-300); }
  .card img { aspect-ratio: 545 / 575; }
  .contact { padding: 0 14px; }
  .contact-grid { min-height: 0; }
  .contact-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .news { min-height: 0; }
  .newsletter-form .btn { width: 100%; }
  .newsletter-form input[type='email'] { border-right: 1px solid var(--black); }
}

/* ---- shared by the inner pages ---- */
.btn.small { padding: 9px 30px; font-size: 13px; }
.btn.green { background: #3f7652; border-color: #3f7652; border-radius: 22px; letter-spacing: .14em; padding: 10px 30px; display: inline-flex; align-items: center; gap: 10px; }
.btn.green:hover { background: #2f5d40; }
.btn.green svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.link-plain { font: 700 15px/1.4 var(--ui); text-decoration: none; }
.link-plain:hover { text-decoration: underline; }
.page-title.thin { font-weight: 400; }

/* ---- Academia ---- */
.acad-intro { max-width: 640px; margin: 0 auto; padding: 24px var(--gutter) 8px; font: var(--fs-body)/1.9 var(--body); }
.acad-intro p + p { margin-top: 1.7em; }
.acad-cta { text-align: center; margin-top: 40px !important; }
.acad-img { width: min(980px, calc(100% - 2 * var(--gutter))); margin: 40px auto 0; aspect-ratio: 2.45 / 1; object-fit: cover; object-position: center 35%; }
.acad-details { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 64px; font: var(--fs-body)/1.9 var(--body); }
.acad-details h2 { font: 400 var(--fs-body)/1.9 var(--body); }
.acad-details p, .acad-details ul { margin-bottom: 1.5em; }
.acad-details h2 + ul { margin-top: 0; }
.plain-list, .dot-list { margin: 0; padding-left: 1.2em; }
.plain-list.nodot { list-style: none; padding-left: 0; }
.dot-list { padding-left: 2.4em; }
.acad-details a { text-underline-offset: 3px; }

/* ---- Acerca de ---- */
.story { background: linear-gradient(90deg, #9b095a 0%, #bfbfbf 100%); color: var(--black); text-align: center; padding: clamp(36px, 5vw, 64px) var(--gutter); }
.story-eyebrow { font: 400 16px/1.6 var(--serif); }
.story-title { font: 400 clamp(32px, 4vw, 48px)/1.3 'Marck Script', 'Segoe Script', 'Brush Script MT', cursive; margin-bottom: 18px; }
.story p { max-width: 900px; margin: 0 auto; font: clamp(15px, 1.5vw, 17px)/1.7 var(--serif); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split img { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; }
.split-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; padding: 48px clamp(24px, 6vw, 96px); }
.split-text h2 { font: 400 clamp(28px, 2.8vw, 36px)/1.3 var(--display); }
.split-text p { font: var(--fs-body)/1.9 var(--body); max-width: 46ch; }
.recog { position: relative; background: #ed9dd0; padding: clamp(24px, 4vw, 48px) clamp(16px, 5vw, 64px); display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.recog img { grid-column: 1 / 2; grid-row: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; align-self: start; }
.recog-card { grid-column: 1 / -1; grid-row: 1; justify-self: end; width: 62%; min-height: 365px; justify-content: center; background: var(--white); padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 40px); margin: 40px 0 -40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; }
.recog-card h2 { font: 400 clamp(30px, 3.4vw, 44px)/1.3 var(--display); }
.recog-card p { font: var(--fs-body)/1.8 var(--body); }

/* ---- Clases gratis ---- */
.cg-top { background: var(--pink-light); position: relative; padding: 40px clamp(16px, 6vw, 80px) 137px; }
.cg-top img { width: 55%; aspect-ratio: 2.07 / 1; object-fit: cover; }
.cg-card { background: var(--white); padding: clamp(24px, 4vw, 48px); }
.cg-top .cg-card { position: absolute; right: clamp(16px, 6vw, 80px); top: 120px; width: 55%; min-height: 314px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cg-card h1 { font: 400 clamp(34px, 4.6vw, 56px)/1.2 var(--serif); margin-bottom: 10px; }
.cg-top .cg-card p { font: var(--fs-body)/1.9 var(--body); max-width: 46ch; margin: 0 auto; text-align: left; }
.benefits { background: var(--black); color: var(--white); padding: 72px var(--gutter); }
.benefits ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; max-width: var(--max); margin: 0 auto; padding: 0; }
.benefits li { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; font: 16px/1.6 var(--body); }
.benefit-icon { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--white); color: var(--black); flex: none; }
.benefit-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cg-join { position: relative; min-height: 545px; display: grid; place-items: end center; padding: 144px var(--gutter) 0; overflow: hidden; }
.cg-join img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cg-join-card { position: relative; width: min(100%, 600px); min-height: 400px; justify-content: center; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 40px; }
.cg-join-card h2 { font: 400 clamp(20px, 2.4vw, 30px)/1.35 var(--serif); }
.cg-join-card p { font: 700 16px/1.5 var(--serif); }
.cg-free { background: var(--black); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.cg-free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 5vw, 72px); align-items: start; }
.cg-free h2 { font: 400 clamp(30px, 3.6vw, 46px)/1.3 var(--display); }
.cg-free p { font: var(--fs-body)/1.7 var(--body); }

/* ---- Cursos ---- */
.courses { background: var(--pink-light); padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px); }
.course { display: grid; grid-template-columns: 1fr 2fr; background: var(--white); max-width: 1120px; width: 100%; margin: 0 auto; }
.course-text { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.course-text h2 { font: 600 clamp(22px, 2.5vw, 28px)/1.3 var(--poppins); }
.course-text p { font: var(--fs-body)/1.7 var(--body); }
.course-text .course-note { font: 300 18px/1.6 var(--cormorant); color: var(--black); }
.course.free .course-text h2 { font-size: clamp(26px, 2.8vw, 36px); }
.course.free .course-text p { font: 300 clamp(17px, 1.5vw, 19px)/1.6 var(--cormorant); }
.course img { width: 100%; height: 100%; object-fit: cover; }
/* five posters around the promo panel: I, II, III above, IV | panel | V below, edge to edge (columns 28 / 47 / 25 % like the reference) */
.collage { display: grid; grid-template-columns: 28fr 47fr 25fr; grid-auto-rows: minmax(32vw, auto); width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); background: var(--white); }
.collage .poster { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 0 50%; }
.collage .p2 { object-position: 50% 50%; }
.promo { background: var(--white); padding: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.promo h2 { font: 600 clamp(26px, 2.8vw, 36px)/1.3 var(--poppins); margin-bottom: 6px; }
.promo .promo-lead { font: 400 clamp(22px, 2.35vw, 30px)/1.4 var(--body); }
.promo p { font: 18px/1.6 var(--body); }
.promo .btn { margin-top: 12px; }

/* ---- Cobertura de torneos ---- */
.cov-intro { padding-top: 56px; padding-bottom: 8px; max-width: 900px; }
.cov-intro h1, .cov-contact h2 { font: 400 clamp(28px, 3.4vw, 40px)/1.3 var(--display); margin-bottom: 22px; }
.cov-intro p, .cov-contact > p { font: var(--fs-body)/1.9 var(--body); }
.gallery-wrap { max-width: 900px; padding-top: 8px; padding-bottom: 32px; }
.gallery { max-width: 560px; margin: 0 auto; }
.gallery-stage { position: relative; background: #f2f2f2; }
.gallery-stage figure { margin: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-stage img { width: 100%; max-height: 520px; object-fit: contain; }
.gallery-stage figcaption { padding: 10px 14px; font: 15px/1.5 var(--body); }
.gallery-btn { display: none; position: absolute; top: 40%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--black); cursor: pointer; align-items: center; justify-content: center; }
.js .gallery-btn { display: flex; }
.gallery-btn:hover { background: var(--white); }
.gallery-btn.prev { left: 10px; }
.gallery-btn.next { right: 10px; }
.gallery-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gallery-counter { text-align: right; font: 14px/1.5 var(--body); padding-top: 8px; }
.cov-contact { max-width: 900px; padding-top: 24px; padding-bottom: 72px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 28px; max-width: 700px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font: 15px/1.6 var(--body); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--black); background: var(--white); color: var(--black); font: 16px/1.4 var(--body); border-radius: 0; }
.f-nombre, .f-apellido, .f-email { grid-column: 1; }
.f-mensaje { grid-column: 2; grid-row: 1 / span 3; }
.f-mensaje textarea { flex: 1; resize: vertical; min-height: 150px; }
.f-send { grid-column: 2; text-align: right; }
.contact-form .form-error { grid-column: 1 / -1; }
.f-send .btn { min-width: 122px; }

@media (max-width: 767px) {
  .acad-img { aspect-ratio: 3 / 2; width: 100%; max-width: none; }
  .split, .recog, .cg-free-grid, .course { grid-template-columns: 1fr; }
  .split.flip .split-text { order: -1; }
  .split img { max-height: none; min-height: 0; aspect-ratio: 1 / 1; }
  .split-text { padding: 36px 24px; }
  .recog-card { width: 100%; min-height: 0; justify-self: stretch; margin: -24px 0 0; grid-column: 1; grid-row: 2; }
  .recog img { grid-row: 1; }
  .cg-top { padding: 16px 16px 24px; }
  .cg-top img { width: 100%; aspect-ratio: 3 / 2; }
  .cg-top .cg-card { position: relative; top: 0; right: auto; width: auto; min-height: 0; margin: -40px 16px 0; }
  .benefits ul { grid-template-columns: 1fr; gap: 40px; }
  .benefits li { font-size: 17px; }
  .cg-join { min-height: 0; padding: 48px 16px; place-items: center; }
  .cg-join-card { min-height: 0; padding: 32px 20px; }
  .course img { height: auto; aspect-ratio: auto; }
  .collage { display: block; background: none; width: 100%; margin: 0; }
  .collage .poster { display: none; }
  .promo { padding: 32px 20px; }
  .contact-form { grid-template-columns: 1fr; }
  .f-nombre, .f-apellido, .f-email, .f-mensaje, .f-send { grid-column: 1; grid-row: auto; }
  .f-send .btn { width: 100%; }
}

/* ---- Marck Script (Acerca de, "Nosotros") ---- */
@font-face {
  font-family: 'Marck Script';
  src: url('/fonts/marck-script.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* ---- Cursos: links under the cards and the promo ---- */
.course-link { font: 600 18px/1.6 var(--cormorant); color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.course-link:hover { color: var(--grey-700); }
.promo .course-link { font-size: 18px; }

/* ---- Curso inicial and Curso finales básicos ---- */
.video-band { background: var(--pink-light); padding-bottom: clamp(32px, 5vw, 64px); }
.videos { max-width: 740px; margin: 0 auto; padding: 8px var(--gutter) 0; display: flex; flex-direction: column; gap: 28px; }
.videos iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: var(--black); }
.back { text-align: center; padding: 8px var(--gutter) 56px; }
