/**
 * IB Math Master — Tutoring
 * Page-specific CSS (sections unique to tutoring page)
 *
 * Requires: tokens.css, shared.css
 * Astra owns: body, headings, links, primary buttons, container
 */

/* =========================================
   HERO — Tutoring Variant (light bg + stats card)
   Grid structure (.ib-hero-grid, content-top, content-bottom)
   lives in shared.css
   ========================================= */

.ib-hero {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--ib-accent-bg) 0%, var(--ib-accent-softer) 100%);
    position: relative;
    overflow: hidden;
}

.ib-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.ib-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 42, 92, 0.04) 0%, transparent 60%);
    border-radius: 50%;
}

.ib-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ib-navy);
    background: var(--ib-white);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(15, 42, 92, 0.1);
    letter-spacing: 0.5px;
    border: 1px solid var(--ib-accent-soft);
}

.ib-hero-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--ib-accent);
    border-radius: 50%;
}

.ib-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.ib-hero h1 .ib-highlight {
    color: var(--ib-accent-hover);
}

.ib-hero-text {
    font-size: 18px;
    color: var(--ib-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 520px;
}

.ib-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ib-hero-link {
    font-size: 14px;
    color: var(--ib-navy);
    text-decoration: none;
    font-weight: 700;
}

.ib-hero-link:hover {
    text-decoration: underline;
}

/* Stats Card */
.ib-hero-stats-card {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    background: var(--ib-white);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(15, 42, 92, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 170px 1fr;
}

.ib-stats-card-photo {
    position: relative;
    overflow: hidden;
}

.ib-stats-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ib-stats-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ib-stats-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ib-navy);
    margin-bottom: 2px;
}

.ib-stats-card-role {
    font-size: 13px;
    color: var(--ib-text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ib-border);
}

.ib-stats-card-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ib-stats-card-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--ib-text-secondary);
    line-height: 1.4;
}

.ib-stats-card-detail:not(:last-child) {
    border-bottom: 1px solid var(--ib-border);
}

.ib-stats-card-dot {
    width: 7px;
    height: 7px;
    background: var(--ib-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.ib-stats-card-detail strong {
    color: var(--ib-navy);
    font-weight: 700;
}

/* =========================================
   HOW SESSIONS WORK
========================================= */
.ib-how {
    padding: 80px 0;
    background: var(--ib-white);
    border-top: 1px solid var(--ib-border);
}
.ib-how-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 64px;
    align-items: center;
}
.ib-how-content h2 {
    margin-bottom: 16px;
}
.ib-how-intro {
    font-size: 18px;
    color: var(--ib-text-secondary);
    margin-bottom: 40px;
}
.ib-how-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ib-how-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ib-border);
    position: relative;
}
.ib-how-step:last-child { border-bottom: none; }
.ib-step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ib-navy) 0%, var(--ib-navy-light) 100%);
    color: var(--ib-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.ib-step-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.ib-step-text p {
    font-size: 15px;
    color: var(--ib-text-muted);
    line-height: 1.6;
}
.ib-how-cta {
    margin-top: 40px;
}
.ib-cta-reassurance {
    font-size: 13px;
    color: var(--ib-text-muted);
    margin-top: 12px;
    font-weight: 500;
}

/* Video */
.ib-how-video {
    position: relative;
}
.ib-how-video-inner {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--ib-navy);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ib-shadow-xl);
}
.ib-how-video img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.ib-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 42, 92, 0.1) 0%, rgba(15, 42, 92, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ib-play-btn {
    width: 80px;
    height: 80px;
    background: var(--ib-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.ib-play-btn:hover { transform: scale(1.1); }
.ib-play-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--ib-navy);
    margin-left: 4px;
}

/* =========================================
   WHAT I COVER
========================================= */
.ib-cover {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--ib-accent-bg) 0%, var(--ib-accent-softer) 100%);
    position: relative;
    overflow: hidden;
}
.ib-cover::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}
.ib-cover-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.ib-cover-header h2 {
    margin-bottom: 20px;
}
.ib-cover-header > p {
    font-size: 17px;
    color: var(--ib-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}
.ib-cover-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ib-course-tag {
    background: var(--ib-white);
    color: var(--ib-navy);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: var(--ib-shadow-sm);
    text-align: center;
    text-decoration: none;
    display: block;
    transition: box-shadow 0.2s ease;
}
.ib-course-tag:hover {
    box-shadow: var(--ib-shadow-md);
    color: var(--ib-navy);
}

.ib-cover-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ib-cover-item {
    background: var(--ib-white);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--ib-shadow-sm);
    border-left: 4px solid var(--ib-accent);
}
.ib-cover-item .ib-icon-wrap {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ib-accent-softer) 0%, var(--ib-accent-soft) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-cover-item .ib-icon-wrap svg {
    width: 20px;
    height: 20px;
    stroke: var(--ib-navy);
    stroke-width: 2.5;
    fill: none;
}
.ib-cover-item-content h3,
.ib-cover-item-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ib-navy);
    margin-bottom: 4px;
}
.ib-cover-item-content p {
    font-size: 14px;
    color: var(--ib-text-muted);
    line-height: 1.5;
}
.ib-cover-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ib-navy);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    background: var(--ib-accent-softer);
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 4px;
    transition: all 0.2s ease;
}
.ib-cover-item a:hover {
    background: var(--ib-accent-soft);
    color: var(--ib-navy);
}

