/**
 * ============================================================================
 * EDEXCEL COLLEGE — PEARSON EDEXCEL IGCSE 2029 LANDING PAGE STYLESHEET
 * ----------------------------------------------------------------------------
 * Design Direction : Premium 2026 Education Technology
 * Brand Palette    : Deep Academic Navy, Crisp White/Slate, Restrained Orange
 *                    Accent, and WhatsApp Emerald
 * Accessibility    : WCAG AA Contrast, Focus-Visible Rings, Reduced-Motion
 * ============================================================================
 */

:root {
    --p29-navy-950: #040b18;
    --p29-navy-900: #071224;
    --p29-navy-800: #0c1f3d;
    --p29-navy-700: #14325e;
    --p29-navy-600: #1e4682;

    --p29-orange-600: #ea580c;
    --p29-orange-500: #f97316;
    --p29-orange-400: #fb923c;
    --p29-orange-soft: rgba(249, 115, 22, 0.12);
    --p29-orange-border: rgba(249, 115, 22, 0.32);

    --p29-wa-emerald: #1fa855;
    --p29-wa-bright: #25d366;
    --p29-wa-dark: #128c7e;

    --p29-white: #ffffff;
    --p29-slate-50: #f8fafc;
    --p29-slate-100: #f1f5f9;
    --p29-slate-200: #e2e8f0;
    --p29-slate-300: #cbd5e1;
    --p29-slate-400: #94a3b8;
    --p29-slate-500: #64748b;
    --p29-slate-600: #475569;
    --p29-slate-700: #334155;
    --p29-slate-800: #1e293b;
    --p29-slate-900: #0f172a;

    --p29-radius-sm: 10px;
    --p29-radius-md: 14px;
    --p29-radius-lg: 20px;
    --p29-radius-xl: 26px;
    --p29-radius-pill: 9999px;

    --p29-shadow-xs: 0 2px 8px rgba(7, 18, 36, 0.05);
    --p29-shadow-sm: 0 6px 18px rgba(7, 18, 36, 0.07);
    --p29-shadow-md: 0 14px 34px rgba(7, 18, 36, 0.10);
    --p29-shadow-lg: 0 24px 56px rgba(4, 11, 24, 0.22);

    --p29-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --p29-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --p29-font-mono: 'JetBrains Mono', monospace;

    --p29-container: 1240px;
    --p29-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.page-29 {
    font-family: var(--p29-font-body);
    background-color: var(--p29-slate-50);
    color: var(--p29-slate-800);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Guarantee HTML [hidden] is never overridden by display:flex/grid rules */
[hidden] {
    display: none !important;
}

/* Anti-spam honeypot trap — completely invisible and excluded from focus/assistive tech */
.p29-hp-trap {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Keyboard Focus Visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--p29-orange-500);
    outline-offset: 2px;
}

/* Accessibility Skip Link */
.p29-skip-link {
    position: absolute;
    top: -120px;
    left: 1rem;
    background: var(--p29-orange-600);
    color: var(--p29-white);
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: var(--p29-radius-sm);
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s ease;
}

.p29-skip-link:focus {
    top: 1rem;
}

.p29-container {
    width: 100%;
    max-width: var(--p29-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================================================
   1. STICKY HEADER
   ============================================================================ */
.p29-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 18, 36, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--p29-transition);
}

.p29-header.is-scrolled {
    background: rgba(4, 11, 24, 0.98);
    box-shadow: 0 8px 28px rgba(4, 11, 24, 0.35);
}

.p29-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1rem;
}

.p29-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--p29-white);
}

.p29-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--p29-orange-500), var(--p29-orange-600));
    color: var(--p29-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    flex-shrink: 0;
}

.p29-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.p29-brand-name {
    font-family: var(--p29-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--p29-white);
    letter-spacing: -0.02em;
}

.p29-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--p29-orange-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.p29-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.p29-nav-link {
    color: var(--p29-slate-200);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.2rem;
    transition: color 0.18s ease;
}

.p29-nav-link:hover {
    color: var(--p29-orange-400);
}

.p29-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.p29-btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: var(--p29-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--p29-slate-100);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 42px;
    transition: var(--p29-transition);
}

.p29-btn-ghost-sm:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.p29-btn-accent-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.05rem;
    border-radius: var(--p29-radius-sm);
    background: var(--p29-orange-600);
    color: var(--p29-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 42px;
    transition: var(--p29-transition);
}

.p29-btn-accent-sm:hover {
    background: var(--p29-orange-500);
}

.p29-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--p29-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--p29-white);
    font-size: 1.15rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   BUTTONS & CTAs (MIN 48PX TAP TARGETS)
   ============================================================================ */
