/* CSS Variables */
:root {
  --colibris-blue: #487bff;
  --colibris-magenta: #ba078c;
  --colibris-yellow: #ffb415;

  --color-primary: #487bff;
  --color-secondary: #ba078c;
  --color-accent: #ffb415;
  --color-light: #f8f9fa;
  --color-dark: #2c3e50;
  --color-text: #555;

  /* Montessori Pedagogy Colors */
  --color-yellow: #ffb415;
  --color-blue: #487bff;
  --color-green: #009c8e;
  --color-magenta: #ba078c;
  --color-text: #3f3f46;
  --color-text-soft: #6b7280;
  --color-surface: #fcfaf8;
  --color-card: #ffffff;
  --color-border: rgba(0, 0, 0, 0.06);
  --color-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-base:
    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent:
    "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", sans-serif;
}

/* Global font */
body,
body *:not(.font-accent) {
  font-family: var(--font-base);
}

/* Global warm background */
html,
body,
#page,
.ast-container,
.site-content,
#content,
.entry-content {
  background-color: #faf7f2 !important;
}

/* Accent font utility class */
.font-accent {
  font-family: var(--font-accent) !important;
}

/* ── Visit Booking Component ── */
.visit-booking-section {
  background: var(--color-surface);
  padding: 80px 0;
}

.visit-booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Compact */
.visit-booking-hero {
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-surface) 0%, #fff 100%);
  border-radius: 24px;
}

.visit-booking-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 20px;
  line-height: 1.2;
}

.visit-booking-subtitle {
  font-size: 20px;
  color: var(--color-text);
  margin: 0 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.visit-booking-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-green);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
}

.visit-booking-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.4);
}

/* Visit Types Section */
.visit-types-section {
  margin-bottom: 80px;
}

.visit-types-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 40px;
}

.visit-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.visit-type-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.visit-type-card:hover {
  border-color: var(--color-green);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 156, 142, 0.15);
}

.visit-type-card.selected {
  border-color: var(--color-green);
  background: linear-gradient(
    135deg,
    rgba(0, 156, 142, 0.05) 0%,
    rgba(0, 156, 142, 0.02) 100%
  );
}

.visit-type-icon {
  font-size: 48px;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-green) 0%, #00d4c4 100%);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.2);
}

.visit-type-content {
  flex: 1;
}

.visit-type-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 12px;
}

.visit-type-description {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 16px;
}

.visit-type-badge {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.visit-type-selector {
  position: absolute;
  top: 20px;
  right: 20px;
}

.visit-type-radio {
  position: relative;
}

.visit-type-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.visit-type-radio label {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.visit-type-radio input[type="radio"]:checked + label {
  border-color: var(--color-green);
  background: var(--color-green);
  position: relative;
}

.visit-type-radio input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

/* Visit Dates Section */
.visit-dates-section {
  margin-bottom: 80px;
}

.visit-dates-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 16px;
}

.visit-dates-subtitle {
  font-size: 18px;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
}

.visit-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.visit-date-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.visit-date-card:hover:not([data-status="full"]) {
  border-color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 156, 142, 0.15);
}

.visit-date-card.selected {
  border-color: var(--color-green);
  background: linear-gradient(
    135deg,
    rgba(0, 156, 142, 0.05) 0%,
    rgba(0, 156, 142, 0.02) 100%
  );
}

.visit-date-card[data-status="full"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.visit-date-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.visit-date-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.visit-date-month {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.visit-date-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.visit-date-badge--available {
  background: var(--color-green);
  color: white;
}

.visit-date-badge--limited {
  background: var(--color-accent);
  color: white;
}

.visit-date-badge--full {
  background: var(--color-text);
  color: white;
}

/* Visit Slots Section */
.visit-slots-section {
  margin-bottom: 80px;
}

.visit-slots-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.visit-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.visit-slot-card {
  background: var(--color-card);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.visit-slot-card:hover {
  border-color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 156, 142, 0.15);
}

.visit-slot-card.selected {
  border-color: var(--color-green);
  background: linear-gradient(
    135deg,
    rgba(0, 156, 142, 0.05) 0%,
    rgba(0, 156, 142, 0.02) 100%
  );
}

.visit-slot-card--limited {
  border-left: 4px solid var(--color-accent);
}

.visit-slot-card--external {
  border-left: 4px solid var(--color-blue);
  background: linear-gradient(
    135deg,
    rgba(72, 123, 255, 0.05) 0%,
    rgba(72, 123, 255, 0.02) 100%
  );
}

.visit-slot-card--external:hover {
  border-color: var(--color-blue);
  box-shadow: 0 8px 32px rgba(72, 123, 255, 0.15);
}

.visit-slot-external {
  font-size: 11px;
  color: var(--color-blue);
  font-weight: 600;
  background: rgba(72, 123, 255, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 8px;
}

.visit-slot-time {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  flex-shrink: 0;
  min-width: 80px;
}

.visit-slot-details {
  flex: 1;
}

.visit-slot-school {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.visit-slot-label {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.visit-slot-spots {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
}

/* Visit Summary Section */
.visit-summary-section {
  margin-bottom: 80px;
}

.visit-summary-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.visit-summary-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.visit-summary-content {
  margin-bottom: 24px;
}

.visit-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.visit-summary-item:last-child {
  border-bottom: none;
}

.visit-summary-label {
  font-weight: 600;
  color: var(--color-text);
}

.visit-summary-value {
  font-weight: 700;
  color: var(--color-dark);
}

.visit-summary-note {
  padding: 20px;
  background: var(--color-surface);
  border-radius: 12px;
  border-left: 4px solid var(--color-green);
}

.visit-summary-note p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Visit Form Section */
.visit-form-section {
  margin-bottom: 80px;
}

.visit-form-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.visit-form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.visit-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.visit-form-group {
  margin-bottom: 24px;
}

.visit-form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.visit-form-group input,
.visit-form-group select,
.visit-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--color-card);
}

.visit-form-group input:focus,
.visit-form-group select:focus,
.visit-form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(0, 156, 142, 0.1);
}

.visit-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.visit-form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.visit-form-checkbox-label {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.visit-form-actions {
  text-align: center;
  margin-top: 32px;
}

.visit-form-submit {
  background: var(--color-green);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
}

.visit-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.4);
}

.visit-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.visit-form-note {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 16px;
}

/* Visit Info Section */
.visit-info-section {
  margin-bottom: 80px;
}

.visit-info-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.visit-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.visit-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.visit-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.visit-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 12px;
}

.visit-info-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
}

.visit-info-content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 12px;
}

.visit-info-link {
  color: var(--color-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.visit-info-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .visit-booking-section {
    padding: 40px 0;
  }

  .visit-booking-container {
    padding: 0 16px;
  }

  .visit-booking-hero {
    padding: 40px 20px;
    margin-bottom: 40px;
  }

  .visit-booking-title {
    font-size: 32px;
  }

  .visit-booking-subtitle {
    font-size: 18px;
  }

  .visit-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .visit-type-card {
    padding: 24px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .visit-type-selector {
    position: static;
    margin-top: 16px;
  }

  .visit-dates-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .visit-slots-grid {
    grid-template-columns: 1fr;
  }

  .visit-form-grid {
    grid-template-columns: 1fr;
  }

  .visit-info-grid {
    grid-template-columns: 1fr;
  }

  .visit-summary-card,
  .visit-form-card,
  .visit-info-card {
    padding: 24px;
  }
}

/* Page Pédagogie - Pleine largeur */
.pedagogy-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.pedagogy-page .section {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Forcer les sections pleine largeur sauf celles qui ont container-narrow */
.pedagogy-page > section:not(.manifesto-banner):not(.cta-section) {
  padding-left: 20px;
  padding-right: 20px;
}

/* Composants Pédagogie - Styles additionnels */

/* Admissions Precheck Component */
.admissions-precheck {
  background: var(--color-surface, #fcfaf8);
  padding: 80px 0;
}

.admissions-precheck__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.admissions-precheck__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text, #3f3f46);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.admissions-precheck__intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-soft, #6b7280);
  margin: 0;
}

.admissions-precheck__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.admissions-precheck__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-card, #ffffff);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.admissions-precheck__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.admissions-precheck__icon {
  width: 48px;
  height: 48px;
  background: var(--color-yellow, #ffb415);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.admissions-precheck__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text, #3f3f46);
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admissions-precheck {
    padding: 60px 0;
  }

  .admissions-precheck__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .admissions-precheck__item {
    padding: 20px;
  }

  .admissions-precheck__icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Section padding */
.section-padding-large {
  padding: 100px 0;
}

/* Pedagogy Pillars */
.pedagogy-pillars__title {
  position: relative;
}

.pedagogy-pillars__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-green);
  border-radius: 2px;
}

.pedagogy-pillars__item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pedagogy-pillars__item:hover {
  transform: translateY(-5px);
}

.pedagogy-pillars__icon {
  transition: transform 0.3s ease;
}

.pedagogy-pillars__item:hover .pedagogy-pillars__icon {
  transform: scale(1.1);
}

/* Editorial Split */
.editorial-split__title {
  position: relative;
}

.editorial-split__title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-blue);
  border-radius: 2px;
}

.editorial-split__point-marker {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Manifesto Banner */
.manifesto-banner__text {
  position: relative;
}

.manifesto-banner__text::before,
.manifesto-banner__text::after {
  content: '"';
  font-size: 60px;
  line-height: 0;
  position: absolute;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.manifesto-banner__text::before {
  top: 20px;
  left: -40px;
}

.manifesto-banner__text::after {
  bottom: -10px;
  right: -40px;
}

/* Program Manifesto - Em tags coloring */
.p23-manifesto__text em,
.p36-manifesto__text em,
.p612-manifesto__text em,
.college-manifesto__text em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 400;
}

/* Reassurance Section */
.reassurance-section__title {
  position: relative;
}

.reassurance-section__title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-green);
  border-radius: 2px;
}

