:root {
  --font-body: "Inter", "Noto Sans", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --ink: #18202a;
  --muted: #5e6977;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --warm: #fff8f3;
  --accent: #e76524;
  --accent-dark: #b74616;
  --steel: #2f4658;
  --deep: #22313f;
  --green: #55705e;
  --radius: 8px;
  --shadow-soft: 0 18px 60px rgba(24, 32, 42, 0.12);
  --shadow-card: 0 16px 48px rgba(24, 32, 42, 0.1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 240ms ease, background 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 32px rgba(24, 32, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--steel);
  border-left: 7px solid var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(231, 101, 36, 0.26);
}

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

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav a.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

.lang-switch {
  padding: 7px 11px !important;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
}

.mobile-lang-switch {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--warm);
  border: 1px solid rgba(231, 101, 36, 0.28);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: calc(100vh - 80px);
  background: linear-gradient(90deg, #f7f4ee 0%, #f5f7f8 100%);
}

.hero-copy {
  align-self: center;
  padding: clamp(48px, 8vw, 104px) clamp(22px, 6vw, 96px);
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  animation: heroIn 980ms var(--ease-out) forwards;
}

.js .hero-copy > *:nth-child(2) {
  animation-delay: 160ms;
}

.js .hero-copy > *:nth-child(3) {
  animation-delay: 300ms;
}

.js .hero-copy > *:nth-child(4) {
  animation-delay: 440ms;
}

.js .hero-copy > *:nth-child(5) {
  animation-delay: 580ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(47, 70, 88, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(24, 32, 42, 0.16);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(183, 70, 22, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--accent-dark);
  border-color: rgba(231, 101, 36, 0.34);
  background: var(--warm);
}

.hero-media {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: var(--steel);
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms var(--ease-out);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide.is-active img {
  animation: heroImageDrift 14s ease-in-out infinite alternate;
}

.hero-carousel-controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-carousel-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(24, 32, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms ease;
}

.hero-carousel-button:hover {
  transform: translateY(-2px);
  background: rgba(231, 101, 36, 0.9);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  background: rgba(24, 32, 42, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.54);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms ease;
}

.hero-carousel-dot.is-active {
  transform: scale(1.45);
  background: #fff;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.04), rgba(24, 32, 42, 0.24));
  pointer-events: none;
  z-index: 2;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats-band div {
  padding: 24px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
  transition: background 220ms ease;
}

.stats-band div:hover {
  background: var(--warm);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
}

.section,
.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 7vw, 144px);
}

.section.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
}

.section-heading h2,
.page-hero h1,
.split h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.page-hero {
  background: var(--steel);
  color: #fff;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.service-grid,
.media-grid,
.text-grid,
.trust-grid,
.process-grid,
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.certificate-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.module-grid-count-1 {
  grid-template-columns: minmax(0, min(100%, 760px));
}

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

.module-grid-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.intro-split,
.capability-section,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: start;
}

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

.media-grid.one {
  grid-template-columns: 1fr;
}

.service-card,
.media-tile,
.text-tile,
.process-step,
.video-card,
.certificate-card,
.contact-panel,
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}

.service-card:hover,
.media-tile:hover,
.text-tile:hover,
.process-step:hover,
.video-card:hover,
.certificate-card:hover {
  transform: translateY(-10px);
  border-color: rgba(231, 101, 36, 0.36);
  box-shadow: 0 24px 64px rgba(24, 32, 42, 0.16);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.service-card:hover img,
.media-tile:hover img {
  transform: scale(1.09);
  filter: saturate(1.14) contrast(1.06);
}

.service-card div,
.text-tile,
.process-step {
  padding: 22px;
}

.service-card h3,
.text-tile h3,
.process-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-card p,
.text-tile p,
.process-step p,
.split p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  background: var(--deep);
  color: #fff;
}

.process-section .eyebrow {
  color: #ffb48a;
}

.process-section .section-heading p:not(.eyebrow),
.process-step p {
  color: rgba(255, 255, 255, 0.74);
}

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