.p29-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.8rem 1.45rem;
    border-radius: var(--p29-radius-md);
    font-family: var(--p29-font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--p29-transition);
    line-height: 1.2;
    text-align: center;
}

.p29-btn-primary {
    background: linear-gradient(135deg, var(--p29-orange-500), var(--p29-orange-600));
    color: var(--p29-white);
    box-shadow: 0 8px 22px rgba(234, 88, 12, 0.28);
}

.p29-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.38);
    color: var(--p29-white);
}

.p29-btn-whatsapp {
    background: linear-gradient(135deg, var(--p29-wa-emerald), var(--p29-wa-dark));
    color: var(--p29-white);
    box-shadow: 0 8px 22px rgba(31, 168, 85, 0.25);
}

.p29-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 168, 85, 0.38);
    color: var(--p29-white);
}

.p29-btn-outline-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--p29-white);
}

.p29-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--p29-white);
    color: var(--p29-white);
}

.p29-btn-outline-navy {
    background: var(--p29-white);
    border-color: var(--p29-navy-700);
    color: var(--p29-navy-900);
}

.p29-btn-outline-navy:hover {
    background: var(--p29-navy-900);
    color: var(--p29-white);
}

.p29-btn-block {
    width: 100%;
}

/* ============================================================================
   2. HERO SECTION (SECTION 3)
   ============================================================================ */
.p29-hero {
    position: relative;
    background: linear-gradient(155deg, var(--p29-navy-950) 0%, var(--p29-navy-900) 55%, var(--p29-navy-800) 100%);
    color: var(--p29-white);
    padding: 4.5rem 0 5rem;
    overflow: hidden;
}

.p29-hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(249, 115, 22, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 82% 70%, rgba(30, 70, 130, 0.35) 0%, transparent 48%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}

.p29-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
    align-items: center;
}

.p29-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1rem;
    border-radius: var(--p29-radius-pill);
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid var(--p29-orange-border);
    color: #fed7aa;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.35rem;
}

.p29-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--p29-orange-400);
    box-shadow: 0 0 8px var(--p29-orange-400);
}

.p29-hero-title {
    font-family: var(--p29-font-heading);
    font-size: clamp(2.25rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--p29-white);
    margin-bottom: 1.25rem;
}

.p29-text-accent {
    color: var(--p29-orange-400);
}

.p29-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--p29-slate-200);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 640px;
}

.p29-hero-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1.25rem;
    margin-bottom: 2rem;
}

.p29-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--p29-slate-100);
}

.p29-point-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.16);
    border: 1px solid rgba(249, 115, 22, 0.32);
    color: var(--p29-orange-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.p29-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.85rem;
}

.p29-aspiration-strip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-radius: var(--p29-radius-md);
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--p29-orange-400);
    color: var(--p29-slate-200);
    font-size: 0.88rem;
}

.p29-aspiration-strip i {
    color: var(--p29-orange-400);
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

/* Right Hero Academic Showcase Card */
.p29-academic-showcase {
    background: rgba(12, 31, 61, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--p29-radius-xl);
    padding: 1.75rem;
    box-shadow: var(--p29-shadow-lg);
    backdrop-filter: blur(12px);
}

.p29-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.25rem;
}

.p29-year-label {
    display: block;
    font-family: var(--p29-font-mono);
    font-size: 0.7rem;
    color: var(--p29-orange-400);
    letter-spacing: 0.08em;
}

.p29-year-number {
    font-family: var(--p29-font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--p29-white);
}

.p29-showcase-campus {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--p29-radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: var(--p29-slate-200);
    font-size: 0.8rem;
    font-weight: 600;
}

.p29-showcase-campus i {
    color: var(--p29-orange-400);
}

.p29-showcase-classroom {
    background: rgba(7, 18, 36, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--p29-radius-lg);
    padding: 1.35rem;
    margin-bottom: 1.25rem;
}

.p29-classroom-illustration {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.p29-avatar-stack {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.p29-avatar-stack img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--p29-navy-900);
    margin-left: -10px;
    background: var(--p29-navy-700);
}

.p29-avatar-stack img:first-child {
    margin-left: 0;
}

.p29-avatar-more {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--p29-orange-600);
    color: var(--p29-white);
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--p29-navy-900);
    margin-left: -10px;
}

.p29-classroom-text h2 {
    font-family: var(--p29-font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--p29-white);
    margin-bottom: 0.25rem;
}

.p29-classroom-text p {
    font-size: 0.84rem;
    color: var(--p29-slate-300);
    line-height: 1.45;
}

