/* ==========================================================================
   EduSerwis sp. z o.o. — shared design system
   ========================================================================== */

:root {
  --navy-950: #060c1a;
  --navy-900: #0b1730;
  --navy-800: #13234a;
  --navy-700: #1c3163;
  --navy-600: #274180;
  --blue-500: #3b63c9;
  --blue-400: #5c85e6;
  --amber-500: #f2994a;
  --amber-400: #f7b46c;
  --teal-500: #2cb1a3;
  --ink-900: #14181f;
  --ink-700: #3a4150;
  --ink-500: #636b7a;
  --ink-300: #98a1b0;
  --paper-0: #ffffff;
  --paper-50: #f6f8fc;
  --paper-100: #eef1f8;
  --paper-200: #e2e7f2;
  --line: #e1e6f0;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(11, 23, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 23, 48, 0.10);
  --shadow-lg: 0 24px 64px rgba(11, 23, 48, 0.16);

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-700); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--paper { background: var(--paper-50); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800) 65%, var(--navy-700));
  color: #fff;
}
.section--navy h2, .section--navy h3, .section--navy p { color: #fff; }
.section--navy .eyebrow { color: var(--amber-400); }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(242, 153, 74, 0.35);
}
.btn-primary:hover { background: var(--amber-400); }
.btn-ghost-light {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline {
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.86rem; }

/* Header -------------------------------------------------------------------*/
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__info a { color: rgba(255,255,255,0.85); }
.topbar__info a:hover { color: var(--amber-400); }
.topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info svg { width: 14px; height: 14px; flex: none; }

.lang-switch { display: flex; align-items: center; gap: 10px; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.65;
  transition: opacity 0.15s ease;
  font-weight: 600;
}
.lang-switch a img { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.2); }
.lang-switch a.is-active, .lang-switch a:hover { opacity: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-800), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  flex: none;
  object-fit: contain;
  padding: 4px;
}
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy-900); line-height: 1.1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--ink-500); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-700);
  position: relative;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy-900); background: var(--paper-100); }
.main-nav .has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: var(--radius-sm); }
.dropdown a span.sub { font-weight: 400; font-size: 0.8rem; color: var(--ink-500); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.mobile-nav { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  width: 18px; height: 2px; background: var(--navy-900);
  display: block; position: relative; transition: all 0.2s ease;
}
.nav-toggle::before { transform: translateY(-6px); position: absolute; }
.nav-toggle::after { transform: translateY(6px); position: absolute; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open::before { transform: rotate(45deg); }
.nav-toggle.is-open::after { transform: rotate(-45deg); }

/* Hero --------------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(59,99,201,0.35), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(242,153,74,0.18), transparent 40%),
              linear-gradient(165deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: #fff;
  padding: 84px 0 96px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero__lede { font-size: 1.14rem; color: rgba(255,255,255,0.82); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
.hero__badges div { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.75); }
.hero__badges svg { width: 20px; height: 20px; color: var(--amber-400); flex: none; }

.hero__panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero__panel h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hero__panel ul { display: flex; flex-direction: column; gap: 14px; }
.hero__panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: rgba(255,255,255,0.85); }
.hero__panel svg { width: 22px; height: 22px; color: var(--amber-400); flex: none; margin-top: 1px; }

.hero--sub { padding: 64px 0 76px; }

.hero-banner { margin-top: -56px; position: relative; z-index: 5; }
.hero-banner img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .hero-banner { margin-top: -32px; }
}
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: var(--amber-400); }

/* Trust bar ----------------------------------------------------------------*/
.trustbar { background: var(--paper-0); border-bottom: 1px solid var(--line); }
.trustbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.trustbar__item { display: flex; align-items: center; gap: 14px; }
.trustbar__item svg { width: 30px; height: 30px; color: var(--blue-500); flex: none; }
.trustbar__item strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy-900); }
.trustbar__item span { font-size: 0.82rem; color: var(--ink-500); }

/* Cards ---------------------------------------------------------------------*/
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.offer-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--paper-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--blue-500);
}
.offer-card__icon svg { width: 28px; height: 28px; }
.offer-card ul.mini-list { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.offer-card ul.mini-list li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--ink-700); }
.offer-card ul.mini-list svg { width: 16px; height: 16px; color: var(--teal-500); flex: none; margin-top: 3px; }
.offer-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); }
.offer-card__link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.offer-card:hover .offer-card__link svg { transform: translateX(4px); }
.offer-card--tag { position: relative; }
.offer-card__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--amber-500); color: var(--navy-950);
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  padding: 6px 14px; border-radius: 999px;
}