/* =========================================
   1-TO-1 TUTORING
========================================= */
.ib-one {
    padding: 80px 0;
    background: var(--ib-white);
}
.ib-one-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.ib-one-header h2 {
    margin-bottom: 20px;
}
.ib-one-header p {
    font-size: 18px;
    color: var(--ib-text-secondary);
    line-height: 1.7;
}
.ib-one-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}
.ib-one-features {
    display: flex;
    flex-direction: column;
}
.ib-one-week {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ib-one-week-item {
    background: var(--ib-white);
    border-radius: 16px;
    border: 1px solid var(--ib-border);
    padding: 28px 32px;
    position: relative;
}
.ib-one-week-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.ib-one-week-num {
    width: 36px;
    height: 36px;
    background: var(--ib-navy);
    color: var(--ib-white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-one-week-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ib-navy);
}
.ib-one-week-title span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ib-text-muted);
    margin-top: 1px;
}
.ib-one-week-item p {
    font-size: 15px;
    color: var(--ib-text-secondary);
    line-height: 1.75;
    padding-left: 50px;
}
.ib-one-week-link {
    display: inline-block;
    margin-top: 14px;
    padding-left: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ib-accent-hover);
    text-decoration: none;
    border-bottom: 2px solid var(--ib-accent);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}
.ib-one-week-link:hover {
    color: var(--ib-navy);
    border-color: var(--ib-navy);
}

/* Visual side */
.ib-one-visual {
    background: linear-gradient(135deg, var(--ib-navy) 0%, var(--ib-navy-light) 100%);
    border-radius: 24px;
    padding: 40px;
    color: var(--ib-white);
}
.ib-one-visual h3 {
    font-size: 22px;
    color: var(--ib-white);
    margin-bottom: 16px;
    text-align: center;
}
.ib-one-visual-intro {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}
.ib-timeline-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ib-timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px;
}
.ib-timeline-marker {
    width: 12px;
    height: 12px;
    background: var(--ib-accent);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}
.ib-timeline-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ib-accent);
    margin-bottom: 4px;
}
.ib-timeline-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.ib-one-visual-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.ib-one-visual-footer p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.ib-one-visual-footer .ib-btn {
    width: 100%;
}

/* Best For Banner */
.ib-one-best {
    background: linear-gradient(135deg, var(--ib-accent-bg) 0%, var(--ib-accent-softer) 100%);
    border-radius: 20px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 2px solid var(--ib-accent-soft);
}
.ib-one-best-icon {
    width: 56px;
    height: 56px;
    background: var(--ib-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--ib-shadow-sm);
}
.ib-one-best-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--ib-navy);
}
.ib-one-best-content strong {
    display: block;
    font-size: 15px;
    color: var(--ib-navy);
    margin-bottom: 4px;
}
.ib-one-best-content p {
    font-size: 15px;
    color: var(--ib-text-secondary);
    line-height: 1.5;
}

