:root {
  --primary: #164f59;
  --secondary: #daac18;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.06);
}

* :not(i):not([class^="ph-"]):not([class^="fa-"]):not([class^="ti-"]) {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
span,
p,
a,
div,
li,
small,
label,
input,
button,
select,
textarea {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  padding: 18px 18px 34px;
  background:
    radial-gradient(circle at top right, rgba(218, 172, 24, 0.11), transparent 24%),
    radial-gradient(circle at top left, rgba(22, 79, 89, 0.09), transparent 22%),
    radial-gradient(circle at bottom left, rgba(22, 79, 89, 0.07), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 58%, #f4f7fb 100%);
}

.landing-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 70%);
}

.landing-card {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.88));
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-brand img {
  max-height: 52px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-text strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.landing-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  flex: 0 0 auto;
}

.landing-nav-toggle i {
  font-size: 20px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none !important;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: rgba(22, 79, 89, 0.06);
  border-color: rgba(22, 79, 89, 0.08);
  color: var(--primary);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(22, 79, 89, 0.16);
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  color: #fff !important;
  transform: translateY(-1px);
}

.section-pad {
  padding-left: 28px;
  padding-right: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 84px;
  margin-top: 18px;
  margin-left: 28px;
  margin-right: 28px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(22, 79, 89, 0.16) 0%, rgba(22, 79, 89, 0.06) 42%, rgba(218, 172, 24, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 252, 255, 0.92) 100%);
  border: 1px solid rgba(22, 79, 89, 0.08);
  box-shadow: 0 24px 60px rgba(22, 79, 89, 0.08);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.35;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 720px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn-portal-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-portal-primary--solid {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  box-shadow: 0 16px 32px rgba(22, 79, 89, 0.18);
}

.btn-portal-primary--ghost {
  color: var(--text) !important;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-portal-primary i {
  font-size: 22px;
}

.hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-panel .panel-item + .panel-item {
  margin-top: 14px;
}

.panel-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.panel-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  box-shadow: 0 12px 20px rgba(22, 79, 89, 0.18);
  font-size: 20px;
}

.panel-item h4 {
  margin: 2px 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.panel-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
}

.stats-section {
  padding-top: 36px;
  padding-bottom: 88px;
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22, 79, 89, 0.10), rgba(218, 172, 24, 0.10));
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 900;
  color: var(--text);
}

.section-subtitle {
  display: none;
}

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

.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.partners-section {
  padding-top: 36px;
  padding-bottom: 92px;
}

.partners-slider {
  position: relative;
  margin-top: 28px;
}

.partner-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  direction: ltr;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.partner-slider-track::-webkit-scrollbar {
  display: none;
}

.partner-slider-track .partner-card {
  flex: 0 0 280px;
  min-height: 190px;
  scroll-snap-align: start;
  direction: rtl;
}

.partner-slider-track .partner-card--full {
  flex: 1 0 100%;
}

.partner-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  box-shadow: 0 16px 32px rgba(22, 79, 89, 0.20);
}

.partner-slider-btn i {
  font-size: 18px;
}

.partner-slider-btn--prev {
  right: -10px;
}

.partner-slider-btn--next {
  left: -10px;
}

.partner-slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.partner-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.partner-card--full {
  grid-column: 1 / -1;
}

.partner-logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
}

.partner-fallback {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.partner-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.features-section {
  padding-top: 36px;
  padding-bottom: 96px;
}

.news-section {
  margin: 0 28px 96px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(22, 79, 89, 0.98), rgba(31, 108, 119, 0.97)),
    linear-gradient(135deg, var(--primary), #1f6c77);
  color: #fff;
  box-shadow: 0 24px 60px rgba(22, 79, 89, 0.12);
}

.news-section .section-head {
  color: #fff;
}

.news-section .section-label {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.news-section .section-title {
  color: #fff;
}

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

.news-card,
.news-empty {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
  color: var(--text);
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.news-thumb {
  width: 100%;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(22, 79, 89, 0.08), rgba(218, 172, 24, 0.08));
  border: 1px solid rgba(22, 79, 89, 0.08);
}

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

.news-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(22, 79, 89, 0.08), rgba(255, 255, 255, 0.92));
}