.p29-showcase-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.p29-mini-pillar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--p29-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.p29-mini-pillar i {
    color: var(--p29-orange-400);
    font-size: 1.05rem;
}

.p29-mini-pillar strong {
    display: block;
    font-size: 0.82rem;
    color: var(--p29-white);
}

.p29-mini-pillar span {
    display: block;
    font-size: 0.74rem;
    color: var(--p29-slate-300);
}

.p29-qs-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--p29-slate-300);
    margin-bottom: 0.75rem;
}

.p29-qs-title a {
    color: var(--p29-orange-400);
    text-decoration: none;
    font-weight: 700;
}

.p29-qs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.p29-qs-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: var(--p29-radius-pill);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--p29-slate-100);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--p29-transition);
}

.p29-qs-chip:hover {
    background: var(--p29-orange-600);
    border-color: var(--p29-orange-500);
    color: var(--p29-white);
}

.p29-qs-chip-more {
    background: rgba(249, 115, 22, 0.16);
    border-color: var(--p29-orange-border);
    color: #fed7aa;
}

/* ============================================================================
   SECTIONS & HEADINGS
   ============================================================================ */
.p29-section {
    padding: 5.25rem 0;
    position: relative;
}

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

.p29-section-subtle {
    background-color: var(--p29-slate-50);
    border-top: 1px solid var(--p29-slate-200);
    border-bottom: 1px solid var(--p29-slate-200);
}

.p29-section-navy {
    background: linear-gradient(160deg, var(--p29-navy-900) 0%, var(--p29-navy-800) 100%);
    color: var(--p29-white);
}

.p29-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.25rem;
}

.p29-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--p29-radius-pill);
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.25);
    color: var(--p29-orange-600);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.95rem;
}

.p29-eyebrow-dark {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(249, 115, 22, 0.35);
    color: var(--p29-orange-400);
}

.p29-section-title {
    font-family: var(--p29-font-heading);
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    font-weight: 800;
    color: var(--p29-navy-900);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.p29-title-light {
    color: var(--p29-white);
}

.p29-section-subtitle {
    font-size: 1.06rem;
    color: var(--p29-slate-600);
    line-height: 1.7;
}

.p29-subtitle-light {
    color: var(--p29-slate-300);
}

/* ============================================================================
   3. PARENTAL CONFIDENCE & THREE STEPS (SECTION 4)
   ============================================================================ */
.p29-priorities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.p29-priority-card {
    background: var(--p29-slate-50);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-lg);
    padding: 1.75rem;
    transition: var(--p29-transition);
}

.p29-priority-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--p29-shadow-md);
    border-color: var(--p29-slate-300);
}

.p29-priority-card-highlight {
    background: linear-gradient(145deg, var(--p29-navy-900), var(--p29-navy-800));
    color: var(--p29-white);
    border-color: var(--p29-navy-700);
}

.p29-priority-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(12, 31, 61, 0.08);
    color: var(--p29-navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.15rem;
}

.p29-priority-card-highlight .p29-priority-icon {
    background: rgba(249, 115, 22, 0.2);
    color: var(--p29-orange-400);
}

.p29-priority-card h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--p29-navy-900);
    margin-bottom: 0.6rem;
}

.p29-priority-card-highlight h3 {
    color: var(--p29-white);
}

.p29-priority-card p {
    font-size: 0.94rem;
    color: var(--p29-slate-600);
    line-height: 1.65;
}

.p29-priority-card-highlight p {
    color: var(--p29-slate-200);
}

.p29-aspiration-quote {
    font-weight: 700;
    color: var(--p29-orange-400) !important;
    margin-bottom: 0.5rem;
}

/* 3-Step Uncertainty Reduction Box */
.p29-steps-wrapper {
    background: linear-gradient(180deg, var(--p29-slate-50) 0%, #f1f5f9 100%);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-xl);
    padding: 2.5rem 2rem;
}

.p29-steps-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.p29-steps-header h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--p29-navy-900);
    margin-bottom: 0.4rem;
}

.p29-steps-header p {
    color: var(--p29-slate-600);
    font-size: 0.96rem;
}

.p29-three-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.p29-step-box {
    background: var(--p29-white);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--p29-shadow-xs);
}

.p29-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--p29-navy-900);
    color: var(--p29-white);
    font-family: var(--p29-font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p29-step-body h4 {
    font-family: var(--p29-font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--p29-navy-900);
    margin-bottom: 0.35rem;
}

.p29-step-body p {
    font-size: 0.9rem;
    color: var(--p29-slate-600);
    line-height: 1.55;
}

.p29-step-connector {
    color: var(--p29-orange-500);
    font-size: 1.15rem;
}

/* ============================================================================
   4. PEARSON EDEXCEL IGCSE INTRODUCTION (SECTION 5)
   ============================================================================ */
.p29-igcse-intro-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: start;
}

