/**
 * Public marketing homepage — professional layout
 */
:root {
  --home-max: 1200px;
  --home-narrow: 860px;
  --home-radius: 12px;
  --home-radius-lg: 20px;
  --home-ink: #0c1f17;
  --home-muted: #5a6f64;
  --home-line: #d8e6de;
  --home-surface: #ffffff;
  --home-bg: #f4f8f5;
  --home-green: var(--app-green, #1a7a4c);
  --home-green-dark: var(--app-green-dark, #0d3d2a);
  --home-gold: var(--app-gold, #c9971a);
  --home-shadow-sm: 0 1px 2px rgba(12, 31, 23, 0.06);
  --home-shadow-md: 0 12px 40px rgba(12, 31, 23, 0.08);
  --home-shadow-lg: 0 24px 64px rgba(12, 31, 23, 0.12);
}

.public-home {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--home-ink);
  background: var(--home-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"].public-home {
  font-family: "Plus Jakarta Sans", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
}

.public-home *,
.public-home *::before,
.public-home *::after {
  box-sizing: border-box;
}

#home-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--home-green-dark);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#home-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-loader-ring {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: home-spin 0.8s linear infinite;
}

@keyframes home-spin {
  to { transform: rotate(360deg); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header--hero:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(8, 28, 20, 0.72) 0%, rgba(8, 28, 20, 0) 100%);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header:not(.site-header--hero) {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-sm);
}

.site-header-inner {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.site-logo--solid {
  display: none;
}

.site-header.is-scrolled .site-logo--hero,
.site-header:not(.site-header--hero) .site-logo--hero {
  display: none;
}

.site-header.is-scrolled .site-logo--solid,
.site-header:not(.site-header--hero) .site-logo--solid {
  display: block;
}

.site-header--hero:not(.is-scrolled) .site-brand {
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-header.is-scrolled .site-nav a,
.site-header:not(.site-header--hero) .site-nav a {
  color: var(--home-muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active,
.site-header:not(.site-header--hero) .site-nav a:hover,
.site-header:not(.site-header--hero) .site-nav a.is-active {
  color: var(--home-green-dark);
  background: rgba(26, 122, 76, 0.08);
}

.site-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--home-gold);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-icon-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}

.site-header.is-scrolled .site-icon-btn,
.site-header:not(.site-header--hero) .site-icon-btn {
  background: transparent;
  color: var(--home-muted);
}

.site-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.site-header.is-scrolled .site-icon-btn:hover,
.site-header:not(.site-header--hero) .site-icon-btn:hover {
  background: rgba(26, 122, 76, 0.08);
  color: var(--home-green-dark);
}

.site-header-actions .home-lang-switch {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: auto;
}

.public-home .site-header .home-lang-switch-btn {
  list-style: none;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-home .site-header .home-lang-switch-menu {
  z-index: 1100;
  min-width: 140px;
}

.site-icon-btn .fas,
.site-icon-btn .fab,
.site-nav-toggle .fas,
.site-mobile-actions .fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
}

.site-icon-btn .fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

.site-login-icon {
  text-decoration: none;
  display: none;
}

.site-login-text {
  display: inline-flex;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.site-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

.site-btn-primary {
  background: var(--home-green);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(26, 122, 76, 0.35);
}

.site-btn-primary:hover {
  background: var(--home-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26, 122, 76, 0.35);
}

.site-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.site-header.is-scrolled .site-btn-ghost,
.site-header:not(.site-header--hero) .site-btn-ghost {
  background: var(--home-surface);
  color: var(--home-green-dark) !important;
  border-color: var(--home-line);
}

.site-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header.is-scrolled .site-btn-ghost:hover,
.site-header:not(.site-header--hero) .site-btn-ghost:hover {
  border-color: var(--home-green);
  color: var(--home-green-dark) !important;
}

.site-nav-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.site-mobile-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 16px;
  padding: 12px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow-lg);
  z-index: 1090;
}

.site-header.is-nav-open .site-mobile-panel {
  display: block;
}

.site-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--home-muted);
  text-decoration: none;
}

.site-mobile-nav a:hover,
.site-mobile-nav a.is-active {
  color: var(--home-green-dark);
  background: rgba(26, 122, 76, 0.08);
}

.site-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--home-line);
}

.site-mobile-actions .site-btn {
  width: 100%;
  justify-content: center;
}

.site-header.is-scrolled .site-nav-toggle,
.site-header:not(.site-header--hero) .site-nav-toggle {
  background: rgba(26, 122, 76, 0.08);
  color: var(--home-green-dark);
}

.home-main {
  padding-top: 0;
}

.home-wrap {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 24px;
}

