/*
Theme Name: Aequitas
Theme URI: https://aequitas.example.com
Author: Aequitas
Author URI: https://aequitas.example.com
Description: Modern legal-training-institute theme with Stripe-inspired design. Elementor compatible, WooCommerce ready, supports custom workshops, testimonials, tracks, and articles. Demo content included. v1.7 ships colourful gradient hero, multi-color About icons, and optional gradient promo bar. v1.6 added three-tint section rotation.
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aequitas
Tags: business, education, e-commerce, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --color-text:        #0A2540;
  --color-text-body:   #425466;
  --color-text-muted:  #64748B;
  --color-bg:          #FFFFFF;
  --color-surface:     #F8FAFC;
  --color-border:      #E3E8EE;
  --color-border-soft: #F1F5F9;

  /* Section tint rotation — used by .section-tint-a/b/c on the homepage. */
  --tint-a: #F8FAFC;  /* cool grey */
  --tint-b: #FAF7FF;  /* lavender whisper */
  --tint-c: #FFFBF7;  /* peach whisper */
  --color-primary:     #4338CA;
  --color-primary-bg:  #EEF2FF;
  --color-primary-dark:#3730A3;
  --color-cta:         #0A2540;
  --color-danger:      #DC2626;
  --color-success:     #166534;
  --color-success-bg:  #DCFCE7;
  --color-warning-bg:  #FEF3C7;
  --color-warning:     #92400E;
  --color-star:        #F59E0B;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-pill: 100px;

  --shadow-card: 0 8px 24px -8px rgba(50,50,93,0.12);
  --shadow-window: 0 24px 48px -12px rgba(50,50,93,0.18), 0 8px 16px -8px rgba(0,0,0,0.1);

  --container: 1180px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section-tinted { background: var(--tint-a); }
.divider { border-top: 1px solid var(--color-border-soft); }

/* Section tint rotation — applied per-section so the homepage has rhythm.
   Three subtle tints cycling: cool grey → lavender whisper → peach whisper.
   The variables also live in :root above; these classes just map to them. */
.section-tint-a { background: var(--tint-a); }
.section-tint-b { background: var(--tint-b); }
.section-tint-c { background: var(--tint-c); }

/* Vibrant section tints (colorful v2). Used selectively on Workshops,
   How It Works, and Reviews — sections that benefit from a stronger
   colour identity. Other sections keep the subtle whisper tints above. */
