/* =========================================================
   SUNSHINE TUTORING SERVICES — STYLESHEET
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Brand */
    --sun-50:  #FFFAF0;
    --sun-100: #FFF4D6;
    --sun-200: #FFE9A8;
    --sun-300: #FFD66B;
    --sun-400: #FFB627;
    --sun-500: #F39C12;
    --sun-600: #D17F0E;
    --sun-700: #A0610A;

    /* Trust blue / navy */
    --navy-50:  #EFF4FB;
    --navy-100: #D6E2F2;
    --navy-300: #7FA5DB;
    --navy-500: #2E5BBA;
    --navy-700: #1F3F87;
    --navy-900: #1A2B4A;
    --navy-950: #0E1A33;

    /* Neutrals */
    --ink-900: #1A1F2C;
    --ink-700: #2D3748;
    --ink-500: #4A5568;
    --ink-400: #718096;
    --ink-300: #A0AEC0;
    --ink-200: #CBD5E0;
    --ink-100: #E2E8F0;
    --ink-50:  #F4F6F9;
    --white:   #FFFFFF;

    /* Semantic */
    --success: #15A87B;
    --warning: #F39C12;
    --danger:  #E14B45;

    /* Typography */
    --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sizing */
    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(26, 43, 74, 0.06);
    --shadow-sm: 0 4px 12px rgba(26, 43, 74, 0.08);
    --shadow-md: 0 12px 32px rgba(26, 43, 74, 0.10);
    --shadow-lg: 0 24px 60px rgba(26, 43, 74, 0.14);
    --shadow-glow: 0 16px 48px rgba(243, 156, 18, 0.25);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 200ms;
    --t-mid: 360ms;
    --t-slow: 600ms;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--sun-500); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sun-300); color: var(--navy-900); }

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--sun-700);
    margin-bottom: 22px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--sun-500);
    flex-shrink: 0;
    border-radius: 1px;
}
/* On centered section headers, balance with a trailing rule too */
.section-header .eyebrow::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--sun-500);
    flex-shrink: 0;
    border-radius: 1px;
}
.eyebrow-light {
    background: transparent;
    color: var(--sun-300);
}
.eyebrow-light::before, .eyebrow-light::after {
    background: var(--sun-300);
}

.section-title {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    color: var(--ink-900);
    margin-bottom: 20px;
}
.section-title em {
    font-style: italic;
    color: var(--sun-700);
    font-weight: 700;
}
.section-title-light { color: var(--white); }
.section-title-light em { color: var(--sun-300); }

.section-lede {
    font-size: 1.18rem;
    color: var(--ink-500);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}
.section-lede em { color: var(--sun-700); font-style: italic; font-weight: 600; }
.section-lede-light { color: rgba(255, 255, 255, 0.78); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease),
                box-shadow var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sun-400), var(--sun-500));
    color: var(--navy-900);
    box-shadow: 0 8px 22px rgba(243, 156, 18, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(243, 156, 18, 0.45);
    color: var(--navy-900);
}

.btn-yellow {
    background: var(--sun-300);
    color: var(--navy-900);
    box-shadow: 0 8px 22px rgba(255, 214, 107, 0.35);
}
.btn-yellow:hover {
    background: var(--sun-400);
    transform: translateY(-2px);
    color: var(--navy-900);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--navy-900);
    border: 1.5px solid rgba(26, 43, 74, 0.12);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: var(--white);
    border-color: var(--navy-900);
    transform: translateY(-2px);
    color: var(--navy-900);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- ANNOUNCEMENT BAR ---------- */
.announcement-bar {
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}
.announcement-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 182, 39, 0.08), transparent);
    pointer-events: none;
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
}
.announcement-pill {
    color: var(--sun-300);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.announcement-divider {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--sun-300);
    opacity: 0.6;
}
.announcement-text { color: rgba(255, 255, 255, 0.85); }
.announcement-text a { color: var(--sun-300); font-weight: 600; }