.home-wrap--narrow {
  max-width: var(--home-narrow);
}

.home-section {
  padding: 88px 0;
}

.home-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-green);
}

.home-section-intro {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-section-intro--left {
  margin-inline: 0;
  text-align: start;
}

.home-section-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--home-ink);
}

.home-section-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.home-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: 108px 0 72px;
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: home-kenburns 24s ease-in-out infinite alternate;
}

@keyframes home-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 20, 0.88) 0%, rgba(8, 28, 20, 0.55) 45%, rgba(8, 28, 20, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 28, 20, 0.4) 0%, transparent 40%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.home-hero-copy {
  max-width: 640px;
}

.home-kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 4px rgba(201, 151, 26, 0.25);
}

.home-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.home-lead {
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.home-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.home-hero-points i {
  color: #8fe4b0;
  font-size: 15px;
}

.home-hero-panel {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.home-hero-panel-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
}

.home-hero-panel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-md);
  min-width: 170px;
}

.home-hero-badge i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(26, 122, 76, 0.12);
  color: var(--home-green);
  font-size: 15px;
}

.home-hero-badge strong {
  display: block;
  font-size: 13px;
  color: var(--home-ink);
}

.home-hero-badge span {
  font-size: 12px;
  color: var(--home-muted);
}

.home-hero-badge--top {
  top: -18px;
  inset-inline-end: -12px;
}

.home-hero-badge--bottom {
  bottom: -18px;
  inset-inline-start: -12px;
}

.home-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  text-decoration: none;
  z-index: 2;
}

.home-scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: home-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes home-scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

.home-trust {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 8px;
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.home-trust-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-lg);
  box-shadow: var(--home-shadow-md);
}

.home-trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(26, 122, 76, 0.12), rgba(26, 122, 76, 0.04));
  color: var(--home-green);
  font-size: 18px;
}

.home-trust-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--home-ink);
  margin-bottom: 2px;
}

.home-trust-list span {
  font-size: 13px;
  color: var(--home-muted);
}

.home-platform {
  background: var(--home-surface);
  border-block: 1px solid var(--home-line);
}

.home-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.home-platform-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--home-bg);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-md);
  border-color: rgba(26, 122, 76, 0.25);
}

.home-platform-num {
  position: absolute;
  top: 20px;
  inset-inline-end: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(26, 122, 76, 0.35);
}

.home-platform-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--home-green-dark);
  color: #fff;
}

.home-platform-icon i {
  font-size: 20px;
  line-height: 1;
}

.home-showcase {
  background:
    radial-gradient(circle at 10% 20%, rgba(26, 122, 76, 0.06), transparent 45%),
    var(--home-bg);
}

.home-showcase-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.home-showcase-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-showcase-copy p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--home-muted);
  max-width: 480px;
}

.home-showcase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.home-showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--home-ink);
}

.home-showcase-list i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--home-green-dark);
  color: #fff;
  font-size: 14px;
}

.home-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 14px;
}

.home-showcase-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-md);
  background: var(--home-surface);
}

.home-showcase-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 140px;
}

.home-showcase-shot--main {
  grid-row: span 2;
}

.home-showcase-shot--main img {
  min-height: 100%;
}

.home-cta {
  padding: 0 0 88px;
}

.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--home-green-dark), #145c3a 55%, var(--home-green));
  color: #fff;
  box-shadow: var(--home-shadow-lg);
}

.home-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-cta-inner p {
  margin: 0;
  max-width: 520px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-cta .site-btn-primary {
  background: #fff;
  color: var(--home-green-dark) !important;
  box-shadow: none;
}

.home-cta .site-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: transparent;
}

.home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.home-reveal.is-visible,
.home-hero .home-reveal {
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] .site-btn .fa-arrow-right,
[dir="rtl"] .home-link .fa-arrow-right {
  transform: scaleX(-1);
}

.home-platform-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-platform-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-muted);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--home-green);
  text-decoration: none;
  transition: gap 0.2s;
}

.home-link:hover {
  gap: 12px;
  color: var(--home-green-dark);
}

[dir="rtl"] .home-link i.fa-arrow-right {
  transform: scaleX(-1);
}

.home-legal {
  background: var(--home-bg);
}

.home-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-legal-panel {
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  box-shadow: var(--home-shadow-sm);
}

.home-legal-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--home-ink);
  user-select: none;
}

.home-legal-panel summary::-webkit-details-marker {
  display: none;
}

.home-legal-panel summary i {
  font-size: 13px;
  color: var(--home-muted);
  transition: transform 0.25s ease;
}

.home-legal-panel[open] summary i {
  transform: rotate(180deg);
}

