/* SaeidPix Stage 27A — homepage (27C tiles + stats) */
.hm-page { --ink: #15160f; --text: #2b2b25; --muted: #6e6a60; --faint: #a19b90; --line: #e9e3d7; --soft: #f6f2ea; --card: #fffdf9; --green: #0f6b4f; --green-soft: #e7f3ee; --gold: #d6a849; --gold-2: #f0cf7e; --gold-ink: #8a6512; --gold-soft: #fbf3de; --night: #12110d; --night-2: #1d1b14; }
.hm-page .sp13a-breadcrumbs { display: none; }
.hm { max-width: 1240px; margin: 0 auto; padding: 18px 0 80px; color: var(--text); }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm a { text-decoration: none; color: inherit; }
.hm h1, .hm h2, .hm p { margin: 0; }
.hm svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-eyebrow { display: inline-block; margin-bottom: 6px; color: var(--gold-ink); font-size: 13px; font-weight: 900; }
.hm-eyebrow.is-light { color: var(--gold-2); }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 16px; font-size: 15.5px; font-weight: 900; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.hm-btn.is-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1d1606 !important; box-shadow: 0 14px 32px rgba(214, 168, 73, .35); }
.hm-btn.is-gold:hover { transform: translateY(-2px); }
.hm-btn.is-glass { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff !important; backdrop-filter: blur(6px); }
.hm-btn.is-glass:hover { background: rgba(255, 255, 255, .16); }
.hm-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #2c2a20, #15140f); color: var(--gold-2); font-weight: 900; letter-spacing: 1px; }

/* slider */
.hm-slider { position: relative; overflow: hidden; border-radius: 30px; background: var(--night); aspect-ratio: 1920 / 500; min-height: 0; /* 27D */ box-shadow: 0 30px 70px rgba(18, 17, 13, .22); }
.hm-track { position: absolute; inset: 0; }
.hm-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.hm-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hm-slide picture, .hm-slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-slide.is-active img { animation: hm-zoom 9s ease-out both; }
@keyframes hm-zoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.hm-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10, 9, 6, var(--o, .45)) 0%, rgba(10, 9, 6, calc(var(--o, .45) * .4)) 55%, transparent 100%); }
.hm-slide.pos-left .hm-shade { background: linear-gradient(90deg, rgba(10, 9, 6, var(--o, .45)) 0%, transparent 100%); }
.hm-slide.pos-center .hm-shade { background: rgba(10, 9, 6, calc(var(--o, .45) * .8)); }
.hm-slide-copy { position: absolute; inset: 0 auto 0 0; right: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 560px; padding: 0 64px; color: #fff; }
.hm-slide.pos-left .hm-slide-copy { right: auto; left: 0; }
.hm-slide.pos-center .hm-slide-copy { right: 50%; transform: translateX(50%); align-items: center; text-align: center; }
.hm-slide.is-dark .hm-slide-copy { color: var(--ink); }
.hm-slide-title { font-size: clamp(26px, 3.2vw, 46px); font-weight: 900; line-height: 1.45; text-wrap: balance; }
.hm-slide-copy p { color: rgba(255, 255, 255, .85); font-size: 16.5px; line-height: 2; }
.hm-slide.is-dark .hm-slide-copy p { color: var(--muted); }
.hm-slide-copy .hm-btn { align-self: flex-start; }
.hm-slide.pos-center .hm-slide-copy .hm-btn { align-self: center; }
.hm-arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); cursor: pointer; transform: translateY(-50%); opacity: 0; transition: opacity .2s, background .2s; }
.hm-slider:hover .hm-arrow, .hm-arrow:focus-visible { opacity: 1; }
.hm-arrow:hover { background: rgba(255, 255, 255, .26); }
.hm-arrow.is-prev { right: 18px; }
.hm-arrow.is-next { left: 18px; }
.hm-dots { position: absolute; bottom: 46px; left: 50%; z-index: 5; display: flex; gap: 6px; transform: translateX(-50%); }
.hm-dots button { width: 28px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .35); cursor: pointer; overflow: hidden; }
.hm-dots button.is-active { width: 44px; background: rgba(255, 255, 255, .35); }
.hm-dots button.is-active i { display: block; height: 100%; background: var(--gold-2); animation: hm-bar 6s linear both; }
@keyframes hm-bar { from { width: 0; } to { width: 100%; } }