/* ---------- HEADER / NAV ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(26, 43, 74, 0.05);
    transition: box-shadow var(--t-fast) var(--ease), background var(--t-fast);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy-900);
}
.brand-logo {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    background: var(--sun-100);
    border-radius: 50%;
    transition: transform var(--t-mid) var(--ease);
}
.brand:hover .brand-logo { transform: rotate(45deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}
.brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sun-700);
    margin-top: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    gap: 32px;
}
.primary-nav a {
    color: var(--ink-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: var(--sun-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-fast) var(--ease);
}
.primary-nav a:hover { color: var(--navy-900); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}
.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.95rem;
}
.phone-link svg { color: var(--sun-600); }
.phone-link:hover { color: var(--sun-700); }

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 20px 24px 28px;
    background: var(--white);
    border-top: 1px solid var(--ink-100);
    gap: 4px;
}
.mobile-nav a {
    padding: 14px 8px;
    color: var(--ink-700);
    font-weight: 500;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--ink-100);
}
.mobile-nav a.btn { margin-top: 12px; border-bottom: none; padding: 14px 24px; }
.mobile-nav .mobile-call {
    color: var(--sun-700);
    font-weight: 700;
}
.mobile-nav.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 70px 0 110px;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 20% 30%, rgba(255, 214, 107, 0.45), transparent 55%),
      radial-gradient(ellipse at 90% 80%, rgba(127, 165, 219, 0.18), transparent 60%),
      linear-gradient(180deg, #FFFAF0 0%, #FFF8E1 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sun-orb {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(255, 182, 39, 0.55) 0%, rgba(255, 214, 107, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    animation: float-orb 14s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.06); }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(26, 43, 74, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 72px;
}

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(243, 156, 18, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(21, 168, 123, 0.18);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(21, 168, 123, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(21, 168, 123, 0.04); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.6vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}
.title-accent {
    background: linear-gradient(135deg, var(--sun-700), var(--sun-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.title-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -6px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M0,4 Q50,0 100,4 T200,4' stroke='%23FFB627' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.hero-sub {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--ink-500);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 43, 74, 0.08);
}
.hero-trust li {
    display: flex;
    flex-direction: column;
}
.hero-trust strong {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    line-height: 1;
}
.hero-trust span {
    font-size: 0.84rem;
    color: var(--ink-500);
    margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 540px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    transform-origin: center;
    animation: card-rise 0.9s var(--ease-out) backwards;
}

@keyframes card-rise {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-card-main {
    top: 50px;
    left: 30px;
    width: 280px;
    border: 1px solid rgba(26, 43, 74, 0.06);
    animation-delay: 0.2s;
}
.hc-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--sun-400), var(--sun-300));
    border-radius: 2px;
    margin-bottom: 18px;
}
.hc-grade {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}
.hc-grade-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--success);
    letter-spacing: -0.04em;
    line-height: 1;
}
.hc-grade-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
}
.hc-subject {
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.hc-bar {
    background: var(--ink-100);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.hc-bar-fill {
    width: 94%;
    height: 100%;
    background: linear-gradient(90deg, var(--sun-400), var(--success));
    border-radius: 4px;
    animation: bar-fill 1.4s var(--ease-out) 0.7s backwards;
}
@keyframes bar-fill {
    from { width: 0; }
}
.hc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--ink-400);
    font-weight: 500;
}
.hc-percent { color: var(--success); font-weight: 700; }

.hero-card-quote {
    top: 320px;
    left: -10px;
    width: 290px;
    background: var(--navy-900);
    color: var(--white);
    animation-delay: 0.4s;
}
.hc-stars {
    color: var(--sun-300);
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 4px;
}
.hero-card-quote p {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.45;
    font-style: italic;
    margin-bottom: 14px;
}
.hc-cite {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-card-stat {
    top: 130px;
    right: -10px;
    width: 200px;
    text-align: center;
    background: linear-gradient(135deg, var(--sun-400), var(--sun-500));
    animation-delay: 0.6s;
}
.hc-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.hc-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    line-height: 1.3;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: float-shape 6s ease-in-out infinite;
}
.shape-1 {
    top: 10%;
    right: 20%;
    width: 60px; height: 60px;
    background: var(--sun-300);
    opacity: 0.5;
    animation-delay: 0s;
}
.shape-2 {
    bottom: 10%;
    right: 15%;
    width: 40px; height: 40px;
    background: var(--navy-300);
    opacity: 0.4;
    animation-delay: 2s;
}
.shape-3 {
    top: 50%;
    left: -40px;
    width: 30px; height: 30px;
    background: var(--sun-400);
    opacity: 0.6;
    animation-delay: 4s;
}
@keyframes float-shape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    line-height: 0;
    pointer-events: none;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
    background: var(--white);
    padding: 36px 0;
    border-bottom: 1px solid var(--ink-100);
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-icon {
    font-size: 1.7rem;
    flex-shrink: 0;
}
.trust-item div { display: flex; flex-direction: column; line-height: 1.3; }
.trust-item strong {
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.98rem;
}
.trust-item span {
    color: var(--ink-400);
    font-size: 0.83rem;
    margin-top: 2px;
}

/* ---------- WHY (VALUE PROP) ---------- */
.why { background: var(--ink-50); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
    transition: transform var(--t-mid) var(--ease),
                box-shadow var(--t-mid) var(--ease),
                border-color var(--t-mid);
    position: relative;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--sun-200);
}