.section-vibrant-lavender { background: linear-gradient(180deg, #F5F3FF 0%, #FAF5FF 100%); }
.section-vibrant-mint     { background: linear-gradient(180deg, #ECFDF5 0%, #F0FDF4 100%); }
.section-vibrant-amber    { background: linear-gradient(180deg, #FFFBEB 0%, #FEF7E0 100%); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}
h1, .h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0 0 16px;
}
h2, .h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 12px;
}
h3, .h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 8px;
}
p { margin: 0 0 16px; color: var(--color-text-body); line-height: 1.65; }
.lead { font-size: 15px; line-height: 1.6; color: var(--color-text-body); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--color-cta);
  color: #FFFFFF;
}
.btn-primary:hover { background: #1E3A5F; }
.btn-secondary {
  background: #FFFFFF;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-text-muted); }
.btn-ghost-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-on-dark {
  background: #FFFFFF;
  color: var(--color-cta);
}
.link-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow:hover { color: var(--color-primary-dark); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav .menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .menu a {
  font-size: 12px;
  color: var(--color-text-body);
  font-weight: 500;
}
.site-nav .menu a:hover { color: var(--color-text); }
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
}
.site-nav-actions .signin { color: var(--color-text-body); }
.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .site-nav .menu { display: none; }
  .site-nav-actions .signin { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--color-border-soft);
  position: relative;
  overflow: hidden;
  /* Multi-stop gradient mesh: lavender top-left, amber top-right, mint bottom-center, pink bottom-right */
  background:
    radial-gradient(ellipse at 15% 20%, rgba(167,139,250,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(251,191,36,0.40) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 85%, rgba(52,211,153,0.30) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(244,114,182,0.28) 0%, transparent 50%),
    linear-gradient(135deg, #FAF5FF 0%, #FFF7ED 50%, #ECFEFF 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid #DDD6FE;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #6D28D9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px -2px rgba(109,40,217,0.15);
}
.hero-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #6D28D9, #BE185D);
}
.hero-sub {
  font-size: 15px;
  color: var(--color-text-body);
  max-width: 440px;
  margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Hero primary CTA — purple gradient (overrides .btn-primary on the hero only) */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, #6D28D9 0%, #4338CA 100%);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px -2px rgba(109, 40, 217, 0.3);
}
.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #5B21B6 0%, #3730A3 100%);
  box-shadow: 0 6px 16px -2px rgba(109, 40, 217, 0.4);
}
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.hero-window-chrome {
  background: #F6F9FC;
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-window-chrome .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.hero-window-chrome .dot-r { background: #FF5F57; }
.hero-window-chrome .dot-y { background: #FEBC2E; }
.hero-window-chrome .dot-g { background: #28C840; }
.hero-window-url {
  margin-left: auto;
  font-size: 9px;
  color: var(--color-text-muted);
  font-family: ui-monospace, monospace;
}
.hero-window-body { padding: 14px 16px; }
.hero-window-body h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 10px;
}
.hero-list { display: flex; flex-direction: column; gap: 6px; }
.hero-list-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: transform 180ms ease;
}
.hero-list-item:hover { transform: translateX(2px); }

/* Sequential color rotation across hero workshop list — keeps energy of the gradient hero */
.hero-list-item:nth-child(3n+1) {
  background: linear-gradient(90deg, #F5F3FF 0%, #FFFFFF 100%);
  border-left-color: #6D28D9;
}
.hero-list-item:nth-child(3n+1) .hero-list-meta { color: #6D28D9; font-weight: 500; }
.hero-list-item:nth-child(3n+1) .hero-list-cta {
  background: linear-gradient(135deg, #6D28D9, #4338CA);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 4px;
}

.hero-list-item:nth-child(3n+2) {
  background: linear-gradient(90deg, #FFFBEB 0%, #FFFFFF 100%);
  border-left-color: #B45309;
}
.hero-list-item:nth-child(3n+2) .hero-list-meta { color: #B45309; font-weight: 500; }
.hero-list-item:nth-child(3n+2) .hero-list-cta {
  background: linear-gradient(135deg, #B45309, #F59E0B);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 4px;
}

.hero-list-item:nth-child(3n+3) {
  background: linear-gradient(90deg, #ECFDF5 0%, #FFFFFF 100%);
  border-left-color: #047857;
}
.hero-list-item:nth-child(3n+3) .hero-list-meta { color: #047857; font-weight: 500; }
.hero-list-item:nth-child(3n+3) .hero-list-cta {
  background: linear-gradient(135deg, #047857, #34D399);
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Urgent override stays red */
.hero-list-item.urgent .hero-list-meta { color: var(--color-danger); }

.hero-list-date {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 3px;
  text-align: center;
}
.hero-list-date .month { font-size: 7px; font-weight: 700; }
.hero-list-item:nth-child(3n+1) .hero-list-date .month { color: #6D28D9; }
.hero-list-item:nth-child(3n+2) .hero-list-date .month { color: #B45309; }
.hero-list-item:nth-child(3n+3) .hero-list-date .month { color: #047857; }
.hero-list-date .day { font-size: 11px; font-weight: 700; color: var(--color-text); line-height: 1; }
.hero-list-title { font-size: 10px; font-weight: 600; color: var(--color-text); }
.hero-list-meta { font-size: 9px; color: var(--color-text-muted); }
.hero-list-meta.danger { color: var(--color-danger); font-weight: 500; }
.hero-list-cta { font-size: 9px; font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1, .h1 { font-size: 28px; }
}

/* =========================================================
   PROMO BAR — site-wide announcement strip above the header
   ========================================================= */
.aequitas-promo-bar {
  background: linear-gradient(90deg, #6D28D9 0%, #BE185D 50%, #C2410C 100%);
  color: #FFFFFF;
  padding: 8px 24px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}
.aequitas-promo-bar a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
}
.aequitas-promo-bar a:hover { opacity: 0.9; }
.aequitas-promo-bar strong { font-weight: 700; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust {
  padding: 32px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-soft);
}
.trust-caption {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-align: center;
  margin: 0 0 18px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0.7;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  letter-spacing: -0.02em;
}
.trust-sep { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.feature-icon {
  width: 28px; height: 28px;
  background: var(--color-primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--color-primary);
  transition: transform 220ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.feature-card:hover .feature-icon { transform: scale(1.08); }

/* Multi-color icon variants — same palette as hero gradient + steps section.
   To switch all back to all-purple, remove these four blocks. */
.feature-icon.feature-icon-1 { background: #EDE9FE; color: #6D28D9; }  /* purple */
.feature-icon.feature-icon-2 { background: #FEF3C7; color: #B45309; }  /* amber */
.feature-icon.feature-icon-3 { background: #D1FAE5; color: #047857; }  /* mint */
.feature-icon.feature-icon-4 { background: #DBEAFE; color: #1D4ED8; }  /* blue */

.feature-card h3 { font-size: 13px; margin-bottom: 4px; }
.feature-card p { font-size: 12px; color: var(--color-text-body); margin: 0; line-height: 1.5; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTION HEADER (reusable)
   ========================================================= */
.section-header {
  margin-bottom: 32px;
  max-width: 600px;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========================================================
   FILTER PILLS
   ========================================================= */
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #475569;
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover { border-color: var(--color-text-muted); }
.filter-pill.active {
  background: linear-gradient(135deg, #6D28D9 0%, #4338CA 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 8px -1px rgba(109, 40, 217, 0.25);
}

/* =========================================================
   WORKSHOP CARDS
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.workshop-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.workshop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #C7D2FE;
}
/* Coloured top accent bar — colour matches level */
.workshop-card-accent {
  height: 3px;
  flex-shrink: 0;
}
.workshop-card-accent.level-beginner    { background: linear-gradient(90deg, #10B981, #34D399); }
.workshop-card-accent.level-intermediate{ background: linear-gradient(90deg, #2563EB, #60A5FA); }
.workshop-card-accent.level-advanced    { background: linear-gradient(90deg, #6D28D9, #A78BFA); }
.workshop-card-accent.level-all-levels  { background: linear-gradient(90deg, #B45309, #FBBF24); }
.workshop-card-accent.level-foundations { background: linear-gradient(90deg, #BE185D, #F472B6); }
.workshop-card-accent.level-default     { background: linear-gradient(90deg, #4338CA, #6D28D9); }

.workshop-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.workshop-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
/* Level pill — coloured fill matching the accent */
.level-pill {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--color-border-soft); /* default fallback */
  color: #475569;
}
.level-pill.level-beginner    { background: #D1FAE5; color: #047857; }
.level-pill.level-intermediate{ background: #DBEAFE; color: #1D4ED8; }
.level-pill.level-advanced    { background: #EDE9FE; color: #6D28D9; }
.level-pill.level-all-levels  { background: #FEF3C7; color: #B45309; }
.level-pill.level-foundations { background: #FCE7F3; color: #BE185D; }

.workshop-date {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.workshop-card h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.workshop-card p {
  font-size: 12px;
  color: var(--color-text-body);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}
.workshop-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-soft);
}
.seats-text { font-size: 11px; color: var(--color-text-muted); }
.seats-text.danger { color: var(--color-danger); font-weight: 500; }
/* Register button — gradient fill matching the workshop level */
.workshop-cta {
  font-size: 11px;
  color: #FFFFFF;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #4338CA, #6D28D9); /* default purple */
  text-decoration: none;
  display: inline-block;
  transition: opacity 220ms;
}
.workshop-cta:hover { opacity: 0.9; }
.workshop-cta.level-beginner    { background: linear-gradient(135deg, #10B981, #34D399); }
.workshop-cta.level-intermediate{ background: linear-gradient(135deg, #2563EB, #60A5FA); }
.workshop-cta.level-advanced    { background: linear-gradient(135deg, #6D28D9, #A78BFA); }
.workshop-cta.level-all-levels  { background: linear-gradient(135deg, #B45309, #F59E0B); }
.workshop-cta.level-foundations { background: linear-gradient(135deg, #BE185D, #F472B6); }
.workshops-footer {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 968px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FEATURED WORKSHOP
   ========================================================= */
.featured-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.featured-badge {
  display: inline-flex;
  padding: 3px 8px;
  background: var(--color-warning-bg);
  color: var(--color-warning);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.featured-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.featured-card .meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.featured-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.featured-learn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.featured-learn h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.learn-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.learn-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text);
}
.check-box {
  width: 16px; height: 16px;
  background: var(--color-success-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-success);
}
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

/* =========================================================
   TRACKS / CATEGORIES — six colour identities cycle via :nth-of-type
   ========================================================= */
.track-card {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}
.track-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
/* Coloured top accent bar (rendered via ::before so no markup change needed) */
.track-card::before {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #4338CA, #6D28D9); /* default fallback */
}
.track-card-body { padding: 20px; }

.track-icon {
  width: 32px; height: 32px;
  background: var(--color-border-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-text);
}
.track-card h3 { font-size: 14px; margin-bottom: 6px; }
.track-card p  { font-size: 12px; line-height: 1.55; margin-bottom: 12px; }
.track-link    { font-size: 11px; color: var(--color-primary); font-weight: 600; }

/* Six-colour rotation via :nth-of-type. Cards 1-6 get distinct identities;
   cards 7+ repeat the cycle. Icon background, hover border, link colour,
   and accent bar all match. */
/* 1 — purple */
.tracks-grid .track-card:nth-of-type(6n+1)::before { background: linear-gradient(90deg, #6D28D9, #A78BFA); }
.tracks-grid .track-card:nth-of-type(6n+1) .track-icon { background: #EDE9FE; color: #6D28D9; }
.tracks-grid .track-card:nth-of-type(6n+1) .track-link { color: #6D28D9; }
.tracks-grid .track-card:nth-of-type(6n+1):hover { border-color: #C4B5FD; }
/* 2 — blue */
.tracks-grid .track-card:nth-of-type(6n+2)::before { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.tracks-grid .track-card:nth-of-type(6n+2) .track-icon { background: #DBEAFE; color: #1D4ED8; }
.tracks-grid .track-card:nth-of-type(6n+2) .track-link { color: #1D4ED8; }
.tracks-grid .track-card:nth-of-type(6n+2):hover { border-color: #93C5FD; }
/* 3 — amber */
.tracks-grid .track-card:nth-of-type(6n+3)::before { background: linear-gradient(90deg, #B45309, #FBBF24); }
.tracks-grid .track-card:nth-of-type(6n+3) .track-icon { background: #FEF3C7; color: #B45309; }
.tracks-grid .track-card:nth-of-type(6n+3) .track-link { color: #B45309; }
.tracks-grid .track-card:nth-of-type(6n+3):hover { border-color: #FCD34D; }
/* 4 — green */
.tracks-grid .track-card:nth-of-type(6n+4)::before { background: linear-gradient(90deg, #047857, #34D399); }
.tracks-grid .track-card:nth-of-type(6n+4) .track-icon { background: #D1FAE5; color: #047857; }
.tracks-grid .track-card:nth-of-type(6n+4) .track-link { color: #047857; }
.tracks-grid .track-card:nth-of-type(6n+4):hover { border-color: #6EE7B7; }
/* 5 — rose */
.tracks-grid .track-card:nth-of-type(6n+5)::before { background: linear-gradient(90deg, #BE185D, #F472B6); }
.tracks-grid .track-card:nth-of-type(6n+5) .track-icon { background: #FCE7F3; color: #BE185D; }
.tracks-grid .track-card:nth-of-type(6n+5) .track-link { color: #BE185D; }
.tracks-grid .track-card:nth-of-type(6n+5):hover { border-color: #F9A8D4; }
/* 6 — cyan */
.tracks-grid .track-card:nth-of-type(6n) ::before,
.tracks-grid .track-card:nth-of-type(6n)::before { background: linear-gradient(90deg, #0E7490, #22D3EE); }
.tracks-grid .track-card:nth-of-type(6n) .track-icon { background: #CFFAFE; color: #0E7490; }
.tracks-grid .track-card:nth-of-type(6n) .track-link { color: #0E7490; }
.tracks-grid .track-card:nth-of-type(6n):hover { border-color: #67E8F9; }

/* =========================================================
   HOW IT WORKS — connected steps with gradient circles
   ========================================================= */
.how-section .steps-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.steps-grid .step {
  position: relative;
  padding: 0 16px;
  text-align: center;
}
/* Connecting line between circles. Skipped on the last step. */
.steps-grid .step::after {
  content: '';
  position: absolute;
  top: 24px; /* matches half of 48px circle height */
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #E0E7FF 0%, #C7D2FE 50%, #E0E7FF 100%);
  z-index: 0;
}
.steps-grid .step:last-child::after { display: none; }

.step-circle {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.18);
  border: 4px solid #FFFFFF; /* lets the connecting line pass behind */
  font-variant-numeric: tabular-nums;
}
.step-circle.step-1 { background: linear-gradient(135deg, #6D28D9, #A78BFA); }
.step-circle.step-2 { background: linear-gradient(135deg, #B45309, #FBBF24); }
.step-circle.step-3 { background: linear-gradient(135deg, #047857, #34D399); }
.step-circle.step-4 { background: linear-gradient(135deg, #1D4ED8, #60A5FA); }

.steps-grid .step h3 { font-size: 15px; margin-bottom: 6px; }
.steps-grid .step p  { font-size: 12px; line-height: 1.55; margin: 0; color: var(--color-text-muted); }

/* Tablet: 2 columns. Hide horizontal line, line connects vertical pairs. */
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps-grid .step::after { display: none; }
}
/* Mobile: single column. Vertical line connects circles. */
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   MASTERCLASSES
   ========================================================= */
.master-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.master-list { display: flex; flex-direction: column; gap: 8px; }
.master-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.master-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #C7D2FE;
}
.master-date {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 6px 8px;
  text-align: center;
  min-width: 44px;
}
.master-date .month { font-size: 9px; color: var(--color-primary); font-weight: 600; }
.master-date .day { font-size: 14px; font-weight: 700; color: var(--color-text); line-height: 1; }
.master-card h3 { font-size: 13px; margin-bottom: 2px; }
.master-card .meta { font-size: 11px; color: var(--color-text-muted); }
.master-card .cta { font-size: 11px; color: var(--color-primary); font-weight: 600; }
@media (max-width: 900px) { .master-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   CORPORATE
   ========================================================= */
.corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.corp-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.corp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
}
.corp-form {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.corp-form h3 { font-size: 14px; letter-spacing: -0.01em; margin-bottom: 4px; }
.corp-form .form-sub { font-size: 12px; color: var(--color-text-muted); margin-bottom: 16px; }
.form-fields { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-field label {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 12px;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-field textarea { min-height: 56px; resize: vertical; }
.form-submit {
  background: var(--color-cta);
  color: #FFFFFF;
  padding: 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s ease;
}
.form-submit:hover { background: #1E3A5F; }
@media (max-width: 768px) {
  .corp-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ----- Turnstile widget container ----- */
.aequitas-turnstile-wrap {
  margin: 4px 0 8px;
}
.aequitas-turnstile-wrap .cf-turnstile {
  display: block;
  width: 100%;
  min-height: 65px;
}
.aequitas-turnstile-wrap iframe { max-width: 100% !important; }

/* ----- Form status messages (success / error) ----- */
.form-status {
  font-size: 12px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  line-height: 1.45;
  border: 1px solid transparent;
}
.form-status-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: #BBF7D0;
}
.form-status-error {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FCA5A5;
}

/* =========================================================
   BLOG
   ========================================================= */
.blog-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #C7D2FE;
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%);
  position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-glyph {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.blog-card-body { padding: 18px; }
.blog-meta {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h3 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.blog-card .read-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}

/* =========================================================
   REVIEWS (Google-style)
   ========================================================= */
.reviews-section { background: #FFFFFF; }

/* Summary block — score, stars, count, write-a-review CTA */
.reviews-summary {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.reviews-summary-score-block { flex: 1; }
.reviews-summary-score-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.reviews-summary-score {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.reviews-summary-stars { display: flex; gap: 2px; }
.reviews-summary-stars svg { fill: var(--color-star); }
.reviews-summary-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}
.reviews-summary-meta strong {
  color: var(--color-text);
  font-weight: 600;
}
.reviews-summary-cta {
  font-size: 12px;
  font-weight: 500;
  color: #1A73E8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.reviews-summary-cta:hover { text-decoration: underline; }

/* Individual review card */
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: box-shadow 220ms cubic-bezier(0.25, 0.1, 0.25, 1),
              border-color 220ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.review-card:hover {
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.08);
  border-color: #C7D2FE;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  color: #FFFFFF;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name-block { flex: 1; min-width: 0; }
.review-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}
.review-date {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 8px;
}
.review-stars svg { fill: var(--color-star); }
.review-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 12px;
}
.review-role {
  font-size: 11px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 12px;
}
.review-actions {
  display: flex;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 11px;
  color: var(--color-text-muted);
}
.review-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}

/* Mobile: summary stacks */
@media (max-width: 640px) {
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .reviews-summary-score { font-size: 24px; }
}

/* Legacy compatibility — old class names still supported */
.review-summary { display: flex; align-items: center; gap: 12px; }
.review-score { font-size: 22px; font-weight: 700; color: var(--color-text); letter-spacing: -0.02em; }
.review-stars { display: flex; gap: 1px; }
.review-stars svg { fill: var(--color-star); }
.review-divider { width: 1px; height: 28px; background: var(--color-border); }
.review-count { font-size: 12px; color: var(--color-text-muted); }

.testimonial-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #C7D2FE;
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.testimonial-meta {
  font-size: 11px;
  color: var(--color-text-muted);
}
.testimonial-rating { display: flex; gap: 2px; margin-bottom: 10px; }
.testimonial-rating svg { fill: var(--color-star); }
.testimonial-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}


/* =========================================================
   FINAL CTA — multi-stop gradient mesh (colorful v2)
   ========================================================= */
.final-cta {
  padding: 64px 32px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(244,114,182,0.40) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(251,191,36,0.30) 0%, transparent 60%),
    linear-gradient(135deg, #1E1B4B 0%, #4338CA 50%, #6D28D9 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.final-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 24px;
  max-width: 480px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.final-cta-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.final-cta .btn-primary { background: #FFFFFF; color: var(--color-cta); }
.final-cta .btn-primary:hover { background: #F1F5F9; }
.final-cta .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.final-cta .btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 48px 0 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .site-brand { display: block; margin-bottom: 8px; }
.footer-tag {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 220px;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 24px; height: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #425466;
}
.footer-social a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { font-size: 12px; line-height: 2; }
.footer-col a { color: #425466; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* =========================================================
   ARCHIVE / SINGLE PAGES
   ========================================================= */
.page-header {
  padding: 64px 0 32px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-soft);
}
.entry-content {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 32px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
}
.entry-content h2, .entry-content h3 { color: var(--color-text); margin-top: 32px; }
.entry-content p { margin-bottom: 16px; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }

/* Single workshop sidebar */
.workshop-detail {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 48px auto;
  padding: 0 32px;
}
.workshop-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.workshop-sidebar dl { margin: 0; }
.workshop-sidebar dt {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
}
.workshop-sidebar dt:first-child { margin-top: 0; }
.workshop-sidebar dd { margin: 0; font-size: 14px; color: var(--color-text); font-weight: 500; }
@media (max-width: 900px) {
  .workshop-detail { grid-template-columns: 1fr; }
  .workshop-sidebar { position: static; }
}

/* =========================================================
   WOOCOMMERCE CART ICON IN HEADER
   ========================================================= */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.header-cart:hover { border-color: var(--color-primary); color: var(--color-primary); }
.header-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header-cart-count.has-items { display: inline-flex; }

/* =========================================================
   WOOCOMMERCE PRODUCT/CART STYLING (light overrides)
   ========================================================= */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  color: var(--color-text);
  font-weight: 600;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  background: var(--color-cta);
  color: #FFFFFF;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #1E3A5F;
}
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--color-primary);
}
.woocommerce-info::before,
.woocommerce-message::before {
  color: var(--color-primary);
}

/* =========================================================
   ELEMENTOR COMPATIBILITY
   ========================================================= */
/* Canvas template - Elementor controls everything */
body.aequitas-canvas { background: #FFFFFF; }
body.aequitas-canvas .site-header,
body.aequitas-canvas .site-footer { display: none; }

/* Full-width template - keep header/footer, full content area */
body.aequitas-elementor .aequitas-elementor-full {
  width: 100%;
  max-width: none;
  padding: 0;
}
body.aequitas-elementor .aequitas-elementor-full > * {
  max-width: none;
}

/* When a section is rendered inside Elementor (via shortcodes) */
.elementor-widget-container .section { padding: 0; }
.elementor-widget-container .section .container { padding: 0; max-width: none; }

/* =========================================================
   STATS STRIP — proof points after trust logos
   ========================================================= */
.stats-strip {
  padding: 56px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-cell {
  text-align: center;
  padding: 0 24px;
}
.stat-number {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
/* Gradient stat numbers — colorful v2. Each cell gets its own gradient
   based on order (1=purple, 2=amber, 3=green, 4=blue). */
.stats-grid .stat-cell:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #6D28D9, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stats-grid .stat-cell:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #B45309, #FBBF24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stats-grid .stat-cell:nth-child(5) .stat-number {
  background: linear-gradient(135deg, #047857, #34D399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stats-grid .stat-cell:nth-child(7) .stat-number {
  background: linear-gradient(135deg, #1D4ED8, #60A5FA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--color-border);
}

/* Stat cell stagger — accounts for dividers between cells */
.stats-grid .stat-cell.is-revealed:nth-child(1) { transition-delay: 0ms; }
.stats-grid .stat-cell.is-revealed:nth-child(3) { transition-delay: 80ms; }
.stats-grid .stat-cell.is-revealed:nth-child(5) { transition-delay: 160ms; }
.stats-grid .stat-cell.is-revealed:nth-child(7) { transition-delay: 240ms; }

/* Tablet — 2 columns, dividers become horizontal between rows */
@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }
  .stat-divider { display: none; }
  .stat-cell { padding: 0 16px; }
  .stat-number { font-size: 36px; }
}
/* Mobile — single column */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-number { font-size: 32px; }
}

/* =========================================================
   ANIMATION LAYER
   =========================================================
   Philosophy: motion that's barely noticeable but makes the
   page feel responsive. All easings under 600ms. All respect
   prefers-reduced-motion.
   ========================================================= */

/* ----- Scroll-triggered reveal (default state) ----- */
.aequitas-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}
.aequitas-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Cascade delays — children of a revealed parent stagger in */
.aequitas-stagger > *.aequitas-reveal { transition-delay: 0ms; }
.aequitas-stagger > *:nth-child(1).is-revealed { transition-delay: 0ms; }
.aequitas-stagger > *:nth-child(2).is-revealed { transition-delay: 60ms; }
.aequitas-stagger > *:nth-child(3).is-revealed { transition-delay: 120ms; }
.aequitas-stagger > *:nth-child(4).is-revealed { transition-delay: 180ms; }
.aequitas-stagger > *:nth-child(5).is-revealed { transition-delay: 240ms; }
.aequitas-stagger > *:nth-child(6).is-revealed { transition-delay: 300ms; }

/* ----- Hero entrance cascade (runs once on page load) ----- */
.hero-grid > div > * {
  opacity: 0;
  transform: translateY(8px);
  animation: aequitas-fade-up 600ms cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.hero-grid > div > *:nth-child(1) { animation-delay: 80ms; }
.hero-grid > div > *:nth-child(2) { animation-delay: 160ms; }
.hero-grid > div > *:nth-child(3) { animation-delay: 240ms; }
.hero-grid > div > *:nth-child(4) { animation-delay: 320ms; }
.hero-window {
  opacity: 0;
  transform: translateY(12px);
  animation: aequitas-fade-up 700ms cubic-bezier(0.25, 0.1, 0.25, 1) 400ms forwards;
}
@keyframes aequitas-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Pill dot pulse (one-shot when revealed) ----- */
.hero-pill .dot {
  position: relative;
}
.hero-pill .dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  animation: aequitas-pulse 2200ms ease-out 1200ms 1 forwards;
}
@keyframes aequitas-pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  80%  { opacity: 0;   transform: scale(2.4); }
  100% { opacity: 0;   transform: scale(2.4); }
}

/* ----- Hero ambient orb removed in v1.7 — replaced by built-in gradient mesh on .hero. ----- */
.hero-orb { display: none; }
@keyframes aequitas-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(1.05); }
  66%      { transform: translate(20px, -20px) scale(0.95); }
}

/* ----- Animated link-arrow underline (left to right) ----- */
.link-arrow {
  position: relative;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 280ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.link-arrow:hover::after { width: 100%; }

/* ----- Workshop card lift refined ----- */
.workshop-card,
.testimonial-card,
.track-card,
.master-card,
.blog-card {
  transition: transform 220ms cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 220ms cubic-bezier(0.25, 0.1, 0.25, 1),
              border-color 220ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ----- Form field focus refinement ----- */
.form-field input,
.form-field textarea,
.form-field select {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.10);
}

/* ----- Button press feedback ----- */
.btn:active {
  transform: translateY(1px);
  transition-duration: 80ms;
}

/* ----- Filter pill smoothing ----- */
.filter-pill { transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }

/* ----- Header shadow on scroll ----- */
.site-header {
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-bottom-color: var(--color-border);
}

/* =========================================================
   REDUCED MOTION — disable all animation for users who ask
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aequitas-reveal { opacity: 1; transform: none; }
  .hero-grid > div > *,
  .hero-window { opacity: 1; transform: none; animation: none; }
  .hero-orb { display: none; }
}