.p29-lead-text {
    font-size: 1.12rem;
    color: var(--p29-slate-100);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.p29-body-text {
    font-size: 0.98rem;
    color: var(--p29-slate-300);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.p29-specification-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--p29-radius-lg);
    padding: 1.35rem;
    margin-bottom: 1.75rem;
}

.p29-notice-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--p29-orange-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.p29-notice-content strong {
    display: block;
    color: var(--p29-white);
    font-size: 0.96rem;
    margin-bottom: 0.35rem;
}

.p29-notice-content p {
    font-size: 0.88rem;
    color: var(--p29-slate-200);
    line-height: 1.6;
}

.p29-notice-sub {
    margin-top: 0.5rem;
    color: var(--p29-slate-300) !important;
    font-size: 0.83rem !important;
}

.p29-igcse-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.p29-importance-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--p29-radius-xl);
    padding: 2rem;
}

.p29-importance-card h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--p29-white);
    margin-bottom: 0.4rem;
}

.p29-importance-sub {
    font-size: 0.9rem;
    color: var(--p29-slate-300);
    margin-bottom: 1.35rem;
}

.p29-importance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p29-importance-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.p29-importance-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.p29-imp-badge {
    font-family: var(--p29-font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.18);
    color: var(--p29-orange-400);
    border: 1px solid rgba(249, 115, 22, 0.3);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.p29-importance-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--p29-white);
    margin-bottom: 0.2rem;
}

.p29-importance-list p {
    font-size: 0.85rem;
    color: var(--p29-slate-300);
    line-height: 1.55;
}

/* ============================================================================
   5. SUBJECT DISCOVERY SECTION (SECTION 8)
   ============================================================================ */
.p29-subject-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1.15rem;
    background: var(--p29-slate-50);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-md);
}

.p29-filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    min-height: 44px;
    border-radius: var(--p29-radius-sm);
    border: 1px solid var(--p29-slate-300);
    background: var(--p29-white);
    color: var(--p29-navy-900);
    font-family: var(--p29-font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--p29-transition);
}

.p29-filter-reset-btn.is-active,
.p29-filter-reset-btn:hover {
    background: var(--p29-navy-900);
    border-color: var(--p29-navy-900);
    color: var(--p29-white);
}

.p29-filter-hint {
    font-size: 0.88rem;
    color: var(--p29-slate-600);
    font-weight: 500;
}

.p29-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.p29-subject-tile {
    text-align: left;
    background: var(--p29-white);
    border: 1.5px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-lg);
    padding: 1.35rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--p29-transition);
    box-shadow: var(--p29-shadow-xs);
    font-family: var(--p29-font-body);
}

.p29-subject-tile:hover {
    transform: translateY(-3px);
    border-color: var(--p29-navy-600);
    box-shadow: var(--p29-shadow-md);
}

.p29-subject-tile.is-selected {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-color: var(--p29-orange-500);
    box-shadow: 0 10px 28px rgba(234, 88, 12, 0.16);
}

.p29-stile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.p29-stile-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--p29-slate-100);
    color: var(--p29-navy-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--p29-transition);
}

.p29-subject-tile.is-selected .p29-stile-icon,
.p29-subject-tile:hover .p29-stile-icon {
    background: var(--p29-orange-600);
    color: var(--p29-white);
}

.p29-stile-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--p29-slate-500);
}

.p29-stile-title {
    font-family: var(--p29-font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--p29-navy-900);
    margin-bottom: 0.4rem;
}

.p29-stile-desc {
    font-size: 0.86rem;
    color: var(--p29-slate-600);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.p29-stile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--p29-slate-100);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--p29-navy-700);
}

.p29-stile-teacher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.p29-stile-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--p29-slate-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Subject Spotlight Panel */
.p29-subject-spotlight {
    background: linear-gradient(135deg, var(--p29-navy-900), var(--p29-navy-800));
    color: var(--p29-white);
    border-radius: var(--p29-radius-xl);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--p29-shadow-md);
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.p29-spotlight-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.p29-spotlight-badge {
    display: inline-block;
    font-family: var(--p29-font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--p29-orange-400);
    margin-bottom: 0.3rem;
}

.p29-spotlight-title {
    font-family: var(--p29-font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--p29-white);
    margin-bottom: 0.35rem;
}

.p29-spotlight-desc {
    font-size: 0.92rem;
    color: var(--p29-slate-200);
    max-width: 680px;
}