.why-card-featured {
    background: linear-gradient(165deg, var(--navy-900), var(--navy-700));
    border-color: var(--navy-900);
    color: var(--white);
}
.why-card.why-card-featured h3 { color: var(--white); }
.why-card.why-card-featured p { color: rgba(255, 255, 255, 0.85); }
.why-card-featured:hover { border-color: var(--sun-400); }

.why-card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--sun-400);
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.why-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--white);
}
.why-icon svg { width: 28px; height: 28px; }
.why-icon-1 { background: linear-gradient(135deg, #FFB627, #F39C12); }
.why-icon-2 { background: linear-gradient(135deg, #FFD66B, #FFB627); color: var(--navy-900); }
.why-icon-3 { background: linear-gradient(135deg, #2E5BBA, #1F3F87); }
.why-icon-4 { background: linear-gradient(135deg, #15A87B, #0F8662); }
.why-icon-5 { background: linear-gradient(135deg, #A78BFA, #7C5BE0); }
.why-icon-6 { background: linear-gradient(135deg, #FF9D7A, #E66B45); }

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--ink-900);
}
.why-card p {
    color: var(--ink-500);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* ---------- QUOTE INTERLUDE ---------- */
.quote-interlude {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--ink-50), var(--white));
    position: relative;
}
.quote-mark {
    width: 48px;
    height: 48px;
    color: var(--sun-300);
    margin: 0 auto 20px;
}
.quote-interlude blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 500;
    color: var(--navy-900);
    max-width: 880px;
    margin: 0 auto 24px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.quote-interlude cite {
    font-style: normal;
    color: var(--sun-700);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}

/* ---------- SUBJECTS ---------- */
.subjects { background: var(--white); }

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

.subject-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-mid) var(--ease),
                box-shadow var(--t-mid) var(--ease),
                border-color var(--t-mid);
}
.subject-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--sun-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-mid) var(--ease);
}
.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sun-200);
}
.subject-card:hover::before { transform: scaleX(1); }

.subject-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--white);
    background: var(--sun-400);
}
.subject-icon svg { width: 24px; height: 24px; }

.subject-math .subject-icon { background: linear-gradient(135deg, #FFB627, #F39C12); }
.subject-language .subject-icon { background: linear-gradient(135deg, #2E5BBA, #1F3F87); }
.subject-science .subject-icon { background: linear-gradient(135deg, #15A87B, #0F8662); }
.subject-social .subject-icon { background: linear-gradient(135deg, #FF9D7A, #E66B45); }
.subject-test .subject-icon { background: linear-gradient(135deg, #A78BFA, #7C5BE0); }
.subject-foreign .subject-icon { background: linear-gradient(135deg, #5EEAD4, #14B8A6); }
.subject-music .subject-icon { background: linear-gradient(135deg, #F472B6, #DB2777); }
.subject-honors .subject-icon { background: linear-gradient(135deg, #FFD66B, #FFB627); color: var(--navy-900); }

.subject-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--ink-900);
}
.subject-card p {
    font-size: 0.92rem;
    color: var(--ink-500);
    line-height: 1.55;
    margin-bottom: 16px;
}

.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.subject-tags li {
    font-size: 0.78rem;
    background: var(--ink-50);
    color: var(--ink-700);
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.subject-flag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
}
.subject-flag-new {
    background: var(--success);
    animation: pulse-flag 2s infinite;
}
@keyframes pulse-flag {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.subjects-cta {
    margin-top: 56px;
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--sun-50), var(--sun-100));
    border-radius: var(--radius-lg);
    border: 2px dashed var(--sun-300);
}
.subjects-cta p {
    font-size: 1.1rem;
    color: var(--ink-700);
    margin-bottom: 18px;
}
.subjects-cta strong { color: var(--navy-900); }

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
    background: linear-gradient(165deg, var(--navy-950), var(--navy-900));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.how-it-works::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 182, 39, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.how-it-works::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(46, 91, 186, 0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.step {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: transform var(--t-mid) var(--ease),
                background var(--t-mid),
                border-color var(--t-mid);
}
.step:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 182, 39, 0.4);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sun-300), var(--sun-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 18px;
}

.step h3 {
    color: var(--white);
    font-size: 1.18rem;
    margin-bottom: 10px;
}
.step p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.step-connector {
    width: 28px;
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 182, 39, 0.6), rgba(255, 182, 39, 0.1));
    border-radius: 2px;
    margin-top: 60px;
}

.how-cta {
    margin-top: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.how-cta-aside {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ---------- TEST PREP ---------- */
.test-prep {
    background: linear-gradient(135deg, var(--sun-50), var(--white));
    overflow: hidden;
}
.test-prep-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.test-prep-content .section-title {
    text-align: left;
    margin-bottom: 18px;
}
.test-prep-content > p {
    font-size: 1.1rem;
    color: var(--ink-500);
    line-height: 1.7;
    margin-bottom: 28px;
}

.prep-highlights {
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 28px;
}
.prep-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--ink-100);
    transition: transform var(--t-fast) var(--ease);
}
.prep-feature:hover { transform: translateX(2px); }
.prep-feature:hover .prep-feature-num { color: var(--sun-700); }

.prep-feature-num {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--sun-600);
    letter-spacing: -0.04em;
    line-height: 1;
    padding-top: 2px;
    transition: color var(--t-fast);
    font-variant-numeric: tabular-nums;
}
.prep-feature-body h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--navy-900);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0 0 6px;
}
.prep-feature-body p {
    font-size: 0.92rem;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 0;
}

.test-prep-visual {
    position: relative;
    height: 420px;
}
.prep-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--ink-100);
    transition: transform var(--t-mid) var(--ease);
}
.prep-card:hover { transform: translateY(-6px); }

.prep-card-1 {
    top: 30px;
    left: 0;
    right: 80px;
    transform: rotate(-2deg);
}
.prep-card-2 {
    bottom: 30px;
    right: 0;
    left: 80px;
    transform: rotate(2deg);
}

.prep-card-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.prep-card-score {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    margin-bottom: 14px;
}
.score-before {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink-300);
    text-decoration: line-through;
    text-decoration-color: var(--ink-200);
}
.score-after {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
    letter-spacing: -0.04em;
}
.prep-card-score svg { color: var(--sun-500); }

.prep-grade-shift {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}
.grade {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    width: 70px; height: 70px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    letter-spacing: -0.05em;
}
.grade-fail {
    background: rgba(225, 75, 69, 0.1);
    color: var(--danger);
}
.grade-pass {
    background: rgba(21, 168, 123, 0.12);
    color: var(--success);
    font-size: 2.4rem;
}
.arrow {
    font-size: 2rem;
    color: var(--sun-500);
    font-weight: 800;
}

.prep-card-note {
    font-style: italic;
    color: var(--ink-500);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--ink-50); }

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--ink-100);
    transition: transform var(--t-mid) var(--ease),
                box-shadow var(--t-mid) var(--ease);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card-feature {
    background: linear-gradient(165deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border-color: var(--navy-900);
    grid-row: span 1;
    transform: scale(1.02);
}
.testimonial-card.testimonial-card-feature blockquote { color: var(--white); }
.testimonial-card.testimonial-card-feature .t-meta strong { color: var(--white); }
.testimonial-card.testimonial-card-feature .t-meta span { color: rgba(255, 255, 255, 0.75); }

.stars {
    color: var(--sun-400);
    letter-spacing: 4px;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.55;
    color: var(--ink-700);
    margin: 0 0 24px;
    flex-grow: 1;
    letter-spacing: -0.01em;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-100);
}
.testimonial-card-feature footer { border-top-color: rgba(255, 255, 255, 0.12); }

.t-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy-900);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.t-meta { display: flex; flex-direction: column; line-height: 1.3; }
.t-meta strong { color: var(--navy-900); font-weight: 700; font-size: 0.95rem; }
.t-meta span { font-size: 0.82rem; color: var(--ink-400); margin-top: 2px; }

.testimonial-cta {
    background: linear-gradient(135deg, var(--sun-300), var(--sun-400));
    border: none;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.testimonial-cta:hover { transform: translateY(-4px); }
.t-cta-icon { font-size: 2.4rem; margin-bottom: 8px; }
.testimonial-cta h3 {
    color: var(--navy-900);
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.testimonial-cta p {
    color: var(--navy-900);
    margin-bottom: 22px;
    font-size: 0.96rem;
    line-height: 1.55;
    opacity: 0.85;
}

/* ---------- SERVICE AREA ---------- */
.service-area { background: var(--white); }
.service-area-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.sa-content .section-title {
    text-align: left;
    margin-bottom: 18px;
}

.counties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.county {
    padding: 20px;
    background: var(--ink-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-100);
    transition: transform var(--t-fast), background var(--t-fast);
}
.county:hover {
    background: var(--sun-50);
    transform: translateY(-2px);
}
.county h3 {
    font-size: 1.02rem;
    color: var(--navy-900);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sun-300);
    display: inline-block;
}
.county p {
    color: var(--ink-500);
    font-size: 0.88rem;
    line-height: 1.55;
}

.sa-note {
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--navy-50);
    border-left: 3px solid var(--navy-500);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--navy-900);
}

.sa-map {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}
.map-pin { transition: transform var(--t-mid) var(--ease); cursor: pointer; transform-box: fill-box; transform-origin: center; }
.map-pin:hover { transform: scale(1.15); }

/* ---------- ABOUT ---------- */
.about {
    background: linear-gradient(180deg, var(--white), var(--sun-50));
}
.about-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.about-image { position: relative; }
.about-img-stack {
    position: relative;
    height: 480px;
}
.about-img-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--ink-100);
    transition: transform var(--t-mid) var(--ease);
}
.about-img-card:hover { transform: translateY(-4px) rotate(0) !important; }

