﻿:root {
  --ink: #101827;
  --muted: #5f6c7b;
  --line: #dce6f2;
  --paper: #f5f8fc;
  --white: #ffffff;
  --blue: #0a56a8;
  --blue-dark: #07376e;
  --blue-soft: #eaf3ff;
  --gold: #d9a526;
  --gold-soft: #fff2c7;
  --dark: #07111f;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: clamp(12px, 3vw, 42px);
  right: clamp(12px, 3vw, 42px);
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-height: 92px;
  padding: 10px clamp(16px, 2.4vw, 28px) 12px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(4, 14, 35, 0.98) 0%, rgba(8, 29, 68, 0.96) 54%, rgba(3, 12, 28, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(0, 13, 36, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-nav-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 11% 50%, rgba(0, 132, 255, 0.38), transparent 13%),
    linear-gradient(118deg, transparent 0 58%, rgba(23, 88, 157, 0.24) 58% 73%, transparent 73%),
    radial-gradient(circle at 86% 42%, rgba(255, 215, 0, 0.1), transparent 18%);
}

.site-header::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -18px;
  z-index: -1;
  width: min(26vw, 320px);
  height: 136%;
  background:
    linear-gradient(105deg, transparent 0 52%, rgba(14, 64, 130, 0.45) 52% 64%, transparent 64%),
    linear-gradient(100deg, transparent 0 74%, #d81f2a 74% 79%, #f2c15f 79% 83%, #0b55b7 83% 91%, transparent 91%);
  opacity: 0.94;
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: 0;
  padding-right: clamp(10px, 1.3vw, 18px);
}

.brand-logo {
  flex: 0 0 auto;
  width: clamp(48px, 4vw, 56px);
  height: clamp(48px, 4vw, 56px);
  object-fit: cover;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 8px rgba(0, 132, 255, 0.12),
    0 0 28px rgba(0, 132, 255, 0.72),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--white);
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  position: relative;
  display: block;
  align-items: center;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 700;
  line-height: 1.25;
}

.brand small::before,
.brand small::after {
  content: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 16px);
  width: 100%;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  text-align: center;
  opacity: 0.95;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(216, 169, 21, 0.36);
  transition: width 0.24s ease, opacity 0.24s ease;
}

.nav a:hover {
  color: var(--gold-soft);
  border-color: rgba(216, 169, 21, 0.28);
  background: rgba(255, 248, 229, 0.1);
  opacity: 1;
  transform: translateY(-1px);
}

.nav a:hover::after {
  width: calc(100% - 32px);
}

.nav a.active {
  color: var(--blue-dark);
  border-color: rgba(216, 169, 21, 0.56);
  background: rgba(255, 248, 229, 0.92);
  box-shadow: 0 8px 18px rgba(7, 17, 31, 0.16);
  opacity: 1;
  transform: translateY(-1px);
}

.nav a.active::after {
  width: calc(100% - 32px);
  height: 3px;
  background: #d8a915;
}

.nav-admin-link {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(12px, 0.9vw, 14px);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 80vh;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--dark) 0%, var(--blue-dark) 48%, #2d1d24 100%);
}

.hero > img,
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.14) 0%, rgba(7, 17, 31, 0.22) 52%, rgba(7, 17, 31, 0.76) 100%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.28), rgba(139, 20, 20, 0.12), rgba(7, 17, 31, 0.28));
}

.home-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 88px) clamp(30px, 5vw, 68px);
}

.home-page .home-banner-hero {
  height: min(100vh, 56.25vw);
  min-height: 640px;
  background: #050505;
}

.home-page .hero-background {
  object-position: center top;
}

.home-page .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(7, 17, 31, 0.18)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.18), rgba(139, 20, 20, 0.06), rgba(7, 17, 31, 0.14));
}