.p29-spotlight-close {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    min-height: 42px;
    border-radius: var(--p29-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--p29-white);
    font-family: var(--p29-font-body);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--p29-transition);
}

.p29-spotlight-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.p29-spotlight-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.p29-spotlight-teacher-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--p29-radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.p29-stc-meta strong {
    display: block;
    font-family: var(--p29-font-heading);
    font-size: 1.15rem;
    color: var(--p29-white);
    margin-bottom: 0.2rem;
}

.p29-stc-meta span {
    display: block;
    font-size: 0.85rem;
    color: var(--p29-slate-300);
}

.p29-stc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Section Conversion Bar */
.p29-section-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem 1.85rem;
    background: var(--p29-slate-50);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-lg);
}

.p29-cta-bar-text strong {
    display: block;
    font-family: var(--p29-font-heading);
    font-size: 1.15rem;
    color: var(--p29-navy-900);
    margin-bottom: 0.2rem;
}

.p29-cta-bar-text span {
    font-size: 0.9rem;
    color: var(--p29-slate-600);
}

.p29-cta-bar-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ============================================================================
   6. OUR TEACHERS — MAIN CONVERSION SECTION (SECTIONS 6 & 7)
   ============================================================================ */
.p29-teacher-filter-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--p29-radius-md);
    color: var(--p29-navy-900);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.p29-teacher-filter-notice i {
    color: var(--p29-orange-600);
    margin-right: 0.45rem;
}

.p29-btn-reset-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--p29-radius-sm);
    background: var(--p29-navy-900);
    color: var(--p29-white);
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.p29-teachers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}

.p29-teacher-card {
    background: var(--p29-white);
    border: 1.5px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--p29-shadow-sm);
    transition: var(--p29-transition);
}

.p29-teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--p29-shadow-md);
    border-color: var(--p29-slate-300);
}

.p29-teacher-card.is-highlighted {
    border-color: var(--p29-orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2), var(--p29-shadow-md);
}

.p29-teacher-card.is-dimmed {
    opacity: 0.42;
}

.p29-tcard-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.6rem;
    background: linear-gradient(135deg, var(--p29-navy-900), var(--p29-navy-800));
    color: var(--p29-white);
    position: relative;
}

.p29-tcard-avatar-wrap {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    position: relative;
}

.p29-tcard-picture {
    display: block;
    width: 88px;
    height: 88px;
}

.p29-tcard-photo {
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(249, 115, 22, 0.72);
    background: var(--p29-navy-700);
    box-shadow: 0 6px 16px rgba(4, 11, 24, 0.35);
}

.p29-tcard-typographic-avatar {
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--p29-navy-600), var(--p29-navy-950) 80%);
    border: 2.5px solid rgba(249, 115, 22, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--p29-white);
    box-shadow: 0 6px 16px rgba(4, 11, 24, 0.35);
    overflow: visible;
}

.p29-tcard-avatar-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.p29-tcard-initials {
    position: relative;
    z-index: 1;
    font-family: var(--p29-font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 6px rgba(4, 11, 24, 0.65);
}

.p29-tcard-avatar-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--p29-orange-600);
    color: var(--p29-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid var(--p29-navy-900);
}

.p29-tcard-identity {
    flex: 1;
    min-width: 0;
}

.p29-tcard-subject-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.p29-subject-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.68rem;
    border-radius: var(--p29-radius-pill);
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: #ffedd5;
    font-size: 0.75rem;
    font-weight: 700;
}

.p29-tcard-name {
    font-family: var(--p29-font-heading);
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--p29-white);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.p29-tcard-role {
    font-size: 0.86rem;
    color: var(--p29-slate-300);
}

.p29-tcard-role strong {
    color: var(--p29-white);
}

.p29-tcard-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    margin-top: 0.42rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fed7aa;
    text-decoration: none;
    transition: color 0.18s ease;
}

.p29-tcard-profile-link:hover {
    color: var(--p29-white);
    text-decoration: underline;
}

.p29-tcard-body {
    padding: 1.35rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p29-tcard-focus {
    font-size: 0.92rem;
    color: var(--p29-slate-600);
    line-height: 1.6;
}

/* Multi-subject picker inside teacher card */
.p29-tcard-subject-picker {
    background: var(--p29-slate-50);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-md);
    padding: 0.85rem;
}

.p29-picker-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--p29-slate-600);
    margin-bottom: 0.5rem;
}

.p29-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.p29-picker-btn {
    padding: 0.42rem 0.8rem;
    min-height: 36px;
    border-radius: var(--p29-radius-sm);
    border: 1px solid var(--p29-slate-300);
    background: var(--p29-white);
    color: var(--p29-slate-700);
    font-family: var(--p29-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--p29-transition);
}