.about-img-1 {
    top: 0; left: 0;
    width: 240px;
    background: linear-gradient(135deg, var(--sun-400), var(--sun-500));
    transform: rotate(-3deg);
    border: none;
}
.about-img-1 .aic-eyebrow { color: var(--navy-900); opacity: 0.85; }
.about-img-1 .aic-big { color: var(--navy-900); }
.about-img-1 .aic-small { color: var(--navy-900); opacity: 0.92; }

.about-img-2 {
    top: 130px; right: 0;
    width: 260px;
    transform: rotate(3deg);
}

.about-img-3 {
    bottom: 0; left: 40px;
    width: 280px;
    transform: rotate(-2deg);
    background: var(--navy-900);
    border: none;
    color: var(--white);
}
.about-img-3 .aic-eyebrow { color: rgba(255,255,255,0.5); }
.about-img-3 .aic-big { color: var(--sun-300); }
.about-img-3 .aic-small { color: rgba(255,255,255,0.75); }

.aic-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--ink-400);
}
.aic-big {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    line-height: 1;
    margin: 6px 0 8px;
}
.aic-small {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--ink-500);
}
.aic-icon { font-size: 1.8rem; margin-bottom: 4px; }

.about-content .section-title { text-align: left; }
.about-content p {
    color: var(--ink-500);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-quote {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--white);
    border-left: 4px solid var(--sun-400);
    border-radius: var(--radius-sm);
    font-style: italic;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}