.home-page .site-header {
  top: 16px;
  left: 16px;
  right: 16px;
  min-height: 150px;
  padding: 14px 24px 16px;
  border-color: rgba(190, 30, 30, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(12, 8, 9, 0.98) 70%, rgba(90, 10, 10, 0.95) 100%);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page .site-header::before {
  background:
    radial-gradient(circle at 8% 100%, rgba(221, 34, 34, 0.72), transparent 9%),
    linear-gradient(95deg, transparent 0 94%, #ba151e 94% 96%, #f1bf54 96% 98%, transparent 98%);
}

.home-page .site-header::after {
  background:
    linear-gradient(100deg, transparent 0 78%, #d92632 78% 82%, #f0bf4d 82% 86%, transparent 86%);
  opacity: 1;
}

.home-page .brand-logo {
  width: 64px;
  height: 64px;
  box-shadow: 0 0 0 6px rgba(222, 34, 34, 0.12), 0 14px 28px rgba(0, 0, 0, 0.3);
}

.home-page .brand strong {
  font-size: clamp(24px, 2.5vw, 38px);
}

.home-page .brand small {
  color: var(--gold);
  font-size: clamp(14px, 1.15vw, 18px);
}

.home-page .nav {
  justify-content: flex-start;
  gap: clamp(10px, 1.4vw, 24px);
}

.home-page .nav a {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
}

.home-page .nav a.active,
.home-page .nav a:hover {
  color: var(--white);
  border-color: rgba(190, 30, 30, 0.75);
  background: linear-gradient(135deg, rgba(182, 24, 30, 0.95), rgba(119, 11, 15, 0.95));
  box-shadow: 0 12px 26px rgba(176, 24, 31, 0.32);
}

.home-page .nav-admin-link {
  margin-left: auto;
  color: var(--blue-dark);
  border-color: rgba(240, 191, 77, 0.78);
  background: linear-gradient(135deg, var(--gold), #f4c15b);
  box-shadow: 0 14px 28px rgba(240, 191, 77, 0.28);
}

.home-page .nav-admin-link:hover {
  color: var(--blue-dark);
  background: #f0bf4d;
}

.home-hero-cta {
  position: absolute;
  left: 5.6%;
  top: 79.1%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(54px, 4.2vw, 66px);
  padding: 15px 26px;
  border-radius: 13px;
  font-size: clamp(16px, 1.12vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.home-hero-trial {
  min-width: clamp(230px, 14vw, 270px);
  color: var(--white);
  background: linear-gradient(135deg, #b5121b, #d8262d);
  box-shadow: 0 14px 32px rgba(184, 18, 27, 0.42);
}

.home-hero-call {
  min-width: clamp(280px, 20vw, 380px);
  color: var(--blue-dark);
  background: linear-gradient(135deg, #f7d34b, #e3b322);
  box-shadow: 0 14px 32px rgba(227, 179, 34, 0.32);
}

.home-hero-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-content {
  position: relative;
  width: min(880px, calc(100% - 40px));
  padding: 154px 0 0;
  margin-left: clamp(20px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-slogan {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-callout {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.contact-form button,
.form-submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button.primary,
.contact-form button,
.form-submit-link {
  color: var(--blue-dark);
  background: var(--gold);
  box-shadow: 0 14px 36px rgba(217, 165, 38, 0.34);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button:hover,
.contact-form button:hover,
.form-submit-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.22);
}

.button.primary:hover,
.contact-form button:hover,
.form-submit-link:hover {
  background: #f0c34a;
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(80%, 900px);
  display: flex;
  justify-content: center;
  margin: 36px auto 48px;
}

.hero-hotline-card {
  width: 100%;
  padding: 36px 48px;
  border: 1px solid rgba(217, 165, 38, 0.36);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(7, 55, 110, 0.9), rgba(7, 17, 31, 0.78)),
    rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-align: center;
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-hotline-card:hover {
  border-color: rgba(217, 165, 38, 0.72);
  box-shadow: 0 24px 58px rgba(7, 17, 31, 0.3), 0 0 0 4px rgba(217, 165, 38, 0.12);
  transform: translateY(-4px);
}

.hero-stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(48px, 5.4vw, 60px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-stats span {
  display: block;
}

.hero-hotline-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 800;
}

.hero-hotline-note {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
}

.hero-hotline-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-hotline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-hotline-button.call {
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--gold), #f2c15f);
  box-shadow: 0 12px 28px rgba(217, 165, 38, 0.22);
}

.hero-hotline-button.register {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.hero-hotline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 17, 31, 0.24);
}

.hero-hotline-button.call:hover {
  background: #f0c34a;
}

.hero-hotline-button.register:hover {
  color: var(--gold-soft);
  border-color: rgba(217, 165, 38, 0.58);
  background: rgba(7, 55, 110, 0.32);
}

.section {
  padding: clamp(52px, 7vw, 88px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.intro,
.programs,
.achievements {
  background: var(--paper);
}

.intro {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.intro-heading {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.intro-heading h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: var(--blue-dark);
}

.intro-heading > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #4d5e73;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
}

.intro-layout,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: stretch;
}

.intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-copy {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  text-align: center;
}

.intro-copy p {
  margin-bottom: 0;
}

.values-grid,
.location-grid,
.achievement-grid,
.program-grid {
  display: grid;
  gap: 18px;
}

.values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values-grid article,
.program-grid article,
.location-grid article,
.achievement-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.values-grid article {
  position: relative;
  min-height: 180px;
  display: grid;
  align-content: start;
  padding: 24px;
  overflow: hidden;
  border-color: rgba(10, 86, 168, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.values-grid article::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(217, 165, 38, 0.12);
}

.values-grid article:hover,
.program-grid article:hover,
.location-grid article:hover,
.achievement-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 86, 168, 0.32);
  box-shadow: var(--shadow);
}

.values-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 165, 38, 0.58);
  box-shadow: 0 24px 58px rgba(7, 17, 31, 0.13);
}

.values-grid span {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #fff7dc, #f0c34a);
  font-size: 26px;
  font-weight: 800;
}

.values-grid h3,
.values-grid p {
  position: relative;
  z-index: 1;
}

.values-grid h3 {
  color: var(--blue-dark);
  font-size: 22px;
}

.values-grid p,
.program-grid p,
.location-grid p,
.achievement-grid span {
  color: var(--muted);
}

.intro-stats {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid rgba(10, 86, 168, 0.12);
  border-radius: 22px;
  background: rgba(10, 86, 168, 0.12);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.intro-stats div {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--white);
  text-align: center;
}

.intro-stats strong {
  color: var(--blue-dark);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  font-weight: 800;
}

.intro-stats span {
  color: var(--muted);
  font-weight: 800;
}

.program-grid article {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.program-grid article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(10, 86, 168, 0.08);
}

.program-grid article:hover {
  border-color: rgba(217, 165, 38, 0.78);
}

.program-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--gold);
  font-weight: 800;
}

.program-grid h3,
.program-grid p {
  position: relative;
  z-index: 1;
}

.training-programs {
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 165, 38, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.training-heading {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.training-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
  color: #0b1f4d;
  font-weight: 800;
}

.training-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #ffd970);
  transform: translateX(-50%);
}

.training-programs .program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.training-programs .program-card {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: clamp(24px, 2.8vw, 32px);
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 10px 26px rgba(11, 31, 77, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.training-programs .program-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 150px;
  height: 150px;
  background: url("assets/thai-hai-logo.jpg") center / contain no-repeat;
  opacity: 0.05;
  z-index: -1;
}

.training-programs .program-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow:
    0 24px 58px rgba(11, 31, 77, 0.14),
    0 0 0 4px rgba(217, 165, 38, 0.1);
}

.training-programs .program-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: #0b1f4d;
  background:
    linear-gradient(180deg, #fff8df 0%, #f0c34a 100%);
  box-shadow:
    0 12px 28px rgba(217, 165, 38, 0.22),
    0 0 0 1px rgba(217, 165, 38, 0.28) inset;
  font-size: 28px;
  transition: transform 0.28s ease;
}

.training-programs .program-card:hover .program-icon {
  transform: scale(1.1);
}

.training-programs .program-card h3 {
  margin-bottom: 14px;
  color: #0b1f4d;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.training-programs .program-card p {
  color: #435169;
  line-height: 1.7;
  text-align: justify;
}

.training-programs .program-card.fade-up {
  transition:
    opacity 0.8s ease var(--fade-delay, 0s),
    transform 0.8s ease var(--fade-delay, 0s),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.training-programs .program-card.fade-up.is-visible:hover {
  transform: translateY(-10px);
}

.coach {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 165, 38, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(7, 55, 110, 0.98), rgba(10, 86, 168, 0.92)),
    var(--blue-dark);
}

.coach-heading {
  max-width: 940px;
  margin-bottom: 22px;
}

.coach-heading h2 {
  max-width: 1280px;
  font-size: clamp(30px, 4.2vw, 56px);
}

.coach-heading .eyebrow,
.coach .eyebrow,
.coach-rank,
.coach-title-line {
  color: var(--gold-soft);
}

.coach-profile {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: center;
}

.coach-profile-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.coach-portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.coach-portrait img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.coach-portrait:hover img,
.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.coach-panel {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.coach-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
}

.coach-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.coach-rank {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
}

.coach-title-line {
  margin-bottom: 22px;
  font-weight: 800;
}

.coach-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.coach-badges li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
}

.coach-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 14px;
  margin-top: 14px;
}

.coach-subheading {
  margin: 26px 0 12px;
}

.coach-subheading h3 {
  margin: 0;
  color: var(--white);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(7, 17, 31, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.coach-gallery.trust-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(300px, 29vw, 380px);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 16px;
}

.gallery-item.trust-card {
  border-radius: 20px;
  border-color: rgba(214, 166, 43, 0.22);
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(4, 18, 47, 0.18);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.gallery-item.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 27, 67, 0) 42%, rgba(2, 8, 24, 0.2) 62%, rgba(2, 8, 24, 0.78) 100%),
    linear-gradient(90deg, rgba(180, 26, 37, 0.18), rgba(214, 166, 43, 0.08));
  pointer-events: none;
}

.gallery-item.trust-card::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f2c15f);
  box-shadow: 0 8px 20px rgba(214, 166, 43, 0.28);
}

