:root {
  --green-980: #031b15;
  --green-950: #06261d;
  --green-900: #08382b;
  --green-800: #0d513e;
  --green-700: #126b52;
  --green-100: #e9f6ef;
  --gold: #d9b253;
  --gold-soft: #f6dda0;
  --ink: #0f211b;
  --muted: #5b6d65;
  --line: #dce8e2;
  --paper: #fbfdfb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 38, 29, 0.14);
  --shadow-soft: 0 14px 42px rgba(6, 38, 29, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

input,
select,
textarea,
button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--green-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom: 1px solid rgba(220, 232, 226, 0.75);
  background: rgba(251, 253, 251, 0.9);
  box-shadow: 0 12px 40px rgba(6, 38, 29, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  line-height: 1;
}

.brand-logo {
  width: 62px;
  height: 62px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 5px;
  border: 1px solid rgba(246, 221, 160, 0.42);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 48% 35%, rgba(246, 221, 160, 0.18), transparent 46%),
    linear-gradient(135deg, var(--green-700), var(--green-950));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.brand span {
  display: grid;
  gap: 2px;
}

.is-scrolled .brand,
.nav-open .brand {
  color: var(--ink);
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand small {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.is-scrolled .brand small,
.nav-open .brand small {
  color: var(--green-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.is-scrolled .nav-links,
.nav-open .nav-links {
  color: var(--ink);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.is-scrolled .menu-toggle span,
.nav-open .menu-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 8%, rgba(217, 178, 83, 0.08), transparent 18%),
    radial-gradient(circle at 8% 88%, rgba(18, 107, 82, 0.34), transparent 24%),
    linear-gradient(135deg, var(--green-980), var(--green-900) 52%, #0b4938);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.38;
  animation: drift 12s ease-in-out infinite;
  pointer-events: none;
}

.glow-one {
  width: 118px;
  height: 118px;
  right: 3%;
  top: 10%;
  background: rgba(217, 178, 83, 0.14);
}

.glow-two {
  width: 170px;
  height: 170px;
  left: 4%;
  bottom: 8%;
  background: rgba(18, 107, 82, 0.26);
  animation-delay: -4s;
}

.motion-line {
  position: absolute;
  z-index: 0;
  width: 380px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 221, 160, 0.72), transparent);
  transform: rotate(-18deg);
  opacity: 0.32;
  animation: lineDrift 8s ease-in-out infinite;
  pointer-events: none;
}

.line-one {
  right: 2%;
  top: 20%;
}

.line-two {
  right: 10%;
  bottom: 16%;
  animation-delay: -3s;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: 68px;
  min-height: 820px;
  padding: 150px 0 92px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.55vw, 5.05rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.05rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-subtext {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 570px;
  margin-top: 28px;
}

.hero-benefits span {
  position: relative;
  padding: 11px 14px 11px 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.94rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-benefits span::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
  transform: translateY(-50%);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 178, 83, 0.12);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 34px rgba(217, 178, 83, 0.24);
}

.button.light {
  color: var(--green-950);
  background: var(--white);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 32, 25, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.dashboard-card {
  position: relative;
  z-index: 2;
  padding: 32px;
  overflow: hidden;
}

.dashboard-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background:
    radial-gradient(circle at 86% 0%, rgba(246, 221, 160, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent);
  pointer-events: none;
}

.dashboard-card > * {
  position: relative;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.dashboard-topline strong {
  color: var(--gold-soft);
}

.dashboard-card h2 {
  max-width: 320px;
  margin-bottom: 26px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.hero-visual .stagger-item {
  opacity: 0;
  transform: translateY(14px);
}

.hero-visual.is-visible .stagger-item {
  animation: dashboardReveal 520ms ease both;
}

.hero-visual.is-visible .stagger-item:nth-child(1) {
  animation-delay: 80ms;
}

.hero-visual.is-visible .stagger-item:nth-child(2) {
  animation-delay: 130ms;
}

.hero-visual.is-visible .stagger-item:nth-child(3) {
  animation-delay: 180ms;
}

.hero-visual.is-visible .stagger-item:nth-child(4) {
  animation-delay: 230ms;
}

.hero-visual.is-visible .stagger-item:nth-child(5) {
  animation-delay: 280ms;
}

.dashboard-row span,
.dashboard-note span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.dashboard-row strong,
.dashboard-note strong {
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.35;
}

.dashboard-row.highlight {
  border-color: rgba(246, 221, 160, 0.34);
  background: rgba(217, 178, 83, 0.14);
}

.dashboard-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(246, 221, 160, 0.28);
  border-radius: var(--radius);
  background: rgba(217, 178, 83, 0.1);
}

.dashboard-note-muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
}

.hero-visual.is-visible .dashboard-note.stagger-item {
  animation-delay: 330ms;
}

.hero-visual.is-visible .dashboard-note-muted.stagger-item {
  animation-delay: 380ms;
}

.section {
  padding: 110px 0;
}

.trust-section {
  padding: 46px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 178, 83, 0.1), transparent 24%),
    var(--green-900);
}

.trust-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.trust-badges img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.trust-copy h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 70px;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 650px;
}

.brand-card,
.instructor-card,
.service-card,
.price-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.brand-card,
.instructor-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
}

.brand-card::before,
.instructor-card::before,
.service-card::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.brand-card p,
.instructor-card p {
  color: var(--muted);
}

.brand-card ul,
.instructor-card ul {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.brand-card li,
.instructor-card li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.brand-card li:last-child,
.instructor-card li:last-child {
  border-bottom: 1px solid var(--line);
}

.section-instructors {
  background:
    radial-gradient(circle at 86% 16%, rgba(217, 178, 83, 0.12), transparent 24%),
    var(--paper);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instructor-cta {
  width: 100%;
  margin-top: 4px;
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.section-tint {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef8f3, #fbfdfb);
}

.section-tint::before {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: 80px;
  border-radius: 999px;
  content: "";
  background: rgba(217, 178, 83, 0.12);
  filter: blur(3px);
}

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  position: relative;
  min-height: 236px;
  padding: 26px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:active {
  transform: translateY(-2px);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
}

.area-map {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(220, 232, 226, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(217, 178, 83, 0.18), transparent 22%),
    linear-gradient(135deg, #f8fcf9, #e8f4ee);
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(13, 81, 62, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 81, 62, 0.08) 1px, transparent 1px),
    linear-gradient(34deg, transparent 0 47%, rgba(13, 81, 62, 0.12) 48% 49%, transparent 50%);
  background-size: 42px 42px, 42px 42px, 160px 120px;
}

.area-map::before,
.area-map::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.area-map::before {
  width: 230px;
  height: 230px;
  right: -86px;
  top: -70px;
  background: rgba(217, 178, 83, 0.2);
}

.area-map::after {
  left: 12%;
  right: 12%;
  top: 51%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 81, 62, 0.22), transparent);
}

.route-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 178, 83, 0.1), rgba(217, 178, 83, 0.78), rgba(18, 107, 82, 0.35));
  transform-origin: left center;
  box-shadow: 0 0 20px rgba(217, 178, 83, 0.2);
  animation: routePulse 4.8s ease-in-out infinite;
}