/* Inline booking panel (desktop) -----------------------------------------------*/
.offer-booking-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.booking-panel-slot:empty { display: none; }
.booking-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); position: sticky; top: 24px;
}
.booking-panel h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #12193a; }
@keyframes booking-panel-flash {
  0%, 100% { box-shadow: var(--shadow-sm); border-color: var(--line); }
  25%, 75% { box-shadow: 0 0 0 4px rgba(240,136,62,0.35), var(--shadow-sm); border-color: #f0883e; }
}
.booking-panel.is-flashing { animation: booking-panel-flash 1.2s ease; }
@media (min-width: 981px) {
  .offer-booking-grid { grid-template-columns: 1fr 1fr; }
}

/* Icon list (co zyskasz / zakres) ------------------------------------------*/
.icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.icon-list__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.icon-list__item svg { width: 24px; height: 24px; color: var(--amber-500); flex: none; }
.icon-list__item strong { display: block; font-family: var(--font-head); color: var(--navy-900); margin-bottom: 4px; font-size: 0.98rem; }
.icon-list__item span { font-size: 0.89rem; color: var(--ink-500); }

/* Steps / accordion -----------------------------------------------------------*/
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.steps__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.steps__item:last-child { border-bottom: none; }
.steps__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.steps__item h3 { margin-bottom: 6px; }

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-900);
}
.accordion__trigger .num { color: var(--amber-500); margin-right: 10px; }
.accordion__icon { width: 20px; height: 20px; flex: none; transition: transform 0.2s ease; color: var(--blue-500); }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.accordion__panel-inner { padding: 0 24px 22px; color: var(--ink-700); }
.accordion__panel-inner ul { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.accordion__panel-inner li { display: flex; gap: 8px; font-size: 0.94rem; }
.accordion__panel-inner li svg { width: 16px; height: 16px; color: var(--teal-500); flex: none; margin-top: 4px; }

/* Audience grid ---------------------------------------------------------------*/
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius-md);
  background: var(--paper-50);
  border: 1px solid var(--line);
}
.audience-card svg { width: 34px; height: 34px; color: var(--blue-500); margin: 0 auto 14px; }
.audience-card strong { font-family: var(--font-head); font-size: 0.94rem; color: var(--navy-900); }

/* Stat strip -----------------------------------------------------------------*/
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--amber-400); }
.stat-strip span { font-size: 0.86rem; color: rgba(255,255,255,0.7); }

/* CTA banner -------------------------------------------------------------------*/
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--blue-500));
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { margin: 0; opacity: 0.85; max-width: 480px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Company / legal data block -----------------------------------------------------*/
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.legal-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 0; }
.legal-card dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 4px; }
.legal-card dd { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 0.98rem; }

/* Contact -----------------------------------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__row svg { width: 22px; height: 22px; color: var(--amber-500); flex: none; margin-top: 2px; }
.contact-info__row strong { display: block; font-family: var(--font-head); color: var(--navy-900); margin-bottom: 2px; }
.contact-info__row a { color: var(--blue-500); font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.84rem; font-weight: 600; color: var(--ink-700); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper-50);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.form-note { font-size: 0.8rem; color: var(--ink-500); margin-top: 12px; }
.form-feedback { font-size: 0.85rem; margin-top: 12px; min-height: 1.2em; }
.form-feedback:empty { margin-top: 0; }
.form-feedback.is-loading { color: var(--ink-500); }
.form-feedback.is-success { color: #1a9c5c; font-weight: 600; }
.form-feedback.is-error { color: #a02f22; font-weight: 600; }

/* Footer ------------------------------------------------------------------------*/
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: #fff; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--amber-400); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.5); }