.p29-picker-btn:hover {
    border-color: var(--p29-navy-700);
}

.p29-picker-btn.is-selected {
    background: var(--p29-navy-900);
    border-color: var(--p29-navy-900);
    color: var(--p29-white);
}

.p29-tcard-contact-meta {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--p29-slate-200);
}

.p29-contact-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--p29-slate-600);
}

.p29-contact-line i {
    color: var(--p29-wa-emerald);
    font-size: 1.05rem;
}

.p29-tcard-footer {
    padding: 1rem 1.6rem 1.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* ============================================================================
   7. LEARNING JOURNEY BANNER (CONSOLIDATED WITHIN #why-igcse)
   ============================================================================ */
.p29-journey-banner {
    background: linear-gradient(145deg, var(--p29-navy-900) 0%, var(--p29-navy-800) 100%);
    color: var(--p29-white);
    border-radius: var(--p29-radius-xl);
    padding: 2.75rem 2.25rem;
    margin-bottom: 3rem;
    box-shadow: var(--p29-shadow-md);
    border: 1px solid rgba(249, 115, 22, 0.28);
}

.p29-journey-banner-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.25rem;
}

.p29-journey-banner-header h3 {
    font-family: var(--p29-font-heading);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--p29-white);
    margin-bottom: 0.45rem;
}

.p29-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 0;
}

.p29-journey-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--p29-radius-lg);
    padding: 1.65rem;
    position: relative;
    transition: var(--p29-transition);
}

.p29-journey-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 115, 22, 0.45);
}

.p29-journey-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.p29-journey-step-num {
    font-family: var(--p29-font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--p29-orange-400);
    background: rgba(249, 115, 22, 0.16);
    padding: 0.28rem 0.65rem;
    border-radius: var(--p29-radius-pill);
}

.p29-journey-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--p29-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.p29-journey-title {
    font-family: var(--p29-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--p29-white);
    margin-bottom: 0.4rem;
}

.p29-journey-summary {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fed7aa;
    margin-bottom: 0.6rem;
}

.p29-journey-detail {
    font-size: 0.88rem;
    color: var(--p29-slate-300);
    line-height: 1.6;
}

.p29-journey-cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.85rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--p29-radius-xl);
}

.p29-journey-cta-content h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--p29-white);
    margin-bottom: 0.25rem;
}

.p29-journey-cta-content p {
    font-size: 0.92rem;
    color: var(--p29-slate-300);
}

.p29-journey-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ============================================================================
   8. PARENT FAQ ACCORDION (SECTION 10)
   ============================================================================ */
.p29-faq-accordion {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.p29-faq-item {
    background: var(--p29-slate-50);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-md);
    overflow: hidden;
    transition: var(--p29-transition);
}

.p29-faq-item[open] {
    background: var(--p29-white);
    border-color: var(--p29-navy-600);
    box-shadow: var(--p29-shadow-sm);
}

.p29-faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.45rem;
    font-family: var(--p29-font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--p29-navy-900);
    cursor: pointer;
    min-height: 56px;
}

.p29-faq-question::-webkit-details-marker {
    display: none;
}

.p29-faq-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--p29-slate-200);
    color: var(--p29-navy-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.p29-faq-item[open] .p29-faq-chevron {
    transform: rotate(180deg);
    background: var(--p29-orange-600);
    color: var(--p29-white);
}

.p29-faq-answer {
    padding: 0 1.45rem 1.35rem;
    color: var(--p29-slate-600);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--p29-slate-100);
    padding-top: 1rem;
}

/* ============================================================================
   9. ENQUIRY & REGISTRATION SECTION
   ============================================================================ */
.p29-enquiry-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2.75rem;
    align-items: start;
}

.p29-enquiry-lead {
    font-size: 1rem;
    color: var(--p29-slate-600);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.p29-campus-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p29-campus-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    background: var(--p29-white);
    border: 1px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-md);
    box-shadow: var(--p29-shadow-xs);
}

.p29-cc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--p29-navy-900);
    color: var(--p29-orange-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.p29-campus-card h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--p29-navy-900);
    margin-bottom: 0.2rem;
}

.p29-campus-card p {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--p29-slate-700);
}

.p29-campus-card a {
    color: var(--p29-navy-700);
    text-decoration: none;
}

.p29-campus-card a:hover {
    text-decoration: underline;
}

.p29-cc-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--p29-slate-500);
    margin-top: 0.15rem;
}