.home-legal-panel[open] summary {
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(90deg, rgba(26, 122, 76, 0.05), transparent);
}

.home-legal-content {
  padding: 24px;
  max-height: 360px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-muted);
}

.home-legal-content h1,
.home-legal-content h2,
.home-legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-ink);
  margin: 1.25em 0 0.5em;
}

.home-legal-content h1:first-child,
.home-legal-content h2:first-child {
  margin-top: 0;
}

.home-contact {
  background: var(--home-green-dark);
  color: #fff;
}

.home-contact .home-label {
  color: rgba(255, 255, 255, 0.55);
}

.home-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.home-contact-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-contact-intro p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
}

.home-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-contact-row {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--home-radius);
}

.home-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
}

.home-contact-row strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.home-contact-row a,
.home-contact-row p {
  margin: 0;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

.home-contact-row a:hover {
  text-decoration: underline;
}

.home-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.home-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.home-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.site-footer {
  background: #071510;
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 24px;
}

.site-footer-inner {
  max-width: var(--home-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer-brand img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.site-footer-brand p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.site-footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-footer-nav a:hover {
  color: #fff;
}

.site-footer-copy {
  margin: 0;
  font-size: 13px;
  text-align: end;
}

@media (min-width: 992px) {
  .site-nav-toggle {
    display: none !important;
  }

  .home-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .home-showcase-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
  }

  .home-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand actions toggle";
    align-items: center;
    gap: 8px;
    position: relative;
  }

  .site-brand {
    grid-area: brand;
    min-width: 0;
  }

  .site-brand img {
    height: 40px;
    max-width: 130px;
  }

  .site-header--hero:not(.is-scrolled) .site-brand {
    padding: 6px 10px;
  }

  .site-nav {
    display: none !important;
  }

  .site-header-actions {
    grid-area: actions;
    gap: 6px;
    flex-shrink: 0;
  }

  .site-nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .site-login-text {
    display: none;
  }

  .site-login-icon {
    display: inline-flex;
  }

  .site-register-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .site-icon-btn,
  .site-header .home-lang-switch-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    max-width: 100%;
  }

  .home-trust-list {
    grid-template-columns: 1fr;
  }

  .home-platform-grid {
    grid-template-columns: 1fr;
  }

  .home-showcase-gallery {
    grid-template-columns: 1fr;
  }

  .home-showcase-shot--main {
    grid-row: auto;
  }

  .home-hero {
    min-height: auto;
    padding: 96px 0 56px;
  }

  .home-hero-badge--top,
  .home-hero-badge--bottom {
    display: none;
  }

  .home-scroll-hint {
    display: none;
  }

  .home-cta-inner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-trust {
    margin-top: -24px;
  }

  .home-contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer-brand {
    justify-content: center;
  }

  .site-footer-copy {
    text-align: center;
  }

  .home-section {
    padding: 64px 0;
  }

  .home-wrap {
    padding: 0 16px;
  }
}

@media (max-width: 575px) {
  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .site-btn {
    width: 100%;
  }

  .site-header-actions .site-register-btn {
    display: none;
  }

  .site-mobile-actions {
    display: flex;
  }
}

html.theme-dark .public-home {
  color: #e2ede7;
  background: #0a120e;
  --home-ink: #f0f7f3;
  --home-muted: #9bb0a6;
  --home-line: #243830;
  --home-surface: #111a15;
  --home-bg: #0d1511;
}

html.theme-dark #home-loader {
  background: #071510;
}

html.theme-dark .site-header.is-scrolled,
html.theme-dark .site-header:not(.site-header--hero) {
  background: rgba(13, 21, 17, 0.94);
  border-bottom-color: #243830;
}

html.theme-dark .site-nav a.is-active,
html.theme-dark .site-header.is-scrolled .site-nav a.is-active {
  color: #7fd4a8;
}

html.theme-dark .home-trust-list li,
html.theme-dark .home-platform-card,
html.theme-dark .home-legal-panel {
  background: var(--home-surface);
  border-color: var(--home-line);
}

html.theme-dark .home-platform {
  background: #0a120e;
  border-color: var(--home-line);
}

html.theme-dark .home-legal-content {
  color: var(--home-muted);
}

html.theme-dark .home-showcase {
  background: #0a120e;
}

html.theme-dark .home-cta-inner {
  background: linear-gradient(135deg, #0a1812, #145c3a);
}

html.theme-dark .home-hero-badge {
  background: var(--home-surface);
  border-color: var(--home-line);
}

html.theme-dark .site-mobile-panel {
  background: var(--home-surface);
  border-color: var(--home-line);
}

html.theme-dark .site-footer {
  background: #050a08;
}