.about-quote strong { color: var(--navy-900); font-style: normal; }

/* ---------- PRICING / PACKAGES ---------- */
.pricing { background: var(--ink-50); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    text-align: center;
    transition: transform var(--t-mid) var(--ease),
                box-shadow var(--t-mid) var(--ease);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pricing-card-feature {
    background: linear-gradient(165deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border-color: var(--navy-900);
    transform: scale(1.02);
}
.pricing-card.pricing-card-feature h3 { color: var(--white); }
.pricing-card.pricing-card-feature p { color: rgba(255,255,255,0.85); }
.pricing-card-feature:hover { transform: scale(1.02) translateY(-6px); }

.pc-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sun-400);
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.pc-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 1.32rem;
    margin-bottom: 12px;
    color: var(--ink-900);
}
.pricing-card p {
    color: var(--ink-500);
    line-height: 1.6;
    font-size: 0.96rem;
}

.pricing-cta {
    text-align: center;
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--ink-100);
}
.pricing-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--ink-900);
}
.pricing-cta p {
    color: var(--ink-500);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.pricing-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.pricing-cta .btn-outline {
    color: var(--navy-900);
    border-color: var(--ink-200);
}
.pricing-cta .btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.faq-item[open] {
    background: var(--white);
    border-color: var(--sun-300);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 22px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 1.05rem;
    list-style: none;
    user-select: none;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sun-700); }

