:root {
  --emerald-950: #052e25;
  --emerald-900: #084639;
  --emerald-800: #0b5e4c;
  --emerald-700: #107660;
  --emerald-100: #e5f3ef;
  --emerald-50: #f3faf8;
  --gold-600: #b87c11;
  --gold-500: #d99b26;
  --gold-100: #fef6e4;
  --slate-900: #11211d;
  --slate-700: #334a44;
  --slate-500: #5c726c;
  --slate-300: #cdd9d5;
  --slate-200: #e2ebe8;
  --slate-100: #f4f7f6;
  --white: #ffffff;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --success: #0f766e;
  --success-bg: #ecfdf5;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(8, 70, 57, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 70, 57, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--slate-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main.container {
  flex: 1;
}

a {
  color: var(--emerald-800);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Maintenance Page --- */
.maint-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 12% 15%, rgba(217, 155, 38, 0.13), transparent 36%),
    radial-gradient(circle at 88% 85%, rgba(11, 94, 76, 0.16), transparent 42%),
    linear-gradient(160deg, #f5faf8 0%, #eef4f2 100%);
  padding: 28px 16px 24px;
}

.maint-header {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.brand-crest {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-800), var(--emerald-950));
  display: grid;
  place-items: center;
  color: var(--gold-500);
  box-shadow: 0 8px 20px rgba(8, 70, 57, 0.22);
  flex-shrink: 0;
  overflow: hidden;
}

.brand-crest.has-logo {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

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

.brand-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-950);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--slate-500);
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-100);
  color: #855200;
  border: 1px solid rgba(217, 155, 38, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 0 rgba(217, 155, 38, 0.65);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 155, 38, 0.65);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(217, 155, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 155, 38, 0);
  }
}

.maint-card {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.maint-hero {
  padding: 40px 36px 32px;
  background: linear-gradient(125deg, var(--emerald-950) 0%, var(--emerald-800) 100%);
  color: var(--white);
  position: relative;
}

.maint-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.maint-hero p {
  margin: 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.maint-progress-wrap {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
}

.maint-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), #f4c152);
  transition: width 0.35s ease;
}

.maint-body {
  padding: 32px 36px 36px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-800);
  margin: 0 0 14px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.roadmap-item {
  padding: 16px;
  border-radius: 14px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.roadmap-item h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  color: var(--emerald-950);
}

.roadmap-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--emerald-50);
  border: 1px solid #cce3dc;
}

.contact-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-800);
}

.contact-item strong,
.contact-item a {
  font-size: 0.9rem;
  color: var(--slate-900);
  font-weight: 600;
  word-break: break-word;
}

.maint-footer {
  max-width: 980px;
  width: 100%;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--slate-500);
}

.footer-admin-link {
  color: var(--emerald-800);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(11, 94, 76, 0.08);
}

/* --- Shared Navigation & Portal --- */
.preview-banner {
  background: #fff4d6;
  color: #714500;
  border-bottom: 1px solid #f2d282;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.88rem;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--emerald-800);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-pill:hover {
  background: var(--emerald-900);
  text-decoration: none;
}

.portal-hero {
  background: linear-gradient(130deg, var(--emerald-950), var(--emerald-800));
  color: var(--white);
  padding: 46px 0;
}

.portal-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.portal-hero p {
  margin: 0;
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.86);
}

/* --- Hero Image Slider --- */
.hero-slider {
  position: relative;
  background: var(--emerald-950);
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 56px 0 68px;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 46, 37, 0.92) 0%,
    rgba(8, 70, 57, 0.74) 55%,
    rgba(5, 46, 37, 0.45) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-slide-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(217, 155, 38, 0.22);
  border: 1px solid rgba(217, 155, 38, 0.55);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-slide h1 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--white);
}

.hero-slide p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 60ch;
}

.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--gold-500);
  color: var(--emerald-950);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-slide-cta:hover {
  background: #e7aa34;
  text-decoration: none;
}

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.slider-dot.active {
  width: 28px;
  background: var(--gold-500);
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.slider-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 46, 37, 0.65);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slider-arrow-btn:hover {
  background: var(--emerald-800);
}

/* --- Promo Banners --- */
.portal-banner-wrap {
  padding-top: 28px;
}

.promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.promo-banner-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.promo-banner-img-wrap {
  width: 100%;
  height: 195px;
  background: var(--emerald-950);
  overflow: hidden;
}

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

.promo-banner-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.promo-banner-body h3 {
  margin: 0;
  font-size: 1.06rem;
  color: var(--emerald-950);
}

.promo-banner-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.portal-section {
  padding: 36px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--emerald-950);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  background: var(--emerald-800);
  color: var(--white);
  border-color: var(--emerald-800);
}

.search-input {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  font-size: 0.88rem;
  min-width: 220px;
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  width: fit-content;
}

