/* ===== Variables ===== */
:root {
  --red: #c62828;
  --red-dark: #8e0000;
  --red-light: #ef5350;
  --yellow: #ffd600;
  --yellow-dark: #f9a825;
  --blue: #4fc3f7;
  --blue-dark: #1565c0;
  --white: #ffffff;
  --off-white: #fafafa;
  --text: #1a1a1a;
  --text-muted: #555;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --header-h: 72px;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-my: "Noto Sans Myanmar", sans-serif;
  --font-display: "Ma Shan Zheng", cursive;
  --font-en: "Playfair Display", Georgia, serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-my);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-my { font-family: var(--font-my); }
body.lang-zh { font-family: var(--font-zh); }
body.lang-en { font-family: "Segoe UI", system-ui, sans-serif; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.nav-open {
  overflow: hidden;
}

.page-main {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.my {
  font-family: var(--font-my);
  font-size: 0.95em;
  color: var(--text-muted);
}

.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 40, 40, 0.1);
  box-shadow: 0 1px 0 rgba(255, 214, 0, 0.35);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 45%, var(--yellow) 45%, var(--yellow) 100%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1140px, 94vw);
  height: calc(var(--header-h) - 3px);
  margin-inline: auto;
  padding: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red);
  font-weight: 400;
  white-space: nowrap;
}

