/**
 * Homepage — Industrial Editorial composition
 */

body.is-front {
  overflow-x: hidden;
}

body.is-front .site-footer,
body.is-front .site-header,
body.is-front .topbar:not(.home-topbar) {
  display: none;
}

/* —— Topbar —— */
body.is-front .home-topbar {
  background: var(--navy);
  color: #e8eef8;
  font-size: var(--fs-sm);
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.is-front .home-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2.5rem), var(--container-wide));
}

body.is-front .status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body.is-front .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

body.is-front .top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

body.is-front .mini-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #edf3fb;
  transition: color var(--dur-fast) var(--ease-out);
}

body.is-front .mini-action:hover {
  color: #fff;
}

body.is-front .mini-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

body.is-front .topbar-support-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

body.is-front .topbar-support-text strong {
  font-size: var(--fs-sm);
  direction: ltr;
  unicode-bidi: isolate;
}

body.is-front .topbar-support-text em {
  font-style: normal;
  font-size: var(--fs-xs);
  color: #9eb0c7;
}

/* —— Header —— */
body.is-front .main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(16, 33, 59, 0.08);
}

body.is-front .header-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(200px, 280px);
  gap: 1.25rem;
  align-items: center;
  width: min(calc(100% - 2.5rem), var(--container-wide));
  margin-inline: auto;
}

body.is-front .brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

body.is-front .brand-mark {
  width: 46px;
  height: 46px;
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
}

body.is-front .brand-mark::before,
body.is-front .brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 11px;
  border-radius: 2px;
  background: linear-gradient(180deg, #0c2952, #061a34);
}

body.is-front .brand-mark::before {
  right: 9px;
  transform: skewY(-31deg);
}

body.is-front .brand-mark::after {
  left: 9px;
  transform: skewY(31deg);
}

body.is-front .brand-mark i {
  width: 7px;
  height: 34px;
  background: var(--blue);
  border-radius: 2px;
  display: block;
}

body.is-front .brand-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  line-height: 1.15;
}

body.is-front .brand-sub {
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}

body.is-front .main-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: var(--fs-md);
  font-weight: 500;
}

body.is-front .main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 0.15rem;
  color: #24344e;
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}

body.is-front .main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 12px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}

body.is-front .main-nav a:hover,
body.is-front .main-nav .current-menu-item > a {
  color: var(--blue);
}

body.is-front .main-nav a:hover::after,
body.is-front .main-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

body.is-front .header-search-box {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--elev-1);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

body.is-front .header-search-box:focus-within {
  border-color: rgba(26, 95, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(26, 95, 255, 0.1);
}

body.is-front .header-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 1rem;
  font-size: var(--fs-sm);
}

body.is-front .header-search-box button {
  width: 46px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.is-front .mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  place-items: center;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}

body.is-front .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* —— Buttons —— */
body.is-front .btn {
  border: 0;
  border-radius: var(--radius-sm);
  min-height: var(--tap);
  padding: 0 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

body.is-front .btn-primary {
  background: linear-gradient(180deg, #2a6fff, var(--blue-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 77, 224, 0.28);
}

body.is-front .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 77, 224, 0.34);
}

body.is-front .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}

body.is-front .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

body.is-front .btn-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-2);
  box-shadow: var(--elev-1);
}

body.is-front .btn-light:hover {
  transform: translateY(-1px);
  border-color: #c5d2e4;
}

body.is-front .btn:focus-visible,
body.is-front a:focus-visible,
body.is-front button:focus-visible,
body.is-front input:focus-visible,
body.is-front select:focus-visible,
body.is-front textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* —— Hero full-bleed —— */
body.is-front .hero {
  position: relative;
  min-height: min(78vh, 640px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--navy);
  display: grid;
  align-items: center;
}

body.is-front .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hmKenBurns 18s var(--ease-out) infinite alternate;
}

@keyframes hmKenBurns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, 1%, 0);
  }
}

body.is-front .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 26, 52, 0.92) 0%, rgba(6, 26, 52, 0.72) 42%, rgba(6, 26, 52, 0.28) 70%, rgba(6, 26, 52, 0.15) 100%),
    linear-gradient(0deg, rgba(6, 26, 52, 0.55) 0%, transparent 40%);
}

body.is-front .hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2.5rem), var(--container-wide));
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
  max-width: 38rem;
  margin-right: auto;
  margin-left: max(auto, calc((100% - min(100% - 2.5rem, var(--container-wide))) / 2));
  color: #fff;
}

body.is-front .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8c9e0;
  margin-bottom: 1rem;
}

body.is-front .hero h1 {
  margin: 0;
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}

body.is-front .hero h1 span {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: #d5e2f4;
}

body.is-front .hero p {
  margin: 1rem 0 0;
  font-size: var(--fs-md);
  line-height: 1.9;
  color: #c6d4e6;
  max-width: 32rem;
}

