/* Styles for the city landing and ground-classes pages (/bangalore/, /jaipur/, /hyderabad/).
   Loaded only by those pages, after the site's own stylesheets.

   Design language (18 Nov 2026): a colour-block page in the manner of lofliballs.com.
   Every section is a "surface" that swaps the whole token set:
     (default)        light: brand light background, navy text, navy links with a teal underline
     .surface-inverse dark:  brand navy background, light text, light-teal links and figures
     .surface-brand   teal:  brand teal background, navy text
     .surface-tint    light teal tint
   Brand colours only: teal #49aaaa (logo, site --primary), navy #0c2b4b (site --dark),
   light #f3f6f8 (site --light), plus the site's own lighter #54c7c6 and darker #3d8b8b teals.
   The brand teal is too light for small text on white (2.6:1), so on light surfaces text and
   links are navy and teal is used for fills, underlines, icons and large shapes.

   Tokens, three tiers: primitives (--c-*), semantic roles (--surface, --text, --heading,
   --link, --line, --focus ...) and the surface classes that reassign the roles.
   Components only use the semantic roles, so a card or button looks right on any surface.

   Type: Alumni Sans (condensed, uppercase) for the H1, big numbers and the marquee;
   Albert Sans Black for H2/H3; the site's Work Sans for body text.
   Shapes: anything you press is a full pill; panels, cards and photos are 20px.
   Buttons: the filled teal pill is reserved for the demo class (on a teal surface it
   turns navy). Every other action is an outlined pill or a text link.

   Widths: phone up to 767px, tablet 768-991px, desktop from 992px. The phone bottom
   bar shows up to 991px; from 992px the jump row carries the demo button instead.

   Site rules this file has to undo inside the city pages (do not remove these fixes):
   - css2/style.css `a, img, span, input, button { display: block }` breaks sentences
     around inline links, so prose links and spans are set back to inline.
   - css/style.css `body { font-size: .8rem }` up to 768px, so #city-content sets 16px.
   - css/style.css `.form-classes { width: 880px }` overflows from 768 to 991px.
   - css2/style.css `.btn { text-transform: uppercase; max-width: max-content }`.
   New rules for a, span, p, li or td need the #city-content prefix to win. */

/* ---- Tier 1: primitives ---- */
:root {
  /* brand */
  --c-brand: #49aaaa;        /* logo teal, site --primary */
  --c-brand-300: #54c7c6;    /* lighter teal (site) - text and figures on navy */
  --c-brand-700: #3d8b8b;    /* darker teal (site) - icons on light */
  --c-brand-100: #dcefef;    /* tint of the brand teal */
  --c-brand-50: #eaf5f5;
  --c-ink-900: #0c2b4b;      /* brand navy, site --dark */
  --c-ink-800: #11365c;      /* navy, raised */
  --c-ink-700: #1b4670;      /* navy, hover */
  --c-ink-600: #2b5683;
  /* neutrals, cooled toward the navy */
  --c-slate-500: #51657a;
  --c-slate-300: #a9bccc;
  --c-slate-200: #d0dce6;
  --c-slate-100: #e4ebf0;
  --c-paper: #f3f6f8;        /* site --light */
  --c-white: #ffffff;

  --font-display: "Alumni Sans", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-head: "Albert Sans", "Work Sans", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  --radius-panel: 20px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --city-measure: 68ch;
  --city-jump-h: 61px;

  /* ---- Tier 2: semantic roles (light surface is the default) ---- */
  --surface: var(--c-paper);
  --surface-raised: var(--c-white);
  --surface-sunken: var(--c-slate-100);
  --text: #3a4c5e;
  --heading: var(--c-ink-900);
  --muted: var(--c-slate-500);
  --line: #dbe3e7;
  --line-strong: var(--c-ink-900);
  --link: var(--c-ink-900);
  --link-hover: var(--c-ink-700);
  --link-deco: var(--c-brand);
  --icon: var(--c-brand-700);
  --icon-bg: var(--c-brand-50);
  --focus: var(--c-ink-900);
  --ghost: rgba(12, 43, 75, .055);
  --star: var(--c-brand-700);
}

