/* =========================================================================
   MASTER IN VFX COURSE — MUMBAI LANDING PAGE
   Standalone landing page (page-master-in-vfx-course-mumbai.php), separate
   from the site's regular Master in VFX Course page and its own CSS
   (master-in-vfx-course.css) — do not merge the two. Header/footer are
   this page's own header-landing.php/footer-landing.php, which reuse the
   shared .site-header/.foot chrome; .advantage/.diaries are the shared
   folds.css components. This page's own real content has no per-item
   photos for "Why Choose Us" and no background photo behind its final
   CTA, so those shapes are skipped rather than invented. What's here
   instead is this page's own real portfolio wall, its hero photo
   cross-fade, and its hero enquiry form.
   ========================================================================= */

.miv-h {
  margin: 0.5rem 0 0;
  font-family: var(--font-poster);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}

/* --- hero: two real banner photos, cross-fading in the shared plate -----
   Two pairs, not one: a portrait pair (mobile) and a landscape pair
   (desktop/laptop) of the same two creatives, swapped by breakpoint —
   .vbs-hero-plate's own CSS (vbs.css, global) already positions it as a
   full-bleed absolute layer behind .vbs-hero-inner, so nesting a
   breakpoint-switched pair inside it needs nothing extra to "become" the
   background; only which pair is visible changes. */
.miv-hero-bg { position: absolute; inset: 0; }
.miv-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.miv-hero-bg img:first-child { animation: miv-hero-fade 11s var(--ease-soft) infinite; }
.miv-hero-bg img:last-child { animation: miv-hero-fade 11s var(--ease-soft) infinite reverse; }
@keyframes miv-hero-fade {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .miv-hero-bg img:first-child,
  .miv-hero-bg img:last-child { animation: none; }
  .miv-hero-bg img:last-child { opacity: 0; }
}

.miv-hero-bg--desktop { display: none; }
@media (min-width: 861px) {
  .miv-hero-bg--mobile { display: none; }
  .miv-hero-bg--desktop { display: block; }
}

/* --- hero: heading+CTAs on the left, the enquiry form on the right ------ */
.miv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.miv-hero-copy { min-width: 0; }
@media (max-width: 860px) {
  .miv-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- hero enquiry form: the live page's own Name/Mobile/Email card ------ */
.miv-enquiry {
  width: 100%;
  max-width: 26rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-md);
  border: var(--hair) solid rgba(var(--white-rgb), 0.16);
  background: rgba(var(--surface-rgb), 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65);
}
@media (max-width: 860px) {
  .miv-enquiry { max-width: none; margin: 0 auto; }
}
.miv-enquiry-h {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
}
/* hidden from real visitors, not from bots — a filled-in value here means
   whatever submitted the form is not a person */
.miv-hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.miv-enquiry-note {
  margin: 0.85rem 0 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold);
}
.miv-enquiry-note.is-error { color: var(--brand-lit); }

/* --- course: intro copy + photo, then the full highlights dossier ------- */
.miv-highlights { padding: var(--fold-y) var(--gutter) clamp(4rem, 8vw, 6rem); background: var(--surface); }
.miv-highlights-inner {
  max-width: var(--page);
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.miv-highlights-copy .numbers-tag { display: inline-flex; width: fit-content; margin-bottom: 0.5rem; }
.miv-course-p { margin: 1.25rem 0 0; max-width: 58ch; font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-mid); }
.miv-frame {
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--r-md);
  background: linear-gradient(165deg, var(--surface-raised), var(--surface));
  border: var(--hair) solid rgba(var(--white-rgb), 0.16);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65);
  transform: rotate(2deg);
}
.miv-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-md) - 6px);
}
.miv-modules {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.miv-modules li {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface-raised);
  border: var(--hair) solid rgba(var(--white-rgb), 0.12);
  border-radius: var(--r-md);
}
.miv-mod-no {
  font-family: var(--font-poster);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: rgba(var(--gold-rgb), 0.8);
}
.miv-modules b { display: block; margin-top: 0.5rem; font-size: var(--fs-md); font-weight: 700; color: var(--ink); }
.miv-modules p { margin: 0.35rem 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-mid); }

/* --- some of our work: an even 5-across wall of the page's own real
   stills. Was a bento grid with a 2x2 feature tile on near-square 195px
   rows — square-ish cells cropping ~2:3 portrait movie posters badly, both
   the feature tile (losing most of the poster) and the plain ones (losing
   the sides). A plain 5-column grid with the tile itself in the posters'
   own portrait ratio shows each one in full instead. ------------------- */
.miv-wall-section { padding: clamp(3rem, 6vw, 5rem) var(--gutter); background: var(--void); }
.miv-wall-head { max-width: var(--page); margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.miv-wall-head .numbers-tag { display: inline-flex; width: fit-content; margin: 0 auto 0.5rem; }
.miv-wall {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.miv-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm, 6px);
  background: var(--surface);
  aspect-ratio: 2 / 3;
}
.miv-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.miv-tile:hover img { transform: scale(1.06); }
.miv-wall-more { margin-top: clamp(1.8rem, 3.4vw, 2.8rem); display: flex; justify-content: center; }