/* =========================================
   GROUP SESSIONS
========================================= */
.ib-group {
    padding: 80px 0;
    background: var(--ib-warm);
}
.ib-group-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ib-group-content h2 { margin-bottom: 20px; }
.ib-group-intro {
    font-size: 18px;
    color: var(--ib-text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}
.ib-group-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.ib-group-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--ib-white);
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: var(--ib-shadow-sm);
    border-left: 3px solid var(--ib-accent);
}
.ib-group-feature .ib-marker {
    width: 24px;
    height: 24px;
    background: var(--ib-accent-softer);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-group-feature .ib-marker svg {
    width: 14px;
    height: 14px;
    stroke: var(--ib-navy);
    stroke-width: 3;
    fill: none;
}
.ib-group-feature p {
    font-size: 15px;
    color: var(--ib-text-secondary);
    line-height: 1.5;
}
.ib-group-best {
    padding: 24px 28px;
    background: var(--ib-white);
    border-left: 4px solid var(--ib-accent);
    border-radius: 0 16px 16px 0;
    box-shadow: var(--ib-shadow-sm);
}
.ib-group-best strong {
    display: block;
    font-size: 14px;
    color: var(--ib-navy);
    margin-bottom: 6px;
}
.ib-group-best p {
    font-size: 15px;
    color: var(--ib-text-muted);
    line-height: 1.6;
}

/* Group Visual - Schedule */
.ib-group-visual {
    background: var(--ib-white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--ib-shadow-md);
    border: 1px solid var(--ib-border);
}
.ib-group-visual h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.ib-group-visual-intro {
    font-size: 14px;
    color: var(--ib-text-muted);
    margin-bottom: 24px;
}
.ib-available-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ib-group-course {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--ib-light);
    border-radius: 12px;
    border-left: 3px solid var(--ib-accent);
}
.ib-group-course.aa-hl { border-left-color: var(--ib-navy); }
.ib-group-course.aa-sl { border-left-color: var(--ib-accent); }
.ib-group-course.ai-hl { border-left-color: #6366f1; }
.ib-group-course.ai-sl { border-left-color: #10b981; }
.ib-group-course-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ib-navy);
}
.ib-group-course-detail {
    font-size: 13px;
    color: var(--ib-text-muted);
    margin-left: auto;
}
.ib-group-join-note {
    font-size: 13px;
    color: var(--ib-text-muted);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ib-border);
    line-height: 1.5;
}

/* =========================================
   COMPARISON
========================================= */
.ib-compare {
    padding: 80px 0;
    background: var(--ib-light);
}
.ib-compare-header {
    text-align: center;
    margin-bottom: 48px;
}
.ib-compare-header p {
    font-size: 17px;
    color: var(--ib-text-muted);
    margin-top: 12px;
}
.ib-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px;
}
.ib-compare-card {
    background: var(--ib-white);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--ib-shadow-md);
    position: relative;
}
.ib-compare-card.ib-recommended {
    border: 2px solid var(--ib-accent);
    box-shadow: 0 8px 32px rgba(15, 42, 92, 0.12), 0 0 0 1px var(--ib-accent);
    padding: 40px;
}
.ib-compare-card.ib-recommended h3 {
    color: var(--ib-accent-hover);
}
.ib-compare-card h3 {
    font-size: 26px;
    margin-bottom: 8px;
}
.ib-compare-card .ib-desc {
    font-size: 15px;
    color: var(--ib-text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}
.ib-compare-card .ib-label {
    font-size: 13px;
    color: var(--ib-navy);
    font-weight: 700;
    margin-bottom: 16px;
}
.ib-compare-list {
    list-style: none;
}
.ib-compare-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    font-size: 15px;
    color: var(--ib-text-secondary);
    border-bottom: 1px solid var(--ib-border);
}
.ib-compare-list li:last-child {
    border-bottom: none;
}
.ib-compare-list .ib-check {
    width: 24px;
    height: 24px;
    background: var(--ib-accent-softer);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-compare-list .ib-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--ib-navy);
    stroke-width: 3;
    fill: none;
}

.ib-compare-cta {
    text-align: center;
}
.ib-compare-cta p {
    font-size: 17px;
    color: var(--ib-text-secondary);
    margin-bottom: 24px;
}

/* =========================================
   CASE STUDY
========================================= */
.ib-case {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ib-navy-light) 0%, var(--ib-navy) 100%);
    position: relative;
    overflow: hidden;
}
.ib-case::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}
.ib-case::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}
.ib-case-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.ib-case-result {
    text-align: center;
}
.ib-case-grades {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.ib-case-grade {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ib-case-grade span {
    font-size: 80px;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    line-height: 1;
}
.ib-case-grade.ib-after {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--ib-accent);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.2), 0 0 80px rgba(56, 189, 248, 0.08);
}
.ib-case-grade.ib-after span {
    color: var(--ib-accent);
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}
.ib-case-arrow {
    font-size: 36px;
    color: var(--ib-accent);
    opacity: 0.8;
}
.ib-case-period {
    margin-top: 32px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.ib-case-period strong {
    display: block;
    font-size: 22px;
    color: var(--ib-white);
    margin-top: 4px;
    letter-spacing: 0;
}
.ib-case-content {
    padding: 48px;
    background: rgba(255,255,255,0.06);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.ib-case-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ib-navy);
    background: var(--ib-accent);
    padding: 8px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.ib-case-content h2,
.ib-case-content h3 {
    color: var(--ib-white);
    font-size: 32px;
    margin-bottom: 20px;
}
.ib-case-content > p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 28px;
}
.ib-case-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ib-accent);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.2s ease;
}
.ib-case-content a:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
}