/* ---- Tier 3: surfaces ---- */
.surface-inverse {
  --surface: var(--c-ink-900);
  --surface-raised: var(--c-ink-800);
  --surface-sunken: var(--c-ink-700);
  --text: var(--c-slate-200);
  --heading: var(--c-white);
  --muted: var(--c-slate-300);
  --line: #234b74;
  --line-strong: var(--c-white);
  --link: var(--c-brand-300);
  --link-hover: var(--c-white);
  --link-deco: var(--c-brand-300);
  --icon: var(--c-brand-300);
  --icon-bg: var(--c-ink-700);
  --focus: var(--c-brand-300);
  --ghost: rgba(255, 255, 255, .045);
  --star: var(--c-brand-300);
}
.surface-brand {
  --surface: var(--c-brand);
  --surface-raised: var(--c-brand-100);
  --surface-sunken: var(--c-brand-300);
  --text: var(--c-ink-900);
  --heading: var(--c-ink-900);
  --muted: var(--c-ink-900);
  --line: rgba(12, 43, 75, .3);
  --line-strong: var(--c-ink-900);
  --link: var(--c-ink-900);
  --link-hover: var(--c-ink-700);
  --link-deco: var(--c-ink-900);
  --icon: var(--c-ink-900);
  --icon-bg: var(--c-brand-100);
  --focus: var(--c-ink-900);
  --ghost: rgba(12, 43, 75, .08);
  --star: var(--c-ink-900);
}
.surface-tint { --surface: var(--c-brand-50); --surface-raised: var(--c-white); --line: #cde5e5; --icon-bg: var(--c-white); }

/* ---- Base, sections and type ---- */
#city-content { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--surface); }
#city-content :is(section, .surface-inverse, .surface-brand, .surface-tint) { background-color: var(--surface); color: var(--text); }
.city-section { position: relative; padding: 64px 0; overflow: clip; }
/* jump links land just below the sticky jump row */
#city-content section { scroll-margin-top: calc(var(--city-jump-h) + 12px); }
#city-content .city-jump + section { scroll-margin-top: var(--city-jump-h); }
/* keyboard focus never lands underneath the sticky row */
#city-content :is(a, button, summary, iframe), #enquiry :is(a, button, input, select, textarea) { scroll-margin-top: calc(var(--city-jump-h) + 12px); }
#city-content .city-jump :is(a, button) { scroll-margin-top: 0; }
#city-content :is(h1, h2, h3) { color: var(--heading); text-wrap: balance; }
#city-content h2 { position: relative; font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; max-width: 20ch; }
#city-content h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.015em; }
#city-content :is(p, li, td, th, dt, dd) { font-size: 16px; line-height: 1.6; color: var(--text); }
/* keep prose to a readable line length */
#city-content .container > p, .faq-item { max-width: var(--city-measure); }
#city-content .city-section .container > :last-child { margin-bottom: 0; }
#city-content .city-intake-updated:empty { display: none; }
/* small dated notes: "Fees as of", "Page updated", sources */
#city-content p.city-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.city-section > .container { position: relative; z-index: 1; }

/* Ghosted background word: decoration only (aria-hidden), sits behind the section */
.city-section:has(> .city-ghost) { overflow: hidden; overflow: clip; }
#city-content .city-ghost { position: absolute; z-index: 0; left: 50%; top: 18px; transform: translateX(-50%); margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 340px); line-height: .8; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; color: var(--ghost); pointer-events: none; user-select: none; }

/* ---- Links and buttons ---- */
/* undo the site's display:block on links and spans that sit inside a sentence */
#city-content section :where(p, li, td, dd, figcaption) a:not([class]) { display: inline; }
#city-content section :where(p, li, td, dd, figcaption, a) > span { display: inline; }
#city-content a:not(.btn) { color: var(--link); text-decoration: underline; text-decoration-color: var(--link-deco, currentColor); text-decoration-thickness: 2px; text-underline-offset: 4px; }
#city-content a:not(.btn):hover { color: var(--link-hover); text-decoration-color: currentColor; }
/* "more" links: bold, no underline until hover, 44px+ tall, arrow stays with the last word */
#city-content a.city-more:not(.btn) { display: inline-block; padding: 10px 0; font-weight: 600; text-decoration: none; }
#city-content a.city-more:not(.btn):hover { text-decoration: underline; }
#city-content .city-more span { white-space: nowrap; }
#city-content a[href^="tel:"] { white-space: nowrap; }

#city-content .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; max-width: none; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: none; white-space: nowrap; box-shadow: none; transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease-out); }
#city-content .btn:active { transform: scale(.98); }
#city-content .btn i { font-size: 18px; line-height: 1; }
/* the demo button: teal pill with the arrow in a navy circle */
#city-content .btn-primary { padding-right: 7px; background: var(--c-brand); border-color: var(--c-brand); color: var(--c-ink-900); }
#city-content .btn-primary:hover { background: var(--c-brand-300); border-color: var(--c-brand-300); color: var(--c-ink-900); }
#city-content .btn-primary::after { content: "\f138"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: var(--radius-pill); background: var(--c-ink-900); color: var(--c-brand); font-family: "bootstrap-icons"; font-size: 18px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease-out); }
#city-content .btn-primary:hover::after { transform: translateX(3px); }
.surface-brand .btn-primary, #city-content .surface-brand .btn-primary { background: var(--c-ink-900); border-color: var(--c-ink-900); color: var(--c-brand); }
#city-content .surface-brand .btn-primary:hover { background: var(--c-ink-700); border-color: var(--c-ink-700); color: var(--c-brand-300); }
#city-content .surface-brand .btn-primary::after { background: var(--c-brand); color: var(--c-ink-900); }
/* every other action: outlined pill in the surface's heading colour */
#city-content .btn-outline-primary, #city-content .btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--heading); }

/* visible keyboard focus everywhere on the page (the site removes outlines) */
body :is(a, button, .btn, summary, input, select, textarea):focus-visible, body .navbar .navbar-nav .nav-link:focus-visible { outline: 3px solid var(--focus, var(--c-ink-900)); outline-offset: 3px; }
#city-mobile-bar :is(a, button):focus-visible { outline-offset: -4px; }
body .offer-banner .book-demo:focus-visible, global-header .bg-dark a:focus-visible { outline-color: #fff; }
.city-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; padding: 10px 14px; border-radius: var(--radius-pill); background: #fff; color: var(--c-ink-900); font-weight: 600; }
.city-skip:focus { left: 8px; }

/* ---- Offer strip (site-wide markup): static, one line, navy with a teal button ---- */
body .offer-banner { min-height: 0; padding: 8px 24px; align-items: center; justify-content: center; gap: 16px; background: var(--c-ink-900); }
body .offer-banner .scrolling-text { animation: none !important; flex-grow: 0; transform: none !important; }
body .offer-banner .scrolling-text > div { display: flex; align-items: center; gap: 4px; font-family: inherit !important; color: #fff; }
body .offer-banner .book-demo { animation: none !important; margin-top: 0; border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-ink-900); }

/* ---- Hero: full-bleed photo, giant condensed heading, flight-path arc ---- */
.city-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, calc(100vh - 170px), 820px); min-height: clamp(560px, calc(100svh - 170px), 820px); padding: 120px 0 52px; overflow: hidden; overflow: clip; }
.city-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, center 8%); }
.city-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(12,43,75,.20) 0%, rgba(12,43,75,0) 30%, rgba(12,43,75,.10) 48%, rgba(12,43,75,.80) 74%, rgba(12,43,75,.96) 100%),
  linear-gradient(90deg, rgba(12,43,75,.45) 0%, rgba(12,43,75,0) 55%),
  linear-gradient(270deg, rgba(12,43,75,.70) 0%, rgba(12,43,75,.35) 35%, rgba(12,43,75,0) 55%); }
