/*
Theme Name: Torah Academy
Theme URI: https://torahacademy.co.uk
Author: Torah Group Ltd
Author URI: https://torahgroup.co.uk
Description: Official Torah Academy training e-commerce theme. SIA-accredited security and first aid courses across England. Features course listings, location-based booking, deposit payment options, and a learner portal integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://torahgroup.co.uk
Text Domain: torah-academy
Tags: education, e-commerce, custom-colors, custom-logo, full-width-template, rtl-language-support

Torah Academy Theme - Torah Group Ltd © 2026. All rights reserved.
*/

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --orange: #FF6B00;
  --teal: #00CED1;
  --dark: #0D1117;
  --slate: #1E2A38;
  --slate-light: #263347;
  --grey: #F4F6F9;
  --mid: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --green: #10B981;
  --purple: #8B5CF6;
  --blue: #3B82F6;
  --amber: #F59E0B;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 14px rgba(0,0,0,0.07);
  --shadow-lg: 0 14px 36px rgba(0,0,0,0.13);
  --max-width: 1120px;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 1.5rem; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); }
.section--white { background: var(--white); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
.section-label {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.section-label--teal { color: var(--teal); }

.page-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.page-title--light { color: var(--white); }

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--white { background: var(--white); color: var(--orange); }
.btn--outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo__icon {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.site-logo__name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
}

.site-logo__tag {
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.site-nav__link:hover,
.site-nav__link.current-menu-item { color: var(--white); opacity: 1; }
.site-nav__link.current-menu-item { color: var(--orange); font-weight: 700; }

.site-nav__book { margin-left: 0.5rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  padding: 0.5rem;
}

/* ─── TRUST BAR ──────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--teal);
  padding: 0.8rem 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-bar__item {
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--dark) 0%, var(--slate) 55%, #163040 100%);
  padding: 5.5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: repeating-linear-gradient(45deg, var(--orange) 0, var(--orange) 1px, transparent 0, transparent 50%);
  background-size: 22px 22px;
}

.hero__inner { max-width: 820px; margin: 0 auto; position: relative; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,0,0.13);
  border: 1px solid rgba(255,107,0,0.31);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.hero__badge-text {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}
.hero__title span { color: var(--orange); }

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero__stat-value {
  color: var(--orange);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
}
.hero__stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── COURSE CARDS ───────────────────────────────────────────────────────────── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-card__header {
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
}

.course-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.course-card__icon { font-size: 1.75rem; margin-bottom: 0.4rem; }

.course-card__badge {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.course-card__title {
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.course-card__days {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.course-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card__desc {
  color: var(--mid);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.course-card__includes-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.course-card__include {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.course-card__include-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.course-card__include-text { font-size: 0.83rem; color: var(--mid); }

.course-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.course-card__price-from { font-size: 0.7rem; color: var(--mid); }
.course-card__price-amount { font-weight: 900; font-size: 1.25rem; color: var(--dark); }
.course-card__price-full { font-size: 0.72rem; color: var(--mid); }

/* ─── UPCOMING TABLE ─────────────────────────────────────────────────────────── */
.upcoming-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.upcoming-table__head {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.6fr 0.7fr 0.9fr 1fr;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.upcoming-table__row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.6fr 0.7fr 0.9fr 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.upcoming-table__row:last-child { border-bottom: none; }
.upcoming-table__row:hover { background: var(--grey); }

.upcoming-table__course-name { font-weight: 700; color: var(--dark); font-size: 0.875rem; }

.badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px; margin-top: 0.2rem; }
.badge--warn { background: #FEF3C7; color: #92400E; }
.badge--ok { background: #D1FAE5; color: #065F46; }

.upcoming-table__city { color: var(--mid); font-size: 0.85rem; }
.upcoming-table__date-start { color: var(--dark); font-size: 0.82rem; font-weight: 600; }
.upcoming-table__date-end { color: var(--mid); font-size: 0.75rem; }
.upcoming-table__days { color: var(--mid); font-size: 0.85rem; }
.upcoming-table__price { font-weight: 800; color: var(--dark); font-size: 0.9rem; }
.upcoming-table__price-label { font-size: 0.68rem; color: var(--mid); }

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step { text-align: center; }

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 900;
  color: var(--white);
  font-size: 1.25rem;
}

.step__title { font-weight: 800; font-size: 1rem; color: var(--dark); margin-bottom: 0.5rem; }
.step__body { color: var(--mid); font-size: 0.875rem; line-height: 1.7; }

.deposit-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(255,107,0,0.07), rgba(0,206,209,0.07));
  border: 1.5px solid rgba(255,107,0,0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.deposit-callout__icon { font-size: 2.25rem; }
.deposit-callout__content { flex: 1; min-width: 200px; }
.deposit-callout__title { font-weight: 800; color: var(--dark); font-size: 1.05rem; margin-bottom: 0.4rem; }
.deposit-callout__body { color: var(--mid); font-size: 0.875rem; line-height: 1.7; }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--slate-light);
  border-radius: 12px;
  padding: 1.5rem;
}
.testimonial-card--orange { border-top: 3px solid var(--orange); }
.testimonial-card--teal { border-top: 3px solid var(--teal); }

.testimonial-card__stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial-card__text { color: rgba(255,255,255,0.82); line-height: 1.75; font-size: 0.875rem; margin-bottom: 1rem; }
.testimonial-card__name { font-weight: 700; color: var(--white); font-size: 0.85rem; }
.testimonial-card__city { color: rgba(255,255,255,0.4); font-size: 0.78rem; }

/* ─── CTA BANNER ─────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), #D45700);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-banner__title { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 900; margin-bottom: 0.75rem; }
.cta-banner__subtitle { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.faq-item__trigger {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  font-family: inherit;
}
.faq-item__question { font-weight: 700; color: var(--dark); font-size: 0.95rem; text-align: left; }
.faq-item__icon { color: var(--mid); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item__icon--open { transform: rotate(45deg); color: var(--orange); }

.faq-item__answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--mid);
  line-height: 1.75;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card, .contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-info-item {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1.1rem;
}
.contact-info-icon {
  width: 36px; height: 36px;
  background: rgba(255,107,0,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-label { font-weight: 700; color: var(--dark); font-size: 0.875rem; }
.contact-info-sub { color: var(--mid); font-size: 0.78rem; }

.corporate-callout {
  background: linear-gradient(135deg, var(--orange), #D45700);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
  margin-top: 1.25rem;
}
.corporate-callout__title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.4rem; }
.corporate-callout__body { font-size: 0.85rem; line-height: 1.7; opacity: 0.85; margin-bottom: 1rem; }
.corporate-callout__link { color: var(--white); font-weight: 700; font-size: 0.85rem; }

/* ─── FORMS ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 0.875rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--slate); margin-bottom: 0.35rem; }

.form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 0.9rem;
  color: var(--dark);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-control:focus { border-color: var(--orange); }

textarea.form-control { resize: vertical; min-height: 100px; }

/* ─── POLICY PAGES ───────────────────────────────────────────────────────────── */
.policy-header {
  background: var(--dark);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.policy-content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.policy-section { margin-bottom: 2rem; }
.policy-section h3 {
  color: var(--dark);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}
.policy-section p, .policy-section li { color: var(--mid); font-size: 0.875rem; line-height: 1.85; }
.policy-section ul { padding-left: 0; }
.policy-section li { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; }
.policy-section li::before { content: '•'; color: var(--orange); flex-shrink: 0; }

.cancellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.cancellation-tile {
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.cancellation-tile__icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
.cancellation-tile__period { font-weight: 800; font-size: 0.82rem; }
.cancellation-tile__status { font-size: 0.78rem; margin-top: 0.25rem; font-weight: 600; }

/* ─── PAGE HEADERS ───────────────────────────────────────────────────────────── */
.page-header {
  background: var(--dark);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--orange);
}
.page-header--teal { border-bottom-color: var(--teal); }

/* ─── CITY TAGS ──────────────────────────────────────────────────────────────── */
.city-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.city-tag {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.city-tag:hover,
.city-tag--active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ─── HOW-IT-WORKS DETAIL ────────────────────────────────────────────────────── */
.hiw-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hiw-step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.hiw-step__title { font-weight: 800; color: var(--dark); font-size: 1.05rem; margin-bottom: 0.5rem; }
.hiw-step__body { color: var(--mid); line-height: 1.75; font-size: 0.9rem; margin-bottom: 0.75rem; }
.hiw-step__tip { border-radius: 8px; padding: 0.6rem 0.875rem; font-size: 0.82rem; color: var(--slate); line-height: 1.6; }

/* ─── EXAM INFO ──────────────────────────────────────────────────────────────── */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.exam-card {
  background: var(--grey);
  border-radius: 12px;
  padding: 1.25rem;
}
.exam-card__icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.exam-card__title { font-weight: 800; color: var(--dark); font-size: 0.95rem; margin-bottom: 0.4rem; }
.exam-card__body { color: var(--mid); font-size: 0.85rem; line-height: 1.7; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--slate-light);
  padding: 3.5rem 1.5rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo__name { color: var(--white); font-weight: 800; }
.footer-about { color: rgba(255,255,255,0.45); font-size: 0.82rem; line-height: 1.75; margin-top: 0.875rem; }
.footer-badge {
  display: inline-block;
  background: rgba(0,206,209,0.12);
  border: 1px solid rgba(0,206,209,0.25);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin: 0.25rem 0.25rem 0 0;
}

.footer-col__heading {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

.footer-link {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.footer-link:hover { color: var(--white); opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.site-footer__copy { color: rgba(255,255,255,0.28); font-size: 0.78rem; }
.site-footer__legal { display: flex; gap: 1rem; }
.site-footer__legal a {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  text-decoration: none;
}
.site-footer__legal a:hover { color: rgba(255,255,255,0.7); opacity: 1; }

/* ─── BOOKING MODAL ──────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--white);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.modal__header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 18px 18px 0 0;
}

.modal__close {
  background: rgba(0,0,0,0.2);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

.modal__progress { display: flex; gap: 6px; margin-top: 1.25rem; }
.modal__progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s;
}
.modal__progress-bar--active { background: rgba(255,255,255,0.9); }
.modal__progress-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); font-weight: 600; }
.modal__progress-label--active { color: rgba(255,255,255,0.9); }

.modal__body { padding: 1.5rem; }

.date-option {
  padding: 1rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.18s;
  margin-bottom: 0.6rem;
}
.date-option--selected { border-color: var(--orange); }

.pay-option {
  padding: 1rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.18s;
}
.pay-option--selected { border-color: var(--orange); }

.order-summary {
  background: var(--grey);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.checkbox-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem;
  background: var(--grey);
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.booking-confirmed { text-align: center; padding: 1.5rem 0; }
.booking-confirmed__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #D1FAE5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

/* ─── FILTERS ────────────────────────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center; }
.filter-select {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--dark);
  outline: none;
  font-family: inherit;
}
.filter-count { margin-left: auto; color: var(--mid); font-size: 0.875rem; }

/* ─── WORDPRESS SPECIFIC ─────────────────────────────────────────────────────── */
.wp-block-group { max-width: var(--max-width); margin: 0 auto; }
.alignwide { max-width: 100%; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }

/* WordPress nav menu */
.primary-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.primary-menu a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--white); opacity: 1; }
.primary-menu .current-menu-item > a { color: var(--orange); font-weight: 700; }

/* WordPress widgets */
.widget { margin-bottom: 2rem; }
.widget-title { font-weight: 800; color: var(--dark); font-size: 1rem; margin-bottom: 1rem; }

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 1rem 1.5rem; border-bottom: 2px solid var(--slate-light); z-index: 899; }
  .menu-toggle { display: block; }

  .upcoming-table__head,
  .upcoming-table__row { grid-template-columns: 1fr 1fr; }
  .upcoming-table__head span:nth-child(n+3),
  .upcoming-table__row > *:nth-child(n+3) { display: none; }

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

  .deposit-callout { flex-direction: column; text-align: center; }

  .section { padding: 3rem 1.25rem; }

  .hero { padding: 3.5rem 1.25rem 3rem; }

  .hiw-step { flex-direction: column; gap: 0.75rem; }
  .hiw-step__num { margin: 0; }

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

  .policy-content { padding: 1.5rem 1.25rem; }

  .site-footer__bottom { flex-direction: column; text-align: center; }
  .site-footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.5rem; }
  .trust-bar { gap: 1rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
}

/* ─── PRINT ──────────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .modal-overlay, .btn { display: none; }
  .section { padding: 1rem 0; }
}
