/* ══════════════════════════════════════════
   EduCoach — Home Page CSS
   public/css/home.css
══════════════════════════════════════════ */

:root {
    --navy:    #0a1628;
    --navy2:   #1a3a6b;
    --orange:  #e8651a;
    --orange2: #c0501a;
    --teal:    #0d9488;
    --gold:    #f59e0b;
    --white:   #ffffff;
    --gray50:  #f8fafc;
    --gray100: #f1f5f9;
    --gray200: #e2e8f0;
    --gray400: #94a3b8;
    --gray600: #475569;
    --gray800: #1e293b;
}

/* ── Section Common ── */
.ec-eyebrow {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--orange); margin-bottom: 0.75rem; display: block;
}
.ec-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 1rem;
}
.ec-heading em { font-style: normal; color: var(--orange); }
.ec-subtext { font-size: 1rem; color: var(--gray600); line-height: 1.7; max-width: 560px; }

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
.ec-stats {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    padding: 3.5rem 2rem; position: relative; overflow: hidden;
}
.ec-stats::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232,101,26,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.ec-stats-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; position: relative;
}
.ec-stat-box {
    text-align: center; padding: 1.5rem 1rem; border-radius: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s, background 0.2s;
}
.ec-stat-box:hover { transform: translateY(-4px); background: rgba(255,255,255,0.09); }
.ec-stat-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.ec-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 0.35rem; display: block; }
.ec-stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* ══════════════════════════════════════════
   FACULTY SECTION — 3 columns
══════════════════════════════════════════ */
.ec-faculty { padding: 5rem 2rem; background: var(--gray50); }
.ec-faculty-header { text-align: center; margin-bottom: 3rem; }
.ec-faculty-header .ec-subtext { margin: 0 auto; }

.ec-faculty-grid {
    max-width: 980px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.ec-faculty-card {
    background: var(--white); border-radius: 20px; overflow: hidden;
    border: 1px solid var(--gray200); transition: transform 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column;
}
.ec-faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10,22,40,0.13);
}