.city-hero > .container { width: 100%; }
.city-hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
#city-content .city-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 6.3vw, 94px); line-height: .88; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; color: #fff; }
#city-content .lead { font-size: 19px; font-weight: 400; line-height: 1.5; color: var(--text); max-width: 40ch; margin-bottom: 18px; }
#city-content .city-hero .lead { color: #fff; text-shadow: 0 1px 2px rgba(12,43,75,.85), 0 0 18px rgba(12,43,75,.7); }
#city-content .nowrap { white-space: nowrap; }
/* the Google rating sits above the heading as a pill */
#city-content .city-hero-rating { margin: 0 0 18px; }
#city-content a.city-rating:not(.btn) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: rgba(12,43,75,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; }
#city-content a.city-rating:not(.btn):hover { text-decoration: underline; }
.city-rating .stars, .city-rating-card .stars { color: var(--star); letter-spacing: 1px; }
.city-hero .city-rating .stars { color: var(--c-brand-300); }
.city-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0 0 22px; }
#city-content .city-next-batch { display: inline-flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-weight: 600; color: #fff; }
#city-content .city-next-batch i { color: var(--c-brand-300); font-size: 18px; line-height: 1.4; }
.city-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#city-content a.city-cta-call:not(.btn) { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
/* flight-path arc: drawn once on load; the plane rides it (see js/city.js) */
.city-arc { position: absolute; z-index: -1; right: 2%; top: 4%; width: min(40vw, 560px); height: auto; overflow: visible; pointer-events: none; -webkit-mask-image: linear-gradient(200deg, #000 45%, transparent 85%); mask-image: linear-gradient(200deg, #000 45%, transparent 85%); }
.city-arc .arc-line { fill: none; stroke: var(--c-brand-300); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 12; }
.city-arc .arc-mask { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 0; }
.city-arc .arc-dot { fill: var(--c-brand-300); }
.city-arc .arc-plane { visibility: hidden; fill: var(--c-brand-300); font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 26px; }
.city-arc.is-flying .arc-plane { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .city-arc .arc-mask { stroke-dashoffset: 1; animation: city-arc-draw 2.2s .3s var(--ease-out) forwards; }
  .city-hero h1, .city-hero .lead, .city-hero .city-hero-meta, .city-hero .city-cta, .city-hero .city-hero-rating { animation: city-rise .9s var(--ease-out) both; }
  .city-hero .city-hero-rating { animation-delay: .05s; }
  .city-hero h1 { animation-delay: .12s; }
  .city-hero .lead { animation-delay: .24s; }
  .city-hero .city-hero-meta { animation-delay: .32s; }
  .city-hero .city-cta { animation-delay: .4s; }
}
@keyframes city-arc-draw { to { stroke-dashoffset: 0; } }
@keyframes city-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- Jump row under the hero: ink bar that stays at the top while you scroll ---- */
.city-jump { position: sticky; top: 0; z-index: 1010; background: var(--c-ink-900); border-bottom: 1px solid #1d4268; }
.city-jump-in { display: flex; align-items: center; gap: 12px; }
.city-jump ul { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.city-jump ul::-webkit-scrollbar { display: none; }
#city-content .city-jump li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #2f5680; border-radius: var(--radius-pill); white-space: nowrap; font-size: 15px; font-weight: 600; text-decoration: none; color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
#city-content .city-jump li a:focus-visible { outline-color: var(--c-brand-300); outline-offset: -2px; }
#city-content .city-jump li a.is-current { background: #fff; border-color: #fff; color: var(--c-ink-900); }
#city-content .city-jump-cta { flex: none; min-height: 42px; padding-left: 18px; font-size: 15px; }
#city-content .city-jump-cta::after { width: 30px; height: 30px; font-size: 15px; }
/* the demo button in the jump row fades in as the hero's own buttons scroll out of view
   (browsers without scroll-driven animations simply show it all the time) */
@supports (animation-timeline: view()) and (timeline-scope: --city-hero) {
  @media (prefers-reduced-motion: no-preference) {
    #city-content { timeline-scope: --city-hero; }
    .city-hero .city-cta { view-timeline: --city-hero block; }
    #city-content .city-jump-cta { animation: city-cta-in linear both; animation-timeline: --city-hero; animation-range: exit 0% exit 100%; }
  }
}
@keyframes city-cta-in { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
/* hover colours only where there is a real pointer, so a tapped chip or button does not stay lit */
@media (hover: hover) {
  #city-content .btn-outline-primary:hover, #city-content .btn-ghost:hover { background: var(--heading); border-color: var(--heading); color: var(--surface); }
  #city-content .city-jump li a:hover { background: var(--c-ink-700); border-color: var(--c-brand-300); color: #fff; }
  #city-content .city-jump li a.is-current:hover { background: #fff; border-color: var(--c-brand-300); color: var(--c-ink-900); }
}

/* ---- Marquee band: the five subjects, one line that keeps moving (decoration) ---- */
.city-marquee { overflow: hidden; padding: 18px 0; border-block: 2px solid var(--c-ink-900); }
.city-marquee-track { display: flex; width: max-content; }
.city-marquee-track > span { display: flex; align-items: center; flex: none; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1; text-transform: uppercase; color: var(--c-ink-900); white-space: nowrap; }
.city-marquee-track i { display: inline-block; margin: 0 .45em; font-size: .55em; transform: rotate(-12deg); }
.city-marquee { position: relative; }
.city-marquee-toggle { display: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 1; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--c-ink-900); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-ink-900); font-size: 20px; line-height: 1; cursor: pointer; }
.city-js .city-marquee-toggle { display: inline-flex; }
.city-marquee-toggle:hover { background: var(--c-ink-900); color: var(--c-brand); }
@media (prefers-reduced-motion: no-preference) {
  .city-marquee-track { animation: city-marquee 42s linear infinite; }
  .city-marquee:hover .city-marquee-track, .city-marquee.is-paused .city-marquee-track { animation-play-state: paused; }
}
@keyframes city-marquee { to { transform: translateX(-50%); } }

/* ---- Cards ---- */
.city-card { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 24px 24px 12px; transition: border-color .2s, translate .3s var(--ease-out), box-shadow .3s var(--ease-out); }
#city-content .city-card h3 { font-size: 21px; margin-bottom: 8px; }
#city-content .city-card p { flex: 1; margin-bottom: 4px; }
.city-card .city-more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-panel); }
@media (hover: hover) {
  .city-card:hover { translate: 0 -3px; border-color: var(--heading); box-shadow: 0 16px 32px -20px rgba(12, 43, 75, .45); }
}
.city-card:focus-within { border-color: var(--heading); }
/* the teal tile in a grid */
.city-card.tinted { --text: var(--c-ink-800); --heading: var(--c-ink-900); --link: var(--c-ink-900); --link-hover: var(--c-ink-700); --line: var(--c-brand); --focus: var(--c-ink-900); background: var(--c-brand); }

/* Courses: one feature tile with a photo (dark), five smaller tiles; 3 x 3 cells, no gaps */
.city-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.city-bento .feature { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; }
.city-bento .feature img { width: 100%; height: 280px; object-fit: cover; display: block; }
.city-bento .feature .city-card-body { padding: 24px 28px 12px; display: flex; flex-direction: column; flex: 1; }
#city-content .city-bento .feature h3 { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: .9; letter-spacing: 0; text-transform: uppercase; }
/* Subjects: 3 on top, 2 below, no gaps */
.city-five { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.city-five > * { grid-column: span 2; }
.city-five > :nth-child(n+4) { grid-column: span 3; }

/* ---- Next-step row after a section (demo + WhatsApp, optional link) ---- */
.city-next { margin-top: 28px; }
.city-next .city-more { margin-left: 8px; }

/* ---- Why us: big figures, then six advantages ---- */
.city-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 40px; }
.city-adv > * { display: flex; gap: 16px; align-items: flex-start; }
.city-adv i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--icon-bg); color: var(--icon); font-size: 21px; }
#city-content .city-adv h3 { font-size: 19px; margin: 2px 0 4px; }
#city-content .city-adv p { margin: 0; }
/* "How we prepare": the same pattern without headings; the instructor line spans the row */
.city-adv.prep { grid-template-columns: repeat(3, 1fr); margin: 4px 0 0; padding: 0; list-style: none; }
.city-adv.prep > .wide { align-items: center; grid-column: 1 / -1; padding: 20px 24px; border-radius: var(--radius-panel); background: var(--c-brand); }
#city-content .city-adv.prep > .wide p { color: var(--c-ink-900); font-weight: 500; }
.city-adv.prep > .wide i { background: var(--c-ink-900); color: var(--c-brand); }