.p29-enquiry-form-card {
    background: var(--p29-white);
    border: 1.5px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-xl);
    padding: 2.25rem;
    box-shadow: var(--p29-shadow-md);
}

.p29-enquiry-form-card h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--p29-navy-900);
    margin-bottom: 0.3rem;
}

.p29-form-subtitle {
    font-size: 0.92rem;
    color: var(--p29-slate-600);
    margin-bottom: 1.5rem;
}

.p29-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--p29-radius-md);
    margin-bottom: 1.35rem;
    font-size: 0.92rem;
}

.p29-alert-success {
    background: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    color: #065f46;
}

.p29-alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.p29-confirm-body {
    flex: 1;
    min-width: 0;
}

.p29-confirm-body > strong {
    display: block;
    font-family: var(--p29-font-heading);
    font-size: 1.08rem;
    color: #064e3b;
    margin-bottom: 0.35rem;
}

.p29-confirm-summary {
    margin: 0.85rem 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #a7f3d0;
    border-radius: var(--p29-radius-sm);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.p29-confirm-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.86rem;
}

.p29-confirm-row dt {
    font-weight: 700;
    color: #064e3b;
}

.p29-confirm-row dd {
    font-weight: 600;
    color: var(--p29-navy-900);
}

.p29-confirm-row code {
    font-family: var(--p29-font-mono);
    font-weight: 700;
    background: #d1fae5;
    color: #065f46;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
}

.p29-confirm-next-steps {
    margin: 0.75rem 0;
    font-size: 0.86rem;
    color: #065f46;
}

.p29-confirm-next-steps strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #064e3b;
}

.p29-confirm-next-steps ol {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.p29-confirm-next-steps a {
    color: #064e3b;
    font-weight: 700;
}

.p29-confirm-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.75rem 0 0.25rem;
    padding: 0.65rem 0.85rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--p29-radius-sm);
    color: #92400e;
    font-size: 0.82rem;
    line-height: 1.5;
}

.p29-confirm-disclaimer i {
    margin-top: 0.2rem;
    color: var(--p29-orange-600);
}

/* Class Information & Registration Overview Grid (#class-info) */
.p29-class-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.p29-info-card {
    background: var(--p29-slate-50);
    border: 1.5px solid var(--p29-slate-200);
    border-radius: var(--p29-radius-lg);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--p29-shadow-xs);
    transition: var(--p29-transition);
}

.p29-info-card:hover {
    transform: translateY(-3px);
    border-color: var(--p29-navy-600);
    box-shadow: var(--p29-shadow-md);
}

.p29-info-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.p29-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--p29-navy-900);
    color: var(--p29-orange-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.p29-info-card h3 {
    font-family: var(--p29-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--p29-navy-900);
    line-height: 1.25;
}

.p29-info-card p {
    font-size: 0.91rem;
    color: var(--p29-slate-600);
    line-height: 1.65;
    flex: 1;
}

.p29-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--p29-orange-600);
    text-decoration: none;
    padding-top: 0.55rem;
    border-top: 1px solid var(--p29-slate-200);
}

.p29-info-link:hover {
    color: var(--p29-navy-900);
}

.p29-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.p29-form-group {
    margin-bottom: 1.15rem;
}

.p29-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--p29-navy-900);
    margin-bottom: 0.4rem;
}

.p29-req {
    color: var(--p29-orange-600);
}

.p29-optional {
    font-weight: 500;
    color: var(--p29-slate-400);
}

