:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #17212b;
  --muted: #5d6976;
  --brand: #b14a2e;
  --brand-deep: #6f2f1e;
  --accent: #1b5d57;
  --line: rgba(23, 33, 43, 0.1);
  --danger: #9c3d3d;
  --shadow: 0 20px 60px rgba(62, 40, 23, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-home {
  background:
    radial-gradient(circle at top left, rgba(177, 74, 46, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(24, 74, 69, 0.14), transparent 25%),
    linear-gradient(180deg, #fbf7ef 0%, #f0ece2 100%);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 40%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(23, 33, 43, 0.02) 0, rgba(23, 33, 43, 0.02) 1px, transparent 1px, transparent 72px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 0;
  transition: padding 260ms ease;
}

.header-wrap.scrolled {
  padding-top: 14px;
}

.header {
  width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(70, 43, 25, 0.08);
  transition:
    width 260ms ease,
    padding 260ms ease,
    border-radius 260ms ease,
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease,
    transform 260ms ease;
}

.home-page .header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-top: 0;
}

.home-page .header-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(246, 241, 231, 0), rgba(246, 241, 231, 0.9));
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.home-page .header-wrap:not(.scrolled) .header {
  width: 100%;
  padding:
    20px
    clamp(16px, calc((100vw - 1180px) / 2 + 18px), 36px)
    18px;
  border-color: transparent;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.78), rgba(251, 247, 239, 0.52));
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.home-page .header-wrap:not(.scrolled)::after {
  opacity: 1;
}

