/* ==========================================================
   比达教育 Bidda Education — 官网样式
   字体沿用 Smartisan Compact（与 Panshaker 旧官网一致）
   主题色取自比达小鹿 logo：焦糖棕 / 深棕 / 奶油色
   ========================================================== */

@font-face {
    font-family: 'Smartisan Compact';
    src: url('../fonts/SmartisanCompact-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Smartisan Compact';
    src: url('../fonts/SmartisanCompact-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Smartisan Compact';
    src: url('../fonts/SmartisanCompact-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown: #6b3e1f;
    --brown-dark: #4a2a14;
    --brown-deep: #36200f;
    --caramel: #c8824a;
    --caramel-dark: #a8652f;
    --cream: #fbf5ea;
    --cream-2: #f4e8d4;
    --line: #e8dcc8;
    --red: #b5262c;
    --gold: #f2c25b;
    --text: #333;
    --text-2: #666;
    --text-3: #999;
    --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 56px; }
body {
    font-family: 'Smartisan Compact', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); max-width: 100%; margin: 0 auto; padding: 0 0; position: relative; }

/* ---------- 顶部小条 ---------- */
.topbar {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    color: #8a7a66;
    background: #f6f1e8;
    border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; justify-content: space-between; }
.topbar-links a:hover { color: var(--caramel-dark); }
.topbar-links i { font-style: normal; color: #d6c8b2; margin: 0 10px; }

/* ---------- 页头 ---------- */
.header { background: #fff; }
.header-inner { height: 96px; display: flex; align-items: center; }
.logo img { height: 64px; width: auto; }
.header-slogan {
    margin-left: 26px;
    padding-left: 26px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.header-slogan strong { font-size: 20px; font-weight: 700; color: var(--brown); letter-spacing: 2px; }
.header-slogan span { font-size: 11px; color: var(--text-3); letter-spacing: 3px; margin-top: 4px; }
.header-tel { margin-left: auto; display: flex; align-items: center; }
.tel-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--caramel);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-right: 12px;
}
.header-tel em { display: block; font-style: normal; font-size: 13px; color: var(--text-2); line-height: 1.2; }
.header-tel b { display: block; font-size: 26px; color: var(--red); font-weight: 700; letter-spacing: 1px; line-height: 1.25; }

/* ---------- 主导航 ---------- */
.nav {
    background: linear-gradient(#7a4724, #5e3519);
    border-top: 1px solid #8d5a33;
    border-bottom: 3px solid var(--caramel);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav ul { display: flex; }
.nav li { flex: 1; position: relative; }
.nav li + li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    border-left: 1px solid rgba(0,0,0,.25);
    box-shadow: 1px 0 0 rgba(255,255,255,.08);
}
.nav a {
    display: block;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.on { background: var(--caramel); }

/* ---------- 焦点图 ---------- */
.banner { position: relative; height: 440px; overflow: hidden; background: #3a2414; }
.slides, .slide { position: absolute; inset: 0; }
.slide {
    background-color: #4a2a14;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42,22,8,.82) 0%, rgba(42,22,8,.55) 38%, rgba(42,22,8,.05) 70%);
}
.slide.on { opacity: 1; z-index: 1; }
.slide-text { height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; z-index: 2; }
.slide-tag {
    align-self: flex-start;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    border: 1px solid rgba(242,194,91,.6);
    padding: 2px 10px;
    margin-bottom: 18px;
}
.slide h2 { font-size: 44px; font-weight: 700; letter-spacing: 3px; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.slide p { font-size: 18px; margin: 14px 0 28px; color: #f4e8d4; letter-spacing: 1px; }
.btn {
    align-self: flex-start;
    display: inline-block;
    background: var(--caramel);
    color: #fff;
    font-size: 16px;
    padding: 0 28px;
    height: 42px;
    line-height: 42px;
    border-radius: 3px;
    border-bottom: 2px solid var(--caramel-dark);
}
.btn:hover { background: #d48f56; color: #fff; }

.banner-ui { height: 100%; z-index: 3; pointer-events: none; }
.banner-ui > * { pointer-events: auto; }
.quick {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: #fff;
    border-top: 3px solid var(--caramel);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.quick h3 {
    font-size: 16px;
    color: var(--brown);
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}
.quick ul { padding: 6px 18px; }
.quick li { border-bottom: 1px dashed var(--line); }
.quick li:last-child { border-bottom: 0; }
.quick li a {
    display: block;
    padding: 9px 0 9px 14px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.quick li a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    margin-top: -4px;
    border: 4px solid transparent;
    border-left: 5px solid var(--caramel);
}
.quick li a:hover { color: var(--caramel-dark); }
.quick-tel {
    background: var(--brown);
    color: #f4e8d4;
    font-size: 12px;
    padding: 10px 18px;
}
.quick-tel b { display: block; font-size: 20px; color: #fff; letter-spacing: 1px; }

.dots { position: absolute; left: 0; bottom: 22px; display: flex; gap: 6px; }
.dots a {
    width: 24px; height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.4);
}
.dots a.on { background: var(--caramel); border-color: var(--caramel); }

/* ---------- 喜报滚动条 ---------- */
.ticker { background: var(--cream); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; height: 44px; align-items: center; }
.ticker-label {
    flex: none;
    color: var(--red);
    font-weight: 700;
    font-size: 15px;
    padding-right: 16px;
    margin-right: 16px;
    border-right: 1px solid var(--line);
}
.ticker-label i {
    font-style: normal;
    font-size: 10px;
    color: #fff;
    background: var(--red);
    padding: 0 4px;
    margin-left: 6px;
    vertical-align: 2px;
    animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.ticker-box { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { margin-right: 48px; color: var(--text-2); }
.ticker-track b { color: var(--brown); }
.ticker-track em { font-style: normal; color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 通用栏目 ---------- */
.sec { padding: 46px 0 50px; }
.sec-gray { background: var(--cream); }
.sec-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 2px solid var(--line);
    margin-bottom: 26px;
}
.sec-hd h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--brown);
    padding: 0 2px 8px;
    margin-bottom: -2px;
    border-bottom: 2px solid var(--caramel);
    line-height: 1.2;
}
.sec-hd h2 em {
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-3);
    letter-spacing: 2px;
    margin-left: 10px;
}
.sec-hd .more, .sec-note { font-size: 13px; color: var(--text-3); padding-bottom: 8px; }
.sec-hd .more:hover { color: var(--caramel-dark); }

/* ---------- 主营业务 ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-item {
    border: 1px solid var(--line);
    border-top: 3px solid var(--caramel);
    background: #fff;
    padding: 22px 22px 18px;
    transition: border-color .2s, box-shadow .2s;
}
.svc-item:hover { border-color: var(--caramel); box-shadow: 0 3px 10px rgba(107,62,31,.12); }
.svc-top { display: flex; align-items: center; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.svc-ico {
    width: 52px; height: 52px;
    flex: none;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--cream-2);
    display: flex; align-items: center; justify-content: center;
    margin-right: 14px;
}
.svc-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--brown); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.svc-top h3 { font-size: 20px; color: var(--brown); font-weight: 700; letter-spacing: 1px; }
.svc-item li { padding-left: 12px; position: relative; color: var(--text-2); line-height: 2.1; }
.svc-item li::before { content: ''; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; background: var(--caramel); }
.svc-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--caramel-dark); }
.svc-more:hover { color: var(--red); }

/* ---------- 名校滚动 ---------- */
.school-row { display: flex; align-items: stretch; }
.school-row + .school-row { margin-top: 12px; }
.school-label {
    flex: none;
    width: 46px;
    background: var(--brown);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 4px solid var(--caramel);
}
.school-label.uk { background: #2f4f7a; border-left-color: #9fb3cf; }
.marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    margin-left: 12px;
    -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
            mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.school {
    flex: none;
    width: 236px;
    height: 84px;
    margin-right: 12px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--c, var(--caramel));
    display: flex;
    align-items: center;
}
.school-badge {
    flex: none;
    position: relative;
    width: 50px;
    height: 56px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.school.wide { width: 290px; }
.school.wide .school-badge { width: 92px; }
.school-crest {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .3s;
}
.school-badge.ok .school-crest { opacity: 1; }
.school-badge.ok .school-mark { visibility: hidden; }
.school-mark {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--c, var(--caramel));
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--c, var(--caramel));
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 42px;
    text-align: center;
    letter-spacing: -1px;
}
.school-mark.sm { font-size: 14px; }
.school-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.school b { font-size: 16px; color: var(--text); font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.school i {
    font-style: normal;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 校园照片 ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
}
.gallery figure { position: relative; overflow: hidden; background: var(--cream-2); }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 6px 12px;
    font-size: 13px;
    color: #fff;
    background: rgba(54,32,15,.72);
}
.gallery figcaption b { font-weight: 500; }
.gallery figcaption span { color: #e3cfae; font-size: 12px; margin-left: 6px; }
.gallery figure.big figcaption { font-size: 15px; padding: 9px 16px; }

/* ---------- Offer 喜报榜 ---------- */
.offer { display: flex; gap: 20px; }
.offer-side {
    flex: none;
    width: 300px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #c3322f 0%, #9d1e23 70%, #861a1e 100%);
    border: 1px solid #861a1e;
    color: #fff;
}
.offer-side::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(242,194,91,.55);
    pointer-events: none;
}
.offer-side-in { position: relative; z-index: 2; padding: 34px 30px; }
.offer-year { font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: 1; color: var(--gold); font-weight: 700; }
.offer-big { font-size: 30px; font-weight: 700; letter-spacing: 4px; margin: 10px 0 12px; color: #fff3d6; }
.offer-sub { font-size: 15px; color: #f7d9b4; line-height: 1.8; }
.offer-btn {
    display: inline-block;
    margin-top: 22px;
    background: var(--gold);
    color: #7a1515;
    font-weight: 700;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    border-radius: 3px;
    border-bottom: 2px solid #c9952e;
}
.offer-btn:hover { background: #f7d27f; color: #7a1515; }
.offer-deer { position: absolute; right: -14px; bottom: -8px; width: 128px; opacity: .95; z-index: 1; }

.offer-board { flex: 1; min-width: 0; border: 1px solid var(--line); background: #fff; }
.offer-row { display: grid; grid-template-columns: 96px 2fr 1.3fr 80px 80px; align-items: center; }
.offer-row > span { padding: 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-head { background: var(--brown); color: #fff; height: 40px; font-size: 14px; font-weight: 500; }
.offer-scroll { height: 360px; overflow: hidden; position: relative; }
.offer-list { animation: offerUp 40s linear infinite; }
.offer-scroll:hover .offer-list { animation-play-state: paused; }
@keyframes offerUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.offer-list .offer-row { height: 45px; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--text-2); }
.offer-list .offer-row:nth-child(even) { background: #fdf9f2; }
.offer-list .offer-row:hover { background: #fff3e2; }
.offer-name { color: var(--text); }
.offer-school { color: var(--brown); font-weight: 700; }
.offer-school small { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 11px; color: var(--text-3); line-height: 1.2; }
.offer-country i {
    font-style: normal;
    display: inline-block;
    font-size: 12px;
    line-height: 18px;
    padding: 0 6px;
    color: #fff;
    background: var(--caramel);
    border-radius: 2px;
}
.offer-country i.uk { background: #2f4f7a; }
.offer-country i.jp { background: var(--red); }

/* ---------- 服务流程 ---------- */
.flow {
    position: relative;
    padding: 40px 0 44px;
    background-color: var(--brown-dark);
    background-size: cover;
    background-position: center 40%;
    color: #fff;
}
.flow::before { content: ''; position: absolute; inset: 0; background: rgba(54,32,15,.86); }
.flow .wrap { z-index: 1; }
.flow h2 { font-size: 22px; text-align: center; letter-spacing: 4px; margin-bottom: 24px; color: #f4e8d4; }
.flow ol { display: flex; justify-content: space-between; }
.flow li {
    flex: 1;
    text-align: center;
    font-size: 16px;
    position: relative;
    letter-spacing: 1px;
}
.flow li b {
    display: block;
    width: 58px; height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid var(--caramel);
    background: rgba(200,130,74,.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 54px;
    color: var(--gold);
}
.flow li + li::before {
    content: '';
    position: absolute;
    top: 29px;
    left: -26%;
    width: 52%;
    border-top: 1px dashed rgba(244,232,212,.45);
}

/* ---------- 页脚 ---------- */
.footer { background: var(--brown-deep); color: #c9b59a; font-size: 13px; }
.footer-main { display: flex; padding: 40px 0 34px; }
.footer-brand { width: 320px; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin: 10px 0 14px; color: #a89074; letter-spacing: 2px; }
.qr { display: flex; align-items: center; gap: 12px; color: #a89074; font-size: 12px; }
.qr-box {
    width: 84px; height: 84px;
    background: #fff;
    color: #b8a58c;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    border: 3px solid #fff;
    outline: 1px dashed #b8a58c;
    outline-offset: -8px;
}
.qr-box img { width: 100%; height: 100%; }
.footer-col { flex: 1; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { color: #f4e8d4; font-size: 15px; margin-bottom: 14px; font-weight: 500; }
.footer-col li { line-height: 2.1; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { flex: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); background: #2b190b; padding: 14px 0; text-align: center; font-size: 12px; color: #8c7660; line-height: 1.9; }
.footer-bottom a { text-decoration: underline; }

/* ---------- 右侧悬浮 ---------- */
.side {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    width: 68px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.side-item {
    display: block;
    position: relative;
    height: 68px;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
    color: var(--text-2);
    border-bottom: 1px solid var(--line);
}
.side-item:last-child { border-bottom: 0; }
.side-item svg { display: block; width: 24px; height: 24px; margin: 0 auto 4px; color: var(--caramel); }
.side-item:hover { background: var(--caramel); color: #fff; }
.side-item:hover svg { color: #fff; }
.side-top { display: none; }
.side-top.show { display: block; }
.side-pop {
    display: none;
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    padding: 12px 16px;
    white-space: nowrap;
    color: var(--text-2);
    font-size: 12px;
    text-align: center;
}
.side-pop b { color: var(--red); font-size: 18px; }
.side-pop-qr .qr-box { margin: 0 auto 8px; width: 110px; height: 110px; }
.side-item:hover .side-pop { display: block; }

.mbar { display: none; }

.toast {
    position: fixed;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.78);
    color: #fff;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 3px;
    z-index: 100;
    display: none;
}
.toast.show { display: block; }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1240px) {
    .wrap { padding: 0 20px; }
    .quick { right: 20px; }
    .dots { left: 20px; }
    .side { display: none; }
}

@media (max-width: 960px) {
    .header-slogan { display: none; }
    .svc { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .offer { flex-direction: column; }
    .offer-side { width: auto; }
    .quick { display: none; }
}

@media (max-width: 768px) {
    body { padding-bottom: 48px; }
    .topbar-links { display: none; }
    .wrap { padding: 0 14px; }
    .header-inner { height: 70px; }
    .logo img { height: 48px; }
    .tel-icon { display: none; }
    .header-tel em { font-size: 11px; text-align: right; }
    .header-tel b { font-size: 18px; }
    .nav ul { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .nav ul::-webkit-scrollbar { display: none; }
    .nav li { flex: none; }
    .nav li::before { display: none; }
    .nav a { padding: 0 14px; font-size: 15px; height: 42px; line-height: 42px; }
    .banner { height: 300px; }
    .slide::before { background: linear-gradient(90deg, rgba(42,22,8,.82), rgba(42,22,8,.35)); }
    .slide h2 { font-size: 26px; letter-spacing: 1px; }
    .slide p { font-size: 14px; margin: 10px 0 18px; }
    .slide-tag { margin-bottom: 12px; }
    .btn { font-size: 14px; height: 36px; line-height: 36px; padding: 0 18px; }
    .dots { left: 14px; bottom: 14px; }
    .sec { padding: 32px 0 36px; }
    .sec-hd h2 { font-size: 19px; }
    .sec-hd h2 em { display: none; }
    .svc { grid-template-columns: 1fr 1fr; gap: 10px; }
    .svc-item { padding: 14px 12px 12px; }
    .svc-top { flex-direction: column; align-items: flex-start; padding-bottom: 10px; margin-bottom: 8px; }
    .svc-ico { width: 40px; height: 40px; margin: 0 0 8px; }
    .svc-ico svg { width: 24px; height: 24px; }
    .svc-top h3 { font-size: 17px; }
    .svc-item li { font-size: 13px; line-height: 1.9; }
    .svc-item li::before { top: 11px; }
    .svc-more { margin-top: 6px; }
    .school { width: 180px; height: 70px; padding: 0 10px; }
    .school-badge { width: 40px; height: 46px; margin-right: 8px; }
    .school.wide { width: 230px; }
    .school.wide .school-badge { width: 76px; }
    .school-mark { width: 34px; height: 34px; line-height: 34px; font-size: 15px; }
    .school b { font-size: 14px; }
    .school i { font-size: 11px; }
    .school-label { width: 34px; font-size: 13px; letter-spacing: 2px; }
    .marquee { margin-left: 8px; }
    .gallery { grid-auto-rows: 120px; gap: 6px; }
    .gallery figcaption { font-size: 12px; padding: 4px 8px; }
    .gallery figcaption span { display: none; }
    .offer-side-in { padding: 24px 22px; }
    .offer-year { font-size: 40px; }
    .offer-big { font-size: 24px; }
    .offer-deer { width: 96px; }
    .offer-row { grid-template-columns: 64px 1.5fr 1fr 48px; }
    .offer-row > span { padding: 0 8px; font-size: 13px; }
    .offer-row > span:nth-child(5) { display: none; }
    .flow ol { flex-wrap: wrap; row-gap: 18px; }
    .flow li { flex: 0 0 33.33%; font-size: 14px; }
    .flow li::before { display: none; }
    .footer-main { flex-direction: column; gap: 24px; padding: 30px 14px; }
    .footer-brand { width: auto; }
    .footer-col { padding-left: 0; border-left: 0; }
    .mbar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        height: 48px;
        z-index: 60;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .mbar a { flex: 1; text-align: center; line-height: 48px; color: #fff; font-size: 16px; background: var(--brown); }
    .mbar a + a { background: var(--caramel); }
}