.gallery-item.trust-card img {
  object-position: center center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item.trust-card .trust-card-copy {
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  opacity: 1;
  transform: none;
}

.trust-card-copy strong,
.trust-card-copy em {
  display: block;
}

.trust-card-copy strong {
  color: var(--white);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.trust-card-copy em {
  max-width: 94%;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(13px, 1.08vw, 15px);
  font-style: normal;
  line-height: 1.55;
  font-weight: 600;
}

.gallery-item.trust-card:hover,
.gallery-item.trust-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(214, 166, 43, 0.72);
  box-shadow: 0 26px 58px rgba(4, 18, 47, 0.26), 0 0 0 1px rgba(214, 166, 43, 0.18);
}

.gallery-item.trust-card:hover img,
.gallery-item.trust-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-item.trust-card.fade-up {
  transition:
    opacity 0.8s ease var(--fade-delay, 0s),
    transform 0.8s ease var(--fade-delay, 0s),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.gallery-item.trust-card.fade-up.is-visible:hover,
.gallery-item.trust-card.fade-up.is-visible:focus-visible {
  transform: translateY(-8px);
}

.gallery-item.trust-card.fade-up.is-visible {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.certificate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}

.certificate-card h3 {
  margin-bottom: 8px;
}

.certificate-card p {
  color: rgba(255, 255, 255, 0.84);
}

.certificate-button {
  margin-top: 6px;
}

.certificate-thumb {
  overflow: hidden;
  height: 170px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.certificate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certificate-thumb:hover img {
  transform: scale(1.04);
}

.coach-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.locations {
  background:
    linear-gradient(180deg, var(--white), var(--blue-soft));
}

.location-schedule-section {
  position: relative;
  overflow: hidden;
}

.location-schedule-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 165, 38, 0.12), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(10, 86, 168, 0.14), transparent 30%);
}

.location-heading {
  position: relative;
  max-width: 980px;
}

.location-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.location-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.location-card {
  position: relative;
  overflow: hidden;
  min-height: 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid rgba(10, 86, 168, 0.12) !important;
  border-top: 5px solid var(--gold) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 46px rgba(7, 17, 31, 0.1);
}

.location-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: rgba(10, 86, 168, 0.08);
}

.location-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(10, 86, 168, 0.12);
}

.location-label {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 800;
}

.location-card h3,
.location-card strong,
.location-card p,
.training-time {
  position: relative;
  z-index: 1;
}

.location-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 800;
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 165, 38, 0.72) !important;
  box-shadow:
    0 24px 60px rgba(7, 17, 31, 0.16),
    0 0 0 4px rgba(217, 165, 38, 0.12);
}

.training-time {
  margin-top: 20px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(10, 86, 168, 0.16);
  border-radius: 16px;
  background: var(--blue-soft);
}

.training-time h4 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 17px;
}

.training-time ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.training-time li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--white);
}

.training-time li span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.training-time li strong {
  margin: 0;
  color: var(--blue-dark);
  text-align: right;
}

.location-hotline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 55, 110, 0.98), rgba(10, 86, 168, 0.92)),
    var(--blue-dark);
  box-shadow: var(--shadow);
}

.location-hotline .eyebrow {
  margin-bottom: 8px;
  color: var(--gold-soft);
}

.location-hotline strong {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.secondary.blue {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.achievement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.achievements {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 55, 110, 0.97), rgba(10, 86, 168, 0.9)),
    var(--blue-dark);
}

.achievement-intro {
  max-width: 1120px;
  margin-bottom: 34px;
}

.achievement-intro h2 {
  max-width: 980px;
}

