/* 职业驾校 Demo — 墨绿金视觉 */

:root {
  --red: #0E6B4F;
  --red-dark: #094C38;
  --red-soft: #2A9A72;
  --gold: #C9A24A;
  --gold-light: #E8D5A3;
  --green: #1F8A4C;
  --ink: #121A18;
  --ink-soft: #2F3B36;
  --cream: #F4F6F1;
  --paper: #FBFDFA;
  --line: #D8E2D6;
  --muted: #6A756E;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(28, 20, 20, 0.12);
  --shadow-lg: 0 30px 80px rgba(28, 20, 20, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --en: "Cinzel", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.75;
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; }

.page-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #2A9A72 0%, var(--red) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(14, 107, 79, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 107, 79, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.btn-ghost {
  width: 100%;
  background: transparent;
  color: var(--red);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--red);
  background: rgba(14, 107, 79, 0.06);
}

.btn-lg { padding: 15px 34px; }
.btn-block { width: 100%; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8, 22, 18, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.22);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(8, 22, 18, 0.94);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
  min-width: 0;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(160deg, #2A9A72, var(--red-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(232,213,163,0.35);
}

.logo-text { display: flex; flex-direction: column; color: var(--white); }
.logo-text strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; line-height: 1.2; }
.logo-text small { font-family: var(--en); font-size: 0.5rem; letter-spacing: 0.16em; opacity: 0.65; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  min-width: 0;
}
.nav a {
  flex-shrink: 0;
  white-space: nowrap;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  position: relative;
}
.nav a::after { display: none; }
.nav a:hover, .nav a.active {
  color: var(--ink);
  background: var(--gold-light);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.header-cta { padding: 9px 20px; font-size: 0.82rem; border-radius: 999px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,13,0.92) 0%, rgba(6,16,13,0.55) 52%, rgba(6,16,13,0.35) 100%),
    linear-gradient(180deg, rgba(6,16,13,0.35) 0%, rgba(6,16,13,0.72) 100%);
}

.hero-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 56px 28px 40px;
  width: 100%;
}