.route-one {
  left: 35%;
  top: 24%;
  width: 185px;
  transform: rotate(19deg);
}

.route-two {
  left: 34%;
  top: 30%;
  width: 145px;
  transform: rotate(103deg);
  animation-delay: -1.2s;
}

.route-three {
  left: 43%;
  top: 57%;
  width: 118px;
  transform: rotate(35deg);
  animation-delay: -2.3s;
}

.map-label {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(13, 81, 62, 0.12);
  border-radius: 999px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(6, 38, 29, 0.12);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.enfield {
  left: 30%;
  top: 15%;
}

.chingford {
  right: 11%;
  top: 28%;
}

.wood-green {
  left: 22%;
  top: 53%;
}

.tottenham {
  right: 19%;
  bottom: 20%;
}

.map-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(217, 178, 83, 0.2), transparent 26%),
    linear-gradient(135deg, var(--green-980), var(--green-800));
}

.section-dark::after {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -240px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.price-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.price-card:active {
  transform: translateY(-2px);
}

.price-card.featured {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.price-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.price-card.featured p,
.price-card.featured span {
  color: rgba(255, 255, 255, 0.76);
}

.price-card strong {
  margin-bottom: 14px;
  font-size: 4rem;
  line-height: 1;
}

.price-card span {
  color: var(--muted);
}

.price-card .button {
  margin-top: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-tile {
  position: relative;
  display: block;
  min-height: 380px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-950);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 38, 29, 0.02) 30%, rgba(6, 38, 29, 0.9)),
    linear-gradient(90deg, rgba(6, 38, 29, 0.28), transparent 42%);
  pointer-events: none;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.gallery-tile:first-child img {
  object-position: 34% center;
}

.gallery-tile:active {
  transform: translateY(-2px);
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.gallery-caption span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-caption strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.2;
}

.contact-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(217, 178, 83, 0.14), transparent 24%),
    var(--green-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 70px;
  align-items: start;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-small {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdfb;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(18, 107, 82, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-980);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a,
.footer-phone {
  display: block;
  text-align: right;
  font-weight: 800;
}

.footer-phone {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-legal-name {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 178, 83, 0.16), transparent 24%),
    linear-gradient(135deg, var(--green-980), var(--green-800));
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.legal-hero .shell {
  position: relative;
}

.legal-hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 5.5vw, 5.15rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.legal-content {
  padding: 86px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: start;
}

.legal-card,
.legal-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.legal-card {
  padding: 38px;
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.legal-sidebar h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.legal-sidebar a {
  display: block;
  color: var(--green-800);
  font-weight: 800;
}

.legal-sidebar a + a {
  margin-top: 10px;
}

.legal-sidebar p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -16px, 0) scale(1.05);
  }
}