.achievement-copy {
  display: grid;
  gap: 14px;
  max-width: 1040px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.achievement-copy p {
  margin-bottom: 0;
}

.achievement-grid article {
  min-height: 260px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.achievement-grid article:hover {
  border-color: rgba(217, 165, 38, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.achievement-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.achievement-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.22;
}

.achievement-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.album {
  background: var(--white);
}

.gallery-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.album-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
}

.gallery-grid .gallery-item {
  position: relative;
  display: flex;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.1);
  cursor: default;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.gallery-grid .gallery-item.featured {
  grid-row: span 2;
  min-height: 510px;
  aspect-ratio: 4 / 5;
}

.gallery-grid .gallery-item.wide {
  grid-column: span 2;
  min-height: 320px;
  aspect-ratio: 16 / 9;
}

.gallery-grid .gallery-item.tall {
  grid-row: span 2;
  min-height: 510px;
  aspect-ratio: 3 / 4;
}

.gallery-grid .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 77, 0), rgba(11, 31, 77, 0.08));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.gallery-grid .gallery-img {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center center;
  border-radius: 18px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid .gallery-img.contain {
  object-fit: contain;
  object-position: center center;
  padding: 10px;
  background: #f8fafc;
}

.gallery-grid .gallery-img.top {
  object-fit: cover;
  object-position: center top;
}

.gallery-grid .gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 166, 43, 0.36);
  box-shadow: 0 22px 48px rgba(7, 17, 31, 0.16);
}

.gallery-grid .gallery-item:hover::after {
  opacity: 1;
}

.gallery-grid .gallery-item:hover .gallery-img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.album .album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(18px, 2vw, 24px);
  align-items: start;
}

.album .album-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(11, 31, 77, 0.08);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.1);
  object-fit: contain;
  object-position: center center;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.album .album-img:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 22px 48px rgba(7, 17, 31, 0.16);
  filter: saturate(1.06);
}

.album .album-img.featured,
.album .album-img.wide {
  grid-column: span 2;
}

.album .album-img.tall {
  max-height: 680px;
}

.album .album-img.top {
  object-position: center top;
}

.contact {
  background: linear-gradient(180deg, var(--blue-soft), var(--white));
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 52px);
}

.contact > div {
  max-width: none;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(10, 86, 168, 0.12);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 17, 31, 0.08);
}

.contact-info-icon {
  color: var(--gold);
  font-size: 22px;
  line-height: 1.2;
}

.contact-info-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.contact-info-card p {
  margin: 0;
  color: var(--muted);
}

.contact-info-card a {
  color: var(--blue);
  font-weight: 800;
  font-size: 20px;
}

.hotline-card {
  border-color: rgba(10, 86, 168, 0.22);
  background: linear-gradient(180deg, #ffffff, var(--blue-soft));
}

.trial-cta-card {
  align-self: stretch;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(214, 166, 43, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(214, 166, 43, 0.16), transparent 28%);
  box-shadow: 0 22px 54px rgba(7, 17, 31, 0.14);
}

.trial-cta-badge {
  justify-self: start;
  padding: 8px 13px;
  border: 1px solid rgba(214, 166, 43, 0.34);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(214, 166, 43, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.trial-cta-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.trial-cta-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.trial-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.trial-registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  scroll-margin-top: 130px;
}

.trial-registration-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.trial-registration-form input,
.trial-registration-form select,
.trial-registration-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(7, 55, 110, 0.18);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 500;
}

.trial-registration-form textarea {
  resize: vertical;
}

.trial-form-wide {
  grid-column: 1 / -1;
}

.button.trial-primary {
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--gold), #f2c15f);
  box-shadow: 0 16px 36px rgba(214, 166, 43, 0.32);
}

.button.trial-secondary {
  color: var(--blue-dark);
  background: transparent;
  border: 1px solid rgba(11, 31, 77, 0.22);
  box-shadow: none;
}

.button.trial-primary:hover,
.button.trial-secondary:hover {
  transform: translateY(-3px);
}

.button.trial-secondary:hover {
  color: var(--red);
  border-color: rgba(180, 26, 37, 0.42);
  background: rgba(180, 26, 37, 0.06);
}

.parent-portal {
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.parent-portal-heading {
  max-width: 980px;
  margin: 0 auto 30px;
  text-align: center;
}

.parent-portal-heading h2 {
  color: var(--blue-dark);
  font-size: clamp(28px, 3.4vw, 42px);
}

.parent-portal-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: #4d5e73;
}

.parent-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.parent-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(7, 55, 110, 0.1);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 17, 31, 0.08);
}

.parent-card-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.parent-card-heading > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(216, 169, 21, 0.16);
}