.faq-arrow {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--sun-400);
    color: var(--navy-900);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform var(--t-fast) var(--ease);
}
.faq-item[open] .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 26px 22px;
    color: var(--ink-500);
    line-height: 1.7;
}
.faq-answer p { font-size: 0.98rem; }

/* ---------- CONTACT ---------- */
.contact {
    position: relative;
    color: var(--white);
    overflow: hidden;
}
.contact-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(255, 182, 39, 0.18), transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(46, 91, 186, 0.25), transparent 60%),
      linear-gradient(165deg, var(--navy-950), var(--navy-900));
    z-index: -1;
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.contact-left .section-title { text-align: left; }
.contact-left .section-lede { margin: 0; }

.contact-info {
    margin-top: 36px;
    display: grid;
    gap: 16px;
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--t-fast);
}
.contact-info li:hover { background: rgba(255, 255, 255, 0.08); }

.ci-icon {
    width: 44px; height: 44px;
    background: rgba(255, 182, 39, 0.15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.ci-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 2px;
}
.ci-value {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}
.ci-value:hover { color: var(--sun-300); }

.contact-social {
    margin-top: 24px;
}
.contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    transition: all var(--t-fast);
}
.contact-social a:hover {
    color: var(--sun-300);
    border-color: var(--sun-300);
}

/* Form */
.contact-form {
    background: var(--white);
    color: var(--ink-700);
    padding: 40px 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 24px; right: 24px;
    height: 6px;
    background: linear-gradient(90deg, var(--sun-300), var(--sun-500));
    border-radius: 0 0 6px 6px;
}

.cf-title {
    font-size: 1.65rem;
    margin-bottom: 6px;
    color: var(--ink-900);
}
.cf-sub {
    color: var(--ink-500);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}
.field span {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-700);
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--ink-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink-700);
    background: var(--white);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--sun-400);
    box-shadow: 0 0 0 4px rgba(255, 182, 39, 0.18);
}
.field textarea { resize: vertical; min-height: 96px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-row-radio {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}
.radio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1.5px solid var(--ink-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--t-fast);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-700);
}
.radio input { margin: 0; accent-color: var(--sun-500); }
.radio:hover { border-color: var(--sun-300); }
.radio:has(input:checked) {
    background: var(--sun-50);
    border-color: var(--sun-400);
    color: var(--navy-900);
    font-weight: 600;
}

.cf-disclaimer {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--ink-400);
    text-align: center;
    line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-logo strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}
.footer-logo span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}
.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 360px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.94rem;
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--sun-300); }

.footer-contact li { color: rgba(255, 255, 255, 0.65); font-size: 0.94rem; }

.footer-fb {
    margin-top: 18px;
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--t-fast);
}
.footer-fb:hover {
    background: var(--sun-400);
    color: var(--navy-900);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- FLOATING CTA ---------- */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    background: linear-gradient(135deg, var(--sun-400), var(--sun-500));
    color: var(--navy-900);
    padding: 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-glow);
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: transform var(--t-fast);
    text-decoration: none;
}
.floating-cta:hover {
    transform: translateY(-2px) scale(1.03);
    color: var(--navy-900);
}