/* ---- Location and access ---- */
.city-access { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 24px; }
.city-access > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 20px 22px; }
.city-access i { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--icon-bg); color: var(--icon); font-size: 18px; }
#city-content .city-access h3 { font-size: 19px; margin: 0 0 4px; }
#city-content .city-access p { margin: 0; }

/* ---- Batches as a departures board (a dark panel on the light section) ---- */
.city-board { overflow-x: auto; border-radius: var(--radius-panel); background: var(--surface); }
.city-batches { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; }
.city-batches th, .city-batches td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.city-batches tr:last-child td { border-bottom: 0; }
#city-content .city-batches th { padding: 12px 20px; background: var(--surface-sunken); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#city-content .city-batches td:first-child a { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--heading); text-decoration: none; }
#city-content .city-batches td:first-child a:hover { text-decoration: underline; }
#city-content .city-batches :is(td[data-label="Duration"], td[data-label="Daily slot"]) { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: var(--heading); font-variant-numeric: tabular-nums; }
#city-content .city-batches td[data-label="Next start"] { font-weight: 600; color: var(--c-brand-300); }
.surface-brand .city-batches td[data-label="Next start"], :not(.surface-inverse) > .container .city-batches td[data-label="Next start"] { color: var(--heading); }
.surface-inverse .city-batches td[data-label="Next start"] { color: var(--c-brand-300) !important; }
.city-batches td:last-child { text-align: right; white-space: nowrap; }
#city-content .city-batches td .city-more + .city-more { margin-left: .9rem; }
#city-content #batches .container > p { margin-top: 14px; font-size: 15px; }