.parent-card h3 {
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.parent-card p {
  color: #526174;
}

.parent-field {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
}

.parent-field input,
.parent-field select,
.parent-field textarea {
  width: 100%;
  border: 1px solid rgba(7, 55, 110, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  color: #14243a;
  background: #f8fafc;
  font: inherit;
  font-weight: 500;
}

.parent-field textarea {
  resize: vertical;
}

.parent-field input:focus,
.parent-field select:focus,
.parent-field textarea:focus {
  outline: 3px solid rgba(216, 169, 21, 0.22);
  border-color: rgba(216, 169, 21, 0.72);
  background: #ffffff;
}

.parent-search-results {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
}

.parent-result-btn {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(7, 55, 110, 0.12);
  border-radius: 14px;
  color: #172840;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.parent-result-btn:hover,
.parent-result-btn.is-selected {
  border-color: rgba(216, 169, 21, 0.72);
  background: #fff8e5;
}

.parent-result-btn strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.parent-result-btn span {
  color: #5c6978;
  font-size: 13px;
}

.parent-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.parent-range-btn {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(7, 55, 110, 0.14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.parent-range-btn.active,
.parent-range-btn:hover {
  border-color: transparent;
  background: var(--gold);
}

.parent-profile {
  display: grid;
  gap: 14px;
}

.parent-student-box,
.parent-summary-grid,
.parent-history {
  border: 1px solid rgba(7, 55, 110, 0.1);
  border-radius: 16px;
  background: #f8fafc;
}

.parent-student-box {
  padding: 14px;
}

.parent-student-box h4 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 20px;
}

.parent-student-box p {
  margin: 0;
  font-size: 14px;
}

.parent-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.parent-summary-grid div {
  padding: 13px;
  border-right: 1px solid rgba(7, 55, 110, 0.08);
}

.parent-summary-grid div:last-child {
  border-right: 0;
}

.parent-summary-grid span {
  display: block;
  color: #617084;
  font-size: 13px;
  font-weight: 700;
}

.parent-summary-grid strong {
  color: var(--blue-dark);
  font-size: 22px;
}

.parent-history {
  overflow: hidden;
}

.parent-history-row {
  display: grid;
  grid-template-columns: 116px 76px 130px 1fr;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(7, 55, 110, 0.08);
  font-size: 14px;
  align-items: center;
}

.parent-history-row:last-child {
  border-bottom: 0;
}

.parent-status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 55, 110, 0.08);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.parent-status-present {
  background: rgba(34, 151, 85, 0.14);
  color: #116336;
}

.parent-status-excused {
  background: rgba(216, 169, 21, 0.2);
  color: #765600;
}

.parent-status-unexcused {
  background: rgba(215, 38, 61, 0.13);
  color: #a0192e;
}

.parent-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.parent-choice legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.parent-choice label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.parent-subtype-choice label {
  min-height: 42px;
}

.parent-inline-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 8px;
}

.parent-reschedule-origin-field {
  display: none;
}

.parent-request-form.is-reschedule-subtype .parent-reschedule-origin-field {
  display: grid;
}

.parent-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.parent-selected-student {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8e5;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.parent-reschedule-field {
  display: none;
}

.parent-request-form.is-reschedule .parent-reschedule-field {
  display: grid;
}

.parent-submit {
  width: 100%;
  margin-top: 4px;
}

.parent-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.parent-message.error {
  color: #b02035;
}

.parent-storage-note {
  margin: 16px 0 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(7, 55, 110, 0.06);
  font-size: 13px;
}

.parent-home-cta .parent-portal-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.parent-home-link {
  margin-top: 8px;
}

.parents-page {
  min-height: 100vh;
  background: #f6f9fd;
}

.parents-header {
  position: sticky;
}

.parents-header .header-top {
  justify-content: space-between;
}

.parent-home-button {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.parents-main {
  padding-top: 22px;
}

.parents-hero {
  padding: clamp(120px, 13vw, 150px) clamp(20px, 6vw, 88px) clamp(34px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(7, 55, 110, 0.92)),
    url("assets/thai-hai-real-2.jpg") center/cover;
}

.parents-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.parents-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
}

.trial-page {
  background: var(--white);
}

.trial-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 80vh;
  min-height: 560px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(34px, 5vw, 70px);
  overflow: hidden;
  background: #061a3c;
}

.trial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 14, 35, 0.12) 0%, rgba(4, 14, 35, 0.18) 48%, rgba(4, 14, 35, 0.72) 100%),
    linear-gradient(90deg, rgba(4, 14, 35, 0.32), rgba(7, 55, 110, 0.08), rgba(4, 14, 35, 0.26));
}

.trial-hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88) saturate(0.98);
}

.trial-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.trial-hero-primary,
.trial-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.trial-hero-primary {
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--gold), #f4c766);
  box-shadow: 0 18px 40px rgba(214, 166, 43, 0.34);
}

.trial-hero-primary:hover,
.trial-hero-secondary:hover {
  transform: translateY(-2px);
}

.trial-register-section {
  align-items: start;
}

.trial-info-column h2 {
  margin-bottom: 14px;
}

.trial-info-column > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
}

.trial-page .trial-cta-card {
  align-self: start;
}

.parent-portal-page {
  padding-top: clamp(36px, 5vw, 62px);
}

.parent-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.parent-page-note {
  max-width: 1180px;
  margin: 18px auto 0;
}

.parent-single-flow {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.parent-search-card,
.parent-selected-card,
.parent-action-panel {
  width: 100%;
}

.parent-selected-profile {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(7, 55, 110, 0.1);
  border-radius: 16px;
  background: #f8fafc;
}

.parent-selected-profile h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: clamp(22px, 2.5vw, 30px);
}

.parent-selected-profile p {
  margin: 0;
}

.parent-selected-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.parent-selected-details span {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #4d5e73;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.parent-selected-details strong {
  color: var(--blue-dark);
}

.parent-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.parent-action-btn,
.parent-change-student-btn {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 55, 110, 0.12);
  border-radius: 16px;
  color: var(--blue-dark);
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.parent-action-btn:hover,
.parent-action-btn.active {
  border-color: rgba(216, 169, 21, 0.72);
  background: #fff8e5;
  box-shadow: 0 12px 26px rgba(7, 17, 31, 0.08);
  transform: translateY(-2px);
}

.parent-change-student-btn {
  width: 100%;
  margin-top: 12px;
  color: #526174;
  background: #f1f5f9;
}

.parent-change-student-btn:hover {
  color: var(--blue-dark);
  border-color: rgba(7, 55, 110, 0.2);
  background: #ffffff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9d7e7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::before {
  content: "📍";
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--blue);
  font-size: 22px;
  pointer-events: none;
}

.select-wrap.is-selected::after {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

.select-wrap select {
  padding-left: 42px;
  padding-right: 42px;
  appearance: none;
  cursor: pointer;
}

.select-wrap select:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 3px solid rgba(10, 86, 168, 0.16);
  border-color: var(--blue);
}

.form-cta-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0a56a8 0%, #07376e 54%, #c71f2d 100%);
}

.form-cta-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.22);
  text-align: center;
  backdrop-filter: blur(10px);
}

.form-cta-card .eyebrow {
  color: #ffe08a;
}

.form-cta-card h2 {
  margin-bottom: 14px;
}

.form-cta-card p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.form-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.form-cta-emphasis {
  margin-top: 14px !important;
  color: #ffe08a !important;
  font-weight: 800;
}

.button.secondary.red-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark);
}

.footer p {
  margin: 0;
}