body.is-front .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* —— Benefits —— */
body.is-front .benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -2.25rem;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 224, 235, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  overflow: hidden;
}

body.is-front .benefit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  min-height: 96px;
  border-left: 1px solid var(--line-soft);
}

body.is-front .benefit:last-child {
  border-left: 0;
}

body.is-front .benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--blue-soft), #fff);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #d9e6ff;
}

body.is-front .benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

body.is-front .benefit strong {
  display: block;
  font-size: var(--fs-md);
  margin-bottom: 0.2rem;
  color: var(--navy);
}

body.is-front .benefit span {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* —— Section heads —— */
body.is-front .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

body.is-front .section-head h2,
body.is-front .center-title h2,
body.is-front .inquiry h2 {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
}

body.is-front .section-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.is-front .center-title {
  text-align: center;
  margin-bottom: 1.75rem;
}

body.is-front .center-title p {
  margin: 0.45rem 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* —— Categories —— */
body.is-front .categories {
  margin-top: var(--space-section);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.is-front .category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
}

body.is-front .category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-height: 132px;
  padding: 0.85rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--elev-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

body.is-front .category:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
  border-color: #c9d7ea;
}

body.is-front .category img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.is-front .category span {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

/* —— Market / prices —— */
body.is-front .market-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  margin-top: var(--space-section);
  align-items: stretch;
}

body.is-front .price-box {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

body.is-front .price-box .section-head {
  padding: 1.25rem 1.35rem 0.75rem;
  margin: 0;
}

body.is-front .price-table-wrap {
  overflow: auto;
  max-width: 100%;
}

body.is-front .price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 560px;
}

body.is-front .price-table th {
  padding: 0.85rem 0.75rem;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

body.is-front .price-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  color: #44566e;
  white-space: nowrap;
}

body.is-front .price-table td:first-child {
  font-weight: 700;
  color: var(--navy);
}

body.is-front .price-table .up {
  color: var(--green);
  font-weight: 700;
  direction: ltr;
}

body.is-front .price-table .down {
  color: var(--red);
  font-weight: 700;
  direction: ltr;
}

body.is-front .table-note {
  padding: 0.9rem 1.25rem 1.1rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

body.is-front .table-note a {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

body.is-front .inquiry {
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(26, 95, 255, 0.22), transparent 55%),
    linear-gradient(145deg, #0b2b55 0%, #071f3d 55%, #061830 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--elev-2);
  color: #fff;
}

body.is-front .inquiry h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

body.is-front .inquiry-sub {
  font-size: var(--fs-sm);
  color: #b7c7db;
  margin-bottom: 1.1rem;
  line-height: 1.7;
}

body.is-front .form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

body.is-front .field {
  height: var(--tap);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 0.9rem;
  color: var(--ink);
  font-size: var(--fs-sm);
  outline: none;
  width: 100%;
}

body.is-front .field:focus {
  box-shadow: 0 0 0 3px rgba(26, 95, 255, 0.25);
}

body.is-front select.field {
  appearance: auto;
}

body.is-front textarea.field {
  height: 96px;
  grid-column: 1 / -1;
  resize: vertical;
  padding-top: 0.85rem;
}

body.is-front .form-bottom {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.is-front .support-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #c5d3e4;
  font-size: var(--fs-xs);
  line-height: 1.6;
}

body.is-front .support-note .headset {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  flex: none;
}

/* —— Blog —— */
body.is-front .content-section {
  margin-top: var(--space-section);
}

body.is-front .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

body.is-front .post {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--elev-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

body.is-front .post:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}

body.is-front .post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

body.is-front .post-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.is-front .post-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 0.55rem;
}

body.is-front .post h3 {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.65;
  font-weight: 700;
  color: var(--navy);
}

body.is-front .post p {
  margin: 0.55rem 0 1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}

body.is-front .post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: auto;
}

body.is-front .post-foot .btn {
  min-height: 40px;
  padding: 0 0.9rem;
  font-size: var(--fs-xs);
}

/* —— Experts —— */
body.is-front .experts {
  margin-top: var(--space-section);
  margin-bottom: var(--space-6);
  padding: 1.75rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
}

body.is-front .expert-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 1rem;
  direction: ltr;
}