.p29-input,
.p29-select,
.p29-textarea {
    width: 100%;
    padding: 0.78rem 0.95rem;
    min-height: 48px;
    border-radius: var(--p29-radius-sm);
    border: 1.5px solid var(--p29-slate-300);
    background: var(--p29-white);
    color: var(--p29-slate-900);
    font-family: var(--p29-font-body);
    font-size: 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.p29-input:focus,
.p29-select:focus,
.p29-textarea:focus {
    border-color: var(--p29-navy-700);
    box-shadow: 0 0 0 3px rgba(30, 70, 130, 0.12);
}

.p29-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* ============================================================================
   10. FINAL CONVERSION SECTION BEFORE FOOTER (SECTION 11)
   ============================================================================ */
.p29-final-cta {
    padding: 4.5rem 0;
    background: var(--p29-white);
}

.p29-final-cta-card {
    background: linear-gradient(145deg, var(--p29-navy-950) 0%, var(--p29-navy-800) 100%);
    color: var(--p29-white);
    border-radius: var(--p29-radius-xl);
    padding: 3.5rem 2.25rem;
    text-align: center;
    box-shadow: var(--p29-shadow-lg);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.p29-final-title {
    font-family: var(--p29-font-heading);
    font-size: clamp(1.9rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: var(--p29-white);
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.p29-final-desc {
    font-size: 1.08rem;
    color: var(--p29-slate-200);
    max-width: 660px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.p29-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================================================
   11. INSTITUTIONAL FOOTER
   ============================================================================ */
.p29-footer {
    background: var(--p29-navy-950);
    color: var(--p29-slate-300);
    padding: 4rem 0 5.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p29-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.p29-footer-bio {
    font-size: 0.9rem;
    color: var(--p29-slate-400);
    line-height: 1.65;
}

.p29-footer-col h4 {
    font-family: var(--p29-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--p29-white);
    margin-bottom: 1rem;
}

.p29-footer-links,
.p29-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.p29-footer-links a,
.p29-footer-contact a {
    color: var(--p29-slate-300);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.18s ease;
}

.p29-footer-links a:hover,
.p29-footer-contact a:hover {
    color: var(--p29-orange-400);
}

.p29-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
}

.p29-footer-contact i {
    color: var(--p29-orange-400);
    margin-top: 0.25rem;
}

.p29-footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--p29-slate-400);
}

.p29-footer-bottom a {
    color: var(--p29-slate-300);
}

/* ============================================================================
   12. DISCREET STICKY ACTION BAR (SECTION 12)
   ============================================================================ */
.p29-title-left {
    text-align: left;
}

.p29-alert-wa-btn {
    margin-top: 0.75rem;
}

.p29-footer-brand {
    margin-bottom: 1rem;
    display: inline-flex;
}

.p29-contact-line-admissions a {
    color: var(--p29-navy-700);
    font-weight: 700;
    text-decoration: underline;
}

.p29-input[aria-invalid="true"],
.p29-select[aria-invalid="true"],
.p29-textarea[aria-invalid="true"] {
    border-color: #dc2626;
    background-color: #fffafa;
}

.p29-sticky-bar {
    position: fixed;
    bottom: 1rem;
    right: 1.25rem;
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(7, 18, 36, 0.94);
    padding: 0.45rem;
    border-radius: var(--p29-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 30px rgba(4, 11, 24, 0.35);
    backdrop-filter: blur(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.p29-sticky-bar.is-hidden-near-form {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
}

.p29-sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.05rem;
    min-height: 42px;
    border-radius: var(--p29-radius-pill);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--p29-transition);
}

.p29-sticky-btn-teachers {
    color: var(--p29-white);
    background: rgba(255, 255, 255, 0.08);
}

.p29-sticky-btn-teachers:hover {
    background: rgba(255, 255, 255, 0.16);
}

.p29-sticky-btn-wa {
    background: var(--p29-wa-emerald);
    color: var(--p29-white);
}

.p29-sticky-btn-wa:hover {
    background: var(--p29-wa-dark);
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS (MOBILE, TABLET, LAPTOP, DESKTOP)
   ============================================================================ */
@media (max-width: 1080px) {
    .p29-hero-grid,
    .p29-igcse-intro-grid,
    .p29-enquiry-layout {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 900px) {
    .p29-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--p29-navy-950);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
        gap: 0.35rem;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    }

    .p29-nav.is-open {
        display: flex;
    }

    .p29-nav-link {
        padding: 0.75rem 0.85rem;
        border-radius: var(--p29-radius-sm);
    }

    .p29-nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .p29-mobile-toggle {
        display: inline-flex;
    }

    .p29-three-steps {
        grid-template-columns: 1fr;
    }

    .p29-step-connector {
        display: none;
    }

    .p29-teachers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .p29-section {
        padding: 3.75rem 0;
    }

    .p29-hero {
        padding: 3rem 0 3.75rem;
    }

    .p29-hero-points,
    .p29-priorities-grid,
    .p29-class-info-grid,
    .p29-journey-grid,
    .p29-form-row,
    .p29-showcase-pillars,
    .p29-footer-grid {
        grid-template-columns: 1fr;
    }

    .p29-hero-actions .p29-btn,
    .p29-igcse-intro-actions .p29-btn,
    .p29-final-actions .p29-btn {
        width: 100%;
    }

    .p29-btn-ghost-sm span {
        display: none;
    }

    .p29-tcard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.35rem;
    }

    .p29-tcard-body,
    .p29-tcard-footer {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }

    .p29-enquiry-form-card {
        padding: 1.5rem 1.25rem;
    }

    .p29-sticky-bar {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.65rem;
        justify-content: space-between;
    }

    .p29-sticky-btn {
        flex: 1;
        padding: 0.65rem 0.75rem;
    }
}

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