/* ---- Fees: our fee as the teal hero tile, flying and other costs beside it ---- */
.city-feegrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.city-feegrid.two { grid-template-columns: 1.3fr 1fr; }
#city-content .city-feegrid h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
#city-content .fee-amount { white-space: nowrap; font-family: var(--font-display); font-size: 58px; font-weight: 800; line-height: .95; letter-spacing: 0; color: var(--heading); margin: 6px 0 10px; }
#city-content .fee-amount span { display: inline; font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.fee-hero { grid-row: span 2; display: flex; flex-direction: column; border-radius: var(--radius-panel); padding: 30px; background: var(--surface); }
.city-feegrid.two .fee-hero { grid-row: auto; }
#city-content .fee-hero .fee-amount { font-size: clamp(76px, 8vw, 104px); margin: 6px 0 12px; }
#city-content .fee-hero .fee-amount span { font-size: 20px; }
#city-content .fee-save { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 22px; padding: 14px 0 0; border-top: 2px solid var(--c-ink-900); line-height: 1.4; font-weight: 700; font-size: 16px; color: var(--c-ink-900); }
#city-content .fee-save i { color: var(--c-ink-900); font-size: 18px; }
#city-content .fee-hero .btn { align-self: flex-start; margin-top: auto; background: transparent; border-color: var(--c-ink-900); color: var(--c-ink-900); }
#city-content .fee-hero .btn:hover { background: var(--c-ink-900); color: var(--c-brand); }
.fee-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 24px 26px; }
.fee-card p:last-child, .fee-hero p:last-of-type { margin-bottom: 0; }
.city-feegrid.two .fee-card { display: flex; flex-direction: column; justify-content: center; }
.fee-extra { grid-column: 2 / span 2; background: var(--c-ink-900); border-radius: var(--radius-panel); padding: 24px 26px; }
#city-content .fee-extra h3 { color: #fff; }
.fee-extra dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 6px 0 0; }
#city-content .fee-extra dt { font-weight: 400; color: var(--c-slate-300); font-size: 15px; }
#city-content .fee-extra dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: #fff; }

/* ---- Why us: four figures as big condensed numbers ---- */
.city-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.city-stats > div { display: flex; flex-direction: column; justify-content: flex-start; padding: 22px 20px 22px 0; font-size: 16px; line-height: 1.35; color: var(--text); }
.city-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.city-stats strong { display: block; font-family: var(--font-display); font-size: clamp(72px, 8vw, 112px); font-weight: 800; line-height: .85; letter-spacing: 0; color: var(--c-brand-300); margin-bottom: 8px; }
:not(.surface-inverse) > .container > .city-stats strong { color: var(--heading); }

/* ---- Campus: one large photo, details and two small photos beside it ---- */
.city-campus { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: stretch; }
.city-campus-main { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-panel); display: block; }
.city-campus-side { display: flex; flex-direction: column; align-items: flex-start; }
#city-content .city-campus-side > p:first-child { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; color: var(--heading); }
.city-campus-side .btn { margin: 6px 0 22px; }
.city-campus-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: auto; }
.city-campus-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-panel); display: block; }
.city-map { width: 100%; height: 340px; border: 0; border-radius: var(--radius-panel); display: block; margin-top: 16px; }