.footer-admin-link {
  align-self: center;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.footer-admin-link:hover {
  color: var(--gold-soft);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 17, 31, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox p {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  margin: 0;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 1050px) {
  .site-header {
    top: 10px;
    left: 14px;
    right: 14px;
    min-height: 76px;
    padding: 10px 16px;
  }

  .site-header::after {
    width: 260px;
    opacity: 0.72;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: clamp(18px, 3.2vw, 25px);
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .header-nav-row {
    display: block;
  }

  .nav {
    display: none;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  }

  .site-header.menu-open .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    justify-content: center;
    min-height: 46px;
    padding: 8px 10px;
    white-space: normal;
    word-break: keep-all;
  }

  .nav-admin-link {
    min-height: 46px;
    font-size: 14px;
    white-space: nowrap;
  }

  .nav a::after {
    left: 18px;
    right: 18px;
    bottom: 6px;
  }

  .program-grid,
  .values-grid,
  .location-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid .gallery-item.featured {
    grid-row: span 2;
  }

  .gallery-grid .gallery-item.wide {
    grid-column: span 2;
  }

  .album .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-gallery.trust-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .coach-gallery.trust-gallery .trust-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 520px);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    min-height: 74px;
  }

  .hero {
    height: 70vh;
    min-height: 520px;
  }

  .hero > img {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    padding: 170px 0 0;
  }

  .intro-layout,
  .coach-profile,
  .contact,
  .parent-portal-grid,
  .program-grid,
  .values-grid,
  .location-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .parent-page-grid {
    grid-template-columns: 1fr;
  }

  .intro-heading {
    text-align: left;
  }

  .intro-heading h2,
  .intro-heading > p:last-child,
  .intro-copy {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero-stats {
    width: min(88%, 760px);
    margin-top: 32px;
    margin-bottom: 42px;
  }

  .album-grid {
    grid-template-columns: 1fr 1fr;
  }

  .album .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid .gallery-item {
    min-height: 220px;
  }

  .gallery-grid .gallery-item.featured {
    min-height: 460px;
  }

  .gallery-grid .gallery-item.tall {
    min-height: 460px;
  }

  .coach-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }

  .coach-gallery.trust-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .certificate-card {
    grid-template-columns: 1fr;
  }

  .location-hotline {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    gap: 12px;
    border-radius: 16px;
  }

  .site-header::after {
    width: 170px;
    opacity: 0.5;
  }

  .brand {
    gap: 10px;
    padding-right: 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    padding: 3px;
    box-shadow:
      0 0 0 5px rgba(0, 132, 255, 0.1),
      0 0 18px rgba(0, 132, 255, 0.55);
  }

  .brand strong {
    font-size: clamp(15px, 4.4vw, 19px);
    line-height: 1.15;
  }

  .brand small {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 7px;
    margin-top: 4px;
    font-size: 10px;
  }

  .brand small::before,
  .brand small::after {
    content: none;
  }

  .trial-hero {
    height: 60vh;
    min-height: 420px;
    padding: 0 18px 26px;
  }

  .trial-hero-content {
    max-width: 100%;
  }

  .trial-hero-primary,
  .trial-hero-secondary {
    width: 100%;
    min-height: 48px;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 18px 26px;
  }

  .home-page .home-banner-hero {
    height: 60vh;
    min-height: 420px;
  }

  .home-page .hero-background {
    object-position: center top;
  }

  .home-hero-hotspots {
    display: none;
  }

  .home-hero-cta {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .home-hero-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 16px 18px;
    font-size: 18px;
  }

  .site-header.menu-open .nav {
    grid-template-columns: 1fr;
  }

  .home-page .nav-admin-link {
    margin-left: 0;
  }

  .nav {
    font-size: 14px;
  }

  .nav a {
    min-height: 44px;
  }

  .hero {
    height: 60vh;
    min-height: 420px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.95));
  }

  .hero > img {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 450px 0 0;
    margin-left: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-slogan {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .parents-header .header-top {
    align-items: flex-start;
  }

  .parent-home-button {
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .parents-hero {
    padding-top: 120px;
  }

  .trial-hero {
    height: 60vh;
    min-height: 420px;
    padding: 0 18px 26px;
  }

  .trial-cta-actions {
    grid-template-columns: 1fr;
  }

  .trial-registration-form {
    grid-template-columns: 1fr;
  }

  .parent-card {
    padding: 20px;
  }

  .parent-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-summary-grid div:nth-child(2) {
    border-right: 0;
  }

  .parent-summary-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 55, 110, 0.08);
  }

  .parent-form-grid,
  .parent-history-row {
    grid-template-columns: 1fr;
  }

  .parent-selected-details,
  .parent-action-buttons,
  .parent-inline-fields {
    grid-template-columns: 1fr;
  }

  .parent-history-row {
    gap: 6px;
  }

  .form-submit-link {
    width: 100%;
  }

  .hero-stats {
    width: calc(100% - 32px);
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .hero-hotline-card,
  .values-grid article,
  .program-grid article,
  .location-grid article,
  .achievement-grid article,
  .contact-form {
    padding: 20px;
  }

  .hero-hotline-card {
    padding: 28px 20px;
  }

  .hero-stats strong {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .hero-hotline-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-hotline-button {
    width: 100%;
    min-height: 42px;
  }

  .values-grid article {
    min-height: 170px;
    border-radius: 18px;
  }

  .intro-stats {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .intro-stats div {
    min-height: 104px;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .album .album-grid {
    grid-template-columns: 1fr;
  }

  .album .album-img,
  .album .album-img.featured,
  .album .album-img.wide,
  .album .album-img.tall {
    grid-column: auto;
    max-height: none;
  }

  .gallery-grid .gallery-item,
  .gallery-grid .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .gallery-grid .gallery-item.wide,
  .gallery-grid .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid .gallery-item.wide {
    aspect-ratio: 16 / 10;
  }

  .gallery-grid .gallery-item.tall {
    aspect-ratio: 3 / 4;
  }

  .gallery-grid .gallery-img {
    border-radius: 18px;
  }

  .gallery-grid .gallery-img.contain {
    padding: 6px;
  }

  .coach-portrait img {
    height: 300px;
  }

  .coach-panel,
  .coach-portrait,
  .gallery-item {
    border-radius: 14px;
  }

  .gallery-item.trust-card {
    border-radius: 20px;
  }

  .coach-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }

  .coach-gallery.trust-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 310px;
  }

  .coach-gallery.trust-gallery .trust-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .gallery-item.trust-card .trust-card-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .trust-card-copy strong {
    font-size: 20px;
  }

  .trust-card-copy em {
    max-width: 100%;
    font-size: 13px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .location-actions {
    display: grid;
  }

  .training-time li {
    display: grid;
    gap: 2px;
  }

  .training-time li strong {
    text-align: left;
  }

  .coach-card {
    grid-template-columns: 76px 1fr;
  }

  .coach-card img {
    width: 76px;
    height: 76px;
  }

  .footer {
    display: grid;
  }

  .footer-admin-link {
    align-self: start;
  }

  .form-cta-actions {
    display: grid;
  }
}

@media (max-width: 1050px) {
  .training-programs .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .training-programs .program-grid {
    grid-template-columns: 1fr;
  }

  .training-programs .program-card {
    padding: 24px;
  }
}

.admin-entry-section {
  padding: 0 clamp(18px, 5vw, 64px) 44px;
  background: var(--white);
  text-align: center;
}

.admin-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(11, 31, 77, 0.14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.1);
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.admin-entry-link:hover {
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.16);
}

/* Unified typography */
body {
  font-family: 'Be Vietnam Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
}

.brand strong {
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.04;
}

h2,
.section-heading h2,
.intro-heading h2,
.training-heading h2,
.coach-heading h2,
.location-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.22;
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

p,
li,
.hero-copy,
.achievement-copy,
.intro-copy,
.trial-cta-card p {
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.8;
  font-weight: 400;
}

.nav {
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
}

.button,
.hero-hotline-button,
.contact-form button,
.form-submit-link,
.admin-entry-link {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
}

.hero-stats span,
.intro-stats span,
.hero-hotline-label,
.hero-hotline-note,
.hero-stats .hero-hotline-note {
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 500;
}

.hero-stats strong,
.intro-stats strong {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
}

@media (max-width: 560px) {
  .brand strong {
    font-size: clamp(15px, 4.4vw, 19px);
    line-height: 1.15;
  }
}

/* Mobile image safety: keep full people/banner artwork visible */
@media (max-width: 768px) {
  .hero > img,
  .hero-background,
  .home-page .hero-background,
  .trial-hero-banner,
  .coach-profile-photo img,
  .gallery-item.trust-card img,
  .album-item img,
  .certificate-card img {
    object-fit: contain;
    object-position: center;
  }

  .hero,
  .home-page .home-banner-hero,
  .trial-hero {
    background: #07111f;
  }

  .home-page .home-banner-hero,
  .trial-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .home-page .hero-background,
  .trial-hero-banner {
    background-color: #07111f;
  }

  .site-header {
    max-width: calc(100vw - 20px);
  }

  .nav a,
  .button,
  .trial-hero-primary,
  .trial-hero-secondary,
  .parent-change-student-btn,
  .parent-action-buttons button,
  .trial-registration-form button {
    min-height: 44px;
    font-size: max(14px, 0.95rem);
  }

  .brand strong,
  .parents-hero h1,
  .form-cta-card h2 {
    overflow-wrap: anywhere;
  }
}

/* Public mobile navigation and hero repair */
@media (max-width: 768px) {
  body.home-page {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 1000;
    max-width: none;
    min-height: 0;
    padding: 9px 10px;
    gap: 8px;
    overflow: visible;
    border-radius: 16px;
  }

  .header-top {
    gap: 8px;
  }

  .brand {
    max-width: calc(100% - 82px);
    gap: 9px;
    padding-right: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    display: block;
    max-width: 100%;
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.15;
    overflow-wrap: normal;
  }

  .brand small {
    display: block;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    min-width: 66px;
    height: 42px;
    padding: 8px 9px;
    color: var(--white);
  }

  .mobile-menu-button span {
    width: 17px;
  }

  .mobile-menu-button strong {
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.open,
  .site-header.menu-open .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-height: calc(100vh - 112px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
  }

  .mobile-nav a,
  .mobile-nav .nav-admin-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    text-align: left;
    white-space: normal;
  }

  .mobile-nav a.active {
    color: var(--blue-dark);
    background: rgba(255, 248, 229, 0.95);
  }

  .mobile-nav a::after {
    content: none;
  }

  .home-page .home-banner-hero {
    height: clamp(520px, 72vh, 720px);
    min-height: 520px;
    aspect-ratio: auto;
    margin: 0;
    background: #07111f;
  }

  .home-page .hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background-color: #07111f;
    border-radius: 0;
  }

  .home-page .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.04) 0%, rgba(7, 17, 31, 0.22) 52%, rgba(7, 17, 31, 0.82) 100%);
  }

  .home-hero-cta {
    left: 14px;
    right: 14px;
    bottom: 18px;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
  }

  .home-hero-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 14px;
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .brand small {
    font-size: 9px;
  }

  .home-page .home-banner-hero {
    height: 64vh;
    min-height: 500px;
  }

  .home-page .hero-background {
    object-position: center top;
  }
}

