/* NextGen Driving - main stylesheet */

:root {
  --ink: #0a101b;
  --ink-2: #101a2b;
  --ink-3: #172338;
  --navy: #12284a;
  --blue-deep: #1d3a6b;
  --blue: #1b7fe0;
  --cyan: #19c9f6;
  --cyan-bright: #4fdcff;
  --cyan-text: #0a74b4;
  --red: #e01b24;
  --star: #fbbc04;
  --whatsapp: #25d366;

  --light: #f3f6fb;
  --white: #ffffff;
  --line: #dfe6f0;
  --text: #283447;
  --muted: #5b6a80;
  --on-dark: #e8eef8;
  --on-dark-muted: #9fb0c8;

  --brand-gradient: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(12, 28, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 28, 56, 0.16);

  --font-display: "Exo 2", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1,
h2 {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section--light {
  background: var(--light);
}

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--flush-top {
  padding-top: 0;
}

.spaced-top {
  margin-top: 26px;
}

.spaced-top-lg {
  margin-top: 56px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.section--dark .section-head p {
  color: var(--on-dark-muted);
}

/* Small label above headings, styled after the line in the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-text);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--cyan);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(25, 201, 246, 0.3);
}

.btn--primary:hover {
  background: var(--cyan-bright);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 66px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--on-dark);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--cyan);
}

.main-nav .btn {
  margin-left: 10px;
  padding: 10px 22px;
  color: var(--ink);
}

.main-nav .btn:hover,
.main-nav .btn[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero (home) */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0 clamp(72px, 9vw, 110px);
  background:
    radial-gradient(ellipse 60% 70% at 30% 0%, rgba(27, 127, 224, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 60% at 95% 100%, rgba(25, 201, 246, 0.14), transparent 70%),
    var(--ink);
  color: var(--on-dark);
}

/* Faint dashed road markings running diagonally behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 180%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.07) 0 60px,
    transparent 60px 110px
  );
  background-size: 6px 100%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(28deg);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--on-dark-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(23, 35, 56, 0.95), rgba(13, 21, 35, 0.95));
  border: 1px solid rgba(25, 201, 246, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-card h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  color: #fff;
}

.hero-card .check-list {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card .check-list li {
  padding: 7px 0 7px 32px;
  font-size: 0.97rem;
  color: var(--on-dark);
}

.hero-card .check-list li::before {
  top: 10px;
  background-color: rgba(25, 201, 246, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319c9f6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Inner page banner */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(ellipse 55% 90% at 15% 0%, rgba(27, 127, 224, 0.3), transparent 70%),
    var(--ink);
  color: var(--on-dark-muted);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.page-hero p {
  max-width: 640px;
  font-size: 1.15rem;
  margin: 0;
}

/* Faded brand mark on the right of inner page banners */
.page-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  width: 260px;
  height: 260px;
  background: url("../images/mark.png") center / contain no-repeat;
  opacity: 0.16;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Feature cards */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(25, 201, 246, 0.16), rgba(27, 127, 224, 0.16));
  color: var(--blue);
}

.feature .icon svg {
  width: 28px;
  height: 28px;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

.section--dark .card {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section--dark .feature p {
  color: var(--on-dark-muted);
}

.section--dark .feature .icon {
  color: var(--cyan);
}

/* Package cards */

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.package__tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package h3 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 6px;
}

.package__sessions {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.package__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.package__price strong {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.package__rate {
  margin-bottom: 24px;
  color: var(--cyan-text);
  font-weight: 700;
  font-size: 0.95rem;
}

.package ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
}

.package li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 0.97rem;
}

.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(25, 201, 246, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7fe0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.package li.perk {
  font-weight: 700;
  color: var(--navy);
}

.package li.perk::before {
  background-color: var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a101b'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}

/* The 10-hour block is the featured option */
.package--featured {
  background: linear-gradient(170deg, var(--ink-3), var(--ink));
  border: 1px solid rgba(25, 201, 246, 0.45);
  color: var(--on-dark);
  box-shadow: 0 24px 60px rgba(10, 16, 27, 0.35);
}

.package--featured h3,
.package--featured .package__price strong,
.package--featured li.perk {
  color: var(--white);
}

.package--featured .package__sessions {
  color: var(--on-dark-muted);
}

.package--featured .package__rate {
  color: var(--cyan);
}

.package--featured .package__tag {
  background: var(--brand-gradient);
  color: var(--ink);
}

.package--featured li::before {
  background-color: rgba(25, 201, 246, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319c9f6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.package--featured li.perk::before {
  background-color: var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a101b'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}

.package--featured .btn--outline {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.package--featured .btn--outline:hover {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
}

.package-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Session timeline used on the lessons page */

.sessions {
  display: grid;
  gap: 10px;
  margin: 8px 0 26px;
}

.sessions--4 {
  grid-template-columns: repeat(4, 1fr);
}

.sessions--5 {
  grid-template-columns: repeat(5, 1fr);
}

.sessions--6 {
  grid-template-columns: repeat(6, 1fr);
}

.session {
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--light);
  border: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.session strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
}

/* Package detail blocks on the lessons page */

.package-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.package-detail + .package-detail {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.package-detail .package {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 6px 0 6px 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(25, 201, 246, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7fe0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Theory suite perk banner */

.perk-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(25, 201, 246, 0.25), transparent 70%),
    linear-gradient(120deg, var(--ink-3), var(--ink));
  border: 1px solid rgba(25, 201, 246, 0.35);
  color: var(--on-dark-muted);
}

.perk-banner h2,
.perk-banner h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.perk-banner p {
  margin: 0;
}

.perk-banner__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: var(--brand-gradient);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(25, 201, 246, 0.35);
}

.perk-banner__icon svg {
  width: 42px;
  height: 42px;
}

.perk-banner__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Rate table */

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rate-table th,
.rate-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.rate-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rate-table tbody tr:last-child td {
  border-bottom: 0;
}

.rate-table__name {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.rate-table__detail {
  white-space: nowrap;
}

.rate-table__note {
  color: var(--muted);
}

.rate-table .rate {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blue);
  white-space: nowrap;
}

.rate-table .tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(25, 201, 246, 0.14);
  color: var(--cyan-text);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.rate-table tr.is-best td {
  background: rgba(25, 201, 246, 0.06);
}

/* Policy cards */

.policy {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy--alert {
  border-left-color: var(--red);
}

.policy .icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 127, 224, 0.1);
  color: var(--blue);
}

.policy--alert .icon {
  background: rgba(224, 27, 36, 0.08);
  color: var(--red);
}

.policy .icon svg {
  width: 26px;
  height: 26px;
}

.policy h3 {
  margin-bottom: 8px;
}

.policy p,
.policy ul {
  color: var(--muted);
  font-size: 0.98rem;
}

.policy ul {
  margin: 0;
  padding-left: 18px;
}

.policy li {
  margin-bottom: 6px;
}

.policy p:last-child {
  margin-bottom: 0;
}

/* Split content (text + media) */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(27, 127, 224, 0.4), transparent 70%),
    linear-gradient(170deg, var(--ink-3), var(--ink));
  box-shadow: var(--shadow-lg);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait--placeholder {
  display: grid;
  place-items: center;
}

.portrait--placeholder img {
  width: 55%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.portrait__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(10, 16, 27, 0.85);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  font-size: 0.95rem;
}

.portrait__badge strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--cyan);
  line-height: 1;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat span {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

/* Philosophy quote */

.quote {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 0 36px;
  border-left: 4px solid var(--cyan);
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 14px;
}

.quote cite {
  font-style: normal;
  color: var(--on-dark-muted);
}

/* Sub-heading for a group of cards within one section */
.group-title {
  margin: 0 0 22px;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-text);
}

.group-title.spaced-top {
  margin-top: 44px;
}

.group-title.spaced-top-lg {
  margin-top: 56px;
}

.section--dark .group-title {
  color: var(--cyan);
}

/* Long-form text (terms page) */

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 52px;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.1em;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Steps */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Student passes gallery */

.pass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.pass {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pass__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 50% 30%, rgba(27, 127, 224, 0.35), transparent 70%),
    linear-gradient(165deg, var(--ink-3), var(--ink));
  cursor: zoom-in;
}

.pass__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pass__photo:hover img {
  transform: scale(1.04);
}

.pass__photo--empty {
  display: grid;
  place-items: center;
  cursor: default;
}

.pass__photo--empty img {
  width: 34%;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
}

.pass__photo--empty:hover img {
  transform: none;
}

.pass__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pass figcaption {
  padding: 18px 20px 20px;
}

.pass figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.pass figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.pass figcaption em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--cyan-text);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Review quote laid over the bottom of a pass photo */
.pass__media {
  position: relative;
}

.pass--has-review .pass__photo {
  aspect-ratio: 4 / 5;
}

.pass__review {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 56px 20px 18px;
  background: linear-gradient(to top, rgba(7, 11, 19, 0.94) 35%, rgba(7, 11, 19, 0));
  color: var(--white);
  pointer-events: none;
}

.pass__review p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pass__stars {
  display: block;
  margin-bottom: 6px;
  color: var(--star);
  letter-spacing: 2px;
}

.pass__source {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.review-links {
  margin: -16px 0 40px;
}

.pass--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
  padding: 32px 28px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  border-color: rgba(25, 201, 246, 0.35);
  color: var(--on-dark-muted);
}

.pass--cta h3 {
  color: var(--white);
  font-style: italic;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.pass--cta p {
  margin-bottom: 22px;
}

/* Floating WhatsApp button */

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(5, 9, 16, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(5, 9, 16, 0.45);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 9, 16, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: 1000px;
  text-align: center;
  color: var(--on-dark);
}

.lightbox img {
  max-height: 78vh;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* FAQ */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  padding-bottom: 22px;
  margin: 0;
  color: var(--muted);
}

/* Booking form */

.booking-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.form-card {
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.field .optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--light);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 127, 224, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}

.field-error {
  display: none;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 600;
}

.field.has-error .field-error {
  display: block;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset.field legend {
  margin-bottom: 10px;
  padding: 0;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--light);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.choice input:checked + span {
  border-color: var(--blue);
  background: rgba(27, 127, 224, 0.1);
  color: var(--blue);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.form-intro {
  color: var(--muted);
}

.field label.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form-footer {
  margin-top: 28px;
}

.form-footer p {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.is-success {
  display: block;
  background: rgba(25, 201, 246, 0.12);
  border: 1px solid rgba(25, 201, 246, 0.5);
  color: var(--navy);
}

.form-status.is-error {
  display: block;
  background: rgba(224, 27, 36, 0.07);
  border: 1px solid rgba(224, 27, 36, 0.35);
  color: #a3121a;
}

.package-summary {
  display: none;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(25, 201, 246, 0.1);
  color: var(--navy);
  font-size: 0.93rem;
}

.package-summary.is-visible {
  display: block;
}

.sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar .card h3 {
  font-size: 1.15rem;
}

.sidebar .card p,
.sidebar .card li {
  font-size: 0.95rem;
  color: var(--muted);
}

.sidebar .card ul {
  margin: 0;
  padding-left: 18px;
}

.sidebar .card--dark {
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  border-color: rgba(25, 201, 246, 0.3);
}

.sidebar .card--dark h3 {
  color: var(--white);
}

.sidebar .card--dark p {
  color: var(--on-dark-muted);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.contact-line:hover {
  color: var(--cyan);
}

.contact-line svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 90px) 0;
  background:
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(25, 201, 246, 0.25), transparent 70%),
    linear-gradient(110deg, var(--blue-deep), var(--ink));
  color: var(--on-dark-muted);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
  font-size: 1.1rem;
}

/* Footer */

.site-footer {
  padding: 70px 0 30px;
  background: #070b13;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid img {
  height: 54px;
  width: auto;
  margin-bottom: 18px;
}

.site-footer h4 {
  margin-bottom: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.87rem;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .grid--4,
  .stats,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages {
    grid-template-columns: 1fr 1fr;
  }

  .packages .package--featured {
    grid-column: 1 / -1;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .brand img {
    height: 56px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 12px 24px 28px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav .btn {
    margin: 16px 0 0;
    padding: 14px 22px;
    border-bottom: 0;
  }

  .hero .container,
  .split,
  .package-detail,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .portrait {
    max-width: 460px;
  }

  .package-detail .package,
  .sidebar {
    position: static;
  }

  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .perk-banner {
    grid-template-columns: auto 1fr;
  }

  .perk-banner .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 0 18px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .packages,
  .steps,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat strong {
    font-size: 1.9rem;
  }

  .hero-card {
    padding: 26px 22px;
  }

  .sessions--5,
  .sessions--6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .sessions--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .perk-banner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .policy {
    flex-direction: column;
    gap: 14px;
  }

  /* Four columns don't fit on a phone, so each row becomes a small block:
     name and price on top, the description and detail underneath */
  .rate-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .rate-table,
  .rate-table tbody {
    display: block;
  }

  .rate-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    align-items: baseline;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .rate-table tbody tr:last-child {
    border-bottom: 0;
  }

  .rate-table td {
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.92rem;
  }

  .rate-table__name {
    white-space: normal;
  }

  .rate-table__detail {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    font-weight: 600;
    color: var(--navy);
  }

  .rate-table__note {
    grid-column: 1;
    grid-row: 2;
  }

  .rate-table .rate {
    text-align: right;
  }

  .rate-table tr.is-best {
    background: rgba(25, 201, 246, 0.06);
  }

  .rate-table tr.is-best td {
    background: none;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .page-hero::after {
    display: none;
  }

  .cta-band .btn {
    width: 100%;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}