.process-step {
  min-height: 240px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  inset: auto 22px 20px 22px;
  height: 2px;
  background: linear-gradient(90deg, #ffb48a, rgba(255, 180, 138, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease-out);
}

.process-step:hover::after {
  transform: scaleX(1);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 26px;
  color: #ffb48a;
  font-weight: 900;
  font-size: 14px;
}

.capability-section {
  background: var(--warm);
}

.capability-copy {
  position: sticky;
  top: 104px;
}

.capability-copy h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
}

.capability-copy p,
.cta-band p {
  color: var(--muted);
}

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

.cta-band {
  margin: clamp(32px, 5vw, 64px) clamp(20px, 7vw, 144px);
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: var(--steel);
  border-radius: var(--radius);
  align-items: center;
}

.cta-band .eyebrow {
  color: #ffb48a;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-band .button {
  justify-self: end;
  background: var(--accent);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.media-tile figcaption {
  padding: 12px 14px;
  font-weight: 800;
}

.certificate-card {
  display: flex;
  flex-direction: column;
}

.certificate-image {
  display: block;
  padding: 14px;
  background: #f7f7f4;
}

.certificate-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

.certificate-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
}

.certificate-copy h3 {
  margin: 0;
  font-size: 22px;
}

.certificate-copy p {
  margin: 0;
  color: var(--muted);
}

.certificate-meta {
  color: var(--muted);
  font-size: 13px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #17232c;
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #17232c;
  transition: opacity 180ms ease;
}

.video-frame video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.video-card.is-ready .video-poster {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(20, 31, 40, 0.92);
}

.video-control-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.video-control-button:hover,
.video-control-button:focus-visible {
  color: #f6a477;
  outline: none;
}

.video-control-button .video-toggle-icon.is-play {
  margin-left: 3px;
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
}

.video-control-button .video-toggle-icon.is-pause {
  width: 11px;
  height: 15px;
  border-right-width: 4px;
  border-left-width: 4px;
}

.video-time {
  flex: 0 0 auto;
  min-width: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}

.video-seek {
  flex: 1 1 auto;
  min-width: 36px;
  height: 18px;
  margin: 0;
  accent-color: #f06320;
  cursor: pointer;
}

.video-volume-icon,
.video-fullscreen-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
}

.video-volume-icon::before {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 5px;
  height: 7px;
  background: currentColor;
  content: '';
}

.video-volume-icon::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 8px solid currentColor;
  border-bottom: 6px solid transparent;
  content: '';
}

.video-control-button.is-muted .video-volume-icon::before {
  background: transparent;
  border: 2px solid currentColor;
}

.video-control-button.is-muted .video-volume-icon::after {
  left: 1px;
  width: 17px;
  height: 2px;
  border: 0;
  background: currentColor;
  transform: rotate(-45deg);
}

.video-fullscreen-icon {
  border: 2px solid currentColor;
  border-radius: 1px;
}

.video-fullscreen-icon::before,
.video-fullscreen-icon::after {
  position: absolute;
  background: #17232c;
  content: '';
}

.video-fullscreen-icon::before {
  top: -2px;
  right: 3px;
  bottom: -2px;
  left: 3px;
}

.video-fullscreen-icon::after {
  top: 3px;
  right: -2px;
  bottom: 3px;
  left: -2px;
}

.video-fullscreen-icon {
  box-shadow: inset 0 0 0 2px #17232c;
}

.video-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 31, 40, 0.72);
  box-shadow: 0 10px 24px rgba(5, 12, 17, 0.24);
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
  cursor: pointer;
}