/* --- faqs: ghost-numbered <details> accordion ---------------------------- */
.miv-faq { padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4.5rem, 8vw, 6.5rem); background: var(--surface); }
.miv-faq-head { max-width: 44rem; margin: 0 auto clamp(2.25rem, 4vw, 3rem); text-align: center; }
.miv-faq-head .numbers-tag { display: inline-flex; width: fit-content; margin: 0 auto 0.5rem; }
.miv-fq-list { max-width: 44rem; margin: 0 auto; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.miv-fq-item {
  position: relative;
  border-radius: var(--r-md);
  border: var(--hair) solid rgba(var(--white-rgb), 0.14);
  background: rgba(var(--white-rgb), 0.02);
  overflow: hidden;
  transition: border-color var(--t-1) var(--ease);
}
.miv-fq-item:has(details[open]) { border-color: rgba(var(--gold-rgb), 0.4); }
.miv-fq-item details > summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.75rem);
  cursor: pointer;
  list-style: none;
}
.miv-fq-item summary::-webkit-details-marker { display: none; }
.miv-fq-no {
  flex: none;
  font-family: var(--font-poster);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
  color: rgba(var(--white-rgb), 0.14);
  transition: color var(--t-1) var(--ease);
}
.miv-fq-item details[open] .miv-fq-no { color: rgba(var(--gold-rgb), 0.55); }
.miv-fq-q { flex: 1 1 auto; font-size: var(--fs-body); font-weight: 700; line-height: 1.4; color: var(--ink); }
.miv-fq-marker { flex: none; position: relative; width: 1.2rem; height: 1.2rem; }
.miv-fq-marker::before, .miv-fq-marker::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-mid);
  transform: translate(-50%, -50%);
  transition: transform var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.miv-fq-marker::before { width: 1.1rem; height: 2px; }
.miv-fq-marker::after { width: 2px; height: 1.1rem; }
.miv-fq-item details[open] .miv-fq-marker::after { transform: translate(-50%, -50%) rotate(90deg); }
.miv-fq-item details[open] .miv-fq-marker::before, .miv-fq-item details[open] .miv-fq-marker::after { background: var(--gold); }
.miv-fq-a {
  margin: 0;
  padding: 0 clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.4vw, 1.6rem) calc(clamp(1.6rem, 3vw, 2.1rem) + clamp(0.75rem, 2vw, 1.25rem) + clamp(1.25rem, 2.4vw, 1.75rem));
  max-width: 60ch;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-mid);
}
@media (max-width: 640px) {
  .miv-fq-a { padding-left: clamp(1.25rem, 2.4vw, 1.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  .miv-fq-item, .miv-fq-no, .miv-fq-marker::before, .miv-fq-marker::after { transition: none; }
}

/* --- final CTA: accreditation image + the source page's own closing
   copy, one band, no background photo ------------------------------------ */
.miv-final {
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  text-align: center;
  /* a distinct band from the --surface FAQ section right above it, and a
     step toward the red .call band right after — void ground with a soft
     brand-red glow behind the headline, echoing the photo-less final CTA's
     old radial-gradient overlay without needing a photo */
  background:
    radial-gradient(50rem 26rem at 50% 0%, rgba(var(--brand-rgb), 0.16), transparent 65%),
    var(--void);
}
.miv-final-inner { max-width: 46rem; margin: 0 auto; }
.miv-accred-img { display: block; margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem); max-width: 22rem; width: 100%; height: auto; }
.miv-final-h {
  margin: 0;
  font-family: var(--font-poster);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}
.miv-final-p { margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-mid); }
.miv-final-ctas { margin-top: clamp(1.75rem, 3.5vw, 2.25rem); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.75rem, 2vw, 1.25rem); }

/* --- landing header/footer: reuse the shared .site-header/.foot chrome --
   (folds.css, global) with this page's own flat nav instead of the mega
   menu — see header-landing.php/footer-landing.php. Only the couple of
   things that chrome doesn't already cover live here. */
.lp-foot .foot-bar { border-top: 0; }
.lp-foot-whatsapp svg { display: block; width: 1.1rem; height: 1.1rem; }

/* the landing nav's links (#why, #advance, #portfolio, #testimonial, #faq)
   jump to these sections' own top edge, which the fixed .site-header would
   otherwise cover — same fix as .fq-group's scroll-margin-top on the FAQs
   page, sized to this header's own height */
#miv-enquiry, #why, #advance, #portfolio, #testimonial, #faq, #consult {
  scroll-margin-top: clamp(5.5rem, 9vw, 7rem);
}

@media (max-width: 900px) {
  .miv-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .miv-highlights-inner { grid-template-columns: minmax(0, 1fr); }
  .miv-frame { order: -1; max-width: 26rem; margin: 0 auto; }
  .miv-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .miv-modules { grid-template-columns: minmax(0, 1fr); }
  .miv-wall { grid-template-columns: repeat(2, 1fr); }
}