/* Photo — fixed height, full cover */
.ec-faculty-photo {
    width: 100%; height: 230px;
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.ec-faculty-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.ec-faculty-card:hover .ec-faculty-photo img { transform: scale(1.05); }

/* Initials fallback — no emoji */
.ec-fac-initials {
    width: 84px; height: 84px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 3px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; font-weight: 800; color: rgba(255,255,255,.75);
    font-style: normal;
}

/* Subject tag top-left */
.ec-fac-subj-tag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(10,22,40,.8); backdrop-filter: blur(6px);
    color: #fff; font-size: .58rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 5px 11px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.15);
    max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Exp tag bottom-right */
.ec-fac-exp-tag {
    position: absolute; bottom: 12px; right: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #fff; font-size: .65rem; font-weight: 700;
    padding: 5px 11px; border-radius: 20px;
}

/* Body */
.ec-faculty-body {
    padding: 1.3rem 1.3rem 1.5rem;
    display: flex; flex-direction: column; flex: 1;
}
.ec-faculty-name { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: .22rem; line-height: 1.3; }
.ec-faculty-subject { font-size: .72rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .38rem; }
.ec-faculty-desig { font-size: .8rem; color: var(--gray600); margin-bottom: .7rem; }
.ec-faculty-exp {
    display: inline-block; background: var(--gray100); color: var(--gray600);
    font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: .9rem;
}

/* Stats row */
.ec-fac-stats {
    display: flex; justify-content: space-between; text-align: center;
    padding-top: .85rem; border-top: 1px solid var(--gray100); margin-top: auto;
}
.ec-fac-stat strong { display: block; font-size: .95rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 3px; }
.ec-fac-stat strong.ora { color: var(--orange); }
.ec-fac-stat span { font-size: .6rem; color: var(--gray400); text-transform: uppercase; letter-spacing: .05em; }

/* ══════════════════════════════════════════
   COURSES SECTION
══════════════════════════════════════════ */
.ec-courses { padding: 5rem 2rem; background: var(--white); }
.ec-courses-header { text-align: center; margin-bottom: 3rem; }
.ec-courses-header .ec-subtext { margin: 0 auto; }

.ec-courses-grid {
    max-width: 1100px; margin: 0 auto 2.5rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.ec-course-card {
    background: var(--white); border: 1px solid var(--gray200);
    border-radius: 16px; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column;
}
.ec-course-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(10,22,40,0.10); }
.ec-course-banner {
    height: 140px; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; position: relative; flex-shrink: 0;
}
.ec-course-banner.c1 { background: linear-gradient(135deg,#0a1628,#1a3a6b); }
.ec-course-banner.c2 { background: linear-gradient(135deg,#064e3b,#065f46); }
.ec-course-banner.c3 { background: linear-gradient(135deg,#7c2d12,#c2410c); }
.ec-course-banner.c4 { background: linear-gradient(135deg,#312e81,#4338ca); }
.ec-course-banner.c5 { background: linear-gradient(135deg,#713f12,#a16207); }
.ec-course-banner.c6 { background: linear-gradient(135deg,#1e1b4b,#3730a3); }
.ec-course-tag {
    position: absolute; top: 10px; right: 10px;
    background: rgba(255,255,255,0.18); color: #fff;
    font-size: 0.62rem; font-weight: 700; padding: 3px 9px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em;
}
.ec-course-fee {
    position: absolute; bottom: 10px; left: 10px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #fff; font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 20px;
}
.ec-course-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.ec-course-category { font-size: .65rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.ec-course-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.ec-course-desc { font-size: 0.82rem; color: var(--gray600); line-height: 1.6; margin-bottom: 0.9rem; flex: 1; }
.ec-course-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ec-course-meta span { font-size: 0.74rem; color: var(--gray400); display: flex; align-items: center; gap: 3px; }

/* Shared View All Button */
.ec-view-all-wrap { text-align: center; }
.ec-btn-viewall {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 2px solid var(--navy2); color: var(--navy2);
    padding: 0.75rem 2rem; border-radius: 10px;
    font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.ec-btn-viewall:hover { background: var(--navy2); color: var(--white); }

/* ══════════════════════════════════════════
   TESTIMONIALS — SCROLLABLE
══════════════════════════════════════════ */
.ec-testimonials { padding: 5rem 2rem; background: var(--gray50); }
.ec-testimonials-header { text-align: center; margin-bottom: 3rem; }
.ec-testimonials-header .ec-subtext { margin: 0 auto; }

.ec-testi-arrows { display: flex; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
.ec-testi-arrow {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid var(--gray200); background: var(--white);
    color: var(--navy); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.ec-testi-arrow:hover { border-color: var(--orange); color: var(--orange); background: #fff7f0; }

.ec-testimonials-scroll-wrap { max-width: 1100px; margin: 0 auto; overflow: hidden; }
.ec-testimonials-grid {
    display: flex !important;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
    scrollbar-width: none;
    cursor: grab;
}
.ec-testimonials-grid::-webkit-scrollbar { display: none; }
.ec-testimonials-grid:active { cursor: grabbing; }

.ec-testi-card {
    background: var(--white); border: 1px solid var(--gray200);
    border-radius: 16px; padding: 1.75rem; position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
    min-width: 320px; max-width: 360px;
    scroll-snap-align: start; flex-shrink: 0;
}
.ec-testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,22,40,0.08); }
.ec-testi-card::before {
    content: '\201C'; position: absolute; top: 1rem; right: 1.25rem;
    font-size: 4rem; color: var(--gray200); font-family: Georgia, serif; line-height: 1;
}
.ec-testi-stars { display: flex; gap: 3px; margin-bottom: 0.9rem; }
.ec-testi-stars span { color: var(--gold); font-size: 1rem; }
.ec-testi-text { font-size: 0.88rem; color: var(--gray600); line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.ec-testi-author { display: flex; align-items: center; gap: 0.75rem; }
.ec-testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
}
.ec-testi-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.ec-testi-class { font-size: 0.74rem; color: var(--gray400); }
.ec-testi-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.5rem; }
.ec-testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray200); border: none; cursor: pointer; padding: 0; transition: all .2s; }
.ec-testi-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* ══════════════════════════════════════════
   FREE TEST SECTION
══════════════════════════════════════════ */
.ec-free-test {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    padding: 4rem 2rem; position: relative; overflow: hidden;
}
.ec-free-test::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(232,101,26,.14) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(13,148,136,.1) 0%, transparent 45%);
    pointer-events: none;
}
.ec-free-test-inner {
    max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem;
}
.ec-free-test-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); display: block; margin-bottom: .6rem; }
.ec-free-test-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: .75rem; letter-spacing: -.02em; }
.ec-free-test-title em { font-style: italic; color: var(--orange); }
.ec-free-test-sub { font-size: .95rem; color: rgba(255,255,255,.58); line-height: 1.7; max-width: 520px; }
.ec-free-test-meta { display: flex; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ec-test-meta-item { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 500; }
.ec-test-meta-item strong { color: #fff; font-weight: 700; }
.ec-free-test-cta {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 2rem; text-align: center; min-width: 220px; backdrop-filter: blur(8px);
}
.ec-free-test-cta .test-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.ec-free-test-cta p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; line-height: 1.5; }
.ec-btn-take-test {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #fff; padding: .85rem 1.75rem; border-radius: 10px;
    font-size: .9rem; font-weight: 700; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
    transition: opacity .18s, transform .18s;
    box-shadow: 0 6px 20px rgba(232,101,26,.4); width: 100%;
}
.ec-btn-take-test:hover { opacity: .9; transform: translateY(-2px); color: #fff; }

/* ── Review Modal ── */
.ec-review-modal-wrap { display: none; position: fixed; inset: 0; z-index: 9998; background: rgba(10,22,40,0.7); align-items: center; justify-content: center; padding: 16px; }
.ec-review-modal-wrap.open { display: flex; }
.ec-review-modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 460px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.ec-review-modal-head { background: linear-gradient(135deg, var(--navy), var(--navy2)); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.ec-review-modal-head h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0; }
.ec-review-modal-close { background: rgba(255,255,255,0.1); border: none; color: var(--white); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.ec-review-modal-body { padding: 22px; }
.ec-review-field { margin-bottom: 14px; }
.ec-review-lbl { font-size: 0.76rem; font-weight: 600; color: var(--gray600); display: block; margin-bottom: 5px; }
.ec-review-inp { width: 100%; border: 1px solid var(--gray200); border-radius: 8px; padding: 9px 12px; font-size: 0.85rem; font-family: inherit; box-sizing: border-box; outline: none; transition: border-color 0.2s; }
.ec-review-inp:focus { border-color: var(--orange); }
.ec-review-textarea { resize: vertical; min-height: 80px; }
.ec-star-input { display: flex; flex-direction: row-reverse; gap: 4px; justify-content: flex-end; }
.ec-star-input input { display: none; }
.ec-star-input label { font-size: 1.6rem; color: var(--gray200); cursor: pointer; transition: color 0.15s; }
.ec-star-input input:checked ~ label, .ec-star-input label:hover, .ec-star-input label:hover ~ label { color: var(--gold); }
.ec-review-success { display: none; text-align: center; padding: 1.5rem; }
.ec-review-success .success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.ec-review-success p { font-size: 0.9rem; color: var(--gray600); }
.ec-btn-submit-review { width: 100%; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: var(--white); border: none; padding: 12px; border-radius: 10px; font-size: 0.92rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: opacity 0.2s; margin-top: 4px; }
.ec-btn-submit-review:hover { opacity: 0.9; }


/* ══════════════════════════════════════════
   ANNOUNCEMENTS TICKER — COMPLETE
══════════════════════════════════════════ */

.ec-ticker-wrap {
    background: #e8651a;
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 3px solid #c0501a;
    box-shadow: 0 4px 20px rgba(232,101,26,0.4);
}

/* ── LEFT LABEL ── */
.ec-ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #0d1f3c;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0 1.2rem 0 1rem;
    height: 100%;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 12px rgba(0,0,0,0.3);
}
.ec-ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 12px solid #0d1f3c;
}

/* ── BLINKING DOT inside label ── */
.ec-ticker-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8651a;
    border: 2px solid #fff;
    flex-shrink: 0;
    animation: liveBlink 1.2s ease-in-out infinite;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* ── SCROLLING TRACK WRAPPER ── */
.ec-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

/* ── SCROLLING TRACK ── */
.ec-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    will-change: transform;
}
.ec-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── EACH NEWS ITEM ── */
.ec-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 2rem;
    text-decoration: none;
    height: 48px;
    border-right: 1px solid rgba(255,255,255,0.18);
    transition: background 0.2s;
}
.ec-ticker-item:hover {
    background: rgba(0,0,0,0.08);
}
.ec-ticker-item:hover .ec-ticker-title {
    color: #0d1f3c;
}

/* ── BLUE DOT per item ── */
.ec-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0d1f3c;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(13,31,60,0.5);
}

/* ── TITLE TEXT ── */
.ec-ticker-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

/* ── DATE PILL ── */
.ec-ticker-date {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    flex-shrink: 0;
    background: rgba(0,0,0,0.15);
    padding: 2px 7px;
    border-radius: 10px;
}

/* ── SEPARATOR ── */
.ec-ticker-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* ── ALL NEWS BUTTON ── */
.ec-ticker-more {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0d1f3c;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ec-ticker-more:hover {
    background: rgba(0,0,0,0.2);
    color: #fff;
}

/* ── MOBILE ── */
@media (max-width: 640px) {
    .ec-ticker-wrap    { height: 42px; }
    .ec-ticker-label   { padding: 0 0.75rem; font-size: 0.6rem; gap: 5px; }
    .ec-ticker-title   { font-size: 0.76rem; }
    .ec-ticker-more    { padding: 0 0.65rem; font-size: 0.62rem; }
    .ec-ticker-track   { animation-duration: 18s; }
    .ec-ticker-dot     { width: 6px; height: 6px; }
    .ec-ticker-item    { padding: 0 1.2rem; gap: 7px; }
    .ec-ticker-label::after {
        border-top: 21px solid transparent;
        border-bottom: 21px solid transparent;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ec-stats-inner     { grid-template-columns: repeat(2, 1fr); }
    .ec-faculty-grid    { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .ec-courses-grid    { grid-template-columns: repeat(2, 1fr); }
    .ec-free-test-inner { grid-template-columns: 1fr; }
    .ec-free-test-cta   { width: 100%; }
}
@media (max-width: 640px) {
    .ec-stats           { padding: 2.5rem 1.25rem; }
    .ec-stats-inner     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ec-stat-num        { font-size: 1.8rem; }
    .ec-faculty,
    .ec-courses,
    .ec-testimonials    { padding: 3.5rem 1.25rem; }
    .ec-faculty-grid    { grid-template-columns: 1fr; }
    .ec-courses-grid    { grid-template-columns: 1fr; }
    .ec-testi-card      { min-width: 260px; }
}
@media (max-width: 400px) {
    .ec-stats-inner     { grid-template-columns: 1fr; }
}