/* Modern martial arts landing hero */
.home-hero-copy {
  position: absolute;
  display: none;
  left: clamp(22px, 6vw, 92px);
  top: clamp(190px, 23vh, 270px);
  z-index: 3;
  width: min(560px, 48vw);
  color: #ffffff;
  pointer-events: none;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  margin: 0 0 16px;
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-radius: 999px;
  color: #f7c948;
  background: rgba(6, 10, 18, 0.5);
  box-shadow: 0 12px 34px rgba(196, 30, 38, 0.2);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5.2vw, 86px);
  line-height: 0.95;
  font-weight: 800;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.56);
}

.home-hero-copy h1 span:nth-child(2) {
  color: #f7c948;
}

.home-core-values {
  position: absolute;
  left: clamp(22px, 6vw, 92px);
  bottom: clamp(24px, 4vh, 44px);
  z-index: 4;
  display: none;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 10px;
  width: min(760px, calc(100% - 44px));
}

.home-core-values div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(247, 201, 72, 0.2);
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(7, 10, 16, 0.7), rgba(97, 12, 17, 0.42));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.home-core-values span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #07111f;
  background: linear-gradient(135deg, #f7c948, #e3b322);
  box-shadow: 0 0 20px rgba(247, 201, 72, 0.28);
  font-size: 16px;
}