.reassurance-section__block {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reassurance-section__block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.reassurance-section__icon {
  transition: transform 0.3s ease;
}

.reassurance-section__block:hover .reassurance-section__icon {
  transform: scale(1.05);
}

/* Environment Showcase */
.environment-showcase__title {
  position: relative;
}

.environment-showcase__title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-yellow);
  border-radius: 2px;
}

.environment-showcase__main-image {
  transition: transform 0.3s ease;
}

.environment-showcase__visual:hover .environment-showcase__main-image {
  transform: scale(1.02);
}

.environment-showcase__keyword {
  transition: all 0.3s ease;
}

.environment-showcase__keyword:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .section-padding-large {
    padding: 60px 0;
  }

  .pedagogy-pillars__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-split__content {
    flex-direction: column !important;
    gap: 40px;
  }

  .reassurance-section__block-content {
    flex-direction: column !important;
    gap: 30px;
  }

  .reassurance-section__block {
    padding: 40px 30px;
  }

  .manifesto-banner__text {
    font-size: 22px;
  }

  .manifesto-banner__text::before,
  .manifesto-banner__text::after {
    font-size: 40px;
  }

  .manifesto-banner__text::before {
    left: -25px;
  }

  .manifesto-banner__text::after {
    right: -25px;
  }

  .environment-showcase__secondary-image {
    position: static !important;
    width: 100% !important;
    height: 150px !important;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .pedagogy-pillars__title,
  .editorial-split__title,
  .reassurance-section__title,
  .environment-showcase__title {
    font-size: 24px;
  }

  .manifesto-banner__text {
    font-size: 18px;
  }

  .reassurance-section__block {
    padding: 30px 20px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  width: 100%;
  padding: 0 16px;
}

.container-narrow {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 30px;
}

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

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

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

/* Montessori Pedagogy Component */
.montessori-pedagogy {
  background-color: var(--color-surface);
  padding: 120px 0;
}

.montessori-pedagogy__panel {
  background: var(--color-card);
  border-radius: 24px;
  box-shadow: var(--color-shadow);
  padding: 56px;
  overflow: hidden;
}

.montessori-pedagogy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr);
  gap: 80px;
  align-items: center;
}

.montessori-pedagogy__content {
  max-width: 580px;
}

.montessori-pedagogy__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 48px 0;
  line-height: 1.2;
}

.montessori-pedagogy__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.montessori-pedagogy__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.montessori-pedagogy__item:hover {
  transform: translateY(-2px);
}

.montessori-pedagogy__icon {
  flex-shrink: 0;
}

.montessori-pedagogy__icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.montessori-pedagogy__icon-badge img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.montessori-pedagogy__item:hover .montessori-pedagogy__icon-badge {
  transform: scale(1.05);
}

.montessori-pedagogy__item-content {
  flex: 1;
}

.montessori-pedagogy__item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.montessori-pedagogy__item-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
}

.montessori-pedagogy__media {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.montessori-pedagogy__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.montessori-pedagogy__media:hover .montessori-pedagogy__image {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .montessori-pedagogy {
    padding: 96px 0;
  }

  .montessori-pedagogy__panel {
    padding: 48px;
  }

  .montessori-pedagogy__grid {
    gap: 56px;
  }

  .montessori-pedagogy__title {
    font-size: 2.25rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .montessori-pedagogy {
    padding: 80px 0;
  }

  .montessori-pedagogy__panel {
    padding: 40px 24px;
  }

  .montessori-pedagogy__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .montessori-pedagogy__content {
    max-width: 100%;
  }

  .montessori-pedagogy__title {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  .montessori-pedagogy__list {
    gap: 24px;
  }

  .montessori-pedagogy__item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .montessori-pedagogy__icon-badge {
    width: 48px;
    height: 48px;
  }

  .montessori-pedagogy__item-title {
    font-size: 1.25rem;
  }

  .montessori-pedagogy__media {
    min-height: 320px;
    order: 2;
  }

  .montessori-pedagogy__content {
    order: 1;
  }
}

@media (max-width: 480px) {
  .montessori-pedagogy {
    padding: 60px 0;
  }

  .montessori-pedagogy__panel {
    padding: 32px 20px;
  }

  .montessori-pedagogy__title {
    font-size: 1.75rem;
  }

  .montessori-pedagogy__item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .montessori-pedagogy__icon-badge {
    width: 44px;
    height: 44px;
  }

  .montessori-pedagogy__icon-badge img {
    width: 20px;
    height: 20px;
  }
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-yellow);
  color: #000;
}

/* Home Schools Component */
.home-schools {
  padding: 100px 0;
  text-align: center;
}

.home-schools__header {
  margin-bottom: 60px;
}

.home-schools__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.home-schools__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-schools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.home-schools__card {
  background: var(--color-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: left;
  position: relative;
}

.home-schools__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.home-schools__ribbon {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  border-radius: 20px 20px 0 0;
}

.home-schools__ribbon.is-blue {
  background: var(--color-blue);
}

.home-schools__ribbon.is-magenta {
  background: var(--color-magenta);
}

.home-schools__ribbon.is-green {
  background: var(--color-green);
}

.home-schools__media {
  padding: 16px;
}

.home-schools__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.home-schools__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.home-schools__card:hover .home-schools__image {
  transform: scale(1.05);
}

.home-schools__body {
  padding: 24px 32px 32px 32px;
}

.home-schools__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.home-schools__subtitle {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.home-schools__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.home-schools__link:hover {
  gap: 12px;
}

/* ── Careers Page Styles ── */
.careers-page {
  background: linear-gradient(135deg, #fcfaf8 0%, #ffffff 100%);
}

/* Hero Section */
.careers-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.careers-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.careers-hero .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.careers-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(72, 123, 255, 0.85) 0%,
    rgba(186, 7, 140, 0.75) 100%
  );
  z-index: 2;
}

.careers-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.careers-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 30px;
  letter-spacing: -0.02em;
}

.careers-hero .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 50px;
  opacity: 0.95;
}

.careers-hero .hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Headers */
.careers-page .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.careers-page .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.careers-page .section-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Differentiation Section */
.careers-differentiation {
  padding: 100px 0;
  background: white;
}

.differentiation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.diff-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-yellow);
}

.diff-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.diff-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.diff-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
}

/* Who is this for Section */
.careers-fit {
  padding: 100px 0;
  background: var(--color-surface);
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.fit-column {
  background: white;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.fit-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.fit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.good-fit .fit-icon {
  background: var(--color-green);
  color: white;
}

.not-fit .fit-icon {
  background: var(--color-text);
  color: white;
}

.fit-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.good-fit .fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 600;
}

.not-fit .fit-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--color-text);
  font-weight: 600;
}

/* Roles Section */
.careers-roles {
  padding: 100px 0;
  background: white;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.role-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.role-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.role-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.role-card > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0 0 30px;
}

.role-requirements {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.role-requirements li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.role-requirements li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 600;
}

/* Work Environment Section */
.careers-environment {
  padding: 100px 0;
  background: var(--color-surface);
}

.environment-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.environment-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.environment-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.environment-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.environment-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
}

/* Testimonials Section */
.careers-testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  display: none;
}

.testimonial-content {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.author-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* Process Section */
.careers-process {
  padding: 100px 0;
  background: var(--color-surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(72, 123, 255, 0.3);
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.3;
}

.process-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
}

/* Final CTA Section */
.careers-cta {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--color-blue) 0%,
    var(--color-magenta) 100%
  );
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.cta-content > p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-note {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--color-blue);
  border-color: white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Careers Page Specific Button Overrides */
.careers-hero .btn-primary {
  background: white;
  color: var(--color-blue);
}

.careers-hero .btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.role-card .btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.role-card .btn-outline:hover {
  background: var(--color-blue);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .careers-hero {
    height: 60vh;
    min-height: 500px;
  }

  .careers-hero .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .differentiation-grid,
  .roles-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fit-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .diff-card,
  .role-card,
  .testimonial-card,
  .fit-column {
    padding: 40px 30px;
  }

  .environment-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .careers-page .section-header {
    margin-bottom: 50px;
  }

  .careers-differentiation,
  .careers-fit,
  .careers-roles,
  .careers-environment,
  .careers-testimonials,
  .careers-process {
    padding: 60px 0;
  }

  .careers-cta {
    padding: 80px 0;
  }

  .diff-card,
  .role-card,
  .testimonial-card,
  .fit-column {
    padding: 30px 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.home-schools__link-arrow {
  transition: transform 0.3s ease;
}

.home-schools__link:hover .home-schools__link-arrow {
  transform: translateX(2px);
}

/* Montessori Pedagogy Cubes Component */
.montessori-pedagogy-cubes {
  padding: 120px 0;
  background: #fafafa;
}

.montessori-pedagogy-cubes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.95fr);
  gap: 60px;
  align-items: center;
}

.montessori-pedagogy-cubes__visual {
  position: relative;
}

.montessori-pedagogy-cubes__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.1;
}

.montessori-pedagogy-cubes__accent {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-yellow);
  margin: 0 0 60px 0;
  border-radius: 2px;
}

.montessori-pedagogy-cubes__scene {
  position: relative;
  height: 300px;
  margin-top: 40px;
}

.montessori-pedagogy-cubes__connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connector {
  stroke-width: 2;
  stroke-dasharray: 5, 8;
  stroke-linecap: round;
  opacity: 0.4;
}