/* =========================================
   TESTIMONIALS — Dense variant
========================================= */
.ib-testimonials {
    padding: 80px 0;
    background: var(--ib-light);
}
.ib-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.ib-testimonial-card {
    background: var(--ib-white);
    border-radius: 12px;
    padding: 24px;
    border-left: 3px solid var(--ib-accent);
    box-shadow: 0 1px 4px rgba(15, 42, 92, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.ib-testimonial-card:hover {
    box-shadow: 0 6px 20px rgba(15, 42, 92, 0.08);
}
.ib-testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.ib-testimonial-result {
    font-size: 12px;
    font-weight: 700;
    color: var(--ib-white);
    background: var(--ib-navy);
    padding: 5px 14px;
    border-radius: 50px;
}
.ib-testimonial-stars {
    color: #fbbf24;
    font-size: 13px;
    letter-spacing: 2px;
}
blockquote.ib-testimonial-quote {
    margin: 0;
    padding: 0;
}

.ib-testimonial-quote {
    font-size: 14px;
    color: var(--ib-text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 16px;
}
.ib-testimonial-meta {
    font-size: 12px;
    color: var(--ib-text-secondary);
    font-weight: 600;
    padding-top: 14px;
    border-top: 1px solid var(--ib-border);
}
.ib-testimonial-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ib-navy);
    display: inline;
}
.ib-testimonials-link {
    text-align: center;
    margin-top: 8px;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .ib-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
        text-align: center;
    }
    .ib-hero-content-top { grid-column: 1; grid-row: 1; }
    .ib-hero-stats-card { grid-column: 1; grid-row: 2; max-width: 400px; margin: 0 auto; }
    .ib-hero-content-bottom { grid-column: 1; grid-row: 3; }
    .ib-hero-text { margin-left: auto; margin-right: auto; }
    .ib-hero-buttons { justify-content: center; }
    .ib-how-grid { grid-template-columns: 1fr; gap: 56px; }
    .ib-how-video { order: -1; max-width: 560px; margin: 0 auto; }
    .ib-cover-grid { grid-template-columns: 1fr; gap: 48px; }
    .ib-cover-header { text-align: center; }
    .ib-cover-courses { max-width: 320px; margin: 0 auto; }
    .ib-one-main { grid-template-columns: 1fr; gap: 48px; }
    .ib-one-visual { max-width: 400px; margin: 0 auto; }
    .ib-one-features { grid-template-columns: 1fr 1fr; }
    .ib-group-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .ib-group-visual { max-width: 400px; margin: 0 auto; }
    .ib-compare-grid { grid-template-columns: 1fr; max-width: 500px; }
    .ib-case-wrapper { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .ib-case-content { text-align: left; }
    .ib-testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        margin-bottom: 32px;
        scrollbar-width: none;
    }
    .ib-testimonials-grid::-webkit-scrollbar { display: none; }
    .ib-testimonial-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .ib-hero { padding: 72px 0 88px; }
    .ib-hero h1 { font-size: 36px; }
    .ib-hero-buttons { flex-direction: column; gap: 12px; }
    .ib-one-features { grid-template-columns: 1fr; }
    .ib-one-week-item { padding: 24px; }
    .ib-one-week-item p { padding-left: 0; }
    .ib-one-week-link { padding-left: 0; }
    .ib-case-grade { width: 110px; height: 110px; border-radius: 20px; }
    .ib-case-grade span { font-size: 56px; }
    .ib-case-content h2,
    .ib-case-content h3 { font-size: 24px; }
    .ib-case-content { padding: 32px; }
    .ib-one-best { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .ib-cover-courses { grid-template-columns: 1fr; }
    .ib-case-grades { flex-direction: column; gap: 16px; }
    .ib-case-arrow { transform: rotate(90deg); }
    .ib-hero-stats-card { grid-template-columns: 130px 1fr; }
    .ib-testimonial-card { flex: 0 0 260px; }
}