/* Utility ------------------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.badge-list { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-list span {
  font-size: 0.78rem; font-weight: 600; color: var(--navy-800);
  background: var(--paper-100); padding: 6px 14px; border-radius: 999px;
}

/* Booking modal (seat-map reservation picker) -------------------------------------*/
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.booking-modal.is-open { display: flex; }
.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.62);
}
.booking-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(10, 14, 30, 0.35);
  max-height: 88vh;
  overflow-y: auto;
}
.booking-modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid #e4e7ef;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #12193a;
}
.booking-modal__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.booking-modal__eyebrow span.line { width: 20px; height: 2px; background: #f0883e; display: inline-block; }
.booking-modal__eyebrow span.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #f0883e; text-transform: uppercase; }
.booking-modal__dialog h2 { margin: 0 0 4px; font-size: 23px; font-weight: 800; color: #12193a; }
.booking-modal__dialog h3 { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: #12193a; }
.booking-modal__meta { margin: 0 0 22px; font-size: 13.5px; color: #667085; }

.booking-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.booking-tab {
  flex: 1; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px;
  font-family: inherit; cursor: pointer; background: #fff; color: #12193a; border: 1px solid #e4e7ef;
}
.booking-tab.is-active { background: #12193a; color: #fff; border-color: #12193a; }

.booking-count { margin: 0 0 14px; font-size: 13px; color: #667085; }
.booking-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; font-size: 11.5px; color: #667085; }
.booking-legend span.dot { display: flex; align-items: center; gap: 6px; }
.booking-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.booking-legend i.free { border: 2px solid #3b5bdb; }
.booking-legend i.taken { background: #eef0f4; border: 1px solid #d9dce4; }
.booking-legend i.reserved { background: #fff4e6; border: 1px solid #f0883e; }

.seatmap { position: relative; width: 100%; max-width: 460px; height: 260px; margin: 0 auto 6px; }
.seatmap__trainer { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.seatmap__trainer svg { width: 40px; height: 40px; color: #12193a; }
.seat {
  position: absolute; transform: translate(-50%, -50%);
  width: 36px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 12px; font-weight: 700;
  user-select: none; transition: 0.15s;
  background: #eef0f4; border: 1px solid #d9dce4; color: #a7abb6; cursor: not-allowed;
}
.seat.is-free { background: #fff; border: 2px solid #3b5bdb; color: #23305c; cursor: pointer; box-shadow: 0 1px 2px rgba(18,25,58,0.06); }
.seat.is-selected { background: #3b5bdb; border: 2px solid #3b5bdb; color: #fff; box-shadow: 0 4px 10px rgba(59,91,219,0.35); }
.seat.is-reserved { background: #fff4e6; border: 1px solid #f0883e; color: #b5651d; box-shadow: 0 1px 2px rgba(18,25,58,0.06); }

.seatmap-online { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 10px; width: 100%; max-width: 330px; height: 290px; margin: 0 auto 6px; align-items: center; justify-items: center; }
.seatmap-online .seatmap__trainer { position: static; transform: none; grid-row: 3; grid-column: 3; display: flex; align-items: center; justify-content: center; }
.seatmap-online .seatmap__trainer svg { width: 38px; height: 38px; }
.seatmap-online .seat { position: static; transform: none; width: 38px; height: 38px; }

.booking-selected { margin: 8px 0 18px; font-size: 13px; color: #334444; min-height: 18px; }
.booking-hint { color: #8a8f9f; }

.booking-step2-back { font-size: 13px; color: #667085; cursor: pointer; margin-bottom: 16px; display: inline-block; }
.booking-tabs.compact { margin-bottom: 20px; }
.booking-field { display: block; font-size: 13px; font-weight: 600; color: #334444; margin-bottom: 6px; }
.booking-input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #e4e7ef;
  font-size: 14px; margin-bottom: 14px; font-family: inherit;
}
.booking-input:focus { outline: none; border-color: #3b5bdb; }
.booking-notice { background: #f7f8fb; border-radius: 12px; padding: 16px; margin-top: 6px; margin-bottom: 22px; }
.booking-notice p { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #12193a; }
.booking-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #334444; margin-bottom: 10px; cursor: pointer; }
.booking-checkbox input { margin-top: 2px; }

.booking-submit {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
  background: #f0883e; color: #1a1200;
}
.booking-submit:disabled { background: #eef0f4; color: #a7abb6; cursor: not-allowed; }
.booking-step { display: none; }
.booking-step.is-active { display: block; }

.booking-loading { display: none; text-align: center; padding: 32px 0; font-size: 13px; color: #667085; }
.booking-error {
  display: none; background: #fdeceb; border: 1px solid #f3b7b0; color: #a02f22;
  border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px;
}
.booking-error.is-visible { display: block; }
.seat[data-loading] { opacity: 0.35; }
.booking-honeypot {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.booking-success { text-align: center; padding: 12px 0 4px; }
.booking-success__icon {
  width: 56px; height: 56px; border-radius: 50%; background: #eafaf1; color: #1a9c5c;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.booking-success h3 { text-align: center; }
.booking-success p { text-align: center; color: #667085; font-size: 14px; margin-bottom: 24px; }

/* Mobile ---------------------------------------------------------------------------*/
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .trustbar .container, .grid-3, .grid-4, .icon-list, .audience-grid, .stat-strip, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-card dl { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .topbar__info { display: none; }
  .grid-3, .grid-2, .grid-4, .icon-list, .audience-grid, .stat-strip, .footer-grid, .trustbar .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px; text-align: center; justify-content: center; }
  .section { padding: 60px 0; }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    z-index: 80;
    padding: 90px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a { display: block; padding: 14px 4px; font-family: var(--font-head); font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .mobile-nav .sub-link { padding-left: 18px; font-weight: 400; font-size: 0.92rem; color: rgba(255,255,255,0.7); }
  .mobile-nav__close {
    position: absolute; top: 20px; right: 24px;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center; color: #fff;
    cursor: pointer;
  }
  .mobile-nav__lang { display: flex; gap: 16px; margin-top: 24px; }
  .mobile-nav__lang img { width: 26px; height: 18px; border-radius: 3px; }
}