.hero-copy { color: var(--white); max-width: 640px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(201,162,74,0.45);
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--white);
}
.hero-title span {
  display: block;
  margin-top: 6px;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { border-radius: 999px; }

.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232,213,163,0.28);
  backdrop-filter: blur(18px);
  padding: 28px 26px 24px;
  color: var(--white);
}
.hero-panel-tag {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-chips li {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.hero-meta { display: grid; gap: 16px; margin-bottom: 22px; }
.hero-meta dt {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.hero-meta dd { font-size: 1.02rem; font-weight: 600; }
.hero-meta a { color: var(--white); }

.hero-stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(8, 22, 18, 0.72);
  border-top: 1px solid rgba(201,162,74,0.25);
  backdrop-filter: blur(10px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 22px 28px 26px;
}

.hero-art {
  position: absolute;
  inset: -4%;
  background: url("../images/fleet.jpg") center 62% / cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: 68% 60%;
}

.course-photo.photo-c1 { background: #12352b; }
.course-photo.photo-c2 { background: #0e3550; }
.course-photo.photo-d { background: #3d280c; }
.course-photo.photo-c5 { background: #12343f; }
.course-photo.photo-c6 { background: #1c1638; }
.course-photo.photo-pl { background: #142018; }
.course-photo.photo-pl img { object-position: center 84%; }
.course-photo.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 18, 0.42) 0%, transparent 46%);
  pointer-events: none;
}
.course-photo.photo-c1 img { object-position: center 58%; }
.course-photo.photo-c2 img { object-position: center 68%; }
.course-photo.photo-d img { object-position: center 82%; }
.course-photo.photo-c5 img { object-position: center 62%; }
.course-photo.photo-c6 img { object-position: center 70%; }
.course-type { z-index: 1; }
.course-photo .course-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.92);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.honor-card {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.honor-card h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 14px; color: var(--red); }
.honor-card li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.honor-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.stat-item { padding: 0 12px; border-left: 1px solid rgba(255,255,255,0.12); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item em { font-style: normal; color: var(--gold); font-size: 1.2rem; }
.stat-item span { color: rgba(255,255,255,0.58); font-size: 0.82rem; }

/* Trust strip */
.trust-strip {
  background: var(--ink);
  color: var(--gold-light);
  overflow: hidden;
  border-bottom: 1px solid rgba(201,162,74,0.2);
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.trust-inner span { opacity: 0.85; }
.trust-inner span::before {
  content: "◆";
  color: var(--gold);
  margin-right: 10px;
  font-size: 0.6rem;
}

/* Sections */
.section { padding: 108px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; margin-bottom: 36px; }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-subtitle { color: rgba(255,255,255,0.62); }

.section-tag {
  display: block;
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-subtitle { color: var(--muted); font-size: 1rem; }

.ornament {
  width: 72px; height: 10px;
  margin: 18px auto 0;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.ornament::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}
.ornament.light { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.ornament.left { margin-left: 0; }

/* About */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.frame-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid var(--gold);
}
.frame-corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.frame-corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.frame-corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.frame-corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

.about-quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--red);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 22px;
}

.about-content .lead {
  font-size: 1.08rem;
  margin-bottom: 16px;
}
.about-content p { color: var(--ink-soft); margin-bottom: 14px; }
.about-content strong { color: var(--red); font-weight: 700; }

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-tags span {
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Strength */
.strength {
  position: relative;
  background: #0C1814;
  overflow: hidden;
}
.strength-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(14,107,79,0.28), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(201,162,74,0.12), transparent 40%);
}
.strength-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strength-card {
  position: relative;
  padding: 32px 24px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(201,162,74,0.16);
  transition: transform var(--transition), border-color var(--transition);
}
.strength-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,74,0.5);
}
.strength-index {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--en);
  color: rgba(201,162,74,0.28);
  font-size: 1.1rem;
}
.strength-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  margin-bottom: 18px;
}
.strength-icon svg { width: 24px; height: 24px; }
.strength-card h3 { color: var(--white); font-family: var(--serif); font-size: 1.12rem; margin-bottom: 10px; }
.strength-card p { color: rgba(255,255,255,0.58); font-size: 0.88rem; }

/* Courses */
.courses { background: var(--cream); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  align-items: stretch;
}
.course-card {
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28,20,20,0.06);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.course-card.featured {
  border-color: var(--red);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.course-photo { position: relative; height: 180px; overflow: hidden; }
.course-photo img { width: 100%; height: 100%; object-fit: cover; }
.course-type {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink);
  color: var(--gold-light);
  padding: 4px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.course-card.featured .course-type { background: var(--red); color: var(--white); }
.course-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 4px; }
.course-sub { color: var(--muted); font-size: 0.86rem; margin-bottom: 16px; }
.course-features { flex: 1; margin-bottom: 22px; }
.course-features li {
  padding: 9px 0 9px 22px;
  position: relative;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.course-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.packages-title {
  text-align: center;
  font-family: var(--serif);
  margin-bottom: 28px;
}
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.package-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.package-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
}
.package-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.package-item p { font-size: 0.85rem; color: var(--muted); }

/* Process */
.process { background: var(--paper); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}
.process-list li {
  position: relative;
  padding: 8px 28px 8px 0;
  text-align: left;
}
.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px; right: 12px;
  width: calc(100% - 70px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.process-list span {
  display: block;
  font-family: var(--en);
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.process-list strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.process-list p { color: var(--muted); font-size: 0.88rem; }

/* Advantages */
.advantages { background: var(--cream); }
.advantages-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.advantages-visual { position: relative; box-shadow: var(--shadow-lg); }
.advantages-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 60%; }
.photo-slot {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(14,107,79,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #e8eee8, #d5ddd6);
  border: 1px dashed rgba(14,107,79,0.28);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}
.photo-slot span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink-soft);
}
.photo-slot small { font-size: 0.82rem; letter-spacing: 0.06em; }
.photo-slot.compact { aspect-ratio: auto; height: 100%; min-height: 220px; border: 0; }
.gallery-item.photo-slot-wrap {
  cursor: pointer;
  background: transparent;
  box-shadow: none;
}
.gallery-item.photo-slot-wrap .js-photo-upload {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.photo-slot.has-image {
  padding: 0;
  border-style: solid;
}
.photo-slot.has-image span,
.photo-slot.has-image small { display: none; }
.photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.advantages-float {
  position: absolute;
  right: 20px; bottom: 20px;
  background: var(--red);
  color: var(--white);
  padding: 16px 22px;
  text-align: right;
}
.advantages-float strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
.advantages-float span { font-size: 0.78rem; opacity: 0.85; }

.advantage-list { display: flex; flex-direction: column; gap: 8px; }
.advantage-item {
  display: flex;
  gap: 18px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.advantage-num {
  font-family: var(--en);
  color: var(--gold);
  font-size: 1.1rem;
  min-width: 36px;
}
.advantage-item h4 { font-family: var(--serif); margin-bottom: 4px; }
.advantage-item p { font-size: 0.88rem; color: var(--muted); }

/* Gallery */
.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 200px 200px 250px;
  gap: 14px;
}
.gallery-item.feature { grid-column: span 4; grid-row: span 2; }
.gallery-item.side { grid-column: span 2; }
.gallery-item.half { grid-column: span 3; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  color: inherit;
  font: inherit;
  text-align: left;
  min-height: 0;
  height: 100%;
}
.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.gallery-item.wide { grid-column: 1 / -1; min-height: 240px; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 0;
  transition: transform 0.8s ease, filter 0.4s;
  filter: saturate(0.92);
  object-position: center 62%;
}
.gallery-item.feature img { object-position: center 58%; }
.gallery-item[data-src="images/c6-exam.jpg"] img { object-position: center 70%; }
.gallery-item[data-src="images/moto-ground.jpg"] img { object-position: center bottom; }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: var(--white);
  font-size: 0.88rem;
  text-align: left;
}

/* Reviews */
.reviews { background: var(--paper); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  margin: 0;
  padding: 28px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  color: var(--ink-soft);
  quotes: none;
}

/* CTA */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--red-dark);
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(201,162,74,0.22), transparent 45%),
    linear-gradient(90deg, var(--red-dark), var(--red));
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-kicker {
  font-family: var(--en);
  letter-spacing: 0.28em;
  color: var(--gold-light);
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.cta-text h2 { font-family: var(--serif); color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-text p:last-child { color: rgba(255,255,255,0.8); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--red);
  color: var(--white);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--muted); }