@keyframes lineDrift {
  0%,
  100% {
    transform: translateX(0) rotate(-18deg);
    opacity: 0.42;
  }
  50% {
    transform: translateX(-34px) rotate(-18deg);
    opacity: 0.72;
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes dashboardReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(6, 38, 29, 0.16);
  }

  .service-card:hover {
    border-color: rgba(18, 107, 82, 0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }

  .price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
  }

  .gallery-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
  }

  .gallery-tile:hover img {
    transform: scale(1.04);
  }

}

@media (max-width: 1060px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instructor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .hero-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 44px;
  }

  .hero-visual {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .reveal {
    transform: translateY(18px);
    transition-duration: 540ms;
  }

  .site-header {
    border-bottom: 1px solid rgba(220, 232, 226, 0.75);
    background: rgba(251, 253, 251, 0.94);
    box-shadow: 0 12px 40px rgba(6, 38, 29, 0.1);
  }

  .brand,
  .is-scrolled .brand {
    color: var(--ink);
  }

  .brand small,
  .is-scrolled .brand small {
    color: var(--green-700);
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    padding: 4px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .menu-toggle span {
    background: var(--ink);
  }

  .hero-actions {
    display: none;
  }

  .site-footer {
    padding-bottom: 38px;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: max-height 240ms ease;
  }

  .nav-open .nav-links {
    max-height: 430px;
  }

  .nav-links a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 132px 0 64px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(2.45rem, 10.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .dashboard-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dashboard-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .section {
    padding: 76px 0;
  }

  .price-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-grid {
    gap: 36px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    max-width: 260px;
  }

  .area-map {
    min-height: 390px;
  }

  .enfield {
    left: 22%;
    top: 14%;
  }

  .chingford {
    right: 8%;
    top: 28%;
  }

  .wood-green {
    left: 14%;
    top: 54%;
  }

  .tottenham {
    right: 13%;
    bottom: 20%;
  }

  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-legal-name {
    margin-top: 18px;
    text-align: left;
  }

  .site-footer a,
  .footer-phone {
    text-align: left;
  }

  .legal-hero {
    padding: 132px 0 58px;
  }

  .legal-content {
    padding: 66px 0 82px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reveal {
    transform: translateY(14px);
    transition-duration: 460ms;
    transition-delay: 0ms !important;
  }

  .hero-visual.is-visible .stagger-item {
    animation-duration: 420ms;
  }

  .hero-visual.is-visible .stagger-item,
  .hero-visual.is-visible .dashboard-note.stagger-item,
  .hero-visual.is-visible .dashboard-note-muted.stagger-item {
    animation-delay: 60ms;
  }

  .button {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .dashboard-card {
    padding: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .price-card {
    min-height: 290px;
  }

  .trust-section {
    padding: 28px 0;
  }

  .trust-panel {
    padding: 20px;
  }

  .trust-badges {
    max-width: none;
  }

  .legal-card,
  .legal-sidebar {
    padding: 22px;
  }

  .area-map {
    min-height: 430px;
  }

  .map-label {
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .enfield {
    left: 16%;
  }

  .chingford {
    right: 5%;
  }

  .wood-green {
    left: 8%;
  }

  .tottenham {
    right: 8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual .stagger-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
