/* Snowtravel static site draft. Mobile-first, no external framework. */
:root {
  --ink: #162233;
  --muted: #5f6d7d;
  --line: #dce6ef;
  --snow: #f7fbff;
  --ice: #e8f4fb;
  --blue: #1f6f9f;
  --deep: #17324b;
  --teal: #2d9caa;
  --warm: #f0b35a;
  --card: rgba(255, 255, 255, 0.94);
  --shadow: 0 18px 45px rgba(22, 34, 51, 0.12);
  --soft-shadow: 0 10px 28px rgba(22, 34, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans CJK TC", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfdff 0%, #eef7fb 100%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(22, 40, 61, 0.64);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 132px; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 0; background: transparent; padding: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #bde7ff);
  color: var(--deep);
  font-weight: 800;
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand small { opacity: .82; font-size: 12px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.site-nav a, .language-placeholder { padding: 6px 8px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.layered-nav { gap: 10px; }
.nav-primary-group, .nav-school-group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-school-group { position: relative; margin-left: 4px; padding-left: 14px; }
.nav-school-group::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; transform: translateY(-50%); background: rgba(255,255,255,.28); }
.nav-school-group a { font-size: 13px; opacity: .88; padding: 5px 7px; background: rgba(255,255,255,.06); }
.nav-school-group a:hover { opacity: 1; background: rgba(255,255,255,.14); }
.language-placeholder { color: rgba(255,255,255,.7); }

.hero { position: relative; min-height: 74vh; display: grid; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.94) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.70) 0 3px, transparent 5px),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,.60) 0 2px, transparent 4px),
    linear-gradient(135deg, #d9f0ff 0%, #b9d9f0 42%, #f7d9c7 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: auto -8% -20% -8%; height: 46%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,.72) 52%, transparent 70%);
  transform: rotate(-2deg);
}
.school-hero .hero-bg { background: linear-gradient(135deg, #c7e8ff 0%, #8fbfd7 48%, #f4f7fa 100%); }
.hero-content { position: relative; padding: 84px 20px; }
.narrow { max-width: 980px; margin: 0 auto; width: 100%; }
.eyebrow { margin: 0 0 8px; color: var(--blue); text-transform: uppercase; letter-spacing: 0; font-weight: 700; font-size: 13px; }
.hero h1 { margin: 0; font-size: clamp(42px, 10vw, 82px); line-height: 1.02; color: var(--deep); }
.hero-copy { max-width: 680px; margin: 18px 0 0; font-size: clamp(17px, 4vw, 22px); color: #29435b; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; border: 1px solid rgba(31,111,159,.2);
}
.button.primary { background: var(--blue); color: white; box-shadow: 0 10px 25px rgba(31,111,159,.24); }
.button.ghost { background: rgba(255,255,255,.68); color: var(--deep); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-points span, .status-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--deep); font-size: 13px; font-weight: 800; border: 1px solid rgba(255,255,255,.68); }
.status-pill { margin-bottom: 10px; background: #eaf6fb; color: var(--blue); border-color: #cae4f0; }
.status-pill.muted { background: #f2f6f8; color: var(--muted); border-color: var(--line); }

.section { max-width: 1120px; margin: 0 auto; padding: 58px 18px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .text-panel h2 { margin: 0; font-size: clamp(26px, 6vw, 40px); line-height: 1.15; }
.section-heading p { margin-top: 8px; color: var(--muted); }
.text-panel, .card, .price-card, .coach-card, details, .service-card, .resort-zone, .booking-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
}
.text-panel { padding: 22px; }
.note { color: #6c5b29; background: #fff7df; border: 1px solid #f1dfaa; border-radius: 8px; padding: 10px 12px; }
.feature-band {
  display: grid; gap: 20px; align-items: center;
  background: linear-gradient(135deg, rgba(31,111,159,.12), rgba(45,156,170,.10));
  border-radius: 8px; margin-top: 34px;
}
.card-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card, .coach-card, .service-card, .resort-zone { padding: 18px; }
.card h3, .price-card h3, .coach-card h3 { margin: 0 0 8px; }
.muted-card { color: var(--muted); background: rgba(255,255,255,.65); }
.service-grid, .resort-zone-grid, .term-grid, .faq-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.service-card-primary { background: linear-gradient(135deg, #ffffff 0%, #eef8fc 100%); }
.process-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-list li { counter-increment: steps; display: grid; gap: 4px; padding: 16px 18px 16px 54px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--soft-shadow); }
.process-list li::before { content: counter(steps); position: absolute; left: 16px; top: 18px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.process-list span { color: var(--muted); }
.contact-card a { color: var(--blue); font-weight: 800; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.resort-zone h3, .mini-card h3 { margin: 0 0 8px; }
.booking-panel { padding: 22px; }
.term-grid .text-panel { box-shadow: var(--soft-shadow); }
.anchor-nav {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px;
  background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 65px; z-index: 15;
}
.anchor-nav a { white-space: nowrap; padding: 8px 12px; background: var(--ice); border-radius: 999px; font-size: 14px; }
.price-cards { display: grid; gap: 14px; margin-bottom: 16px; }
.price-card { padding: 20px; }
.price { font-size: 30px; line-height: 1; font-weight: 800; color: var(--blue); margin: 8px 0 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.price-table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
th { background: #eef7fb; color: var(--deep); }
.calculator-section { padding-top: 28px; }
.calculator-shell {
  display: grid;
  gap: 16px;
  align-items: start;
}
.calculator-main, .calculator-summary, .course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.calculator-main { padding: 16px; }
.calculator-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.calculator-toolbar h3, .calculator-summary h3, .course-card h4 { margin: 0; }
.calculator-toolbar p { margin: 6px 0 0; color: var(--muted); }
.course-list { display: grid; gap: 14px; }
.course-card { padding: 16px; box-shadow: none; }
.course-card-head, .course-card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.course-card-head { margin-bottom: 14px; }
.course-fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.course-fields label, .copy-fallback label { display: grid; gap: 6px; font-weight: 700; color: #24364c; }
.course-fields input, .course-fields select, .course-fields textarea, .copy-fallback textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d8e5;
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.course-fields textarea { min-height: 74px; resize: vertical; }
.course-note-field { grid-column: 1 / -1; }
.course-card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.course-message { min-height: 20px; margin: 0; color: #9a5b00; font-size: 13px; }
.course-subtotal { text-align: right; white-space: nowrap; }
.course-subtotal span { display: block; color: var(--muted); font-size: 12px; }
.course-subtotal strong { color: var(--blue); font-size: 22px; }
.course-card-actions { display: none; margin-top: 14px; }
.course-card-actions.is-visible { display: block; }
.course-remove {
  border-color: #cbd8e3;
  background: #fff;
  color: #7a2d2d;
  border-radius: 8px;
  min-height: 42px;
}
.course-remove:hover { background: #fff4f4; border-color: #d8b7b7; }
.calculator-summary { padding: 18px; }
.summary-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.summary-stats div { background: var(--snow); border-radius: 8px; padding: 10px 8px; text-align: center; }
.summary-stats span { display: block; color: var(--muted); font-size: 12px; }
.summary-stats strong { display: block; font-size: 20px; }
.summary-total { margin: 12px 0; padding: 16px; border-radius: 8px; background: var(--deep); color: #fff; }
.summary-total span { display: block; opacity: .82; font-size: 13px; }
.summary-total strong { display: block; margin-top: 4px; font-size: 34px; line-height: 1.1; }
.summary-list { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.summary-list li { border-left: 3px solid var(--blue); border-radius: 8px; background: var(--snow); padding: 10px 12px; font-size: 14px; }
.calc-copy { width: 100%; border-radius: 8px; }
.copy-status { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.copy-fallback { margin-top: 10px; }
.copy-fallback textarea { min-height: 148px; }
.calc-note { margin-top: 14px; }
.avatar-placeholder, .qr-placeholder {
  display: grid; place-items: center; text-align: center; border: 1px dashed #9db8c9; background: #f3f9fd; color: var(--muted);
}
.avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px; }
.qr-row { display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); gap: 10px; }
.qr-placeholder { min-height: 112px; border-radius: 8px; font-weight: 700; }
.qr-placeholder small { font-size: 12px; font-weight: 700; color: var(--muted); }
.steps { margin: 0; padding-left: 22px; }
.split-section { display: grid; gap: 16px; }
details { padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; }
.contact-layout { display: grid; gap: 16px; }
.contact-hint-note { margin-top: 12px; }
.site-footer { padding: 28px 18px; text-align: center; color: rgba(255,255,255,.78); background: var(--deep); }
.site-footer p { margin: 4px 0; }

@media (min-width: 760px) {
  .site-header { padding: 14px 8vw; }
  .feature-band { grid-template-columns: 1fr auto; padding: 34px; }
  .two-col, .price-cards, .split-section, .contact-layout { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .term-grid { grid-template-columns: repeat(3, 1fr); }
  .term-grid { grid-template-columns: repeat(4, 1fr); }
  .resort-zone-grid, .process-list, .faq-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-shell { grid-template-columns: minmax(0, 1fr) 340px; }
  .calculator-summary { position: sticky; top: 132px; }
  .course-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .resort-grid, .coach-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-content { padding-left: 8vw; padding-right: 8vw; }
}

@media (max-width: 560px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .nav-school-group { margin-left: 0; padding-left: 0; width: 100%; }
  .nav-school-group::before { display: none; }
  .nav-school-group a { font-size: 12px; }
  .hero { min-height: 68vh; }
  .qr-row { grid-template-columns: 1fr; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .anchor-nav { top: 116px; }
  .course-card-head, .course-card-foot, .calculator-toolbar { align-items: stretch; flex-direction: column; }
  .course-subtotal { text-align: left; }
  .course-remove { width: 100%; }
  .summary-total strong { font-size: 30px; }
}


/* Emergency Skischool correction: content-first layout and v1.2 calculator. */
.school-compact-hero { padding: 76px 18px 58px; background: linear-gradient(135deg, #cfe9f8 0%, #f7fbff 52%, #f6e3cf 100%); border-bottom: 1px solid var(--line); }
.school-compact-hero h1 { margin: 0; color: var(--deep); font-size: clamp(38px, 9vw, 76px); line-height: 1.05; }
.school-compact-hero p { max-width: 820px; color: #29435b; }
.notice-grid, .policy-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.notice-card, .policy-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; box-shadow: var(--soft-shadow); }
.notice-card strong, .notice-card span { display: block; }
.notice-card span { color: var(--muted); margin-top: 4px; }
.policy-card h3 { margin: 0 0 10px; }
.policy-card ul { margin: 0; padding-left: 1.2em; }
.policy-card li + li { margin-top: 7px; }
.coach-detail-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.coach-detail-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--soft-shadow); }
.coach-detail-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.coach-detail-head h3 { margin: 0; }
.coach-detail-head p { margin: 3px 0 0; color: var(--muted); }
.mini-card h3 { font-size: 18px; }
.se-calc-wrap { max-width: 1120px; margin: 0 auto; color: var(--ink); line-height: 1.55; }
.se-calc-wrap * { box-sizing: border-box; }
.se-calc-shell { background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.se-calc-body { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 14px; align-items: start; }
.se-calc-main, .se-calc-side, .se-calc-field { min-width: 0; }
.se-calc-toolbar, .se-calc-card-head, .se-calc-card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.se-calc-toolbar { margin-bottom: 12px; }
.se-calc-toolbar-title, .se-calc-result-title { margin: 0; font-size: 18px; }
.se-calc-button { appearance: none; border: 1px solid var(--blue); background: var(--blue); color: #fff; border-radius: 8px; min-height: 42px; padding: 0 16px; font-size: 15px; cursor: pointer; white-space: nowrap; }
.se-calc-button-secondary { background: #fff; color: var(--blue); }
.se-calc-button-danger { border-color: #cbd8e3; color: #7a2d2d; background: #fff; }
.se-calc-card-add { display: none; margin-top: 0; }
.se-calc-card-add.is-visible { display: block; }
.se-calc-course-list { display: grid; gap: 14px; }
.se-calc-course-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px; }
.se-calc-card-head { margin-bottom: 14px; }
.se-calc-card-title { margin: 0; font-size: 17px; }
.se-calc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.se-calc-field-wide { grid-column: 1 / -1; }
.se-calc-label { display: block; font-size: 13px; font-weight: 700; color: #24364c; margin-bottom: 6px; }
.se-calc-input, .se-calc-select, .se-calc-textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 42px; border: 1px solid #cbd8e3; border-radius: 8px; background: #fff; color: var(--ink); padding: 9px 11px; font-size: 15px; font-family: inherit; }
.se-calc-input[type="date"] { appearance: none; -webkit-appearance: none; }
.se-calc-textarea { min-height: 76px; resize: vertical; }
.se-calc-hint { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.se-calc-panel { display: none; grid-column: 1 / -1; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--snow); }
.se-calc-panel.is-visible { display: block; }
.se-calc-panel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.se-calc-coach-card { display: none; grid-column: 1 / -1; padding: 12px; border-radius: 8px; background: #edf8f2; color: #26483b; font-size: 14px; }
.se-calc-coach-card.is-visible { display: block; }
.se-calc-card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.se-calc-foot-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.se-calc-card-message { color: #9a5b00; font-size: 13px; }
.se-calc-subtotal { text-align: left; white-space: nowrap; }
.se-calc-subtotal span { display: block; color: var(--muted); font-size: 12px; }
.se-calc-subtotal strong { font-size: 22px; color: var(--blue); }
.se-calc-result { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px; }
.se-calc-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.se-calc-stat { background: var(--snow); border-radius: 8px; padding: 10px 8px; text-align: center; }
.se-calc-stat span { display: block; color: var(--muted); font-size: 12px; }
.se-calc-stat strong { display: block; margin-top: 2px; font-size: 20px; }
.se-calc-total { padding: 14px; border-radius: 8px; background: var(--deep); color: #fff; margin-bottom: 14px; }
.se-calc-total span { display: block; font-size: 13px; opacity: .82; }
.se-calc-total strong { display: block; font-size: clamp(28px, 4vw, 36px); line-height: 1.1; margin-top: 4px; }
.se-calc-summary { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; max-height: 260px; overflow: auto; }
.se-calc-summary li { font-size: 13px; }

.se-calc-summary-empty { border-left: 3px solid var(--blue); background: var(--snow); border-radius: 8px; padding: 9px 10px; font-size: 13px; }
.se-calc-summary-item { border: 1px solid var(--line); border-left: 4px solid var(--blue); background: linear-gradient(180deg, #fff, #f7fbff); border-radius: 8px; padding: 10px; font-size: 13px; }
.se-calc-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--deep); }
.se-calc-summary-head strong { font-size: 14px; }
.se-calc-summary-head span { font-size: 16px; font-weight: 900; color: var(--blue); white-space: nowrap; }
.se-calc-summary-meta { margin-top: 4px; color: var(--muted); font-weight: 700; }
.se-calc-fee-list { display: grid; gap: 4px; margin: 9px 0 0; }
.se-calc-fee-list div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(203,216,227,.65); padding-top: 4px; }
.se-calc-fee-list dt { color: var(--muted); font-weight: 700; }
.se-calc-fee-list dd { margin: 0; color: var(--deep); font-weight: 800; text-align: right; }
.se-calc-summary-coach { margin: 8px 0 0; color: var(--muted); font-weight: 700; }

.se-calc-copy-status { min-height: 18px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.se-calc-fallback { display: none; margin-top: 10px; }
.se-calc-fallback.is-visible { display: block; }
.se-calc-info { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #edf8f2; color: #26483b; font-size: 14px; }

.se-calc-bulk-tool { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 8px 20px rgba(22,34,51,.04); }
.se-calc-bulk-tool summary { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; color: var(--deep); font-weight: 800; }
.se-calc-bulk-tool summary::-webkit-details-marker { display: none; }
.se-calc-bulk-tool summary::before { content: "+"; width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--snow); color: var(--blue); font-size: 18px; flex: 0 0 auto; }
.se-calc-bulk-tool[open] summary::before { content: "-"; }
.se-calc-bulk-tool summary small { display: none; }
.se-calc-bulk-body { border-top: 1px solid var(--line); padding: 14px 16px 16px; background: linear-gradient(180deg, #fff, #f7fbff); }
.se-calc-bulk-mode { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.se-calc-bulk-mode label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--deep); font-weight: 800; font-size: 13px; }
.se-calc-bulk-panel, .se-calc-bulk-extra { display: none; }
.se-calc-bulk-panel.is-visible, .se-calc-bulk-extra.is-visible { display: block; }
.se-calc-bulk-shared { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.se-calc-bulk-extra { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--snow); }
.se-calc-bulk-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.se-calc-bulk-status { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.se-calc-bulk-status[data-tone="error"] { color: #9a5b00; }
.se-calc-bulk-status[data-tone="success"] { color: var(--blue); }
@media (max-width: 620px) { .se-calc-bulk-tool summary { align-items: center; flex-direction: row; } .se-calc-bulk-actions { align-items: stretch; flex-direction: column; } }

@media (min-width: 760px) { .notice-grid { grid-template-columns: repeat(3, 1fr); } .policy-grid { grid-template-columns: repeat(2, 1fr); } .coach-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .se-calc-body { grid-template-columns: minmax(0, 1fr) 340px; padding: 18px; } .se-calc-side { position: sticky; top: 96px; align-self: start; } .se-calc-result { position: static; max-height: calc(100vh - 118px); overflow: auto; } .se-calc-grid, .se-calc-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .se-calc-toolbar, .se-calc-card-head, .se-calc-card-foot, .se-calc-foot-actions { align-items: stretch; flex-direction: column; } .se-calc-button { width: 100%; } }


/* Product Design round 2: visual hierarchy and mobile readability. */
.school-hero-refined {
  padding: 64px 18px 44px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.25)),
    linear-gradient(145deg, #d7eef9 0%, #f7fbff 54%, #f5dfc5 100%);
}
.school-hero-grid { display: grid; gap: 22px; align-items: stretch; }
.school-hero-copy { display: grid; align-content: center; }
.hero-lead { font-size: clamp(18px, 4vw, 24px); line-height: 1.55; margin: 14px 0 0; }
.hero-fact-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--soft-shadow);
}
.hero-fact-panel div {
  padding: 12px 13px;
  border: 1px solid #dbe8ef;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}
.hero-fact-panel span, .price-quick-grid span, .coach-summary-strip span, .policy-alert-strip span { display: block; color: var(--muted); font-size: 13px; }
.hero-fact-panel strong { display: block; margin-top: 3px; color: var(--deep); line-height: 1.35; }
.section-heading-split { display: grid; gap: 12px; align-items: end; }
.section-jump { justify-self: start; }
.price-quick-grid, .calc-flow, .coach-summary-strip, .policy-alert-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
.price-quick-grid div, .calc-flow div, .coach-summary-strip div, .policy-alert-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.price-quick-grid div { padding: 14px 15px; }
.price-quick-grid strong { display: block; color: var(--deep); font-size: 24px; line-height: 1.1; margin-top: 4px; }
.price-quick-grid small { display: block; color: var(--muted); margin-top: 5px; }
.price-table-wrap { box-shadow: var(--soft-shadow); }
.price-table tbody tr:nth-child(even) { background: #fbfdff; }
.calc-flow div { display: flex; align-items: center; gap: 10px; padding: 11px 13px; }
.calc-flow strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  flex: 0 0 auto;
}
.calc-flow span { font-weight: 800; color: var(--deep); }
.coach-rule-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rule-kicker { display: inline-flex; margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 800; }
.coach-summary-strip div, .policy-alert-strip div { padding: 13px 14px; }
.coach-summary-strip strong, .policy-alert-strip strong { display: block; color: var(--deep); }
.coach-detail-card { display: grid; gap: 10px; }
.coach-detail-head { align-items: flex-start; }
.avatar-placeholder {
  flex: 0 0 auto;
  margin-bottom: 0;
  background: linear-gradient(180deg, #f7fbff, #e7f4f8);
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}
.coach-detail-card > p { margin: 0; color: #33485f; }
.coach-detail-card details { margin: 0; box-shadow: none; background: #fbfdff; }
.coach-detail-card summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coach-detail-card summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.coach-detail-card details[open] summary::after { content: "−"; }
.terms-section .policy-card { box-shadow: var(--soft-shadow); }
.contact-section { padding-bottom: 66px; }
.compact-button { min-width: 132px; }
.se-calc-shell { border-color: #cbdfea; }
.se-calc-course-card { box-shadow: 0 8px 20px rgba(22,34,51,.06); }
.se-calc-result { box-shadow: var(--soft-shadow); }
.se-calc-total { background: linear-gradient(135deg, #17324b, #1f6f9f); }
.se-calc-button-danger { min-height: 44px; }
.se-calc-card-message:empty { display: none; }
@media (min-width: 760px) {
  .school-hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .section-heading-split { grid-template-columns: minmax(0, 1fr) auto; }
  .price-quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calc-flow, .policy-alert-strip, .coach-summary-strip, .coach-rule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .school-hero-refined { padding-top: 42px; }
  .hero-fact-panel { padding: 10px; }
  .anchor-nav { scrollbar-width: none; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  .price-quick-grid strong { font-size: 22px; }
  .coach-detail-head { gap: 10px; }
  .avatar-placeholder { width: 58px; height: 58px; }
  .coach-detail-head p { font-size: 13px; line-height: 1.45; }
  .coach-detail-card details { padding: 13px 14px; }
  .compact-button { width: 100%; }
}


/* Real visual rebuild after screenshot feedback: stronger brand, layout, and conversion zones. */
.school-hero-rebuild {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 54px 18px 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.18) 58%, rgba(255,255,255,.88)),
    radial-gradient(circle at 78% 16%, rgba(240,179,90,.32), transparent 21%),
    linear-gradient(140deg, #e9f6fb 0%, #f7fbff 42%, #d9eef8 100%);
}
.school-hero-rebuild::before,
.school-hero-rebuild::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.school-hero-rebuild::before {
  left: -8vw;
  right: -8vw;
  bottom: -58px;
  height: 160px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(232,244,251,.96));
  box-shadow: 0 -20px 60px rgba(31,111,159,.12);
}
.school-hero-rebuild::after {
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 48%, rgba(31,111,159,.06) 49%, transparent 50%),
    linear-gradient(60deg, transparent 0 50%, rgba(255,255,255,.42) 51%, transparent 52%);
  background-size: 260px 180px;
  opacity: .45;
}
.school-hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  align-items: center;
}
.hero-brand-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.hero-brand-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(31,111,159,.16);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}
.school-hero-rebuild h1 {
  max-width: 680px;
  margin: 0;
  color: var(--deep);
  font-size: 40px;
  line-height: 1.08;
  white-space: nowrap;
  letter-spacing: 0;
}
.school-hero-rebuild .hero-lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: #29435b;
  font-size: clamp(17px, 2.1vw, 21px);
}
.school-hero-rebuild .hero-actions { margin-top: 24px; }
.school-hero-rebuild .button { border-radius: 8px; min-width: 132px; }
.hero-snow-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 26px 70px rgba(22,34,51,.16);
}
.snow-card-sky {
  position: relative;
  min-height: 210px;
  background:
    linear-gradient(180deg, #9ed0ea 0%, #d9eef8 62%, #ffffff 100%);
}
.sun-disc {
  position: absolute;
  right: 42px;
  top: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff5d6;
  box-shadow: 0 0 34px rgba(240,179,90,.55);
}
.mountain {
  position: absolute;
  bottom: 0;
  width: 88%;
  height: 150px;
  clip-path: polygon(0 100%, 26% 30%, 41% 58%, 60% 18%, 100% 100%);
}
.mountain-back { left: -8%; background: rgba(255,255,255,.72); }
.mountain-front { right: -8%; height: 126px; background: linear-gradient(180deg, #f8fdff, #cfe6f2); }
.ski-line {
  position: absolute;
  left: 20%;
  bottom: 42px;
  width: 46%;
  height: 3px;
  border-radius: 999px;
  background: rgba(31,111,159,.42);
  transform: rotate(-11deg);
  box-shadow: 26px 12px 0 rgba(31,111,159,.18);
}
.snow-card-content { padding: 20px; }
.snow-card-content h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.2; color: var(--deep); }
.hero-metrics { display: grid; gap: 10px; margin: 0; }
.hero-metrics div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.hero-metrics dt { color: var(--muted); font-weight: 800; }
.hero-metrics dd { margin: 0; color: var(--deep); font-weight: 900; }
.anchor-nav-rebuild {
  justify-content: center;
  gap: 0;
  padding: 0 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(220,230,239,.8);
  border-bottom: 1px solid rgba(220,230,239,.8);
}
.anchor-nav-rebuild a {
  position: relative;
  padding: 14px 13px 13px;
  background: transparent;
  border-radius: 0;
  color: #40566d;
  font-weight: 800;
}
.anchor-nav-rebuild a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}
.anchor-nav-rebuild a:hover::after { background: var(--blue); }
.pricing-rebuild,
.calculator-rebuild {
  max-width: none;
  padding-left: 18px;
  padding-right: 18px;
}
.pricing-rebuild > *,
.calculator-rebuild > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.pricing-rebuild {
  background: linear-gradient(180deg, #f7fbff 0%, #eef7fb 100%);
  border-top: 1px solid rgba(220,230,239,.7);
}
.pricing-rebuild .section-heading,
.calculator-rebuild .section-heading {
  padding: 22px 22px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.pricing-rebuild .price-quick-grid { margin-top: 18px; }
.pricing-rebuild .price-quick-grid div {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 0;
  background: linear-gradient(160deg, #fff, #edf8fc);
}
.pricing-rebuild .price-quick-grid div::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(31,111,159,.10);
}
.pricing-rebuild .price-quick-grid strong { color: var(--blue); font-size: 28px; }
.price-table-wrap { margin-top: 16px; border: 0; box-shadow: 0 18px 48px rgba(22,34,51,.10); }
.price-table th { background: #17324b; color: #fff; }
.price-table td:first-child { font-weight: 800; color: var(--deep); }
.calculator-rebuild {
  background:
    linear-gradient(180deg, #eef7fb 0%, #f7fbff 100%);
}
.calculator-rebuild .calc-flow { margin: 0 auto 14px; }
.calculator-rebuild .calc-flow div {
  border: 0;
  background: rgba(255,255,255,.82);
}
.calc-tool-header {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: linear-gradient(135deg, #17324b, #1f6f9f);
  color: #fff;
}
.calc-tool-header .eyebrow { color: rgba(255,255,255,.78); }
.calc-tool-header h3 { margin: 0; font-size: 24px; }
.calc-tool-header span { color: rgba(255,255,255,.82); font-weight: 700; }
.calculator-rebuild .se-calc-shell {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22,34,51,.14);
  overflow: visible;
}
.calculator-rebuild .se-calc-body { background: linear-gradient(180deg, #ffffff, #f4f9fc); }
.calculator-rebuild .se-calc-course-card { border-color: #d7e6ef; }
.calculator-rebuild .se-calc-result {
  border: 0;
  box-shadow: 0 18px 42px rgba(22,34,51,.12);
}
.calculator-rebuild .se-calc-total { padding: 18px; }
.coach-section { background: linear-gradient(180deg, #fbfdff, #f2f8fb); }
.coach-summary-strip div {
  background: linear-gradient(180deg, #fff, #f4fafc);
  border: 0;
}
.coach-detail-card {
  border: 0;
  box-shadow: 0 16px 40px rgba(22,34,51,.10);
}
.coach-detail-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.coach-team-app {
  display: grid;
  gap: 18px;
  align-items: start;
}
.coach-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.coach-list-card {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(62px, auto);
  gap: 10px;
  align-items: start;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  text-align: center;
  box-shadow: 0 10px 24px rgba(22,34,51,.06);
  cursor: pointer;
}
.coach-list-card.is-active {
  border-color: var(--blue);
  background: linear-gradient(180deg, #fff, #eef8fc);
  box-shadow: 0 14px 30px rgba(31,111,159,.14);
}
.coach-list-card.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 13px solid var(--blue);
  z-index: 2;
}
.coach-avatar-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: clamp(168px, 28vw, 304px);
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  contain: paint;
  background: linear-gradient(135deg, #eaf6fb, #c9e5f4);
  color: var(--deep);
  font-weight: 900;
  font-size: clamp(22px, 5vw, 34px);
}
.coach-avatar-large {
  width: 106px;
  height: 126px;
  border-radius: 28px;
  font-size: 24px;
}
.coach-list-main {
  display: grid;
  grid-template-rows: auto 18px 18px;
  gap: 4px;
  min-width: 0;
  min-height: 62px;
  align-content: start;
}
.coach-list-main strong {
  font-size: 17px;
  line-height: 1.2;
}
.coach-list-main small {
  color: var(--deep);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.35;
}
html[lang^="en"] body #coach-panel .coach-list-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow-wrap: anywhere;
}
html[lang^="en"] body #coach-panel .coach-list-main small {
  min-width: 0;
  font-size: 10px !important;
  overflow-wrap: anywhere;
}
html[lang^="en"] body #coach-panel .coach-list-main strong { font-size: 15px !important; }
.coach-list-main.is-single-cert {
  align-self: stretch;
  grid-template-rows: auto 40px;
}
.coach-list-main.is-single-cert small { align-self: center; }
html[lang^="en"] body #coach-panel .coach-list-main.is-single-cert {
  display: grid;
  grid-template-rows: auto 18px 18px;
  gap: 4px;
  min-height: 62px;
  align-content: start;
}
html[lang^="en"] body #coach-panel .coach-list-main.is-single-cert small {
  grid-row: 2 / span 2;
  align-self: center;
}
.coach-list-tags {
  display: none;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 6px;
}
.coach-list-tags em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--snow);
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.coach-profile-panel {
  grid-column: 1 / -1;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.coach-profile-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.coach-profile-head h3 {
  margin: 0 0 4px;
  font-size: 24px;
}
.coach-profile-head p {
  margin: 2px 0;
  color: var(--muted);
  font-weight: 700;
}
.coach-profile-meta {
  display: grid;
  gap: 6px;
  padding: 16px 18px 4px;
}
.coach-profile-meta p {
  margin: 0;
  color: var(--deep);
  font-weight: 700;
}
.coach-profile-meta strong {
  color: var(--muted);
}
.coach-profile-intro {
  display: grid;
  gap: 10px;
}
.coach-profile-intro p {
  margin: 0;
}
.coach-profile-intro p:first-child,
.coach-profile-intro p:nth-child(2) {
  color: var(--deep);
}
.coach-profile-intro strong {
  color: var(--deep);
  font-weight: 900;
}
.coach-profile-intro span {
  font-weight: 400;
}
.coach-profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 0;
}
.coach-profile-tabs button {
  appearance: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.coach-profile-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.coach-profile-body {
  padding: 18px;
}
.coach-profile-body p {
  margin: 0;
}
.coach-profile-body ul {
  margin: 0;
  padding-left: 1.2em;
}
.coach-profile-body li + li {
  margin-top: 6px;
}

.coach-avatar-placeholder img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.coach-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.coach-media-thumb {
  appearance: none;
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(22,34,51,.06);
  overflow: hidden;
}
.coach-media-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  background: #eef6fb;
}
.coach-certificate-grid .coach-media-thumb {
  padding: 0;
  text-align: center;
}
.coach-certificate-grid .coach-media-thumb img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
}
.coach-media-caption-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 8px 10px;
  background: rgba(28, 35, 42, .66);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}
.coach-photo-mosaic {
  display: block;
  column-count: 2;
  column-gap: 10px;
  margin-top: 16px;
}
.coach-photo-mosaic .coach-media-thumb {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border-color: rgba(204, 220, 234, .75);
  box-shadow: 0 8px 18px rgba(22,34,51,.05);
  break-inside: avoid;
}
.coach-photo-mosaic .coach-media-thumb img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 7px;
}
.coach-media-thumb span {
  font-size: 13px;
  line-height: 1.35;
}
.coach-video-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.coach-video-mosaic .coach-video-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-color: rgba(127, 180, 218, .45);
  background: linear-gradient(145deg, #f8fcff, #e7f3fb);
  box-shadow: 0 10px 22px rgba(33, 87, 130, .12);
}
.coach-video-poster {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: var(--blue);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.95), rgba(255,255,255,0) 32%),
    linear-gradient(135deg, rgba(44, 136, 201, .14), rgba(151, 206, 237, .42));
  overflow: hidden;
}
.coach-video-poster img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent;
}
.coach-video-play {
  grid-area: 1 / 1;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(22,34,51,.18);
}
.coach-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 32, 50, .78);
}
.coach-lightbox figure {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: min(920px, 94vw);
  max-height: 92vh;
  margin: 0;
}
.coach-lightbox img,
.coach-lightbox video {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.coach-lightbox figcaption {
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.coach-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
@media (min-width: 760px) {
  .coach-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coach-photo-mosaic { column-count: 3; column-gap: 12px; }
  .coach-photo-mosaic .coach-media-thumb { margin-bottom: 12px; }
  .coach-video-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.terms-section { background: #fbfdff; }
.policy-alert-strip div {
  border: 0;
  background: #fff7df;
  box-shadow: var(--soft-shadow);
}
.faq-section details { box-shadow: var(--soft-shadow); }
@media (min-width: 760px) {
  .school-hero-stage { grid-template-columns: minmax(0, 1fr) 410px; }
  .calc-tool-header { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .coach-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coach-avatar-placeholder { height: clamp(224px, 27vw, 304px); }
}
@media (min-width: 1100px) {
  .coach-list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .coach-avatar-placeholder { height: 304px; }
}
@media (max-width: 760px) {
  .school-hero-rebuild h1 { white-space: normal; font-size: clamp(34px, 9vw, 40px); }
  .school-hero-rebuild .hero-actions .button { width: auto; flex: 1 1 140px; }
  .hero-snow-card { margin-top: 4px; }
  .snow-card-sky { min-height: 160px; }
  .anchor-nav-rebuild { justify-content: flex-start; padding: 0 12px; }
  .anchor-nav-rebuild a { padding: 13px 10px 12px; font-size: 13px; }
  .pricing-rebuild .section-heading,
  .calculator-rebuild .section-heading { padding: 18px; }
  .price-table { min-width: 700px; }
  .coach-profile-head { align-items: flex-start; padding: 16px; }
  .coach-profile-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 16px 0; }
  .coach-profile-body { padding: 16px; }
}
@media (max-width: 430px) {
  .school-hero-rebuild { padding-top: 34px; }
  .hero-brand-line span { font-size: 12px; }
  .school-hero-rebuild .hero-actions { gap: 10px; }
  .school-hero-rebuild .hero-actions .button { min-width: 0; }
  .snow-card-content { padding: 16px; }
  .hero-metrics div { grid-template-columns: 58px 1fr; }
}


/* Browser comment tuning: remove unwanted hero labels/actions and simplify lesson/pricing areas. */
.school-hero-comment-fix {
  padding: 48px 18px 42px;
}
.school-hero-comment-fix .school-hero-stage {
  display: block;
  max-width: 1120px;
}
.school-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.school-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 8px;
  background: #17324b;
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(22,34,51,.16);
}
.school-hero-comment-fix h1 {
  white-space: normal;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 64px);
}
.lesson-service-panel {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.lesson-row {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}
.lesson-row:first-child { border-top: 0; }
.lesson-row strong { color: var(--deep); font-size: 17px; }
.lesson-row span { color: #40566d; }
.season-price-note {
  display: grid;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff7df;
  border: 1px solid #f1dfaa;
  color: #5e4a17;
  box-shadow: var(--soft-shadow);
}
.season-price-note strong { color: #17324b; font-size: 18px; }
.season-price-note span { line-height: 1.65; }
@media (min-width: 760px) {
  .lesson-row { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .school-hero-comment-fix { padding-top: 34px; }
  .school-logo-mark { min-width: 92px; min-height: 40px; font-size: 21px; }
  .school-hero-comment-fix h1 { font-size: clamp(34px, 10vw, 46px); }
}


/* Slider-style pagination layout for ski school content. */
.school-page-book {
  max-width: 1180px;
  margin: 28px auto 64px;
  padding: 0 18px;
}
.school-book-head {
  display: grid;
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin-bottom: 20px;
}
.school-book-logo {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}
.school-book-logo h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
}
.school-book-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}
.school-book-tab {
  appearance: none;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.school-book-tab.is-active {
  background: #2c9ee8;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31,111,159,.22);
}
.school-book-panels {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: visible;
}
.school-book-panel { display: none; }
.school-book-panel.is-active { display: block; }
.school-book-panel > .section {
  max-width: none;
  padding: 34px 22px;
  margin: 0;
  background: transparent;
  border-top: 1px solid var(--line);
}
.school-book-panel > .section:first-child { border-top: 0; }
.school-book-panel .pricing-rebuild,
.school-book-panel .calculator-rebuild {
  max-width: none;
  padding-left: 22px;
  padding-right: 22px;
}
.school-book-panel .pricing-rebuild > *,
.school-book-panel .calculator-rebuild > * {
  max-width: 100%;
}
.school-book-panel .section-heading {
  box-shadow: none;
}
.school-book-panel #calculator {
  padding-top: 20px;
}
.school-book-panel .coach-detail-grid {
  max-height: 68vh;
  overflow: auto;
  padding-right: 6px;
}
@media (max-width: 760px) {
  .school-page-book { margin-top: 18px; padding: 0 12px; }
  .school-book-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .school-book-tab {
    flex: 0 0 auto;
    min-width: 132px;
    padding: 0 16px;
    scroll-snap-align: start;
  }
  .school-book-panel > .section,
  .school-book-panel .pricing-rebuild,
  .school-book-panel .calculator-rebuild {
    padding-left: 14px;
    padding-right: 14px;
  }
  .school-book-panel .coach-detail-grid { max-height: none; overflow: visible; padding-right: 0; }
}

.inline-policy-heading { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.terms-lead {
  margin-top: 14px;
  padding: 16px 18px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(46, 160, 225, .12), rgba(255,255,255,.82));
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(46, 160, 225, .16);
}

.section-heading .terms-lead { color: var(--deep); }

.pricing-rebuild .section-heading {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.price-note { max-width: 860px; }
.service-fee-note { max-width: 920px; }

.price-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.price-table-wrap .price-table {
  width: max-content;
  min-width: 100%;
}
.pricing-rebuild .policy-card {
  margin-top: 28px;
  border: 1px solid var(--line);
}
.pricing-rebuild .inline-policy-heading {
  margin-top: 24px;
  padding-top: 24px;
}
.calculator-note { max-width: 760px; }

.calculator-rebuild > .section-heading {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.refined-price-table th:nth-child(2),
.refined-price-table th:nth-child(3),
.refined-price-table th:nth-child(4),
.refined-price-table td:nth-child(2),
.refined-price-table td:nth-child(3),
.refined-price-table td:nth-child(4) {
  text-align: center;
}
.refined-price-table td {
  vertical-align: middle;
}
.refined-price-table td:not(:first-child) {
  border-left: 1px solid rgba(220,230,239,.82);
}
.price-main,
.price-extra,
.price-consult {
  display: block;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}
.price-extra { color: var(--deep); }
.price-consult { color: var(--blue); }
.refined-price-table small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.refined-price-table tbody tr:hover {
  background: #f6fbff;
}
.merged-price-table .price-merged-cell {
  width: 22%;
  padding: 14px;
  background: linear-gradient(180deg, #fbfdff, #f4f9fc);
  vertical-align: middle;
}
.merged-price-table .price-merged-cell + .price-merged-cell {
  background: linear-gradient(180deg, #f8fbff, #eef7fb);
}
.merged-price-table .price-col-resort,
.merged-price-table .price-col-standard { width: 25%; }
.merged-price-table th:first-child,
.merged-price-table td:first-child {
  text-align: center;
  white-space: nowrap;
}
.merged-price-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.merged-price-card em {
  max-width: 150px;
  color: #5c6f82;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .merged-price-table { min-width: 760px; }
  .merged-price-table .price-col-resort,
  .merged-price-table .price-col-standard { width: 25%; }
}
@media (max-width: 760px) {
  .refined-price-table { min-width: 780px; }
}

.booking-heading { align-items: end; }
.booking-calc-link {
  display: inline-flex;
  width: auto;
  justify-self: end;
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.booking-heading:has(p) { align-items: end; }
.booking-heading:has(p) .booking-calc-link {
  align-self: end;
  margin-top: 0;
}
#booking .booking-heading .booking-calc-link {
  align-self: start;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .booking-calc-link { justify-self: start; }
}

.contact-copy-card { display: grid; gap: 10px; }
.contact-copy-row {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(118px, auto) 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.contact-copy-row:hover { border-color: rgba(46,160,225,.48); background: #f7fbff; }
.contact-copy-row strong { color: var(--deep); }
.contact-copy-row strong small, .contact-copy-row span small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.45; }
.contact-copy-row span { color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.contact-copy-status { min-height: 20px; margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; }
@media (max-width: 560px) {
  .contact-copy-row { grid-template-columns: 1fr; gap: 4px; }
}

.booking-note {
  margin-top: 18px;
  margin-bottom: 0;
}


/* Calculator note visual alignment with the site card system. */
.se-calc-info {
  border: 1px solid var(--line);
  background: #f7fbff;
  color: var(--deep);
  box-shadow: none;
}
.se-calc-info strong { color: var(--deep); }
.se-calc-info ul { margin-bottom: 0; }

.calculator-note ol { margin: 8px 0 0; padding-left: 1.3em; }
.calculator-note li { margin: 4px 0; }
#pricing,
#calculator,
#calculator-guide,
#coaches,
#coach-rules,
#service,
#terms,
#faq,
#booking,
#contact,
[id^="coach-card-"] {
  scroll-margin-top: 112px;
}

@media (max-width: 760px) {
  #pricing,
  #calculator,
  #calculator-guide,
  #coaches,
  #coach-rules,
  #service,
  #terms,
  #faq,
  #booking,
  #contact {
    scroll-margin-top: 150px;
  }
  [id^="coach-card-"] {
    scroll-margin-top: 150px;
  }
}


/* Snowtravel calculator alignment refinement */
.section-heading-split.booking-heading { align-items: end; }
.section-heading-split.booking-heading:has(.terms-lead) { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.section-heading-split.booking-heading:has(.terms-lead) > div { display: contents; }
.section-heading-split.booking-heading:has(.terms-lead) h2 { grid-column: 1; grid-row: 1; }
.section-heading-split.booking-heading:has(.terms-lead) .terms-lead { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
.section-heading-split.booking-heading:has(.terms-lead) .booking-calc-link { grid-column: 2; grid-row: 1; align-self: end; justify-self: end; margin: 0; }
.terms-lead { width: 100%; max-width: none; }
.price-note, .service-fee-note, .calculator-note { max-width: none; }
#booking .booking-heading .booking-calc-link { align-self: end; margin-top: 0; }
.se-calc-coach-card { border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7fbff); color: var(--deep); }
.se-calc-coach-card strong { display: block; margin-bottom: 8px; font-size: 15px; }
.se-calc-coach-card dl { display: grid; gap: 5px; margin: 0 0 10px; }
.se-calc-coach-card dl div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
.se-calc-coach-card dt { font-weight: 800; color: var(--muted); }
.se-calc-coach-card dd { margin: 0; min-height: 1em; }
.se-calc-coach-card .se-calc-button-secondary { min-height: 34px; padding: 0 12px; font-size: 13px; }
@media (max-width: 560px) {
  .section-heading-split.booking-heading:has(.terms-lead) { grid-template-columns: 1fr; }
  .section-heading-split.booking-heading:has(.terms-lead) h2,
  .section-heading-split.booking-heading:has(.terms-lead) .terms-lead,
  .section-heading-split.booking-heading:has(.terms-lead) .booking-calc-link { grid-column: 1; grid-row: auto; justify-self: start; }
}

.section-logo { display: block; max-width: 150px; max-height: 58px; object-fit: contain; margin-bottom: 12px; }
.section-logo-xueyuan { max-width: 136px; }
.school-logo-img { display: block; width: auto; max-width: 188px; max-height: 78px; object-fit: contain; }
.qr-card { padding: 10px; gap: 7px; border-style: solid; background: #fff; }
.qr-card img { display: block; width: 100%; max-width: 132px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 6px; background: #fff; }
.qr-card strong { color: var(--deep); line-height: 1.1; }