.news-thumb--placeholder i {
  font-size: 30px;
  color: var(--primary);
}

.news-thumb--placeholder span {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(22, 79, 89, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.news-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.55;
}

.news-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.news-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1f6c77);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(22, 79, 89, 0.16);
}

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

.news-link--muted {
  background: rgba(22, 79, 89, 0.08);
  color: var(--primary) !important;
  box-shadow: none;
}

.news-link--muted:hover {
  background: rgba(22, 79, 89, 0.12);
  color: var(--primary) !important;
}

.news-empty {
  text-align: center;
}

.news-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.news-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-item {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: right;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 16px;
}

.feature-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 13px;
}

.contact-section {
  padding-top: 36px;
  padding-bottom: 92px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 34px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-copy .hero-subtitle {
  max-width: 100%;
}

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

.contact-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-list-item strong {
  display: block;
  font-weight: 900;
  color: var(--text);
}

.contact-list-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.contact-note {
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.contact-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.contact-form-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.contact-form-shell h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.contact-form-shell p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

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

.contact-form .contact-input,
.contact-form .contact-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .contact-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .contact-input:focus,
.contact-form .contact-textarea:focus {
  border-color: rgba(22, 79, 89, 0.4);
  box-shadow: 0 0 0 4px rgba(22, 79, 89, 0.08);
}

.contact-form .contact-submit {
  border: none;
  margin-top: 4px;
}

.honeypot-input {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-alert {
  border-radius: 16px;
  margin-top: -6px;
}

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

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-card i {
  font-size: 24px;
  color: var(--primary);
}

.contact-card h4 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 13px;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #cbd5e1;
  padding: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.site-footer__brand img {
  max-height: 54px;
  width: auto;
}

.site-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__brand-text strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.site-footer__brand-text span {
  color: #cbd5e1;
  font-size: 12px;
}

.site-footer__brand-desc {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.8;
  max-width: 420px;
}

.site-footer__links {
  text-align: right;
}

.site-footer__links-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.site-footer__link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

.site-footer__link-list a {
  color: #cbd5e1;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__link-list a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.site-footer__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.landing-footer {
  background: transparent;
}

.fx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.65s ease;
  filter: blur(2px);
}

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

.fx-title {
  position: relative;
}

.fx-title::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  bottom: -12px;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: transform 0.7s ease 0.15s;
}

.fx-reveal.is-visible.fx-title::after {
  transform: translateX(-50%) scaleX(1);
}

.fx-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.fx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.10);
}

.fx-counter {
  display: inline-block;
}

.fx-pulse {
  animation: fxPulse 3.4s ease-in-out infinite;
}

@keyframes fxPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 992px) {
  .hero-grid,
  .stats-grid,
  .partner-grid,
  .feature-grid,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .landing-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-brand {
    justify-content: center;
  }

  .landing-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

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

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    justify-content: stretch;
    padding-top: 10px;
  }

  .landing-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .landing-shell {
    padding: 12px 10px 20px;
  }

  .landing-card {
    border-radius: 24px;
  }

  .landing-nav,
  .section-pad {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-grid,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .hero-grid {
    padding-top: 46px;
    padding-bottom: 56px;
    margin-left: 18px;
    margin-right: 18px;
  }

  .site-footer {
    padding: 22px 18px;
  }

  .site-footer__inner {
    align-items: flex-start;
  }

  .site-footer__links {
    width: 100%;
  }

  .site-footer__link-list {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .news-section {
    margin-left: 18px;
    margin-right: 18px;
  }

  .btn-portal-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .stats-grid,
  .partner-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card,
  .partner-card,
  .feature-item,
  .news-card,
  .news-empty {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .stat-value {
    font-size: 28px;
  }

  .partner-logo,
  .partner-fallback {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .news-thumb {
    border-radius: 14px;
    height: 130px;
  }
}