.brand-text small {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.68rem;
  color: var(--red-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-links li {
  display: flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 4.5rem;
  padding: 0 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s, background 0.2s;
}

body.lang-my .nav-links a {
  font-size: 0.82rem;
  min-width: 4.25rem;
}

body.lang-zh .nav-links a,
body.lang-en .nav-links a {
  min-width: 4rem;
}

.nav-links a:hover {
  color: var(--red);
  background: rgba(198, 40, 40, 0.06);
}

.nav-links a.active {
  color: var(--red);
  font-weight: 700;
  background: rgba(198, 40, 40, 0.08);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-icon {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.7;
}

.lang-select {
  appearance: none;
  background-color: var(--off-white);
  border: 1.5px solid rgba(198, 40, 40, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  height: 36px;
  width: 7.5rem;
  min-width: 7.5rem;
  padding: 0 1.6rem 0 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c62828' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--red);
  background-color: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 5.5rem;
  padding: 0 1rem;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.nav-cta.active {
  background: var(--red-dark);
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 3rem 0;
}

.page-banner--yellow {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--text);
}

.page-banner--yellow .section-label {
  color: var(--red-dark);
}

.page-banner--dark {
  background: linear-gradient(135deg, var(--red-dark), #111);
}

.page-banner--dark .section-label {
  color: var(--yellow);
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.page-banner-sub {
  opacity: 0.9;
  max-width: 560px;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-red {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 55%, var(--red) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 72%);
}

.hero-yellow {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--yellow) 30%, var(--yellow-dark) 100%);
  clip-path: polygon(0 55%, 100% 30%, 100% 100%, 0 100%);
}

.hero-tear {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0,140 C200,100 400,180 600,130 C800,80 1000,160 1200,110 C1350,75 1440,130 1440,130 L1440,200 L0,200 Z' fill='white'/%3E%3C/svg%3E") center/cover no-repeat;
  bottom: 0;
  height: 30%;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 6rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.title-zh {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--white);
  text-shadow:
    3px 3px 0 var(--red-dark),
    -1px -1px 0 var(--red-light),
    0 0 40px rgba(0, 0, 0, 0.3);
  line-height: 1;
  letter-spacing: 0.05em;
}

.title-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--red-dark);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-tagline {
  max-width: 520px;
  margin-bottom: 0.75rem;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 600;
}

.hero-desc {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-levels span {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card.accent {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--text);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--red-dark);
}

.about-text p + p {
  margin-top: 1rem;
}

/* ===== Courses ===== */
.courses {
  background: linear-gradient(180deg, var(--off-white) 0%, #fff8e1 100%);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--yellow);
  opacity: 0.12;
  border-radius: 0 0 0 100%;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-left-color: var(--yellow);
}

.course-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow-dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.course-card.featured .course-num {
  color: var(--yellow);
}

.course-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.course-sub {
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.course-card.featured .course-sub {
  color: rgba(255, 255, 255, 0.85);
}

.course-card p:last-child {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.course-card.featured p:last-child {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Home Highlights ===== */
.home-highlights {
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid var(--red);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.highlight-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.highlight-card h3 {
  color: var(--red-dark);
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== Method ===== */
.method {
  background: var(--yellow);
  position: relative;
}

.method-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.method-box {
  background: var(--white);
  border: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.method-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--red-dark);
  margin-bottom: 1rem;
}

.method-box p + p {
  margin-top: 0.75rem;
}

.method-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.method-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.method-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.instructor-card {
  background: var(--red-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.instructor-avatar {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  color: var(--red-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.instructor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.instructor-alt {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.credentials {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact {
  background: var(--off-white);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--yellow-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-phones--page {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.instructor-card--contact {
  grid-column: 1 / -1;
}

.contact-info-card--social {
  grid-column: 1 / -1;
}

.social-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.social-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s;
}

.social-circle:hover {
  transform: translateY(-3px);
}

.social-circle svg {
  width: 28px;
  height: 28px;
}

.social-circle span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.social-circle--fb svg,
.social-circle--tg svg {
  padding: 14px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-circle--fb svg {
  background: #1877f2;
}

.social-circle--tg svg {
  background: #229ed9;
}

.social-circle--fb:hover svg {
  background: #1464d0;
}

.social-circle--tg:hover svg {
  background: #1a8bc4;
}

/* ===== Booking ===== */
.booking {
  background: linear-gradient(180deg, #fff8e1 0%, var(--white) 100%);
}

.booking-header {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--red-dark);
  margin-bottom: 0.5rem;
}

.booking-header p {
  color: var(--text-muted);
}

.booking-form {
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 2px solid rgba(198, 40, 40, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--red-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.booking-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: none;
}

.booking-message {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.booking-message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.booking-message--error {
  background: #ffebee;
  color: var(--red-dark);
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-text .section-label {
  color: var(--yellow);
}

.contact-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.contact-text p {
  opacity: 0.85;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, background 0.2s;
  min-width: 260px;
}

.phone-btn:hover {
  background: #333;
  transform: scale(1.03);
}

/* ===== Footer ===== */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.6);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-zh {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow);
}

/* ===== FAB ===== */
.fab-phone {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(198, 40, 40, 0.5);
  transition: transform 0.2s, background 0.2s;
}

.fab-phone:hover {
  transform: scale(1.1);
  background: var(--red-dark);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links a {
    padding: 0 0.6rem;
    font-size: 0.82rem;
  }

  .nav-actions {
    padding-left: 0.5rem;
    gap: 0.5rem;
  }

  .nav-cta {
    padding: 0 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-panel.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background: rgba(198, 40, 40, 0.1);
    border-left: 3px solid var(--red);
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 0 0;
    margin-top: 0.75rem;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .lang-wrap {
    width: 100%;
    justify-content: flex-start;
    padding: 0.25rem 0;
  }

  .lang-select {
    flex: 1;
    max-width: none;
    height: 44px;
  }

  .nav-cta {
    width: 100%;
    height: 44px;
    font-size: 0.95rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-phones {
    width: 100%;
    align-items: center;
  }

  .phone-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-desc {
    color: rgba(0, 0, 0, 0.7);
  }

  .btn-outline {
    color: var(--red);
    border-color: var(--red);
  }

  .btn-outline:hover {
    background: var(--red);
    color: var(--white);
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-phones--page {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 1.25rem;
  }

  .nav-links a {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===== Visual refresh ===== */
:root {
  --red: #b4232b;
  --red-dark: #74151c;
  --red-light: #df4b54;
  --yellow: #f2c84b;
  --yellow-dark: #d99a18;
  --blue: #2fa8d8;
  --blue-dark: #165d8f;
  --off-white: #f6f4ef;
  --text: #201b18;
  --text-muted: #6f6760;
  --line: rgba(32, 27, 24, 0.12);
  --shadow: 0 18px 45px rgba(42, 28, 20, 0.12);
  --radius: 8px;
}

body {
  background:
    linear-gradient(180deg, #fffdf8 0%, var(--off-white) 42%, #ffffff 100%);
  color: var(--text);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-label {
  width: fit-content;
  padding: 0.24rem 0.55rem;
  border: 1px solid rgba(180, 35, 43, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.section-header .section-label,
.booking-header .section-label {
  margin-inline: auto;
}

.page-banner .section-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.page-banner--dark .section-label {
  color: var(--yellow);
}

.site-header {
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(32, 27, 24, 0.08);
  box-shadow: 0 10px 32px rgba(32, 27, 24, 0.06);
}

.header-accent {
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue));
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(22, 93, 143, 0.18);
}

.brand-text strong {
  color: var(--red-dark);
}

.brand-text small {
  color: var(--text-muted);
}

.nav-links a {
  min-width: auto;
  color: rgba(32, 27, 24, 0.82);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(180, 35, 43, 0.08);
  color: var(--red-dark);
}

.nav-links a.active::after {
  background: var(--blue);
}

.lang-select,
.nav-toggle {
  background-color: #fffdf8;
  border-color: var(--line);
}

.nav-cta,
.btn-primary {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 12px 26px rgba(116, 21, 28, 0.18);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--red);
}

.btn {
  border-radius: 8px;
  min-height: 48px;
  box-shadow: none;
}

.btn:hover {
  box-shadow: 0 16px 34px rgba(42, 28, 20, 0.14);
}

.hero {
  min-height: calc(92vh - var(--header-h));
  background:
    linear-gradient(105deg, rgba(116, 21, 28, 0.93) 0%, rgba(180, 35, 43, 0.86) 46%, rgba(242, 200, 75, 0.92) 100%),
    linear-gradient(180deg, #fff7df 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: #fffdf8;
  clip-path: polygon(0 46%, 100% 18%, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-bg {
  opacity: 0.12;
}

.hero-red,
.hero-yellow,
.hero-tear {
  clip-path: none;
  background: none;
}

.hero-content {
  display: grid;
  max-width: 720px;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero-badge {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff9e6;
}

.title-zh {
  font-size: clamp(4.8rem, 13vw, 8rem);
  color: #fffdf8;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(45, 10, 14, 0.35);
}

.title-en {
  color: #fff3c3;
  font-size: clamp(1.15rem, 3vw, 2.15rem);
  text-shadow: none;
}

.hero-desc {
  max-width: 620px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-levels span {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 253, 248, 0.92);
  color: var(--red-dark);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(45, 10, 14, 0.13);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
}

.btn-outline:hover {
  background: #fffdf8;
  color: var(--red-dark);
}

.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, var(--red-dark), var(--red));
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.page-banner--yellow {
  background: linear-gradient(105deg, #ffe59a, var(--yellow));
}

.page-banner--dark {
  background: linear-gradient(105deg, #201b18, var(--red-dark));
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 36px;
  background: var(--off-white);
  clip-path: polygon(0 65%, 100% 8%, 100% 100%, 0 100%);
}

.page-banner h1 {
  max-width: 780px;
  letter-spacing: 0;
}

.page-banner-sub {
  max-width: 680px;
}

.about,
.home-highlights,
.contact {
  background: #fffdf8;
}

.courses,
.booking {
  background: linear-gradient(180deg, var(--off-white), #fffdf8);
}

.highlight-card,
.course-card,
.contact-info-card,
.booking-form,
.method-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 30px rgba(42, 28, 20, 0.08);
}

.highlight-card,
.course-card {
  border-top: none;
  border-left: 1px solid var(--line);
}

.contact-info-card {
  transition: transform 0.25s, box-shadow 0.25s;
}

.highlight-card:hover,
.course-card:hover,
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 168, 216, 0.12);
  font-size: 1.35rem;
}

.course-grid,
.highlights-grid {
  gap: 1.15rem;
}

.course-card {
  padding: 1.65rem;
}

.course-card::before {
  width: 64px;
  height: 4px;
  left: 1.65rem;
  right: auto;
  top: 0;
  border-radius: 0;
  background: var(--red);
  opacity: 1;
}

.course-card.featured {
  background: linear-gradient(105deg, var(--red-dark), var(--red));
  border-color: rgba(255, 255, 255, 0.18);
}

.course-num {
  color: var(--blue-dark);
}

.course-sub {
  color: var(--red-dark);
}

.method {
  background: linear-gradient(180deg, #fff7df, #fffdf8);
}

.method-box {
  border-color: rgba(47, 168, 216, 0.28);
}

.method-list li::before {
  background: var(--blue-dark);
}

.instructor-card {
  border-radius: var(--radius);
  background: linear-gradient(105deg, #201b18, var(--red-dark));
}

.instructor-avatar {
  border-radius: 8px;
  background: #fff3c3;
}

.contact-page-grid {
  align-items: stretch;
}

.contact-info-card {
  border-left: 1px solid var(--line);
}

.contact-info-card h3,
.booking-header h2,
.highlight-card h3,
.about-text h2,
.method-box h2 {
  color: var(--red-dark);
}

.social-circle--fb svg,
.social-circle--tg svg {
  border-radius: 8px;
}

.phone-btn {
  border-radius: 8px;
  background: #201b18;
}

.phone-btn:hover {
  background: var(--red-dark);
}

.booking-form {
  max-width: 720px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-color: var(--line);
  background: #fffdf8;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(180, 35, 43, 0.32);
}

.booking-message {
  border: 1px solid var(--line);
}

.site-footer {
  background: #201b18;
}

.fab-phone {
  border-radius: 8px;
  background: var(--red-dark);
  box-shadow: 0 16px 32px rgba(116, 21, 28, 0.25);
}

@media (max-width: 768px) {
  .nav-panel {
    background: #fffdf8;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 3.5rem 5.5rem;
  }

  .hero-desc {
    color: rgba(255, 253, 248, 0.9);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .course-card.featured {
    grid-column: auto;
  }

  .page-banner::after {
    height: 24px;
  }
}