/* ---------- TOAST ---------- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 80px);
    background: var(--navy-900);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 200;
    opacity: 0;
    transition: transform var(--t-mid) var(--ease), opacity var(--t-mid);
    pointer-events: none;
    max-width: 92vw;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   RESPONSIVE BREAKPOINTS
   =========================================================== */

@media (max-width: 1080px) {
    .primary-nav { display: none; }
    .menu-toggle { display: flex; }
    .nav-cta .phone-link { display: none; }

    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { height: 480px; max-width: 460px; margin: 0 auto; }

    .why-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card-featured { grid-column: span 2; }

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

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

    .test-prep-inner, .service-area-inner, .about-inner, .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .test-prep-visual { height: 380px; }

    .about-img-stack { height: 400px; max-width: 460px; margin: 0 auto; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .step-connector { display: none; }
}

@media (max-width: 720px) {
    .section { padding: 72px 0; }

    .announcement-bar { font-size: 0.78rem; padding: 8px 0; }
    .announcement-text { display: none; }

    .nav-cta .btn { display: none; }

    .hero {
        padding: 48px 0 80px;
        /* Mobile-optimized gradient: vertical-aware, no hotspot collision.
           Same palette as desktop, repositioned so the warm radial spreads
           across the top instead of converging with the sun-orb. */
        background:
          radial-gradient(ellipse 140% 45% at 50% 0%,
            rgba(255, 214, 107, 0.42),
            rgba(255, 232, 165, 0.15) 50%,
            transparent 80%),
          radial-gradient(ellipse 95% 32% at 50% 108%,
            rgba(127, 165, 219, 0.18),
            transparent 72%),
          linear-gradient(180deg, #FFFCF4 0%, #FFF8E1 100%);
    }
    /* Re-anchor the sun-orb so it crowns the top center instead of
       stacking into the upper-right warm radial */
    .sun-orb {
        top: -240px;
        right: auto;
        left: 50%;
        margin-left: -210px;
        width: 420px;
        height: 420px;
        opacity: 0.55;
        filter: blur(14px);
    }
    .hero-trust { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; }
    .hero-trust li {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
    .hero-trust strong { font-size: 1.4rem; }

    .hero-visual { height: 420px; }
    .hero-card-main { width: 240px; left: 0; }
    .hero-card-quote { width: 250px; }
    .hero-card-stat { width: 170px; }
    .hc-grade-letter { font-size: 3rem; }
    .hc-stat-number { font-size: 2.4rem; }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .trust-item { gap: 10px; }
    .trust-icon { font-size: 1.4rem; }
    .trust-item strong { font-size: 0.9rem; }
    .trust-item span { font-size: 0.76rem; }

    .why-grid, .pricing-grid, .subjects-grid, .testimonials-grid, .counties {
        grid-template-columns: 1fr;
    }
    .why-card-featured { grid-column: span 1; }

    .pricing-card-feature { transform: scale(1); }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }

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

    .contact-form { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-radio { grid-template-columns: 1fr; gap: 8px; }

    .floating-cta { display: inline-flex; }

    .quote-interlude blockquote { font-size: 1.4rem; }

    .prep-card-1, .prep-card-2 {
        position: relative;
        top: auto; bottom: auto; left: auto; right: auto;
        transform: none;
        margin-bottom: 16px;
    }
    .test-prep-visual { height: auto; }
    .prep-highlights { grid-template-columns: 1fr; gap: 0 18px; }

    .about-img-stack {
        height: auto;
    }
    .about-img-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        margin-bottom: 14px;
    }

    .pricing-cta { padding: 32px 22px; }
    .pricing-cta h3 { font-size: 1.4rem; }

    .how-cta { flex-direction: column; gap: 14px; }
}

@media (max-width: 460px) {
    .container { padding: 0 18px; }
    .section-title { font-size: 1.85rem; }
    .hero-title { font-size: 2.2rem; }
    .btn-lg { padding: 14px 24px; font-size: 0.98rem; }
    .hero-card-quote { left: 30px; top: 290px; }
    .hero-card-stat { right: 0; top: 100px; }
}