.video-toggle:hover,
.video-toggle:focus-visible {
  background: rgba(240, 99, 32, 0.92);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-toggle-icon {
  position: relative;
  display: block;
  width: 0;
  height: 0;
}

.video-toggle-icon.is-play {
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.video-toggle-icon.is-pause {
  width: 14px;
  height: 18px;
  border-right: 5px solid currentColor;
  border-left: 5px solid currentColor;
}

.video-card.is-playing .video-toggle {
  opacity: 0.18;
}

.video-card.is-playing .video-toggle:hover,
.video-card.is-playing .video-toggle:focus-visible {
  opacity: 1;
}

.video-card.has-error .video-toggle {
  opacity: 1;
}

.video-error {
  position: absolute;
  right: 18px;
  bottom: 52px;
  left: 18px;
  z-index: 3;
  margin: 0;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  background: rgba(20, 31, 40, 0.84);
}

.video-error[hidden] {
  display: none;
}

.video-card-copy {
  padding: 22px;
}

.video-card-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.video-card-copy p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: center;
}

.contact-panel {
  display: block;
  max-width: 900px;
}

.contact-panel > div {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
}

.contact-list dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 144px);
  color: #fff;
  background: var(--ink);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-body {
  background: var(--soft);
}

.admin-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-header strong,
.admin-header span {
  display: block;
}

.admin-header strong {
  font-size: 24px;
}

.admin-header span,
.admin-help {
  color: var(--muted);
}

.admin-panel {
  padding: 24px;
  margin-bottom: 18px;
}

.admin-nav {
  position: sticky;
  top: 78px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px;
  background: rgba(245, 247, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.admin-nav a {
  padding: 8px 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  color: var(--ink);
  border-color: rgba(231, 101, 36, 0.42);
  outline: none;
}

.admin-panel.narrow {
  max-width: 460px;
  margin: 40px auto;
}

.admin-panel h1,
.admin-panel h2,
.admin-panel h3 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.admin-item {
  padding: 18px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

details.admin-item {
  padding: 0;
  overflow: hidden;
}

details.admin-item > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

details.admin-item > summary::-webkit-details-marker {
  display: none;
}

details.admin-item > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--steel);
  border-radius: 50%;
  font-weight: 900;
}

details.admin-item[open] > summary::after {
  content: "-";
  background: var(--accent);
}

.admin-item-body {
  padding: 0 18px 18px;
}

.admin-item-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.admin-item-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-item.compact {
  padding-bottom: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 9px;
  min-height: 42px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.admin-file-note {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.admin-image-preview {
  display: block;
  max-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-image-preview img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.admin-status-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.admin-status-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-status-list dt {
  color: var(--muted);
  font-weight: 900;
}

.admin-status-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 12px;
  padding: 18px 0;
  background: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(52px);
  filter: blur(8px);
  transition: opacity 860ms var(--ease-out), transform 860ms var(--ease-out), filter 860ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.site-nav.open {
  animation: navDrop 180ms var(--ease-out);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(-1.1%, -0.8%, 0);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.message.error {
  color: #842029;
  background: #f8d7da;
}

.message.success {
  color: #0f5132;
  background: #d1e7dd;
}

.message.warning {
  color: #664d03;
  background: #fff3cd;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-lang-switch {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 60px rgba(24, 32, 42, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .split,
  .intro-split,
  .capability-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 340px;
    order: -1;
  }

  .service-grid,
  .media-grid,
  .text-grid,
  .process-grid,
  .video-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-copy {
    position: static;
  }

  .cta-band .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-copy {
    padding: 34px 18px 46px;
  }

  .section,
  .page-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cta-band {
    margin-right: 18px;
    margin-left: 18px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .stats-band,
    .service-grid,
    .media-grid,
    .text-grid,
    .process-grid,
    .video-grid,
    .certificate-grid,
    .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    width: 100%;
  }

  .process-step {
    min-height: 0;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-list div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    padding-right: 18px;
    padding-left: 18px;
  }

  .video-controls {
    gap: 4px;
    min-height: 40px;
    padding: 5px 7px;
  }

  .video-control-button {
    width: 28px;
    height: 28px;
  }

  .video-time {
    min-width: 29px;
    font-size: 11px;
  }

  .video-seek {
    min-width: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .js .hero-copy > *,
  .hero-slide.is-active img {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}