.montessori-pedagogy-cubes__cube {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
}

.montessori-pedagogy-cubes__cube:hover {
  transform: scale(1.05);
}

.montessori-pedagogy-cubes__cube--yellow {
  background: linear-gradient(135deg, #ffb415, #ffa500);
  top: 20px;
  left: 160px;
  animation: cubeFloatA 6s ease-in-out infinite;
}

.montessori-pedagogy-cubes__cube--magenta {
  background: linear-gradient(135deg, #ba078c, #d946ef);
  top: 60px;
  left: 120px;
  animation: cubeFloatB 7s ease-in-out infinite 1s;
}

.montessori-pedagogy-cubes__cube--blue {
  background: linear-gradient(135deg, #487bff, #6366f1);
  top: 100px;
  left: 140px;
  animation: cubeFloatC 5s ease-in-out infinite 2s;
}

.montessori-pedagogy-cubes__cube--green {
  background: linear-gradient(135deg, #009c8e, #10b981);
  top: 140px;
  left: 180px;
  animation: cubeFloatD 8s ease-in-out infinite 0.5s;
}

.cube-face {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

.montessori-pedagogy-cubes__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.montessori-pedagogy-cubes__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.montessori-pedagogy-cubes__item:last-child {
  border-bottom: none;
}

.montessori-pedagogy-cubes__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.montessori-pedagogy-cubes__item-content {
  flex: 1;
}

.montessori-pedagogy-cubes__item-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.montessori-pedagogy-cubes__item-text {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}

/* Cube Animation Keyframes */
@keyframes cubeFloatA {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes cubeFloatB {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

@keyframes cubeFloatC {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes cubeFloatD {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .montessori-pedagogy-cubes__cube {
    animation: none !important;
  }

  .connector {
    opacity: 0.2;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .montessori-pedagogy-cubes {
    padding: 100px 0;
  }

  .montessori-pedagogy-cubes__grid {
    gap: 48px;
  }

  .montessori-pedagogy-cubes__title {
    font-size: 3rem;
  }

  .montessori-pedagogy-cubes__scene {
    height: 280px;
  }

  .montessori-pedagogy-cubes__cube {
    width: 70px;
    height: 70px;
  }

  .cube-face {
    width: 50px;
    height: 50px;
  }

  .cube-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .montessori-pedagogy-cubes {
    padding: 80px 0;
  }

  .montessori-pedagogy-cubes__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .montessori-pedagogy-cubes__title {
    font-size: 2.5rem;
  }

  .montessori-pedagogy-cubes__scene {
    height: 250px;
  }

  .montessori-pedagogy-cubes__connectors {
    display: none;
  }

  .montessori-pedagogy-cubes__cube {
    width: 60px;
    height: 60px;
  }

  .montessori-pedagogy-cubes__cube--yellow {
    top: 20px;
    left: 50px;
  }

  .montessori-pedagogy-cubes__cube--magenta {
    top: 80px;
    left: 120px;
  }

  .montessori-pedagogy-cubes__cube--blue {
    top: 140px;
    left: 60px;
  }

  .montessori-pedagogy-cubes__cube--green {
    top: 200px;
    left: 100px;
  }

  .montessori-pedagogy-cubes__content {
    gap: 24px;
  }

  .montessori-pedagogy-cubes__item {
    padding: 16px 0;
  }

  .montessori-pedagogy-cubes__item-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .montessori-pedagogy-cubes {
    padding: 60px 0;
  }

  .montessori-pedagogy-cubes__title {
    font-size: 2rem;
  }

  .montessori-pedagogy-cubes__scene {
    height: 200px;
  }

  .montessori-pedagogy-cubes__cube {
    width: 50px;
    height: 50px;
  }

  .cube-face {
    width: 40px;
    height: 40px;
  }

  .cube-icon {
    width: 24px;
    height: 24px;
  }

  .montessori-pedagogy-cubes__cube--yellow {
    top: 10px;
    left: 30px;
  }

  .montessori-pedagogy-cubes__cube--blue {
    top: 110px;
    left: 40px;
  }

  .montessori-pedagogy-cubes__cube--green {
    top: 160px;
    left: 70px;
  }

  .montessori-pedagogy-cubes__item-title {
    font-size: 1.125rem;
  }

  .montessori-pedagogy-cubes__item-text {
    font-size: 0.95rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-schools {
    padding: 80px 0;
  }

  .home-schools__grid {
    gap: 32px;
  }

  .home-schools__title {
    font-size: 2.25rem;
  }

  .home-schools__content {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .home-schools {
    padding: 60px 0;
  }

  .home-schools__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .home-schools__header {
    margin-bottom: 40px;
  }

  .home-schools__title {
    font-size: 2rem;
  }

  .home-schools__subtitle {
    font-size: 1rem;
  }

  .home-schools__content {
    padding: 24px 16px;
  }

  .home-schools__card-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .home-schools {
    padding: 40px 0;
  }

  .home-schools__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-schools__title {
    font-size: 1.75rem;
  }

  .home-schools__content {
    padding: 20px 16px;
  }

  .home-schools__card-title {
    font-size: 18px;
  }

  .home-schools__subtitle {
    font-size: 0.95rem;
  }
}

/* Montessori Pillars Component */
.montessori-pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.montessori-pillars__visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.montessori-cubes-image {
  width: 100%;
  max-width: 700px;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.montessori-pillars__content {
  padding: 20px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 40px 0;
  line-height: 1.2;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  flex-shrink: 0;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon--autonomie {
  color: #ffb415;
}

.pillar-icon--confiance {
  color: #ba078c;
}

.pillar-icon--apprentissage {
  color: #487bff;
}

.pillar-icon--environnement {
  color: #009c8e;
}

.montessori-pillars--line .pillar-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.montessori-pillars--emoji .pillar-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  color: #ffffff;
  margin-top: 0;
}

.montessori-pillars--emoji .pillar-icon--autonomie {
  background: #ffb415;
}

.montessori-pillars--emoji .pillar-icon--confiance {
  background: #ba078c;
}

.montessori-pillars--emoji .pillar-icon--apprentissage {
  background: #487bff;
}

.montessori-pillars--emoji .pillar-icon--environnement {
  background: #009c8e;
}

.montessori-pillars--emoji .pillar-icon svg {
  width: 58%;
  height: 58%;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.montessori-pillars--emoji .pillar-icon__asset {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1);
}

.pillar-content {
  flex: 1;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.pillar-text {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 900px) {
  .montessori-pillars__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .montessori-pillars__visual {
    text-align: center;
  }

  .montessori-cubes-image {
    max-width: 600px;
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 30px;
  }

  .pillar-item {
    padding: 10px 0;
  }

  .pillar-title {
    font-size: 1.125rem;
  }
}

@media (max-width: 600px) {
  .montessori-pillars__grid {
    gap: 30px;
  }

  .montessori-cubes-image {
    max-width: 400px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .pillar-item {
    padding: 8px 0;
    gap: 12px;
  }

  .pillar-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .montessori-pillars--emoji .pillar-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .pillar-title {
    font-size: 1rem;
  }

  .pillar-text {
    font-size: 0.95rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .montessori-cubes-image {
    animation: none !important;
  }
}

.btn-secondary {
  background: var(--color-blue);
  color: white;
}

.card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--color-light);
}

/* Schools Section */
.schools-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.schools-section h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 50px;
  color: #2c3e50;
}

body[class*="page-template-page-"] .site-content > .ast-container,
body[class*="page-template-page-"] #content.site-content > .ast-container,
body.ast-page-builder-template.ast-page-builder .site-content > .ast-container,
body.ast-page-builder-template.ast-page-builder
  #content.site-content
  > .ast-container,
body.home .site-content > .ast-container,
body.home #content.site-content > .ast-container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  display: block;
}

body[class*="page-template-page-"] #primary,
body[class*="page-template-page-"] main,
body.ast-page-builder-template.ast-page-builder #primary,
body.ast-page-builder-template.ast-page-builder main,
body.home #primary,
body.home main {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body[class*="page-template-page-"] .site-content > .ast-container > *,
body[class*="page-template-page-"] #content.site-content > .ast-container > *,
body.ast-page-builder-template.ast-page-builder
  .site-content
  > .ast-container
  > *,
body.ast-page-builder-template.ast-page-builder
  #content.site-content
  > .ast-container
  > *,
body.home .site-content > .ast-container > *,
body.home #content.site-content > .ast-container > * {
  width: 100%;
  max-width: 100%;
}

.hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  min-height: 500px; /* hauteur fixe pour cohérence */
  padding: 60px 0;

  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

/* Better image display for program pages - prevent cropping */
.page-program-2-3 .hero,
.page-program-3-6 .hero,
.page-program-6-12 .hero,
.page-program-college .hero,
.nursery-page .hero {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #f8fafc !important;
  min-height: 600px !important; /* Increased height for better image display */
}

/* Full width hero override - fill width, scale height proportionally */
.hero--full-width {
  background-size: 100% auto !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-color: #f8fafc !important;
  min-height: 600px !important;
  aspect-ratio: 16 / 9;
}

/* Dark overlay for better text visibility */
.page-program-2-3 .hero::before,
.page-program-3-6 .hero::before,
.page-program-6-12 .hero::before,
.page-program-college .hero::before,
.nursery-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.page-program-2-3 .hero > *,
.page-program-3-6 .hero > *,
.page-program-6-12 .hero > *,
.page-program-college .hero > *,
.nursery-page .hero > * {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}
/*.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(20, 32, 59, 0.82) 0%,
      rgba(29, 78, 216, 0.42) 45%,
      rgba(186, 7, 140, 0.35) 100%
    ),
    rgba(0, 0, 0, 0.22);
}*/

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-glow--one {
  top: -60px;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgba(255, 180, 21, 0.28);
}

.hero-glow--two {
  bottom: -80px;
  left: 6%;
  width: 320px;
  height: 320px;
  background: rgba(72, 123, 255, 0.24);
}

/* Admissions journey */
.admissions-journey {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.admissions-journey__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.admissions-journey__title {
  margin: 0 0 0.75rem;
}

.admissions-journey__subtitle {
  margin: 0;
  color: #667085;
  font-size: 1.125rem;
  line-height: 1.6;
}

.admissions-journey__canvas {
  position: relative;
  height: 160px;
  margin-bottom: 1.5rem;
}

.admissions-journey__path {
  width: 100%;
  height: 100%;
  display: block;
}

.admissions-journey__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  align-items: end;
  position: relative;
}

.journey-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 2rem 2rem 1.75rem;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  z-index: 2;
}

.journey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.12);
}

.journey-card__topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 28px 28px 0 0;
  background: currentColor;
}

.journey-card__badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 110px;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.15);
}

.journey-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.journey-step[style*="#487BFF"] .journey-step__icon {
  background: #487bff;
}

.journey-step[style*="#009C8E"] .journey-step__icon {
  background: #009c8e;
}

.journey-step[style*="#FFB415"] .journey-step__icon {
  background: #ffb415;
}

.journey-step[style*="#BA078C"] .journey-step__icon {
  background: #ba078c;
}

.journey-step[style*="#487BFF"] .journey-step__icon svg {
  stroke: #ffffff;
  fill: none;
}

.journey-step[style*="#009C8E"] .journey-step__icon svg {
  stroke: #ffffff;
  fill: none;
}

.journey-step[style*="#FFB415"] .journey-step__icon svg {
  stroke: #ffffff;
  fill: none;
}

.journey-step[style*="#BA078C"] .journey-step__icon svg {
  stroke: #ffffff;
  fill: none;
}

.journey-step__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

.journey-card__title {
  text-align: center;
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  line-height: 1.15;
  color: #2f3440;
}

.journey-card__text {
  text-align: center;
  margin: 0 auto;
  max-width: 280px;
  color: #667085;
  font-size: 1.05rem;
  line-height: 1.75;
}

.journey-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 0;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  min-width: 220px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.journey-card__cta:hover,
.journey-card__cta:focus {
  color: #fff;
  opacity: 0.94;
  transform: translateY(-1px);
}

.journey-step--blue {
  --step-color: #6b8fff;
}

.journey-step--green {
  --step-color: #2ba89f;
}

.journey-step--yellow {
  --step-color: #f5c542;
}

.journey-step--magenta {
  --step-color: #d04b9e;
}

.journey-step--blue .journey-step__badge,
.journey-step--blue .journey-step__cta {
  background: var(--step-color);
}

.journey-step--green .journey-step__badge,
.journey-step--green .journey-step__cta {
  background: var(--step-color);
}

.journey-step--yellow .journey-step__badge,
.journey-step--yellow .journey-step__cta {
  background: var(--step-color);
}

.journey-step--magenta .journey-step__badge,
.journey-step--magenta .journey-step__cta {
  background: var(--step-color);
}

.journey-step--blue .journey-step__topline {
  background: var(--step-color);
}

.journey-step--green .journey-step__topline {
  background: var(--step-color);
}

.journey-step--yellow .journey-step__topline {
  background: var(--step-color);
}

.journey-step--magenta .journey-step__topline {
  background: var(--step-color);
}

/* layout proche de ton mockup */
.journey-step--step-1 {
  grid-column: 1 / span 4;
  transform: translateY(18px);
  z-index: 1;
}
.journey-card--step-2 {
  grid-column: 4 / span 3;
  z-index: 3;
}
.journey-card--step-3 {
  grid-column: 6 / span 3;
  z-index: 4;
}
.journey-card--step-4 {
  grid-column: 10 / span 3;
  transform: translateY(18px);
  z-index: 2;
}

/* responsive */
@media (max-width: 1024px) {
  .admissions-journey__canvas {
    height: 110px;
  }

  .journey-card {
    min-height: 380px;
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .journey-card__title {
    font-size: 1.9rem;
  }
}

@media (max-width: 820px) {
  .admissions-journey__canvas {
    display: none;
  }

  .admissions-journey__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .journey-card--step-1,
  .journey-card--step-2,
  .journey-card--step-3,
  .journey-card--step-4 {
    grid-column: auto;
    transform: none;
  }

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

/* Shared Basic Card Component */
.basic-card {
  position: relative;
}

.basic-card--with-bottom-accent {
  --basic-card-accent: var(--card-accent, #487bff);
  --basic-card-accent-height: 8px;
  --basic-card-accent-radius: 16px;
}

.basic-card--with-bottom-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--basic-card-accent-height);
  background: var(--basic-card-accent);
  border-radius: 0 0 var(--basic-card-accent-radius)
    var(--basic-card-accent-radius);
  z-index: 2;
  pointer-events: none;
}

.basic-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.basic-card__media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basic-card__media--edge-to-edge {
  margin: 0;
}

/* Hover expand variant */
.basic-card--hover-expand {
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.basic-card--hover-expand .basic-card__text,
.basic-card--hover-expand .basic-card__html-content,
.basic-card--hover-expand .basic-card__content > a,
.basic-card--hover-expand
  .basic-card__content
  > div:not(.basic-card__html-content) {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.basic-card--hover-expand:hover .basic-card__text,
.basic-card--hover-expand:hover .basic-card__html-content,
.basic-card--hover-expand:hover .basic-card__content > a,
.basic-card--hover-expand:hover
  .basic-card__content
  > div:not(.basic-card__html-content) {
  max-height: 500px;
  opacity: 1;
  margin: revert;
  padding: revert;
}

.basic-card--hover-expand:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .basic-card--hover-expand,
  .basic-card--hover-expand .basic-card__text,
  .basic-card--hover-expand .basic-card__html-content {
    transition: none;
  }
}

/* Admissions Journey - New Component */
.admissions-journey {
  padding: 80px 0;
  background: transparent;
}

.admissions-journey__header {
  text-align: center;
  margin-bottom: 60px;
}

.admissions-journey__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f3440;
  margin: 0 0 16px 0;
}

.admissions-journey__subtitle {
  font-size: 1.125rem;
  color: #667085;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.admissions-journey__path {
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
}

.admissions-journey__path svg {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

.admissions-journey__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  grid-auto-rows: 1fr;
}

.school-page .admissions-journey__steps {
  grid-template-columns: repeat(3, minmax(240px, 280px));
  justify-content: center;
}

/* Scroll-based animation setup */
.admissions-journey__path-line {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.admissions-journey__path.is-visible .admissions-journey__path-line {
  stroke-dashoffset: 0;
}

.journey-step {
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%),
    linear-gradient(var(--step-color), var(--step-color));
  background-repeat: no-repeat;
  background-size:
    100% calc(100% - 8px),
    100% 8px;
  background-position:
    0 0,
    0 100%;
  border: 1px solid rgba(17, 24, 39, 0.04);
  border-radius: 28px;
  padding: 56px 24px 32px;
  box-shadow:
    0 20px 45px rgba(16, 24, 40, 0.08),
    0 6px 12px rgba(16, 24, 40, 0.04);
  text-align: center;
  position: relative;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  opacity: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.journey-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(
    circle at top center,
    rgba(255, 255, 255, 0.7),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.journey-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 48px rgba(16, 24, 40, 0.1),
    0 8px 16px rgba(16, 24, 40, 0.06);
}

.journey-step__badge {
  display: none;
}

.journey-step__icon {
  width: 64px;
  height: 64px;
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--step-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.16);
  z-index: 12;
}

.journey-step__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admissions-journey .journey-step__title {
  color: var(--step-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.3;
}

.journey-step__text {
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 26px;
}

.journey-step .basic-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.journey-step .basic-card__content > a {
  margin-top: auto;
  align-self: center;
}

.journey-step__cta {
  display: inline-block;
  background: var(--step-color);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(16, 24, 40, 0.08);
}

.journey-step__cta:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .admissions-journey__path {
    display: none;
  }

  .admissions-journey__steps {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .school-page .admissions-journey__steps {
    grid-template-columns: 1fr;
  }

  .admissions-journey__title {
    font-size: 2rem;
  }

  .journey-step {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    padding: 24px 20px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  display: flex;
  justify-content: center; /* centre horizontalement */
}

.hero-content-inner {
  max-width: 760px;
  padding: 40px 0;
  text-align: center; /* centre le texte */
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-description {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

/* Grille de cartes */
.cards-grid {
  display: grid;
  gap: 24px;
}

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

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
}

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

.programs-grid-intro--immersive {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.programs-grid-intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
  border-radius: 20px;
}

.programs-grid-intro__content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}

.programs-grid-intro__cta {
  margin-top: 4px;
  display: inline-flex;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: #487bff;
  border: 1px solid #487bff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.programs-grid-intro__cta:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(72, 123, 255, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .programs-grid-flat {
    grid-template-columns: 1fr;
  }

  .programs-grid-intro--immersive {
    min-height: 180px;
  }
}

/* Programs Grid Styles */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.basic-card--hover-expand:hover .basic-card__content {
  padding-bottom: 2rem !important;
}

.program-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.program-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card__content {
  padding: 2rem;
}

.program-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.5rem;
}

.program-card__age {
  display: inline-block;
  background: var(--color-green);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.program-card__description {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.program-card__availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.availability-label {
  font-weight: 600;
  color: var(--color-text-soft);
}

.availability-location {
  color: var(--color-green);
  font-weight: 600;
}

.program-card__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.program-card__actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Schools Availability Styles */
.schools-availability {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.school-availability-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.school-availability-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 1.5rem;
}

.programs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.programs-list li {
  padding: 0.5rem 0;
  color: var(--color-text);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .schools-availability {
    grid-template-columns: 1fr;
  }
}

/* Styles des cartes d'admission */
.admission-level-card {
  --program-accent: #487bff;
  --card-accent: var(--program-accent);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%),
    linear-gradient(var(--card-accent), var(--card-accent));
  background-repeat: no-repeat;
  background-size:
    100% calc(100% - 8px),
    100% 8px;
  background-position:
    0 0,
    0 100%;
  box-shadow: 0 14px 34px rgba(18, 23, 33, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.admission-level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(18, 23, 33, 0.12);
}

.admission-level-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.admission-level-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.admission-level-card:hover .admission-level-card-media img {
  transform: scale(1.04);
}

.admission-level-card-body {
  padding: 14px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.admission-level-card-age {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--program-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.2);
}

.admission-level-card-title {
  font-size: 1.28rem;
  margin: 0;
  color: var(--card-accent);
  font-weight: 600;
  text-align: center;
}

.admission-level-card-quote {
  margin: 0;
  font-family: var(--font-accent) !important;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--card-accent);
  opacity: 0.85;
  text-align: center;
}

.admission-level-card-text {
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
  color: #4b5563;
}

.admission-level-card-schools-label {
  margin: 0;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admission-level-card-schools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admission-level-card-school {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f6f8fb;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.admission-level-card-school--link {
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.admission-level-card-school--link:hover {
  background: #e8ecf4;
  color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}

.admission-level-card-school--link:active {
  transform: translateY(0);
}

.admission-level-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.admission-level-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.admission-level-card-btn--secondary {
  border: 1px solid #d0d7e2;
  color: #334155;
  background: #fff;
}

.admission-level-card-btn--secondary:hover {
  border-color: #b8c1ce;
  color: #1f2937;
}

.admission-level-card-btn--primary {
  border: 1px solid var(--program-accent);
  background: var(--program-accent);
  color: #fff;
}

.admission-level-card-btn--primary:hover {
  filter: brightness(0.95);
}

.admission-level-card--0-3 {
  --program-accent: #e07a5f;
}

.admission-level-card--2-3 {
  --program-accent: #ffb415;
}

.admission-level-card--3-6 {
  --program-accent: #009c8e;
}

.admission-level-card--6-11 {
  --program-accent: #487bff;
}

.admission-level-card--12-15 {
  --program-accent: #ba078c;
}

@media (max-width: 768px) {
  .admission-level-card-body {
    padding: 18px;
  }

  .admission-level-card-title {
    font-size: 1.15rem;
  }
}

/* Styles spécifiques à la page Nos écoles */
.our-schools-intro {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.our-schools-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #487bff, #ec4899, #22c55e);
}

.our-schools-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c3e50;
  line-height: 1.2;
}

.our-schools-intro p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: #5d6b7a;
  margin: 0;
  max-width: 800px;
}

/* Grille des écoles premium */
.schools-grid__header {
  margin-bottom: 28px;
  text-align: center;
}

.schools-grid__title {
  margin: 0;
}

.schools-grid-cards--premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.school-card--premium {
  --school-accent: #487bff;
  --card-accent: var(--school-accent);
  position: relative;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      color-mix(in srgb, var(--school-accent) 3%, #ffffff 97%) 100%
    ),
    linear-gradient(var(--card-accent), var(--card-accent));
  background-repeat: no-repeat;
  background-size:
    100% calc(100% - 8px),
    100% 8px;
  background-position:
    0 0,
    0 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.school-card--premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.school-card-media {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
}

.school-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.34), transparent 62%);
  pointer-events: none;
}

.school-card-media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 0.45s ease;
}

.school-card--premium:hover .school-card-media img {
  transform: scale(1.03);
}

.school-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Order content elements: title, meta, description, badge, actions */
.school-card-content .school-card-title {
  order: 1;
}
.school-card-content .school-card-meta {
  order: 2;
}
.school-card-content .school-card-description {
  order: 3;
}
.school-card-content .basic-card__html-content {
  order: 4;
  margin-top: auto;
}
.school-card-content > a,
.school-card-content > div:last-child:not(.basic-card__html-content) {
  order: 5;
}

.school-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  background: color-mix(in srgb, var(--school-accent) 15%, transparent);
  color: var(--school-accent);
  backdrop-filter: blur(4px);
}

.school-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.school-card-title {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--card-accent);
  text-align: center;
}

.school-card--premium .school-card-title {
  color: var(--school-accent);
}

.school-card-meta {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  color: #666;
}

.school-card-description {
  margin: 0;
  color: #444;
  font-size: 17px;
  line-height: 1.7;
}

.school-card .basic-card__text {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.school-card p.school-card-meta {
  font-size: 18px !important;
  line-height: 1.5 !important;
}

.school-card-link {
  margin-top: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--school-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
  padding-bottom: 2px;
  align-self: flex-start;
}

.school-card-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.school-card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.school-card--premium:hover .school-card-link::after,
.school-card-link:hover::after {
  transform: translateX(4px);
}

.school-card--premium:hover .school-card-link::before,
.school-card-link:hover::before,
.school-card-link:focus-visible::before {
  transform: scaleX(1);
}

@media (max-width: 1024px) {
  .schools-grid-cards--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .schools-grid-cards--premium {
    grid-template-columns: 1fr;
  }

  .school-card-media {
    height: 160px;
  }

  .school-card-content {
    padding: 20px;
  }
}

/* CTA section améliorée */
.cta-section {
  background: linear-gradient(135deg, #487bff 0%, #2563eb 100%);
  color: white;
  padding: 80px 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn {
  background: white;
  color: #487bff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-section .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-section .btn--outline:hover {
  background: white;
  color: #487bff;
}

/* Responsive pour la page Nos écoles */
@media (max-width: 768px) {
  .our-schools-intro {
    padding: 40px 24px;
    margin-bottom: 32px;
  }

  .schools-grid-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .school-card-content {
    padding: 24px 20px;
  }

  .cta-section {
    padding: 60px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 460px;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero-content-inner {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn {
    text-align: center;
  }

  .hero-glow--one,
  .hero-glow--two {
    opacity: 0.35;
  }
}

/* ==========================================================
   Testimonials Section
   ========================================================== */

.testimonials-section {
  position: relative;
  background: #f7f5f3;
  overflow: hidden;
}

.testimonials-section .container-narrow {
  max-width: 1320px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-title {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: #1f3b68;
  line-height: 1.2;
}

.testimonials-header-divider {
  width: 60px;
  height: 3px;
  margin: 16px auto;
  background: linear-gradient(90deg, #ffb415, #487bff, #009c8e, #ba078c);
}

.testimonials-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.4;
}

.testimonials-section__eyebrow {
  display: block;
  width: 108px;
  height: 5px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ffb415 0%,
    #ffb415 33%,
    #ba078c 33%,
    #ba078c 66%,
    #009c8e 66%,
    #009c8e 100%
  );
}

.testimonials-section__title {
  margin: 0;
  color: #1f3b68;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.testimonials-section__featured {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.featured-carousel__slide.is-active .testimonials-section__featured {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.testimonials-section__video-col,
.testimonials-section__quote-col {
  min-width: 0;
}

.featured-carousel__slide {
  --video-accent: #487bff;
}

.featured-carousel__slide:nth-child(2) {
  --video-accent: #009c8e;
}

.featured-carousel__slide:nth-child(3) {
  --video-accent: #ffb415;
}

.featured-carousel__slide:nth-child(4) {
  --video-accent: #ba078c;
}

.testimonial-video-card {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  border: none;
  box-shadow: none;
  background: transparent;
  transform: translateZ(0);
}

.testimonial-video-card::before {
  display: none;
}

.testimonial-video-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
}

.testimonial-video-card__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border-radius: 28px;
}

.testimonial-video-card__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.testimonial-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 45, 0.02) 0%,
    rgba(15, 25, 45, 0.12) 100%
  );
  pointer-events: none;
}

.testimonial-video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.testimonial-video-card__play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ffffff;
}

.testimonial-video-card__duration {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.66rem;
  border-radius: 12px;
  background: rgba(37, 37, 37, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.testimonial-featured-quote {
  position: relative;
  padding: 1rem 0 1rem 0.9rem;
  border-left: 4px solid
    color-mix(in srgb, var(--video-accent) 76%, #ffffff 24%);
}

.testimonial-featured-quote__mark {
  margin-bottom: 0.3rem;
  color: var(--video-accent);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.8;
  font-weight: 600;
}

.testimonial-featured-quote__text {
  margin: 0;
  font-family: var(--font-accent) !important;
}

.testimonial-featured-quote__text p {
  margin: 0;
  color: #213a66;
  font-size: clamp(1.65rem, 2.35vw, 3.1rem);
  line-height: 1.34;
  letter-spacing: -0.025em;
  display: inline;
}

.testimonial-featured-quote__text p::before {
  display: none;
}

.testimonial-featured-quote__text p::after {
  display: none;
}

.testimonial-featured-quote__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-featured-quote__avatar {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 66px;
  box-shadow: 0 6px 16px rgba(31, 59, 104, 0.12);
}

.testimonial-featured-quote__author-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: #213a66;
  font-size: 1.15rem;
  line-height: 1.4;
}

.testimonial-featured-quote__author-name {
  font-weight: 600;
}

.testimonial-featured-quote__author-meta {
  opacity: 0.9;
}

.testimonial-card {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 40px rgba(31, 59, 104, 0.06),
    0 4px 14px rgba(31, 59, 104, 0.05);
  isolation: isolate;
}

.testimonial-card__media {
  position: absolute;
  inset: 0;
}

.testimonial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.testimonial-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.testimonial-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.55rem 1.3rem;
}

.testimonial-card__mark {
  margin-bottom: 0.3rem;
  font-size: 3.4rem;
  line-height: 0.9;
  font-weight: 700;
}

.testimonial-card__text {
  margin: 0;
  color: #213a66;
  font-family: var(--font-accent) !important;
  font-size: clamp(1.2rem, 1.55vw, 1.7rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.testimonial-card__author {
  margin-top: auto;
  padding-top: 1rem;
  color: #213a66;
  font-size: 1rem;
  opacity: 0.92;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  border-radius: 999px 999px 0 0;
}

.testimonial-card--green .testimonial-card__mark {
  color: #009c8e;
}

.testimonial-card--green::after {
  background: linear-gradient(90deg, #009c8e 0%, #3ab8a8 100%);
}

.testimonial-card--blue .testimonial-card__mark {
  color: #487bff;
}

.testimonial-card--blue::after {
  background: linear-gradient(90deg, #487bff 0%, #76a1ff 100%);
}

.testimonial-card--magenta .testimonial-card__mark {
  color: #ba078c;
}

.testimonial-card--magenta::after {
  background: linear-gradient(90deg, #ba078c 0%, #de4bb7 100%);
}

.testimonials-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Scoped adjustments for testimonials CTA to match premium design */
/* DISABLED: CTA button styling moved to testimonials-section.php */
/*
.testimonials-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 62px;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid rgba(255, 180, 21, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #213a66;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31, 59, 104, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonials-section__cta:hover,
.testimonials-section__cta:focus-visible {
  transform: translateY(-2px);
  border-color: #ffb415;
  box-shadow: 0 14px 28px rgba(31, 59, 104, 0.09);
  background: rgba(255, 255, 255, 0.92);
}

.testimonials-section__cta-arrow {
  font-size: 1.2em;
  line-height: 1;
  transition: transform 0.22s ease;
}

.testimonials-section__cta:hover .testimonials-section__cta-arrow {
  transform: translateX(4px);
}
*/

/* Optional simple horizontal scroll feel on smaller screens */
@media (max-width: 1100px) {
  .testimonials-section__featured {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonials-section__quote-col {
    max-width: 900px;
  }
}

/* ── Shared Carousel Dots ── */
.carousel-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.carousel-dot:hover {
  background: #9ca3af;
}

.carousel-dot.active {
  background: #374151;
  transform: scale(1.3);
}

/* ── Featured Carousel (top) ── */
.featured-carousel {
  position: relative;
  margin-bottom: 3rem;
}

.featured-carousel__viewport {
  overflow: hidden;
}

.featured-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-carousel__slide {
  min-width: 100%;
  flex-shrink: 0;
}

.featured-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

/* ── Cards Carousel (bottom) ── */
.cards-carousel {
  position: relative;
  margin-top: 2.5rem;
}

.cards-carousel__viewport {
  overflow: hidden;
}

.cards-carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cards-carousel__track .testimonial-card {
  flex: 0 0 calc(33.333% - 0.667rem);
  min-width: 0;
}

.cards-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .cards-carousel__track .testimonial-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .testimonials-header {
    margin-bottom: 2.4rem;
    padding: 0 20px;
  }

  .testimonials-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .testimonials-header-divider {
    width: 50px;
    height: 2px;
    margin: 12px auto;
  }

  .testimonials-subtitle {
    font-size: 16px;
    margin: 0 auto 30px auto;
  }

  .cards-carousel__track .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-video-card {
    border-radius: 22px;
  }

  .testimonial-video-card__play {
    width: 84px;
    height: 84px;
  }

  .testimonial-video-card__play-icon {
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 20px;
  }

  .testimonial-featured-quote {
    padding-left: 0;
  }

  .testimonial-featured-quote__author {
    margin-top: 1.5rem;
  }

  .testimonial-featured-quote__avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .testimonial-card {
    min-height: 190px;
    border-radius: 20px;
  }

  .testimonial-card__content {
    padding: 1.2rem 1.2rem 1.05rem;
  }

  .testimonials-section__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Pedagogy Features
   ========================================================================== */
.pedagogy-features {
  padding: clamp(72px, 9vw, 120px) 0;
}

.pedagogy-features .container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.pedagogy-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: stretch;
}

.pedagogy-features__images {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pedagogy-features__content {
  order: 1;
}

.pedagogy-features__images img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 28px rgba(23, 32, 72, 0.12);
}

.pedagogy-features__content {
  max-width: none;
  height: 100%;
  display: block;
}

.pedagogy-features__title {
  margin: 0;
  color: #2f2a3b;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
}

.pedagogy-features__intro {
  margin: 16px 0 0;
  color: #515366;
  font-size: clamp(1.03rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  max-width: none;
}

.pedagogy-features__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.pedagogy-features .feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.pedagogy-features .feature + .feature {
  border-top: 0;
  padding-top: 0;
}

.pedagogy-features .feature__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb415;
}

.pedagogy-features .feature__icon-symbol {
  font-size: 1rem;
  line-height: 1;
}

.pedagogy-features .feature__icon--orange {
  color: #ffb415;
}

.pedagogy-features .feature__icon--blue {
  color: #487bff;
}

.pedagogy-features .feature__icon--green {
  color: #009c8e;
}

.pedagogy-features .feature__icon--magenta {
  color: #ba078c;
}

.pedagogy-features .feature__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pedagogy-features--emoji .feature__icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  margin-top: 0;
  color: #ffffff;
}

.pedagogy-features--emoji .feature__icon--orange {
  background: #ffb415;
}

.pedagogy-features--emoji .feature__icon--blue {
  background: #487bff;
}

.pedagogy-features--emoji .feature__icon--green {
  background: #009c8e;
}

.pedagogy-features--emoji .feature__icon--magenta {
  background: #ba078c;
}

.pedagogy-features--emoji .feature__icon svg {
  width: 58%;
  height: 58%;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.pedagogy-features .feature__body h4 {
  margin: 0;
  color: #26263a;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
}

.pedagogy-features .feature__body p {
  margin: 10px 0 0;
  color: #5c6074;
  font-size: 1.05rem;
  line-height: 1.62;
}

@media (min-width: 1101px) {
  .pedagogy-features .feature__body h4 {
    font-size: 1.32rem !important;
    line-height: 1.4;
  }

  .pedagogy-features .feature__body p {
    margin-top: 12px;
    font-size: 1.16rem !important;
    line-height: 1.72;
  }
}

@media (max-width: 920px) {
  .pedagogy-features__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pedagogy-features__images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .pedagogy-features__content {
    height: auto;
    display: block;
  }

  .pedagogy-features__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .pedagogy-features {
    padding: 64px 0;
  }

  .pedagogy-features .container {
    width: min(1280px, calc(100% - 32px));
  }

  .pedagogy-features__images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .pedagogy-features__list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }
}

/* ==========================================================================
   Programs Pathway
   ========================================================================== */
.programs-pathway {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0;
  overflow: clip;
}

.programs-pathway::before,
.programs-pathway::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.programs-pathway::before {
  width: clamp(260px, 30vw, 440px);
  height: clamp(260px, 30vw, 440px);
  top: 6%;
  left: -14%;
  background: radial-gradient(
    circle,
    rgba(72, 123, 255, 0.18) 0%,
    rgba(72, 123, 255, 0) 70%
  );
}

.programs-pathway::after {
  width: clamp(280px, 34vw, 520px);
  height: clamp(280px, 34vw, 520px);
  right: -14%;
  bottom: 4%;
  background: radial-gradient(
    circle,
    rgba(255, 180, 21, 0.2) 0%,
    rgba(255, 180, 21, 0) 72%
  );
}

.programs-pathway__header {
  max-width: 780px;
  margin: 0 auto clamp(30px, 4vw, 52px);
  text-align: center;
}

.programs-pathway__title {
  margin: 0;
  color: #1f2335;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.12;
}

.programs-pathway__subtitle {
  margin: 16px 0 0;
  color: #4a5068;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

.programs-pathway__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.programs-pathway__card + .programs-pathway__card {
  margin-left: -26px;
}

.programs-pathway__card:nth-child(1) {
  z-index: 1;
}
.programs-pathway__card:nth-child(2) {
  z-index: 2;
}
.programs-pathway__card:nth-child(3) {
  z-index: 3;
}
.programs-pathway__card:nth-child(4) {
  z-index: 4;
}
.programs-pathway__card:nth-child(5) {
  z-index: 5;
}

.programs-pathway__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 560px;
  border-radius: 38% 62% 26% 28% / 18% 20% 22% 24%;
  background: #10142a;
  border: 0;
  box-shadow: 0 18px 40px rgba(24, 36, 74, 0.14);
  transform: translateY(0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.programs-pathway__card::before {
  content: "";
  position: absolute;
  top: -26%;
  right: -18%;
  width: 62%;
  height: 62%;
  border-radius: 48% 52% 60% 40% / 42% 46% 54% 58%;
  background: radial-gradient(
    circle at 42% 38%,
    color-mix(in srgb, var(--program-accent) 36%, #ffffff 64%),
    rgba(255, 255, 255, 0)
  );
  z-index: 0;
}

.programs-pathway__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 6px;
  background: conic-gradient(
    from 20deg,
    transparent 0 30%,
    color-mix(in srgb, var(--program-accent) 96%, #ffffff 4%) 28% 52%,
    transparent 48% 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 1;
}

.programs-pathway__card:nth-child(2) {
  border-radius: 42% 58% 28% 24% / 18% 20% 24% 22%;
}

.programs-pathway__card:nth-child(3) {
  border-radius: 40% 60% 24% 30% / 20% 18% 24% 20%;
}

.programs-pathway__card:nth-child(4) {
  border-radius: 36% 64% 30% 24% / 18% 22% 22% 24%;
}

.programs-pathway__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px rgba(24, 36, 74, 0.2);
}

.programs-pathway__media {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
}

.programs-pathway__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 28, 0.08) 14%,
    rgba(10, 14, 28, 0.48) 56%,
    rgba(10, 14, 28, 0.86) 100%
  );
  pointer-events: none;
}

.programs-pathway__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.programs-pathway__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 18px 16px 0;
  display: flex;
  flex-direction: column;
}

.programs-pathway__age {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--program-accent) 62%, #ffffff 38%);
  font-weight: 700;
}

.programs-pathway__program-title {
  margin: 6px 0 0;
  font-size: 1.28rem;
  line-height: 1.25;
  color: #ffffff;
}

.programs-pathway__keywords {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.programs-pathway__keywords li {
  font-size: 0.84rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--program-accent) 58%, #ffffff 42%);
  background: transparent;
  padding: 0;
}

.programs-pathway__keywords li:not(:last-child)::after {
  content: " •";
  color: color-mix(in srgb, var(--program-accent) 50%, #ffffff 50%);
}

.programs-pathway__cta {
  margin-top: 14px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.programs-pathway__card:hover .programs-pathway__cta {
  transform: translateY(-1px);
  background: var(--program-accent);
  border-color: var(--program-accent);
  color: #ffffff;
  box-shadow: 0 9px 18px
    color-mix(in srgb, var(--program-accent) 38%, #000000 62%);
}

.programs-pathway__availability {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    180deg,
    rgba(10, 14, 28, 0.02),
    rgba(10, 14, 28, 0.2)
  );
  text-align: center;
}

.programs-pathway__availability-label {
  margin: 0;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.programs-pathway__schools {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.programs-pathway__schools::-webkit-scrollbar {
  display: none;
}

.programs-pathway__school-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
  white-space: nowrap;
}

.programs-pathway__school-pill span[aria-hidden="true"] {
  display: none;
}

.programs-pathway__school-pill.is-muted {
  opacity: 0.4;
}

.programs-pathway--top .programs-pathway__card {
  min-height: 0;
  background: #ffffff;
  border: 6px solid #ffffff;
}

.programs-pathway--immersive-light .programs-pathway__media::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 10%,
    rgba(255, 255, 255, 0.38) 56%,
    rgba(255, 255, 255, 0.62) 100%
  );
}

.programs-pathway--immersive-light .programs-pathway__age {
  color: color-mix(in srgb, var(--program-accent) 78%, #1f2335 22%);
}

.programs-pathway--immersive-light .programs-pathway__program-title {
  color: #1d2339;
}

.programs-pathway--immersive-light .programs-pathway__keywords li {
  color: color-mix(in srgb, var(--program-accent) 82%, #1f2335 18%);
}

.programs-pathway--immersive-light
  .programs-pathway__keywords
  li:not(:last-child)::after {
  color: color-mix(in srgb, var(--program-accent) 78%, #1f2335 22%);
}

.programs-pathway--immersive-light .programs-pathway__availability {
  border-top: 1px solid rgba(31, 35, 53, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.28)
  );
}

.programs-pathway--immersive-light .programs-pathway__school-pill {
  color: #22304f;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 53, 0.12);
}

.programs-pathway--immersive-light .programs-pathway__cta {
  color: color-mix(in srgb, var(--program-accent) 82%, #1f2335 18%);
  border-color: rgba(31, 35, 53, 0.25);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: none;
  box-shadow: 0 3px 8px rgba(24, 36, 74, 0.14);
}

.programs-pathway--immersive-light
  .programs-pathway__card:hover
  .programs-pathway__cta {
  color: #ffffff;
}

.programs-pathway--top .programs-pathway__card::after {
  opacity: 0.92;
}

.programs-pathway--top .programs-pathway__media {
  position: relative;
  inset: auto;
  margin: 12px 12px 0;
  border-radius: 22px 28px 18px 18px;
}

.programs-pathway--top .programs-pathway__media::after {
  display: none;
}

.programs-pathway--top .programs-pathway__media img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.programs-pathway--top .programs-pathway__content {
  z-index: 1;
  margin-top: 0;
  padding: 16px 16px 0;
}

.programs-pathway--top .programs-pathway__age {
  color: color-mix(in srgb, var(--program-accent) 78%, #1f2335 22%);
}

.programs-pathway--top .programs-pathway__program-title {
  color: #1d2339;
}

.programs-pathway--top .programs-pathway__keywords li {
  color: color-mix(in srgb, var(--program-accent) 82%, #1f2335 18%);
}

.programs-pathway--top .programs-pathway__keywords li:not(:last-child)::after {
  color: color-mix(in srgb, var(--program-accent) 78%, #1f2335 22%);
}

.programs-pathway--top .programs-pathway__availability {
  z-index: 1;
  border-top: 1px solid rgba(31, 35, 53, 0.08);
  background: transparent;
  text-align: center;
}

.programs-pathway--top .programs-pathway__availability-label {
  color: #445073;
}

.programs-pathway--top .programs-pathway__school-pill {
  color: #22304f;
  background: #f2f5fb;
  border: 0;
  backdrop-filter: none;
}

.programs-pathway--top .programs-pathway__cta {
  color: color-mix(in srgb, var(--program-accent) 82%, #1f2335 18%);
  border-color: rgba(31, 35, 53, 0.25);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: none;
  box-shadow: 0 3px 8px rgba(24, 36, 74, 0.14);
}

.programs-pathway--top .programs-pathway__card:hover .programs-pathway__cta {
  background: var(--program-accent);
  border-color: var(--program-accent);
}

@media (max-width: 920px) {
  .programs-pathway__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .programs-pathway__card + .programs-pathway__card {
    margin-left: 0;
  }

  .programs-pathway__card,
  .programs-pathway__card:nth-child(2),
  .programs-pathway__card:nth-child(3),
  .programs-pathway__card:nth-child(4),
  .programs-pathway__card:nth-child(5) {
    border-radius: 30px;
  }
}

@media (max-width: 767px) {
  .programs-pathway {
    padding: 64px 0;
  }

  .programs-pathway__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .programs-pathway__card + .programs-pathway__card {
    margin-left: 0;
  }

  .programs-pathway__card,
  .programs-pathway__card:nth-child(2),
  .programs-pathway__card:nth-child(3),
  .programs-pathway__card:nth-child(4),
  .programs-pathway__card:nth-child(5) {
    border-radius: 24px;
  }

  .programs-pathway__content {
    padding: 14px 14px 0;
  }

  .programs-pathway__availability {
    padding: 12px 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .programs-pathway__card,
  .programs-pathway__cta {
    transition: none;
  }
}

/* ======================================================================
   Homepage background harmony (premium, warm, subtle)
   ====================================================================== */
.home-page {
  --home-bg-warm: #fffbf5;
  --home-tint-green: rgba(0, 156, 142, 0.05);
  --home-tint-blue: rgba(72, 123, 255, 0.05);
  --home-tint-violet: rgba(186, 7, 140, 0.04);
  --home-tint-orange: rgba(255, 180, 21, 0.06);
  background: var(--home-bg-warm);
  overflow-x: hidden;
}

.home-band {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

/* Reusable backgrounds */
.section--base {
  background: var(--home-bg-warm);
}

.section--white {
  background: #ffffff;
}

.section--tint-green {
  background: transparent;
}

.section--tint-violet {
  background: transparent;
}

.section--tint-blue {
  background: transparent;
}

.section--tint-orange {
  background: transparent;
}

.section--soft-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}

.section--connected::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.section--base.section--soft-divider::after {
  background: transparent;
}

.section--tint-green.section--soft-divider::after {
  background: transparent;
}

.section--tint-violet.section--soft-divider::after {
  background: transparent;
}

.section--tint-blue.section--soft-divider::after {
  background: transparent;
}

/* Home Manifesto */
.home-manifesto {
  padding: clamp(60px, 10vw, 120px) 24px;
  text-align: center;
  background: white;
}

.home-manifesto__text {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: var(--color-text, #3f3f46);
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* Comic Sans on school card titles */
.school-card-title {
  font-family: var(--font-accent) !important;
}

/* Hide internal component titles on home – section intros replace them */
.home-page .section-title,
.home-page .pedagogy-features__title,
.home-page .admissions-journey__header,
.home-page .testimonials-header,
.home-page .admissions-levels > .container-narrow > h2 {
  display: none;
}

.home-manifesto__text em {
  font-style: normal;
  color: var(--color-green, #009c8e);
  font-weight: 600;
}

/* Home Section Intros */
.home-section-intro {
  text-align: center;
  padding: 56px 24px 16px;
  max-width: 680px;
  margin: 0 auto;
}

.home-section-intro__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--color-text, #3f3f46);
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-section-intro__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-soft, #6b7280);
  margin: 0;
}

@media (max-width: 768px) {
  .home-manifesto {
    padding: 48px 20px;
  }
  .home-manifesto__text {
    font-size: 1.2rem;
  }
  .home-section-intro {
    padding: 40px 20px 8px;
  }
  .home-section-intro__title {
    font-size: 1.3rem;
  }
}

.home-band--why .pedagogy-features {
  padding-top: clamp(24px, 3vw, 40px);
}

.home-band > * {
  position: relative;
  z-index: 2;
}

/* Keep component internals transparent to wrapper backgrounds */
.home-band--schools .schools-grid,
.home-band--programs.admissions-levels,
.home-band--admissions .admissions-journey,
.home-band--testimonials .testimonials-section {
  background: transparent;
}

.admissions-levels h2 {
  text-align: center;
  margin-bottom: 48px;
}

/* Keep existing CTA gradient and add subtle approach continuity */
.home-band--cta {
  background: linear-gradient(
    180deg,
    rgba(72, 123, 255, 0.03),
    rgba(72, 123, 255, 0) 28%
  );
}

.home-band--cta .cta-section {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .section--soft-divider::after {
    height: 40px;
  }

  .home-band--cta .cta-section {
    margin-top: 0;
    border-radius: 16px;
  }
}

/* ── Contact Form 7 – Colibris styling ── */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--color-card);
  box-sizing: border-box;
  font-family: inherit;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(0, 156, 142, 0.1);
}

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

.wpcf7-form input[type="submit"] {
  display: inline-block;
  background: var(--color-green);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
  align-self: center;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.4);
}

.wpcf7-response-output {
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 16px 0 0 !important;
  font-size: 14px;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

.wpcf7 .wpcf7-spinner {
  margin: 0 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   PILL NAV — Generic pill navigation component
═══════════════════════════════════════════════════════════════════ */
.pill-nav--sticky {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: #fefcf9;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pill-nav--center .pill-nav__list {
  justify-content: center;
}
.pill-nav--left .pill-nav__list {
  justify-content: flex-start;
}
.pill-nav--right .pill-nav__list {
  justify-content: flex-end;
}

.pill-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-nav__list::-webkit-scrollbar {
  display: none;
}

.pill-nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  font-family: inherit;
}

.pill-nav__pill:hover {
  background: #f8fafc;
  border-color: var(--color-primary, #487bff);
  color: var(--color-primary, #487bff);
}

.pill-nav__pill--active {
  background: var(--color-primary, #487bff);
  border-color: var(--color-primary, #487bff);
  color: #fff;
}
.pill-nav__pill--active:hover {
  background: var(--color-primary, #487bff);
  color: #fff;
  filter: brightness(1.1);
}

.pill-nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill-nav__pill--active .pill-nav__dot {
  background: #fff !important;
  opacity: 0.7;
}

.pill-nav__icon {
  font-size: 1rem;
  line-height: 1;
}

.pill-nav__badge {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
}
.pill-nav__pill--active .pill-nav__badge {
  background: rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 767px) {
  .pill-nav--sticky {
    top: 60px;
    padding: 8px 16px;
  }
  .pill-nav__list {
    gap: 6px;
  }
  .pill-nav__pill {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .pill-nav__badge {
    font-size: 0.7rem;
  }
}

/* ── Visit Dates Carousel ── */
.visit-dates-carousel-section {
  padding: 60px 0;
}

/* Visits Page Styles */
.visits-page {
  background: #f9fafb;
}

.visits-page .section {
  padding: 80px 0;
}

.visits-page .container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.visits-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Scroll smooth pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Visit Filters */
.visit-filters {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.visit-filters__row {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.visit-filters__school-pills,
.visit-filters__type-pills {
  flex: 0 0 auto;
}

.visit-filters__label {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #374151;
}

.visit-filters__pills-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.visit-filter-pill {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.visit-filter-pill:hover {
  background: #f8fafc;
  border-color: var(--color-green);
  color: var(--color-green);
}

.visit-filter-pill.active,
.visit-filter-pill.pill-nav__pill--active {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

@media (max-width: 768px) {
  .visit-filters__row {
    gap: 1.5rem !important;
  }

  .visit-filters__pills-container {
    gap: 6px;
    justify-content: center;
  }

  .visit-filter-pill {
    padding: 6px 12px;
    font-size: 0.82rem;
    min-height: 34px;
  }
}

.visit-dates-carousel {
  position: relative;
  padding: 20px 0;
}

.visit-dates-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px;
  -webkit-overflow-scrolling: touch;
}

.visit-dates-track::-webkit-scrollbar {
  height: 6px;
}

.visit-dates-track::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.visit-dates-track::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.visit-dates-track::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.visit-date-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: var(--color-card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.visit-date-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 156, 142, 0.05) 0%,
    rgba(255, 180, 21, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.visit-date-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 156, 142, 0.15);
  border-color: rgba(0, 156, 142, 0.2);
}

.visit-date-card[data-visit-type="school_visit"]:hover {
  box-shadow: 0 12px 32px rgba(0, 156, 142, 0.15);
  border-color: rgba(0, 156, 142, 0.2);
}

.visit-date-card[data-visit-type="open_house"]:hover {
  box-shadow: 0 12px 32px rgba(255, 180, 21, 0.15);
  border-color: rgba(255, 180, 21, 0.2);
}

.visit-date-card:hover::before {
  opacity: 1;
}

.visit-date-card.selected {
  border-color: var(--color-green);
  border-bottom-color: var(--color-green);
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.25);
  transform: translateY(-2px);
}

.visit-date-card[data-visit-type="school_visit"].selected {
  border-color: #009c8e;
  box-shadow: 0 8px 24px rgba(0, 156, 142, 0.25);
}

.visit-date-card[data-visit-type="open_house"].selected {
  border-color: #ffb415;
  box-shadow: 0 8px 24px rgba(255, 180, 21, 0.25);
}

.visit-date-card.selected::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 156, 142, 0.2);
}

.visit-date-card[data-visit-type="school_visit"].selected::after {
  background: #009c8e;
  box-shadow: 0 0 0 3px rgba(0, 156, 142, 0.2);
}

.visit-date-card[data-visit-type="open_house"].selected::after {
  background: #ffb415;
  box-shadow: 0 0 0 3px rgba(255, 180, 21, 0.2);
}

.visit-date-card[data-visit-type="school_visit"] {
  border-bottom-color: #009c8e;
}

.visit-date-card[data-visit-type="school_visit"]:hover {
  border-bottom-color: #009c8e;
}

.visit-date-card[data-visit-type="school_visit"].selected {
  border-bottom-color: #009c8e;
}

.visit-date-card[data-visit-type="open_house"] {
  border-bottom-color: #ffb415;
}

.visit-date-card[data-visit-type="open_house"]:hover {
  border-bottom-color: #ffb415;
}

.visit-date-card[data-visit-type="open_house"].selected {
  border-bottom-color: #ffb415;
}

.visit-date-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.visit-date-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.visit-date-card[data-visit-type="school_visit"] .visit-date-icon {
  background: #009c8e;
}

.visit-date-card[data-visit-type="open_house"] .visit-date-icon {
  background: #ffb415;
}

.visit-date-card:hover .visit-date-icon {
  transform: scale(1.1) rotate(5deg);
}

.visit-date-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.visit-date-day {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.visit-date-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.visit-date-month {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.visit-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.visit-date-badge--limited {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.visit-date-body {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.visit-date-school {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.visit-date-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
}

.visit-date-details {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.visit-date-detail {
  font-size: 11px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 4px;
}

.visit-date-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visit-slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 auto;
  letter-spacing: 0.3px;
}

.visit-slot-btn:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
}

.visit-date-card[data-visit-type="school_visit"] .visit-slot-btn:hover {
  background: #009c8e;
  border-color: #009c8e;
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
}

.visit-date-card[data-visit-type="open_house"] .visit-slot-btn:hover {
  background: #ffb415;
  border-color: #ffb415;
  box-shadow: 0 4px 12px rgba(255, 180, 21, 0.3);
}

.visit-slot-btn:active {
  transform: translateY(0);
}

.visit-dates-nav {
  display: none;
}

.visit-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visit-nav-btn:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 156, 142, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.visit-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.visit-nav-btn--prev {
  left: -22px;
}

.visit-nav-btn--next {
  right: -22px;
}

.visit-nav-btn svg {
  flex-shrink: 0;
}

.visit-dates-empty {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.visit-dates-empty p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* ── Visit Info Section ── */
.visit-info-section {
  padding: 60px 0;
  background: #fafafa;
}

.visit-info-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.visit-info-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 32px;
  text-align: center;
}

.visit-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.visit-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.visit-info-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.visit-info-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px;
}

.visit-info-content p {
  font-size: 15px;
  color: #666;
  margin: 0 0 12px;
  line-height: 1.6;
}

.visit-info-link {
  display: inline-block;
  color: var(--color-primary, #487bff);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.visit-info-link:hover {
  color: var(--color-primary-dark, #3a5fcc);
}

/* Responsive */
@media (max-width: 768px) {
  .visit-dates-carousel-section {
    padding: 40px 0;
  }

  .visit-date-card {
    flex: 0 0 calc(50% - 10px);
    padding: 16px;
  }

  .visit-date-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .visit-date-icon {
    width: 40px;
    height: 40px;
  }

  .visit-date-number {
    font-size: 20px;
  }

  .visit-date-school {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .visit-date-description {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .visit-date-details {
    gap: 6px;
  }

  .visit-date-detail {
    font-size: 10px;
    padding: 3px 6px;
  }

  .visit-slot-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .visit-info-section {
    padding: 40px 0;
  }

  .visit-info-card {
    padding: 24px;
  }

  .visit-info-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .visit-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .visit-date-card {
    flex: 0 0 calc(100% - 14px);
  }

  .visit-nav-btn {
    display: none !important;
  }
}