/* ---- Reviews: big score on the dark band, quotes in a row beneath it ---- */
.city-reviews { display: grid; gap: 24px; }
.city-rating-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.city-rating-card .score { font-family: var(--font-display); font-size: clamp(110px, 12vw, 168px); font-weight: 800; line-height: .8; letter-spacing: 0; color: var(--c-brand-300); }
.city-rating-card .stars { display: block; font-size: 22px; line-height: 1.2; letter-spacing: 3px; }
#city-content .city-rating-text p { margin: 4px 0 0; font-size: 18px; color: var(--heading); }
#city-content .city-rating-card .city-more { margin-left: auto; }
.city-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
/* markup for each quote: <figure class="city-quote"><blockquote>…</blockquote><figcaption><strong>Name</strong>Course, batch</figcaption></figure> */
.city-quote { display: flex; flex-direction: column; margin: 0; padding: 24px 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.city-quote blockquote { flex: 1; margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: var(--heading); }
.city-quote figcaption { font-size: 14px; color: var(--muted); }
.city-quote figcaption strong { display: block; color: var(--heading); }

/* ---- FAQ as tap-to-open questions (answers stay in the page) ---- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; content: "+" / ""; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-pill); border: 2px solid var(--heading); font-size: 22px; line-height: 1; color: var(--heading); transition: background-color .2s, color .2s, transform .3s var(--ease-out); }
.faq-item[open] summary::after { content: "\2212"; content: "\2212" / ""; background: var(--c-brand); border-color: var(--c-brand); color: var(--c-ink-900); }
#city-content .faq-item summary:hover .faq-q { color: var(--link); }
#city-content .faq-item .faq-q { margin: 0; font-size: 19px; line-height: 1.35; transition: color .2s; }
#city-content .faq-item p { margin: 0 0 20px; padding-right: 52px; }

/* ---- Closing contact band (teal) ---- */
.city-contact { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
#city-content .city-contact p { margin: 0 0 6px; max-width: 46ch; }
#city-content .city-contact-addr { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; color: var(--heading); }
.city-contact .city-cta { flex-direction: column; align-items: stretch; min-width: 280px; }
.city-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 8px 0 0; padding: 0; list-style: none; }
#contact h2 { max-width: 16ch; font-size: clamp(40px, 5.2vw, 72px); }

/* ---- Enquiry form (site-wide markup): continues the closing band ---- */
#enquiry { background: var(--c-ink-900); padding-top: 8px; padding-bottom: 80px; font-size: 16px; scroll-margin-top: calc(var(--city-jump-h) + 12px); }
#enquiry > .container { margin-top: 72px !important; margin-bottom: 0 !important; }
#enquiry .form-classes { width: 100%; max-width: 880px; margin: 0 auto; visibility: visible !important; animation: none !important; }
#enquiry .imPart-bg { padding: 40px !important; background: #fff; border: 0; border-radius: var(--radius-panel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
#enquiry .imPart-bg > a:first-child { display: none; }
#enquiry h5 { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: .9; letter-spacing: 0; text-transform: uppercase; color: var(--c-ink-900); margin-bottom: 28px !important; }
#enquiry .form-control, #enquiry .form-select { border: 1.5px solid #8a9aab !important; border-radius: 12px !important; background-color: #fff !important; color: var(--c-ink-900); }
#enquiry .form-control:focus, #enquiry .form-select:focus { border-color: var(--c-ink-900) !important; box-shadow: 0 0 0 3px var(--c-brand-100) !important; }
#enquiry .form-floating > label, #enquiry .form-label { color: var(--c-slate-500); }
#enquiry .form-label { display: block; margin: 8px 0 12px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--c-ink-900); }
/* subject checkboxes as tap chips: the real checkbox stays (keyboard and screen readers) */
#enquiry .col-sm-12:has(> .form-check) { display: flex; flex-wrap: wrap; gap: 10px; }
#enquiry .col-sm-12:has(> .form-check) > .form-label { flex: 0 0 100%; }
#enquiry .form-check { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 18px 0 14px; border: 1.5px solid #c3ced8; border-radius: var(--radius-pill); background: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
#enquiry .form-check .form-check-input { float: none; flex: none; width: 20px; height: 20px; margin: 0; cursor: pointer; }
#enquiry .form-check .form-check-label { padding: 12px 0; font-weight: 600; color: var(--c-ink-900); cursor: pointer; }
#enquiry .form-check:has(:checked) { background: var(--c-brand-100); border-color: var(--c-brand-700); }
#enquiry .form-check:has(:focus-visible) { outline: 3px solid var(--c-ink-900); outline-offset: 2px; }
#enquiry .form-check-input { border-color: var(--bs-secondary); }
#enquiry .form-floating > label { opacity: 1 !important; }
/* the site pads this one select so much that its value disappears */
#enquiry #compNo { height: calc(3.5rem + 2px); padding-top: 1.625rem; padding-bottom: .625rem; }
#enquiry .form-check-input:checked { background-color: var(--c-brand-700); border-color: var(--c-brand-700); }
#enquiry #form-submit-btn { width: 100%; max-width: none; min-height: 56px; margin-top: 8px; border-radius: var(--radius-pill); background: var(--c-ink-900); border-color: var(--c-ink-900); color: #fff; font-size: 17px; font-weight: 600; text-transform: none; }
#enquiry #form-submit-btn:hover { background: var(--c-ink-700); border-color: var(--c-ink-700); }

/* ---- Site header on the city pages: navy top bar, bold nav, teal pill ---- */
global-header .bg-dark { background-color: var(--c-ink-900) !important; }
global-header .bg-dark small, global-header .bg-dark a { color: var(--c-slate-200) !important; }
global-header .bg-dark .text-primary { color: var(--c-brand-300) !important; }
global-header .bg-dark .border-secondary { border-color: #234b74 !important; }
global-header .navbar { border-bottom: 1px solid var(--c-slate-100); }
global-header .navbar .navbar-nav .nav-link { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--c-ink-900); }
global-header .navbar .navbar-nav .nav-link:hover, global-header .navbar .navbar-nav .nav-link:focus-visible { color: var(--c-ink-900); text-decoration: underline; text-decoration-color: var(--c-brand); text-decoration-thickness: 3px; text-underline-offset: 8px; }
global-header .dropdown-menu a { color: var(--c-ink-900); }
/* Enquiry: brand teal pill with navy text (white on this teal is only 2.8:1) */
global-header a.button-enquiry, global-header a.button-enquiry:hover, global-header a.button-enquiry:focus { background-color: var(--c-brand); border: 0; color: var(--c-ink-900); font-family: var(--font-head); font-weight: 800; min-height: 48px; }
global-header a.button-enquiry:hover { background-color: var(--c-brand-300); }
global-header #svgContainer, global-header #svgContainer path, global-header #svgContainer path:hover { fill: var(--c-ink-900); }

/* ---- Site footer on the city pages: navy, big wordmark, no airport drawing ---- */
global-footer .new_footer_area { background: var(--c-ink-900); }
global-footer .new_footer_top { padding: 88px 0 56px; background: var(--c-ink-900); }
global-footer .new_footer_top .footer_bg { display: none; }
global-footer .new_footer_top .f-title, global-footer .new_footer_top h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--c-brand-300); margin-bottom: 18px; }
global-footer .new_footer_top .company_widget p, global-footer .new_footer_top .company_widget p a { color: var(--c-slate-200); font-weight: 400; }
global-footer .new_footer_top .company_widget p a { display: block; margin-top: 8px; }
global-footer .new_footer_top .company_widget p a:hover { color: #fff; }
global-footer .new_footer_top .f_widget.about-widget .f_list li a { color: var(--c-slate-200); font-weight: 400; }
global-footer .new_footer_top .f_widget.about-widget .f_list li a:hover { color: #fff; letter-spacing: 0; text-decoration: underline; text-decoration-color: var(--c-brand-300); text-underline-offset: 4px; }
global-footer .new_footer_top .f_social_icon a { border-color: #2f5680; color: #fff; background: transparent; font-size: 20px; }
global-footer .new_footer_top .f_social_icon a:hover { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-ink-900); }
global-footer .new_footer_top i { color: var(--c-brand-300); }
/* the big wordmark and the brand line from the logo (decoration; hidden from screen readers) */
/* the footer columns show at once (the site fades them in, which can leave them blank) */
global-footer .new_footer_top .wow { visibility: visible !important; animation: none !important; opacity: 1 !important; }
global-footer .new_footer_top .row::after { content: "ADynamics" / ""; display: block; flex: 0 0 100%; margin-top: 64px; padding: 32px calc(var(--bs-gutter-x, 1.5rem) * .5) 0; border-top: 1px solid #234b74; font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 17vw, 260px); line-height: .8; letter-spacing: -0.005em; text-transform: uppercase; color: var(--c-brand); }
global-footer .new_footer_top .container::after { content: "Making Better Pilots" / ""; display: block; margin: 18px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-slate-200); }
@media (max-width: 767.98px) {
  global-footer .new_footer_top { padding: 56px 0 40px; }
  global-footer .new_footer_top .f_widget { margin-bottom: 32px; }
  global-footer .new_footer_top .row::after { margin-top: 40px; font-size: 24vw; }
  global-footer .new_footer_top .container::after { font-size: 14px; letter-spacing: .14em; }
}

/* ---- Demo booking panel (site-wide markup): its buttons in navy ---- */
body .demo-booking-section #nextDemo, body .demo-booking-section #demoBook, body .demo-booking-section .demo-booking-section-close { background-color: var(--c-ink-900); border-color: var(--c-ink-900); }

/* ---- Reveal on scroll (js/city.js adds .city-js to <html>; without it nothing is hidden) ---- */
@media (prefers-reduced-motion: no-preference) {
  .city-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .city-js [data-reveal].is-in { opacity: 1; transform: none; }
  .city-js .city-card.is-in { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .2s, translate .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .city-js .city-card.is-in:hover { transition-delay: 0s; }
}
@media print {
  .city-js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .city-marquee, .city-arc, .city-ghost, #city-mobile-bar { display: none !important; }
}

/* ---- Bottom bar (shown up to 991px, see below) ---- */
#city-mobile-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body .book-demo, body .scrolling-text { animation: none !important; }
  .city-card, #city-content .btn, #city-content .btn-primary::after, #city-content .city-jump li a, .faq-item summary::after, #city-content .faq-item .faq-q { transition: none; }
}

/* ---- Desktop only ---- */
@media (min-width: 992px) {
  .city-section { padding: 96px 0; }
  /* FAQ: heading on the left, questions on the right */
  #faq .container { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); column-gap: 64px; align-items: start; }
  #faq h2 { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: calc(var(--city-jump-h) + 24px); margin-bottom: 0; }
  #faq .faq-item { grid-column: 2; max-width: none; }
}
/* small laptops and tablets held sideways: the site's floating buttons would sit on the cards */
@media (min-width: 992px) and (max-width: 1279.98px) {
  body .float-contact { display: none; }
}
/* small desktops: all the jump links fit beside the demo button, and the form lines up with the panel above */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .city-jump ul { gap: 4px; }
  #city-content .city-jump li a { padding: 0 11px; }
  #enquiry .form-classes { max-width: none; }
}

/* ---- Tablet and phone: bottom bar, two-column layouts ---- */
@media (max-width: 991.98px) {
  :root { --city-jump-h: 57px; }
  .city-hero { min-height: clamp(520px, 78vh, 720px); min-height: clamp(520px, 78svh, 720px); padding: 96px 0 36px; }
  .city-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .city-arc { width: 92vw; top: 6%; }
  #city-content .lead { max-width: 56ch; }
  #city-content .city-jump-cta { display: none; }
  /* the chip row runs to both screen edges, so a cut-off chip shows there is more to swipe */
  .city-jump-in { padding-left: 0; padding-right: 0; }
  .city-jump ul { padding: 6px 15px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); }
  #city-content .city-jump li a { min-height: 44px; }
  .faq-item { max-width: none; }
  .city-bento { grid-template-columns: 1fr 1fr; }
  .city-bento .feature { grid-column: 1 / -1; grid-row: auto; }
  .city-bento > :last-child { grid-column: 1 / -1; }
  .city-five { grid-template-columns: 1fr 1fr; }
  .city-five > *, .city-five > :nth-child(n+4) { grid-column: auto; }
  .city-five > :last-child { grid-column: 1 / -1; }
  .city-stats { grid-template-columns: 1fr 1fr; }
  .city-stats > div + div { padding-left: 20px; }
  .city-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .city-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .city-feegrid { grid-template-columns: 1fr 1fr; }
  .city-feegrid.two { grid-template-columns: 1fr; }
  .fee-hero { grid-column: 1 / -1; grid-row: auto; }
  .fee-extra { grid-column: 1 / -1; }
  .city-contact { grid-template-columns: 1fr; }
  .city-contact .city-cta { flex-direction: row; min-width: 0; }
  #city-content .city-contact .city-cta .btn[href*="wa.me"] { display: none; }
  .city-adv.prep { grid-template-columns: 1fr; }
  /* the bar below already offers the demo, a call and WhatsApp on every screen */
  #city-content .city-next .btn { display: none; }
  .city-next { margin-top: 0; }
  #city-content .city-next .city-more { margin: 14px 0 0; }
  #city-content a.city-cta-call:not(.btn) { display: none; }
  body .float-contact { display: none; }
  #city-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--c-ink-900); border-top: 1px solid #1d4268; }
  #city-mobile-bar a, #city-mobile-bar button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0; font-weight: 600; font-size: 15px; border: 0; background: var(--c-ink-900); color: #fff; text-decoration: none; }
  #city-mobile-bar button { background: var(--c-brand); color: var(--c-ink-900); }
  #city-mobile-bar a + a { border-left: 1px solid #1d4268; }
  #city-mobile-bar :is(a, button):focus-visible { outline-color: var(--c-brand-300); }
  #city-mobile-bar button:focus-visible { outline-color: var(--c-ink-900); }
  body { padding-bottom: 57px; }
  html { scroll-padding-bottom: 72px; }
  /* Batch table becomes one card per subject, on the dark board */
  .city-board { padding: 10px 10px 0; overflow: visible; }
  .city-batches, .city-batches tbody, .city-batches tr, .city-batches td { display: block; width: 100%; }
  .city-batches { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .city-batches tr:first-child { display: none; }
  .city-batches tr { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 16px 20px; margin-bottom: 12px; }
  .city-batches td, .city-batches tr:last-child td { border: 0; padding: 0; }
  .city-batches td:last-child { text-align: left; }
  #city-content .city-batches td:first-child a { display: inline-block; padding: 8px 0; font-size: 20px; }
  /* enquiry form: finger-sized checkbox rows on touch screens */
  #enquiry .form-check-label { font-size: 16px; }
}

/* ---- Tablet only: each batch card is one row of labelled columns ---- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .city-batches tr { display: grid; grid-template-columns: 110px 160px minmax(0, 1fr); column-gap: 24px; align-items: end; }
  .city-batches td[data-label="Daily slot"] { white-space: nowrap; }
  .city-batches td:last-child { grid-column: 1 / -1; white-space: normal; }
  #city-content .city-batches td:last-child a.city-more:not(.btn) { padding: 12px 0 0; }
  .city-rating-text { flex: 1 1 200px; min-width: 0; }
  .city-batches td:first-child { grid-column: 1 / -1; }
  #city-content .city-batches td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); }
  .city-batches td:last-child { text-align: left; }
}

/* ---- Phone ---- */
@media (max-width: 767.98px) {
  body .offer-banner { display: none; }
  .city-section { padding: 56px 0; }
  .city-hero { min-height: 0; padding: 72px 0 28px; }
  .city-hero-meta { margin-bottom: 12px; }
  .city-hero-bg { object-position: var(--hero-focus-phone, center 20%); }
  .city-hero::before { background: linear-gradient(180deg, rgba(12,43,75,.15) 0%, rgba(12,43,75,.35) 28%, rgba(12,43,75,.9) 52%, rgba(12,43,75,.98) 100%); }
  #city-content .city-hero h1 { font-size: clamp(50px, 14vw, 68px); }
  #city-content .lead { font-size: 18px; }
  .city-hero-meta { margin-bottom: 16px; }
  .city-hero .city-cta .btn { flex: 1 1 100%; }
  .city-arc { top: 4%; width: 110vw; right: -6vw; }
  #city-content h2 { font-size: 34px; }
  #contact h2 { font-size: 44px; }
  #city-content .city-ghost { top: 10px; font-size: 24vw; }
  .city-campus { grid-template-columns: 1fr; gap: 20px; }
  .city-campus-main { height: auto; }
  .city-bento, .city-five, .city-adv, .city-access, .city-feegrid, .fee-extra dl { grid-template-columns: 1fr; }
  .city-bento, .city-five { gap: 12px; }
  .city-bento > :last-child, .city-five > :last-child { grid-column: auto; }
  .city-bento .feature img { height: 190px; }
  #city-content .city-bento .feature h3 { font-size: 40px; }
  .city-bento .feature .city-card-body { padding: 20px 20px 10px; }
  .city-card { padding: 20px 20px 10px; }
  .fee-hero { padding: 26px 22px; }
  #city-content .fee-hero .fee-amount { font-size: 80px; }
  .city-stats > div { padding: 18px 12px 18px 0; font-size: 15px; }
  .city-stats > div + div { padding-left: 14px; }
  .city-stats strong { font-size: 68px; }
  .city-rating-card { gap: 4px 18px; }
  .city-rating-text { flex: 1 1 0; min-width: 0; }
  .city-rating-card .score { font-size: 112px; }
  #city-content .city-rating-card .city-more { margin-left: 0; flex-basis: 100%; }
  .city-contact .city-cta .btn { flex: 1 1 100%; }
  #city-content .faq-item p { padding-right: 0; }
  .city-map { height: 260px; }
  .city-marquee { padding: 12px 0; }
  /* batch cards: "7 weeks · 9 AM–1 PM" on one line, then the next start and the link */
  .city-batches tr { display: flex; flex-wrap: wrap; align-items: baseline; }
  .city-batches td { width: auto; }
  .city-batches td:first-child, .city-batches td:nth-child(4), .city-batches td:last-child { flex: 0 0 100%; }
  #city-content .city-batches td[data-label="Daily slot"]::before { content: "\00b7"; margin: 0 8px; }
  #city-content .city-batches td[data-label="Next start"]::before { content: attr(data-label) ": "; font-weight: 400; color: var(--muted); }
  #city-content .city-batches td[data-label="Next start"] { margin-top: 4px; }
  #enquiry { padding-bottom: 48px; }
  #enquiry .imPart-bg { padding: 26px 18px !important; }
  #enquiry h5 { font-size: 42px; }
  #enquiry > .container { margin-top: 48px !important; }
  #enquiry .form-label, #enquiry .form-floating > label { font-size: 15px; }
  #enquiry .row > .col-sm-6 { flex: 0 0 100%; width: 100%; }
}

/* ---- Phone held sideways: the jump row scrolls away so two fixed bars do not eat the screen ---- */
@media (max-height: 480px) and (max-width: 991.98px) {
  :root { --city-jump-h: 0px; }
  .city-jump { position: static; }
  .city-hero { min-height: 0; }
}