body.is-front .service-panel {
  direction: rtl;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0c3263, #071f3d);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

body.is-front .service-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body.is-front .service-item:last-child {
  border: 0;
  padding-bottom: 0;
}

body.is-front .service-item .circle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

body.is-front .service-item strong {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: 0.2rem;
}

body.is-front .service-item span {
  font-size: var(--fs-xs);
  color: #d5e2f2;
  line-height: 1.7;
}

body.is-front .expert-card {
  direction: rtl;
  text-align: center;
  padding: 1.15rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.is-front .expert-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7rem;
  border: 3px solid #fff;
  box-shadow: var(--elev-1);
}

body.is-front .expert-card h3 {
  margin: 0;
  font-size: var(--fs-md);
  color: var(--navy);
}

body.is-front .expert-card p {
  margin: 0.35rem 0 0.45rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}

body.is-front .expert-phone {
  direction: ltr;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

body.is-front .expert-card .btn {
  min-height: 42px;
  width: auto;
  min-width: 140px;
  background: var(--navy-2);
  color: #fff;
  font-size: var(--fs-xs);
}

/* —— Footer homepage —— */
body.is-front footer#about {
  background:
    radial-gradient(900px 400px at 10% -20%, rgba(26, 95, 255, 0.18), transparent 50%),
    linear-gradient(180deg, #08264a, #061d39);
  color: #fff;
  margin-top: 0;
  padding: 3rem 0 1.15rem;
}

body.is-front .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.95fr 1fr;
  gap: 1.75rem;
  width: min(calc(100% - 2.5rem), var(--container-wide));
  margin-inline: auto;
}

body.is-front .footer-brand .brand-title {
  color: #fff;
}

body.is-front .footer-brand .brand-sub {
  color: #a9bbd0;
}

body.is-front .footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: #d0dceb;
  margin: 0.85rem 0 1rem;
}

body.is-front .trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.4rem;
}

body.is-front .trust-item {
  text-align: center;
  font-size: var(--fs-xs);
  color: #d9e4f1;
}

body.is-front .trust-item svg {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto 0.35rem;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
}

body.is-front .footer-col h4 {
  margin: 0 0 0.9rem;
  font-size: var(--fs-md);
}

body.is-front .footer-col ul,
body.is-front .footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  color: #d2deea;
}

body.is-front .footer-bottom {
  width: min(calc(100% - 2.5rem), var(--container-wide));
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: var(--fs-xs);
  color: #c5d3e3;
}

body.is-front .toast {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  box-shadow: var(--elev-3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.25s var(--ease-out);
  z-index: 99;
}

body.is-front .toast.show {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  body.is-front .header-row {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr) minmax(160px, 220px);
  }

  body.is-front .main-nav .menu {
    gap: 0.25rem 0.85rem;
    font-size: var(--fs-sm);
  }

  body.is-front .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.is-front .category-grid .category:nth-child(n + 5) {
    display: none;
  }

  body.is-front .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  body.is-front .topbar-support-text em {
    display: none;
  }
}

@media (max-width: 860px) {
  body.is-front .home-topbar .status {
    display: none;
  }

  body.is-front .header-row {
    grid-template-columns: 1fr auto auto;
  }

  body.is-front .main-nav {
    display: none;
  }

  body.is-front .mobile-toggle {
    display: grid;
    place-items: center;
  }

  body.is-front .hero {
    min-height: 560px;
  }

  body.is-front .hero-content {
    margin: 0 auto;
    text-align: center;
    max-width: 36rem;
    padding-top: 14rem;
    align-items: center;
  }

  body.is-front .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 26, 52, 0.2) 0%, rgba(6, 26, 52, 0.55) 42%, rgba(6, 26, 52, 0.92) 70%),
      linear-gradient(0deg, rgba(6, 26, 52, 0.4), transparent 30%);
  }

  body.is-front .hero-actions {
    justify-content: center;
  }

  body.is-front .benefits {
    grid-template-columns: 1fr 1fr;
    margin-top: -1.25rem;
  }

  body.is-front .benefit {
    border-left: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  body.is-front .market-grid,
  body.is-front .blog-grid {
    grid-template-columns: 1fr;
  }

  body.is-front .expert-grid {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
  }

  body.is-front .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.is-front .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body.is-front .topbar-support-text {
    display: none;
  }

  body.is-front .header-search-box {
    max-width: 46px;
    border-radius: var(--radius-sm);
  }

  body.is-front .header-search-box input {
    display: none;
  }

  body.is-front .benefits,
  body.is-front .category-grid,
  body.is-front .form-grid,
  body.is-front .expert-grid,
  body.is-front .footer-grid {
    grid-template-columns: 1fr;
  }

  body.is-front .category-grid .category:nth-child(n + 5) {
    display: none;
  }

  body.is-front .hero-actions {
    flex-direction: column;
  }

  body.is-front .hero-actions .btn,
  body.is-front .form-bottom .btn {
    width: 100%;
  }

  body.is-front .form-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  /* Mobile hamburger: stack menu items vertically */
  body.is-front .main-nav.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  body.is-front .main-nav.is-open .menu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100%;
  }

  body.is-front .main-nav.is-open .menu > li {
    width: 100%;
    margin: 0;
  }

  body.is-front .main-nav.is-open .menu a {
    width: 100%;
    display: block;
    white-space: normal;
    padding: 0.85rem 0.75rem;
    text-align: right;
    border-radius: 8px;
  }

  body.is-front .main-nav.is-open .menu a:hover,
  body.is-front .main-nav.is-open .menu .current-menu-item > a {
    background: rgba(23, 105, 255, 0.06);
  }
}