.badge-emerald {
  background: var(--emerald-100);
  color: var(--emerald-900);
}

.badge-gold {
  background: var(--gold-100);
  color: #855200;
}

.badge-slate {
  background: var(--slate-200);
  color: var(--slate-700);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--slate-900);
}

.card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.92rem;
}

.card-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* --- Login Page --- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at top right, rgba(217, 155, 38, 0.14), transparent 36%),
    linear-gradient(155deg, #f3faf8 0%, #e9f1ee 100%);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  margin: 14px 0 6px;
  font-size: 1.4rem;
  color: var(--emerald-950);
}

.auth-subtitle {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--emerald-800);
  color: var(--white);
  width: 100%;
}

.btn-primary:hover {
  background: var(--emerald-900);
}

.btn-google {
  width: 100%;
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.btn-google:hover {
  background: var(--slate-100);
  text-decoration: none;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-outline {
  background: var(--white);
  color: var(--emerald-900);
  border-color: var(--slate-300);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--emerald-800);
  color: var(--emerald-800);
  font-size: 0.84rem;
  font-weight: 600;
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--slate-900);
}

.form-control:focus {
  outline: 2px solid rgba(11, 94, 76, 0.25);
  border-color: var(--emerald-800);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-img {
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: #eff5f3;
  height: 60px;
  width: 196px;
  display: block;
}

.alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fecaca;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.alert-info {
  background: var(--emerald-50);
  color: var(--emerald-900);
  border: 1px solid #cce3dc;
}

/* --- Admin Dashboard & Assets --- */
.admin-layout {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-btn {
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--emerald-800);
  color: var(--white);
  border-color: var(--emerald-800);
}

.panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--emerald-950);
}

.asset-preview-box {
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--slate-300);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.asset-preview-img {
  max-height: 64px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 4px;
  border: 1px solid var(--slate-200);
}

.table-thumb {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  display: block;
}

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

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--emerald-50);
  border: 1px solid #cce3dc;
  margin-bottom: 18px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

th {
  color: var(--slate-500);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.actions-cell {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.article-wrap {
  max-width: 820px;
  margin: 34px auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.article-wrap h1 {
  margin: 12px 0;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  line-height: 1.25;
  color: var(--emerald-950);
}

.article-lead {
  font-size: 1.04rem;
  color: var(--slate-700);
  padding: 14px 16px;
  background: var(--emerald-50);
  border-left: 4px solid var(--emerald-800);
  border-radius: 8px;
  margin: 18px 0 22px;
}

/* --- Modern Architectural Footer --- */
.mod-footer-wrap {
  width: 100%;
  padding: 44px 20px 28px;
  margin-top: auto;
}

.mod-footer-card {
  max-width: 1140px;
  margin: 0 auto;
  background: #08332c;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 44px rgba(5, 46, 37, 0.16);
}

.mod-footer-watermark {
  position: absolute;
  right: 2%;
  top: 0;
  height: 100%;
  width: auto;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 1;
}

.mod-footer-body {
  position: relative;
  z-index: 2;
  padding: 52px 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.mod-footer-left {
  max-width: 400px;
}

.mod-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mod-footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  padding: 4px;
  flex-shrink: 0;
}

.mod-footer-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(217, 155, 38, 0.14);
  border: 1px solid rgba(217, 155, 38, 0.45);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mod-footer-name {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.mod-footer-tag {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

.mod-footer-desc {
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
}

.mod-footer-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.mod-footer-icons a {
  color: var(--white);
  opacity: 0.85;
  display: inline-flex;
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.mod-footer-icons a:hover {
  opacity: 1;
  color: var(--gold-500);
  transform: translateY(-2px);
  text-decoration: none;
}

.mod-back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mod-back-top:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.mod-footer-right {
  display: flex;
  gap: 64px;
  flex-shrink: 0;
}

.mod-footer-col {
  min-width: 170px;
  max-width: 260px;
}

.mod-footer-col h4 {
  margin: 0 0 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.mod-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.mod-footer-col li,
.mod-footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
  word-break: break-word;
}

.mod-footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mod-footer-goldbar {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #d99b26 0%, #e5a935 100%);
  color: #072923;
  text-align: center;
  padding: 11px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .mod-footer-body {
    flex-direction: column;
    padding: 40px 32px 36px;
    gap: 36px;
  }

  .mod-footer-right {
    width: 100%;
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .maint-hero,
  .maint-body,
  .article-wrap {
    padding: 24px 20px;
  }

  .hero-slide {
    min-height: 340px;
    padding: 40px 0 64px;
  }

  .mod-footer-wrap {
    padding: 32px 14px 20px;
  }

  .mod-footer-body {
    padding: 32px 24px 28px;
  }
}