/* static hero (when no slides) */
.hm-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; overflow: hidden; padding: 52px 56px; border-radius: 30px; background: radial-gradient(80% 120% at 0% 100%, rgba(214, 168, 73, .25), transparent 60%), linear-gradient(150deg, var(--night-2), var(--night) 60%); color: #e9e4d8; box-shadow: 0 30px 70px rgba(18, 17, 13, .22); }
.hm-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hm-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 48px); font-weight: 900; line-height: 1.45; text-wrap: balance; }
.hm-hero h1 em { color: var(--gold-2); font-style: normal; }
.hm-hero p { color: #c9c2b3; font-size: 17px; line-height: 2; }
.hm-search { display: flex; max-width: 520px; padding: 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.hm-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; outline: 0; }
.hm-search input::placeholder { color: #a9a292; }
.hm-search button { padding: 0 20px; border: 0; border-radius: 13px; background: var(--green); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-hero-media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transform: rotate(-2deg); }
.hm-hero-media img, .hm-hero-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }

/* stats (27C) */
.hm-stats { position: relative; z-index: 6; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 16px 48px 0; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 253, 249, .98); box-shadow: 0 20px 44px rgba(30, 26, 18, .1); }
.hm-stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 10px; }
.hm-stat + .hm-stat { border-right: 1px solid var(--line); }
.hm-stat-icon { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(160deg, var(--gold-soft), #fff); color: var(--gold-ink); box-shadow: inset 0 0 0 1px #efe2bf; }
.hm-stat-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.hm-stat-text { display: flex; flex-direction: column; line-height: 1.35; }
.hm-stat-text b { color: var(--ink); font-size: 28px; font-weight: 900; }
.hm-stat-text small { color: var(--muted); font-size: 13.5px; font-weight: 750; }

/* section head */
.hm-sec { margin-top: 64px; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hm-head h2 { color: var(--ink); font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; }
.hm-head > a { color: var(--green); font-size: 14px; font-weight: 850; }

/* category tiles (27C) */
.hm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hm-tile { --c1: #2a2418; --c2: #8a6512; --ic: #f0cf7e; position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 168px; padding: 18px; overflow: hidden; border-radius: 24px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.hm-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(30, 26, 18, .2); }
.hm-tile.is-teal { --c1: #0c2f2b; --c2: #1d7a6c; --ic: #8ff0dc; }
.hm-tile.is-violet { --c1: #1f1638; --c2: #6b3fc2; --ic: #d9c6ff; }
.hm-tile.is-rose { --c1: #3a1220; --c2: #c2456b; --ic: #ffc2d4; }
.hm-tile.is-blue { --c1: #0e1d3a; --c2: #2f5cc4; --ic: #b9d0ff; }
.hm-tile.is-green { --c1: #0d2a1d; --c2: #18794e; --ic: #a6f0c8; }
.hm-tile.is-amber { --c1: #3a2108; --c2: #c2701a; --ic: #ffd9a6; }
.hm-tile.is-slate { --c1: #15161a; --c2: #4a4f5c; --ic: #dfe3ea; }
.hm-tile-img { position: absolute; inset: 0; z-index: -2; }
.hm-tile-img img, .hm-tile-img picture { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.9); transform: scale(1.05); transition: transform .5s, opacity .3s; }
.hm-tile:hover .hm-tile-img img { opacity: .7; }
.hm-tile:hover .hm-tile-img img { transform: scale(1.12); }
.hm-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--c1) 8%, color-mix(in srgb, var(--c1) 80%, transparent) 50%, color-mix(in srgb, var(--c2) 70%, transparent) 100%); }
.hm-tile-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 17px; background: rgba(255, 255, 255, .14); color: var(--ic); backdrop-filter: blur(8px); }
.hm-tile-icon svg { width: 26px; height: 26px; stroke-width: 1.7; }
.hm-tile-text { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.hm .hm-tile, .hm .hm-tile b { color: #fff; }
.hm-tile-text b { font-size: 17px; font-weight: 900; line-height: 1.6; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.hm-tile-text small { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 750; }
.hm-tile-text small i { font-style: normal; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.hm-tile:hover .hm-tile-text small i { opacity: 1; transform: none; }

/* tabs + course rail */
.hm-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow-x: auto; scrollbar-width: none; }
.hm-tabs button { flex: none; padding: 9px 16px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 850; cursor: pointer; }
.hm-tabs button.is-active { background: var(--night); color: var(--gold-2); }
.hm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hm-rail[hidden] { display: none; }
.hm-course { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.hm-course:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(30, 26, 18, .12); }
.hm-course-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.hm-course-media img, .hm-course-media picture { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm-course:hover .hm-course-media img { transform: scale(1.04); }
.hm-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 10px; font-size: 12px; font-style: normal; font-weight: 900; }
.hm-badge.is-sale { background: #e5483a; color: #fff; }
.hm-badge.is-free { background: var(--green); color: #fff; }
.hm-badge.is-soon { background: var(--night); color: var(--gold-2); }
.hm-course-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.hm-course-body > small { color: var(--gold-ink); font-size: 12px; font-weight: 850; }
.hm-course-body > b { color: var(--ink); font-size: 15.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-course-teacher { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.hm-av { display: grid; flex: none; place-items: center; overflow: hidden; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); color: var(--gold-ink); font-size: 11px; font-weight: 900; }
.hm-av img, .hm-av picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.hm-course-foot i { color: var(--faint); font-size: 12.5px; font-style: normal; }
.hm-course-foot strong { color: var(--green); font-size: 14px; white-space: nowrap; }
.hm-course-foot del { margin-left: 4px; color: var(--faint); font-size: 12px; font-weight: 600; }

/* featured */
.hm-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; margin-top: 64px; padding: 44px 48px; overflow: hidden; border-radius: 30px; background: linear-gradient(150deg, var(--night-2), var(--night)); color: #e9e4d8; isolation: isolate; }
.hm-feature-glow { position: absolute; inset: -50% auto auto -10%; z-index: -1; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(214, 168, 73, .28), transparent); }
.hm-feature-copy { display: flex; flex-direction: column; gap: 14px; }
.hm-feature h2 { color: #fff; font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; line-height: 1.5; }
.hm-feature p { color: #c9c2b3; font-size: 15.5px; line-height: 2; }
.hm-feature ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.hm-feature li { position: relative; padding-right: 24px; color: #e9e4d8; font-size: 14px; line-height: 1.9; }
.hm-feature li::before { content: "✓"; position: absolute; right: 0; color: var(--gold-2); font-weight: 900; }
.hm-feature-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.hm-feature-price b { color: #fff; font-size: 22px; font-weight: 900; }
.hm-feature-price del { margin-left: 6px; color: #8f887a; font-size: 14px; }
.hm-feature-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform .3s; }
.hm-feature-media:hover { transform: translateY(-3px) rotate(-1deg); }
.hm-feature-media img, .hm-feature-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }

/* instructors */
.hm-teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.hm-teacher { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; transition: transform .2s, box-shadow .2s; }
a.hm-teacher[href]:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(30, 26, 18, .1); }
.hm-teacher-photo { display: grid; place-items: center; overflow: hidden; width: 112px; height: 112px; margin-bottom: 8px; border-radius: 50%; background: linear-gradient(160deg, #2c2a20, #15140f); color: var(--gold-2); font-size: 38px; font-weight: 900; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-soft); }
.hm-teacher-photo img, .hm-teacher-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-teacher b { color: var(--ink); font-size: 16px; }
.hm-teacher small { color: var(--muted); font-size: 13px; line-height: 1.8; min-height: 2.6em; }
.hm-teacher-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.hm-teacher-stats i { padding: 3px 10px; border-radius: 9px; background: var(--soft); color: var(--muted); font-size: 12px; font-style: normal; font-weight: 800; }
.hm-teacher.is-join { border-style: dashed; border-color: var(--gold); background: var(--gold-soft); }
.hm-teacher.is-join .hm-teacher-photo { background: #fff; color: var(--gold-ink); font-size: 46px; box-shadow: none; border: 2px dashed var(--gold); }
.hm-teacher.is-join .hm-teacher-stats i { background: #fff; color: var(--gold-ink); }

/* reviews */
.hm-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-reviews blockquote { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.hm-stars { color: var(--gold); letter-spacing: 2px; }
.hm-reviews p { color: var(--text); font-size: 14.5px; line-height: 2.05; }
.hm-reviews footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: auto; font-size: 13px; }
.hm-reviews footer b { color: var(--ink); }
.hm-reviews footer a { color: var(--green); font-weight: 750; }

/* gallery cta */
.hm-gallery { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 22px 28px; border: 1px solid #eedfb9; border-radius: 22px; background: linear-gradient(120deg, var(--gold-soft), #fff); }
.hm-gallery b { display: block; color: var(--ink); font-size: 17px; }
.hm-gallery small { color: var(--muted); font-size: 13.5px; }
.hm-gallery em { color: var(--gold-ink); font-style: normal; font-weight: 900; }

/* articles */
.hm-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-article { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s; }
.hm-article:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30, 26, 18, .08); }
.hm-article-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 15px; background: var(--soft); }
.hm-article-media img, .hm-article-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-article b { padding: 0 6px; color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.hm-article small { padding: 0 6px; color: var(--faint); font-size: 12.5px; }

/* final */
.hm-final { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 64px; padding: 40px 48px; border-radius: 30px; background: radial-gradient(70% 140% at 0% 0%, rgba(214, 168, 73, .25), transparent 60%), linear-gradient(150deg, var(--night-2), var(--night)); color: #e9e4d8; }
.hm-final h2 { color: #fff; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; }
.hm-final p { margin-top: 6px; color: #c9c2b3; font-size: 15px; }
.hm-final-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1280px) { .hm { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1024px) {
    .hm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-rail { grid-auto-columns: calc((100% - 32px) / 3); }
    .hm-reviews, .hm-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hm-hero, .hm-feature { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; }
    .hm-feature-media { order: -1; }
    .hm-hero-media { display: none; }
}
@media (max-width: 760px) {
    .hm { padding: 10px 12px 120px; }
    .hm-slider { aspect-ratio: 1080 / 1350; min-height: 0; border-radius: 24px; }
    .hm-shade, .hm-slide.pos-left .hm-shade { background: linear-gradient(0deg, rgba(10, 9, 6, calc(var(--o, .45) + .25)) 0%, rgba(10, 9, 6, calc(var(--o, .45) * .3)) 55%, transparent 100%); }
    .hm-slide-copy, .hm-slide.pos-left .hm-slide-copy, .hm-slide.pos-center .hm-slide-copy { inset: auto 0 0 0; transform: none; justify-content: flex-end; max-width: none; padding: 0 22px 54px; gap: 10px; align-items: flex-start; text-align: right; color: #fff; }
    .hm-slide-copy p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .hm-slide.is-dark .hm-slide-copy p { color: rgba(255, 255, 255, .85); }
    .hm-slide-copy .hm-btn, .hm-slide.pos-center .hm-slide-copy .hm-btn { align-self: stretch; }
    .hm-arrow { display: none; }
    .hm-dots { bottom: 22px; }
    .hm-hero { padding: 28px 20px; border-radius: 24px; }
    .hm-hero p { font-size: 15px; }
    .hm-hero-actions .hm-btn { flex: 1; }
    .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; padding: 6px; border-radius: 20px; }
    .hm-stat { justify-content: flex-start; gap: 10px; padding: 12px 10px; }
    .hm-stat + .hm-stat { border-right: 0; }
    .hm-stat:nth-child(even) { border-right: 1px solid var(--line); }
    .hm-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .hm-stat-icon { width: 40px; height: 40px; border-radius: 13px; }
    .hm-stat-icon svg { width: 20px; height: 20px; }
    .hm-stat-text b { font-size: 21px; }
    .hm-stat-text small { font-size: 12px; }
    .hm-sec { margin-top: 44px; }
    .hm-head { align-items: stretch; flex-direction: column; gap: 10px; }
    .hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hm-tile { min-height: 140px; padding: 14px; border-radius: 20px; }
    .hm-tile-icon { width: 44px; height: 44px; border-radius: 14px; }
    .hm-tile-text b { font-size: 15px; }
    .hm-rail { grid-auto-columns: 78%; gap: 12px; }
    .hm-feature { margin-top: 44px; padding: 22px 18px; border-radius: 24px; gap: 18px; }
    .hm-feature ul { grid-template-columns: 1fr; }
    .hm-feature-cta { flex-direction: column; align-items: stretch; }
    .hm-teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hm-teacher { padding: 16px 10px; }
    .hm-teacher-photo { width: 84px; height: 84px; font-size: 30px; }
    .hm-reviews, .hm-articles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; }
    .hm-reviews > *, .hm-articles > * { scroll-snap-align: start; }
    .hm-gallery { flex-direction: column; align-items: flex-start; }
    .hm-final { margin-top: 44px; padding: 26px 20px; border-radius: 24px; }
    .hm-final-actions, .hm-final-actions .hm-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hm-slide, .hm-slide.is-active img, .hm-dots i { animation: none !important; transition: none !important; } }