.contact-card a { color: var(--red); font-weight: 700; font-size: 1.15rem; }

.contact-form-wrap {
  background: var(--paper);
  padding: 40px 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-qr { text-align: center; }
.contact-qr h3 { font-family: var(--serif); font-size: 1.4rem; }
.contact-qr img {
  display: block;
  width: 240px;
  height: 240px;
  margin: 0 auto;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}
.form-lead { color: var(--muted); margin: 8px 0 24px; font-size: 0.9rem; }
.form-note { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 14px; }

/* Footer */
.footer {
  background: #0A1612;
  color: rgba(255,255,255,0.62);
  padding: 64px 0 0;
  border-top: 1px solid rgba(201,162,74,0.2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4 {
  color: var(--gold-light);
  font-family: var(--serif);
  margin-bottom: 6px;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact a { color: var(--white); font-weight: 600; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.78rem;
}
.demo-badge {
  border: 1px solid rgba(201,162,74,0.4);
  color: var(--gold-light);
  padding: 3px 10px;
}

/* Dock */
.float-dock {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-call {
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(14,107,79,0.4);
}
.back-top {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--gold-light);
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.back-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(8,4,4,0.92);
  display: grid;
  place-items: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 18px; right: 24px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-art { animation: none; }
}

@media (max-width: 1100px) {
  .nav { gap: 4px; }
  .header-phone { display: none; }
  .hero-stage { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px 28px; }
  .hero-panel { max-width: 440px; }
  .strength-grid, .courses-grid, .packages-grid, .process-list, .honor-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .process-list li:not(:last-child)::after { display: none; }
  .course-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(8,22,18,0.97);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px 20px 20px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    flex: none;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a {
    padding: 14px 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav a:hover, .nav a.active {
    color: var(--gold-light);
    background: transparent;
  }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .about-grid, .advantages-layout, .contact-grid { grid-template-columns: 1fr; }
  .strength-grid, .courses-grid, .packages-grid, .process-list, .review-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .honor-grid { grid-template-columns: 1fr; }
  .stat-item { border-left: 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 156px 156px;
  }
  .gallery-item.feature,
  .gallery-item.side,
  .gallery-item.half {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .gallery-item.feature { grid-column: 1 / -1; }
  .cta-inner, .footer-top { grid-template-columns: 1fr; display: grid; }
  .section { padding: 72px 0; }
  .trust-inner { justify-content: flex-start; overflow-x: auto; }
  .hero-title { font-size: 2.15rem; }
}

@media (max-width: 480px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .contact-form-wrap { padding: 24px 18px; }
}