.home-page .header-wrap.scrolled .header {
  width: var(--container);
  padding: 14px 20px;
  border-color: rgba(255, 255, 255, 0.52);
  border-radius: 26px;
  background: rgba(255, 252, 246, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(70, 43, 25, 0.18);
  transform: translateY(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #d37f4a);
  box-shadow: 0 12px 24px rgba(177, 74, 46, 0.35);
}

.logo-mark {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy strong {
  display: block;
  font-size: 16px;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.home-page .header-wrap:not(.scrolled) .brand-copy strong {
  color: #17212b;
}

.home-page .header-wrap:not(.scrolled) .brand-copy span {
  color: rgba(23, 33, 43, 0.62);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 0;
  border: 1px solid rgba(23, 33, 43, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-page .header-wrap:not(.scrolled) .nav-item > a {
  color: rgba(23, 33, 43, 0.74);
  text-shadow: none;
}

.nav-item > a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(70, 43, 25, 0.08);
}

.home-page .header-wrap:not(.scrolled) .nav-item > a:hover {
  color: #17212b;
  background: rgba(255, 255, 255, 0.72);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: none;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  z-index: 30;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.nav-dropdown a {
  display: flex;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
}

.nav-dropdown a:hover {
  background: rgba(23, 33, 43, 0.06);
}

.nav-subdropdown {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(23, 33, 43, 0.1);
}

.nav-item.has-children:hover > .nav-dropdown {
  display: block;
}

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

.btn-buy {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #327b73);
  box-shadow: 0 12px 22px rgba(24, 74, 69, 0.2);
}

.home-page .header-wrap:not(.scrolled) .btn-buy {
  color: #fff;
  background: linear-gradient(135deg, rgba(27, 93, 87, 0.92), rgba(50, 123, 115, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 22px rgba(24, 74, 69, 0.16);
}

.lang-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.06);
}

.home-page .header-wrap:not(.scrolled) .lang-toggle {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.lang-toggle a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
}

.home-page .header-wrap:not(.scrolled) .lang-toggle a {
  color: rgba(23, 33, 43, 0.82);
}

.lang-toggle a.active {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
}

.home-page .header-wrap:not(.scrolled) .lang-toggle a.active {
  background: rgba(255, 255, 255, 0.92);
  color: #17212b;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 33, 43, 0.08);
  color: var(--text);
  cursor: pointer;
}

.home-page .header-wrap:not(.scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.3);
  color: #17212b;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero {
  padding: 124px 0 24px;
}

.hero-stage {
  position: relative;
  min-height: 760px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #1d2329;
  box-shadow: var(--shadow);
}

.slides {
  position: relative;
  min-height: 760px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 24, 0.75) 0%, rgba(18, 20, 24, 0.38) 42%, rgba(18, 20, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-copy {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 48px));
  padding: 76px 0 180px 56px;
  color: #fff;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 600ms ease 160ms, opacity 600ms ease 160ms;
}

.slide.active .slide-copy {
  transform: translateY(0);
  opacity: 1;
}

.eyebrow,
.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.eyebrow::before,
.eyebrow-dark::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f8b35d;
}

.eyebrow-dark {
  color: var(--brand);
  background: rgba(177, 74, 46, 0.1);
}

.slide-copy h1 {
  margin: 18px 0 14px;
  max-width: min(1080px, 100%);
  font-size: clamp(32px, 4.1vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: break-word;
}

html[lang^="zh"] .slide-copy h1 {
  max-width: none;
  word-break: keep-all;
}

html[lang="en"] .slide-copy h1 {
  max-width: 22ch;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.14;
}

.slide-copy p {
  max-width: min(52ch, 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 19px);
  overflow-wrap: break-word;
}

html[lang^="zh"] .slide-copy p {
  max-width: 46ch;
}

html[lang="en"] .slide-copy p {
  max-width: 58ch;
}

.hero-actions,
.inline-actions,
.record-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.inline-actions,
.record-actions,
.form-actions {
  align-self: start;
}

.inline-actions .btn,
.record-actions .btn,
.form-actions .btn {
  flex: 0 0 auto;
  align-self: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #d36f44 0%, var(--brand) 100%);
  box-shadow: 0 14px 26px rgba(177, 74, 46, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Admin pages sit on a light background; make secondary buttons readable there. */
.admin-body .btn-secondary {
  color: #1c2834;
  background: rgba(23, 33, 43, 0.06);
  border: 1px solid rgba(23, 33, 43, 0.14);
  box-shadow: none;
}

.admin-body .btn-secondary:hover {
  box-shadow: 0 12px 20px rgba(23, 33, 43, 0.12);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #b84f4f, var(--danger));
}

.btn-outline {
  color: var(--brand-deep);
  background: rgba(177, 74, 46, 0.1);
  border: 1px solid rgba(177, 74, 46, 0.2);
}

.btn-outline:hover {
  box-shadow: 0 14px 26px rgba(177, 74, 46, 0.16);
}

.hero-footer {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.metric {
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.active {
  width: 42px;
  background: #fff;
}

.overview {
  margin-top: -12px;
  position: relative;
  z-index: 2;
  scroll-margin-top: 112px;
}

.overview-grid,
.support-grid,
.contact-strip {
  display: grid;
  gap: 18px;
}

.overview-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.overview-card,
.highlight-card,
.stack-card,
.support-card,
.contact-card,
.contact-mini .item,
.admin-panel,
.admin-login-card,
.record-card {
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card-link-shell {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link-shell:hover {
  color: inherit;
}

.overview-card {
  padding: 24px;
}

.overview-card small {
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.overview-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.compact-overview-card {
  display: grid;
  align-content: center;
  gap: 8px;
}

.compact-overview-card strong {
  color: var(--text);
  font-size: 18px;
}

.compact-overview-card span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.feature-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.feature-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(177, 74, 46, 0.08);
  color: var(--brand-deep);
  font-weight: 600;
}

.section {
  padding: 84px 0 0;
  scroll-margin-top: 112px;
}

.section-head,
.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head small {
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2,
.panel-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.section-head p,
.panel-head p,
.overview-card p,
.contact-card p {
  color: var(--muted);
}

.more-link {
  color: var(--accent);
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.highlight-card,
.stack-card,
.support-card,
.contact-card {
  padding: 22px;
}

.highlight-media {
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.highlight-media::before,
.highlight-media::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.highlight-media::before {
  width: 260px;
  height: 260px;
  right: -40px;
  top: -70px;
}

.highlight-media::after {
  width: 180px;
  height: 180px;
  left: -24px;
  bottom: -48px;
}

.chip {
  display: inline-flex;
  margin: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.12);
}

.meta-row,
.stack-list {
  display: grid;
  gap: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
}

.meta-row span,
.support-meta {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.06);
  color: var(--muted);
  font-size: 13px;
}

.stack-card strong {
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stack-card .arrow {
  color: var(--accent);
  font-weight: 600;
}

.support-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-link-shell .highlight-card,
.card-link-shell .stack-card,
.card-link-shell .support-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-link-shell:hover .highlight-card,
.card-link-shell:hover .stack-card,
.card-link-shell:hover .support-card {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px rgba(69, 43, 21, 0.14);
}

.support-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.support-grid > .support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 46px rgba(69, 43, 21, 0.14);
}

.support-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #327b73);
  box-shadow: 0 14px 26px rgba(24, 74, 69, 0.24);
  margin-bottom: 18px;
}

.contact-strip {
  grid-template-columns: 1.2fr 0.8fr;
  margin: 84px 0;
}

.contact-mini {
  display: grid;
  gap: 14px;
}

.contact-mini .item {
  padding: 18px 20px;
}

.contact-mini .item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.footer {
  padding: 26px 0 48px;
  border-top: 1px solid rgba(23, 33, 43, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.footer-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-record {
  font-size: 15px;
  font-weight: 600;
  color: rgba(23, 33, 43, 0.72);
  text-decoration: none;
}

.footer-record:hover {
  color: var(--brand);
}

.footer-main-text,
.footer-tech {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-preview-page {
  padding-top: 86px;
}

.preview-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 14px 18px;
  background: rgba(14, 22, 30, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.preview-toolbar-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.preview-toolbar-inner strong {
  display: block;
  margin-bottom: 4px;
}

.preview-toolbar-inner span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-actions form {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.preview-actions .btn.active {
  background: rgba(255, 255, 255, 0.92);
  color: #17212b;
}

.preview-back-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.preview-page-content {
  padding-top: 4px;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(27, 93, 87, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f8fb 0%, #eef2f6 100%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, #1c2834 0%, #142029 100%);
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
}

.admin-sidebar h1 {
  margin-top: 0;
}

.admin-sidebar p {
  color: rgba(255, 255, 255, 0.72);
}

.admin-sidebar nav {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-nav-search {
  display: grid;
  gap: 6px;
}

.admin-nav-search span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.admin-nav-search input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
}

.admin-nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.admin-nav-search input:focus {
  outline: none;
  border-color: rgba(232, 143, 101, 0.4);
  box-shadow: 0 0 0 3px rgba(211, 111, 68, 0.08);
}

.admin-nav-group {
  display: grid;
  gap: 4px;
}

.admin-nav-group.is-hidden {
  display: none;
}

.admin-nav-group-title {
  padding: 8px 6px 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.admin-sidebar a strong {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}

.admin-sidebar a span {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 180ms ease, opacity 180ms ease;
}

.admin-sidebar a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.admin-sidebar a:hover span {
  max-height: 40px;
  opacity: 1;
}

.admin-sidebar a.active {
  color: #fff;
  background: rgba(211, 111, 68, 0.16);
  border-color: rgba(232, 143, 101, 0.36);
  box-shadow: inset 3px 0 0 rgba(232, 143, 101, 0.9);
}

.admin-sidebar a.active span {
  color: rgba(255, 255, 255, 0.7);
  max-height: 40px;
  opacity: 1;
}

.admin-nav-utility {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-utility a {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-nav-utility a strong,
.admin-nav-utility a span {
  display: none;
}

.page-shell {
  padding: 132px 0 72px;
}

.inner-page .page-shell {
  padding-top: 176px;
}

.inner-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(27, 93, 87, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 242, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.inner-hero-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inner-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.page-card h1 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.page-content-card {
  padding: clamp(24px, 4vw, 44px);
}

.page-body {
  color: var(--muted);
  font-size: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-body pre,
.page-body code {
  max-width: 100%;
  overflow-x: auto;
}

.page-block-heading h1,
.page-block-heading h2,
.page-block-heading h3 {
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-block-h1 h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.page-block-h2 h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; }
.page-block-h3 h3 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.25; }

.page-block-heading.is-bold h1,
.page-block-heading.is-bold h2,
.page-block-heading.is-bold h3,
.page-block-p.is-bold {
  font-weight: 700;
}

.page-block-heading.block-size-sm h1 { font-size: clamp(22px, 2.8vw, 30px); }
.page-block-heading.block-size-sm h2 { font-size: clamp(18px, 2.2vw, 24px); }
.page-block-heading.block-size-sm h3 { font-size: clamp(16px, 1.8vw, 20px); }

.page-block-heading.block-size-lg h1 { font-size: clamp(34px, 4.2vw, 48px); }
.page-block-heading.block-size-lg h2 { font-size: clamp(28px, 3.4vw, 36px); }
.page-block-heading.block-size-lg h3 { font-size: clamp(22px, 2.6vw, 28px); }

.page-heading-rule {
  display: flex;
  align-items: flex-end;
  gap: 0;
  width: min(100%, 420px);
  margin: 0 0 20px;
}

.page-heading-rule-bold {
  flex: 0 0 50%;
  height: 3px;
  background: var(--brand);
  border-radius: 999px 0 0 999px;
}

.page-heading-rule-light {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(23, 33, 43, 0.18);
}

.page-block-heading a {
  color: inherit;
  text-decoration: none;
}

.page-block-heading a:hover {
  color: var(--brand);
}

.page-block-p {
  margin: 0 0 16px;
  text-indent: 2em;
  line-height: 1.8;
}

.page-block-p.no-indent {
  text-indent: 0;
}

.page-block-p.block-size-sm { font-size: 14px; }
.page-block-p.block-size-lg { font-size: 18px; }

.page-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin: 0 0 18px;
}

.page-link-row.is-single {
  width: 100%;
}

.page-inline-link-item {
  flex: 1 1 calc(50% - 14px);
  min-width: min(100%, 220px);
}

.page-link-row.is-single .page-inline-link-item {
  flex: 0 1 auto;
}

.page-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.page-inline-link:hover {
  color: var(--brand);
}

.page-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d64545;
  flex: 0 0 8px;
}

.page-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.page-block-image.block-size-sm img { max-width: min(100%, 420px); }
.page-block-image.block-size-lg img { width: 100%; }

.page-block-divider {
  border: 0;
  border-top: 1px solid rgba(23, 33, 43, 0.12);
  margin: 24px 0;
}

.page-body ul,
.page-body ol {
  padding-left: 1.2em;
}

.page-body li {
  margin: 8px 0;
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  overflow: hidden;
}

.page-body th,
.page-body td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  text-align: left;
}

.page-body th {
  color: var(--text);
  background: rgba(177, 74, 46, 0.08);
}

.admin-main {
  padding: 28px;
  display: grid;
  gap: 24px;
}

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

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

.admin-form-wide .span-2 {
  grid-column: 1 / -1;
}

.admin-form-section {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.05);
}

.admin-form-section-head {
  margin-bottom: 18px;
}

.admin-form-section-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.admin-form-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-subgrid {
  gap: 18px;
}

.admin-form-hint {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(23, 33, 43, 0.1);
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.panel-subhead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.panel-subhead strong {
  display: block;
  margin-bottom: 4px;
}

.panel-subhead p {
  margin: 0;
  color: var(--muted);
}

.contact-editor-shell {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 43, 0.08);
}

.contact-list-editor {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(23, 33, 43, 0.03);
}

.contact-item label {
  display: grid;
  gap: 8px;
}

.contact-item span {
  color: var(--muted);
  font-size: 14px;
}

.contact-item-empty {
  color: rgba(23, 33, 43, 0.62);
  text-align: center;
  border-style: dashed;
  display: block;
}

.contact-item-actions {
  grid-column: 1 / -1;
}

.media-manager {
  display: grid;
  gap: 16px;
}

.media-upload-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.media-upload-form input[type="file"] {
  width: auto;
  max-width: 100%;
}

.media-grid {
  --media-thumb-size: 108px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--media-thumb-size), 1fr));
  grid-auto-rows: var(--media-thumb-size);
  gap: 10px;
  max-height: calc(var(--media-thumb-size) * 5 + 10px * 4);
  overflow-y: auto;
  padding-right: 6px;
  align-content: start;
  scrollbar-gutter: stable;
}

.media-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 33, 43, 0.08);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-item:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 74, 46, 0.28);
  box-shadow: 0 16px 28px rgba(23, 33, 43, 0.12);
}

.media-item img,
.media-file-badge {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  background: rgba(23, 33, 43, 0.05);
}

.media-item img {
  object-fit: cover;
}

.media-file-badge {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: rgba(23, 33, 43, 0.64);
}

.media-video-badge {
  color: #b14a2e;
  background: rgba(177, 74, 46, 0.1);
}

.media-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 10px 10px;
  background: linear-gradient(180deg, rgba(11, 18, 24, 0.04) 0%, rgba(11, 18, 24, 0.82) 46%, rgba(11, 18, 24, 0.94) 100%);
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.media-item:hover .media-meta,
.media-item:hover .media-actions,
.media-item:focus-within .media-meta,
.media-item:focus-within .media-actions {
  opacity: 1;
  transform: translateY(0);
}

.media-meta strong {
  word-break: break-word;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.media-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  word-break: break-all;
  line-height: 1.35;
}

.media-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.media-actions .btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.media-lightbox.visible {
  display: block;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 24, 0.72);
}

.media-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 88vh;
  margin: 6vh auto;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(11, 18, 24, 0.34);
  display: grid;
  gap: 14px;
}

.media-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.08);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.media-lightbox-preview {
  min-height: 240px;
  max-height: 68vh;
  overflow: auto;
  border-radius: 16px;
  background: rgba(23, 33, 43, 0.04);
  display: grid;
  place-items: center;
  padding: 16px;
}

.media-lightbox-preview img {
  max-width: 100%;
  max-height: 62vh;
  border-radius: 14px;
  object-fit: contain;
}

.media-lightbox-preview video {
  width: min(100%, 860px);
  max-height: 62vh;
  border-radius: 14px;
  background: #000;
}

.media-lightbox-info {
  display: grid;
  gap: 6px;
}

.media-lightbox-info strong {
  font-size: 16px;
}

.media-lightbox-info span {
  color: var(--muted);
  word-break: break-all;
}

.media-file-badge-large {
  width: min(320px, 100%);
  height: 220px;
  border-radius: 18px;
}

body.media-lightbox-open {
  overflow: hidden;
}

.nested-panel {
  margin-top: 22px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(23, 33, 43, 0.6);
  background: rgba(246, 248, 251, 0.9);
  position: sticky;
  top: 0;
}

.admin-table tbody tr:hover td {
  background: rgba(248, 236, 221, 0.35);
}

.table-actions {
  white-space: nowrap;
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.compact-card {
  padding: 22px;
}

.outline-tree {
  display: grid;
  gap: 10px;
}

.tree-branch {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

.tree-branch .tree-branch {
  margin-top: 10px;
  padding-left: 18px;
  border-left: 1px dashed rgba(23, 33, 43, 0.14);
}

.tree-node {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(246, 248, 251, 0.92);
  border: 1px solid rgba(23, 33, 43, 0.08);
}

.tree-node strong {
  color: var(--text);
  font-size: 14px;
}

.tree-node span {
  font-size: 12px;
  color: var(--muted);
}

.empty-hint {
  margin: 0;
  color: var(--muted);
}

.record-card-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.record-card-toolbar strong {
  display: block;
  font-size: 18px;
}

.record-card-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.record-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.compact-form-grid {
  grid-column: 1 / -1;
}

.menu-depth-cell span {
  display: inline-block;
}

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

.editor-col {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
  min-width: 0;
}

.block-field {
  display: grid;
  gap: 8px;
}

.block-field span {
  color: rgba(23, 33, 43, 0.6);
  font-size: 13px;
}

.block-field input,
.block-field textarea,
.block-field select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.block-field textarea {
  min-height: 84px;
  resize: vertical;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.block-style-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.block-style-field {
  display: grid;
  gap: 6px;
  min-width: 120px;
}

.block-style-field span {
  color: rgba(23, 33, 43, 0.6);
  font-size: 13px;
}

.block-field-hint {
  color: rgba(23, 33, 43, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

#editorMarkdown textarea,
#editorHtml textarea,
.admin-form-wide textarea {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.editor-col h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.block-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.block-list {
  display: grid;
  gap: 12px;
}

.block-item {
  padding: 12px;
  border-radius: 16px;
  background: rgba(23, 33, 43, 0.04);
  border: 1px solid rgba(23, 33, 43, 0.08);
  display: grid;
  gap: 10px;
}

.block-item-empty {
  color: rgba(23, 33, 43, 0.62);
  border-style: dashed;
  place-items: center;
  min-height: 88px;
  text-align: center;
}

.block-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.block-item-head strong {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(23, 33, 43, 0.62);
}

.block-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.block-actions .btn {
  min-height: 38px;
  padding: 0 14px;
}

.disabled-btn {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .editor-dual {
    grid-template-columns: 1fr;
  }

  .admin-split {
    grid-template-columns: 1fr;
  }

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

@media (hover: none), (max-width: 820px) {
  .media-meta,
  .media-actions {
    opacity: 1;
    transform: translateY(0);
  }

  .media-grid {
    --media-thumb-size: 92px;
  }
}

.admin-form-grid,
.record-list,
.record-card {
  display: grid;
  gap: 14px;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-form-grid label,
.admin-login-form label {
  display: grid;
  gap: 8px;
}

.admin-form-grid .span-2,
.record-card .span-2 {
  grid-column: 1 / -1;
}

.admin-form-grid span,
.admin-login-form span {
  color: var(--muted);
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.record-card {
  padding: 18px;
}

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

.record-card h3 {
  margin: 0;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  justify-self: start;
  align-self: center;
  width: fit-content;
  grid-auto-flow: column;
  line-height: 1.2;
  white-space: nowrap;
}

.checkbox input {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.create-card {
  background: rgba(255, 255, 255, 0.94);
  border-style: dashed;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(900px, 100%);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-login-card h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 52px);
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-submit {
  width: 100%;
}

.admin-back-link {
  color: var(--accent);
  text-align: center;
}

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #b84f4f, var(--danger));
}

@media (max-width: 1100px) {
  .overview-grid,
  .news-grid,
  .support-grid,
  .contact-strip,
  .admin-login-card,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-form-grid,
  .record-card.wide-card,
  .admin-subgrid {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .slides {
    min-height: 820px;
  }

  .hero-footer {
    position: static;
    margin: 0 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .slide-copy {
    width: calc(100% - 40px);
    padding: 56px 20px 32px;
  }

  .preview-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-nav-group-title {
    padding: 0;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .inner-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item > a {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-item.open > .nav-dropdown {
    display: block;
  }

  .slide-copy h1 {
    max-width: none;
    font-size: clamp(24px, 7vw, 36px);
  }

  html[lang="en"] .slide-copy h1 {
    font-size: clamp(24px, 7vw, 38px);
    line-height: 1.16;
  }
}

@media (max-width: 560px) {
  .header {
    padding: 14px 16px;
  }

  .brand-copy span {
    display: none;
  }

  .lang-toggle a {
    min-width: 52px;
    padding: 8px 10px;
  }

  .hero-stage,
  .slides {
    min-height: 720px;
  }

  .section {
    padding-top: 68px;
  }
}