.home-core-values strong {
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.25;
  font-weight: 700;
}

@keyframes thaiHaiHeroGlow {
  0%, 100% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(-1%, 1%, 0) scale(1.04);
  }
}

.home-page .home-banner-hero::before {
  content: "";
  position: absolute;
  display: none;
  right: 2%;
  top: 26%;
  z-index: 2;
  width: min(560px, 48vw);
  height: min(560px, 48vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 38, 45, 0.42), rgba(216, 38, 45, 0.14) 36%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  animation: thaiHaiHeroGlow 5s ease-in-out infinite;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .home-page .site-header {
    top: 8px;
    left: 8px;
    right: 8px;
    min-height: 82px;
    max-height: 100px;
    padding: 8px 10px;
    border-radius: 18px;
    background: linear-gradient(95deg, rgba(7, 8, 13, 0.86), rgba(57, 7, 10, 0.74));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(14px);
  }

  .home-page .header-top {
    min-height: 64px;
    align-items: center;
  }

  .home-page .brand {
    max-width: calc(100% - 82px);
    gap: 8px;
  }

  .home-page .brand-logo {
    width: 34px;
    height: 34px;
    padding: 2px;
    border-width: 1px;
    box-shadow: 0 0 0 4px rgba(222, 34, 34, 0.1), 0 8px 18px rgba(0, 0, 0, 0.28);
  }

  .home-page .brand strong {
    font-size: clamp(12px, 3.35vw, 16px);
    line-height: 1.15;
    font-weight: 800;
  }

  .home-page .brand small {
    margin-top: 2px;
    color: #f7c948;
    font-size: clamp(9px, 2.45vw, 11px);
    line-height: 1.2;
    font-weight: 600;
  }

  .home-page .mobile-menu-button {
    min-width: 68px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
  }

  .home-page .home-banner-hero {
    min-height: 100svh;
    height: 100svh;
    margin: 0;
    background: #050608;
  }

  .home-page .hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1;
  }

  .home-page .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 4, 8, 0.74) 0%, rgba(14, 9, 12, 0.42) 42%, rgba(8, 6, 9, 0.08) 78%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.1) 48%, rgba(4, 5, 9, 0.78) 100%),
      radial-gradient(circle at 78% 55%, rgba(217, 22, 32, 0.42), transparent 36%);
  }

  .home-page .home-banner-hero::before {
    right: -22%;
    top: 30%;
    width: 86vw;
    height: 86vw;
    opacity: 0.8;
  }

  .home-hero-copy {
    display: block;
    left: 18px;
    top: clamp(132px, 17svh, 180px);
    width: min(72vw, 360px);
  }

  .home-hero-kicker {
    min-height: 28px;
    padding: 5px 11px;
    margin-bottom: 10px;
    font-size: clamp(9px, 2.3vw, 12px);
    letter-spacing: 0;
    background: rgba(6, 10, 18, 0.28);
  }

  .home-hero-copy h1 {
    gap: 0;
    font-size: clamp(30px, 9.8vw, 54px);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .home-hero-cta {
    left: 18px;
    right: 18px;
    bottom: clamp(104px, 14svh, 136px);
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-hero-cta-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 13px 17px;
    border-radius: 22px;
    white-space: normal;
    text-align: left;
    transform: translateZ(0);
  }

  .home-hero-cta-button strong {
    display: block;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.15;
    font-weight: 800;
  }

  .home-hero-cta-button span {
    display: block;
    margin-top: 3px;
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.25;
    font-weight: 600;
    opacity: 0.9;
  }

  .home-hero-trial,
  .home-hero-call {
    min-width: 0;
  }

  .home-hero-trial {
    color: #ffffff;
    background: linear-gradient(135deg, #b5121b, #e22d34);
    box-shadow: 0 18px 38px rgba(184, 18, 27, 0.48);
  }

  .home-hero-call {
    color: #07111f;
    background: linear-gradient(135deg, #f7c948, #e3b322);
    box-shadow: 0 18px 38px rgba(227, 179, 34, 0.28);
  }

  .home-core-values {
    display: grid;
    left: 10px;
    right: 10px;
    bottom: 16px;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .home-core-values div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 70px;
    padding: 8px 4px;
    gap: 5px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(155deg, rgba(7, 10, 16, 0.68), rgba(103, 13, 18, 0.42));
  }

  .home-core-values span {
    width: 26px;
    height: 26px;
    margin: 0 auto;
    font-size: 12px;
  }

  .home-core-values strong {
    display: block;
    font-size: clamp(9px, 2.35vw, 11px);
    line-height: 1.15;
    font-weight: 700;
    overflow-wrap: normal;
  }

  .mobile-nav.open,
  .site-header.menu-open .mobile-nav {
    top: calc(100% + 8px);
    background: rgba(7, 8, 13, 0.98);
    border-color: rgba(247, 201, 72, 0.22);
  }
}

@media (max-width: 390px) {
  .home-hero-copy {
    top: 126px;
    width: 76vw;
  }

  .home-hero-copy h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .home-hero-cta {
    bottom: 100px;
  }

  .home-hero-cta-button {
    min-height: 58px;
    border-radius: 19px;
  }

  .home-core-values div {
    min-height: 66px;
  }
}

