:root {
  --surface: #ffffff;
  --surface-muted: #e3edf8;
  --hero-blue: #c7dcf5;
  --navy-tint: #f0f6fc;
  --brand-navy: #002c5f;
  --brand-navy-dark: #001736;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #cfe0f2;
  --accent: #0369a1;
  --accent-soft: #cce9f8;
  --gold: #d97706;
  --radius: 16px;
  --font: "Vazirmatn", system-ui, sans-serif;
  /* legacy aliases for pricing dark islands */
  --navy-main: #002c5f;
  --navy-dark: #001736;
  --blue-accent: #0369a1;
  --white: #ffffff;
  --chrome-navy: #001736;
  --chrome-navy-mid: #002c5f;
  --on-navy: #f1f5f9;
  --on-navy-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  line-height: 1.7;
}

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

a:hover {
  color: var(--brand-navy);
}

img {
  max-width: 100%;
  display: block;
}

.site-wrap {
  position: relative;
  z-index: 1;
  background: var(--surface);
}

main {
  background: var(--surface);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--chrome-navy);
  border-bottom: 3px solid #004b9e;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--text);
  text-decoration: none;
}

.site-header .brand .brand-title {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--on-navy);
}

.site-header .brand .brand-tag {
  font-size: 0.72rem;
  color: #7dd3fc;
  font-weight: 600;
}

.site-header .nav-link {
  color: var(--on-navy-muted);
}

.site-header .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-navy);
  border-color: rgba(255, 255, 255, 0.15);
}

.site-header .nav-link.active {
  color: #ffffff;
  background: var(--chrome-navy-mid);
  border-color: rgba(255, 255, 255, 0.2);
}

.text-muted {
  color: var(--text-muted);
}

.text-muted-sm {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  color: var(--brand-navy);
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--accent-soft);
  color: var(--brand-navy-dark);
  border-color: rgba(0, 44, 95, 0.2);
  text-decoration: none;
}

.nav-link.active {
  color: #ffffff;
  background: var(--brand-navy);
  border-color: var(--brand-navy-dark);
  box-shadow: 0 4px 14px rgba(0, 44, 95, 0.25);
  text-decoration: none;
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #004b9e 100%);
  color: var(--white) !important;
  border: 1px solid var(--brand-navy);
  box-shadow: 0 6px 20px rgba(0, 44, 95, 0.35);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--brand-navy-dark);
  color: var(--white) !important;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand-navy);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 0 1rem;
  gap: 0.35rem;
  background: var(--surface);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 0.5rem 1rem;
}

/* Hero */
.hero-full {
  --hero-split: 46%;
  background: #ffffff;
  padding: 0;
  width: 100%;
  border-bottom: 3px solid var(--brand-navy);
  position: relative;
  overflow: hidden;
}

.page-home .hero-full-grid--classic {
  display: none;
}

.hero-mobile-banner {
  display: block;
  line-height: 0;
  background: #001736;
  padding: 0;
}

.hero-mobile-frame {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
}

.hero-mobile-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mobile-hotspot--moshavere {
  left: 5%;
  bottom: 2.8%;
  width: 42%;
  height: 4.2%;
}

.hero-mobile-hotspot--analysis {
  left: 53%;
  bottom: 2.8%;
  width: 42%;
  height: 4.2%;
}

.hero-laptop-banner {
  display: none;
  line-height: 0;
  background: #001736;
  padding: 0;
}

.hero-laptop-frame {
  position: relative;
  width: min(100%, 1024px);
  margin-inline: auto;
}

.hero-laptop-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1024px;
  image-rendering: auto;
}

.hero-laptop-hotspots {
  position: absolute;
  inset: 0;
}

.hero-laptop-hotspot {
  position: absolute;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-laptop-hotspot:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero-laptop-hotspot:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
  background: rgba(125, 211, 252, 0.12);
}

.hero-laptop-hotspot--moshavere {
  left: 53.5%;
  bottom: 8.5%;
  width: 15.5%;
  height: 10.5%;
}

.hero-laptop-hotspot--analysis {
  left: 70.5%;
  bottom: 8.5%;
  width: 26%;
  height: 10.5%;
}

@media (min-width: 901px) {
  .page-home .hero-mobile-banner {
    display: none;
  }

  .page-home .hero-laptop-banner {
    display: block;
  }

  .page-home .hero-full::before {
    display: none;
  }

  .page-home .hero-full {
    border-bottom: none;
    background: #001736;
  }
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    #ffffff calc(var(--hero-split) - 10%),
    var(--navy-tint) calc(var(--hero-split) - 5%),
    var(--hero-blue) calc(var(--hero-split) - 1%),
    var(--chrome-navy-mid) var(--hero-split),
    var(--chrome-navy) calc(var(--hero-split) + 14%),
    var(--chrome-navy) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-full-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, var(--hero-split)) 1fr;
  min-height: clamp(480px, 78vh, 780px);
  align-items: stretch;
}

.hero-wave-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - var(--hero-split) - 2rem);
  width: 4rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.hero-full-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem 3rem max(1.5rem, calc((100vw - 1140px) / 2 + 1rem));
  background: transparent;
  border-left: none;
  position: relative;
  z-index: 1;
}

.hero-full-photo {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}

.hero-edu-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M20 85 L60 65 L100 85 L100 95 L20 95 Z'/%3E%3Crect x='52' y='38' width='16' height='28' rx='2'/%3E%3Cpath d='M30 45 L35 25 L40 45'/%3E%3Cpath d='M85 50 L90 35 L95 50'/%3E%3Ctext x='72' y='32' font-size='14' fill='%23ffffff' stroke='none'%3E%E2%88%91%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}

.hero-edu-icon {
  position: absolute;
  z-index: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  opacity: 0.22;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  animation: hero-edu-float 7s ease-in-out infinite;
}

.hero-edu-icon--1 { top: 12%; left: 8%; animation-delay: 0s; }
.hero-edu-icon--2 { top: 22%; right: 10%; animation-delay: -1.2s; }
.hero-edu-icon--3 { bottom: 28%; left: 14%; animation-delay: -2.4s; }
.hero-edu-icon--4 { bottom: 18%; right: 12%; animation-delay: -3.6s; }
.hero-edu-icon--5 { top: 48%; left: 6%; animation-delay: -4.8s; }
.hero-edu-icon--6 { top: 55%; right: 6%; animation-delay: -6s; }

@keyframes hero-edu-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-edu-icon {
    animation: none;
  }
}

.hero-deco-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-full-photo.hero-full-photo--interactive {
  pointer-events: auto;
}

.hero-deco-chip,
.hero-deco-chip--dynamic {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--on-navy);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
}

.hero-portrait-wrap {
  position: relative;
  z-index: 2;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  flex-shrink: 0;
}

.hero-portrait-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--brand-navy);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.95),
    0 0 0 12px rgba(0, 44, 95, 0.12),
    -12px 16px 48px rgba(0, 44, 95, 0.22),
    0 20px 50px rgba(0, 23, 54, 0.35);
  background: var(--brand-navy-dark);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transform: scale(1.05);
}

.hero-full-copy h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--brand-navy-dark);
}

.hero-full-copy h1 span {
  color: var(--brand-navy);
}

.hero-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — Amootech-inspired showcase (navy brand) */
.hero-full--showcase {
  --hero-split: 52%;
  border-bottom: none;
}

.hero-full--showcase::before {
  background: linear-gradient(
    to left,
    #ffffff 0%,
    #ffffff calc(var(--hero-split) - 8%),
    var(--navy-tint) calc(var(--hero-split) - 3%),
    var(--chrome-navy-mid) var(--hero-split),
    var(--chrome-navy) 100%
  );
}

.hero-full--showcase .hero-full-grid {
  min-height: clamp(520px, 86vh, 820px);
  grid-template-columns: minmax(340px, var(--hero-split)) 1fr;
}

.hero-full--showcase .hero-full-copy {
  padding: clamp(2rem, 5vw, 3.5rem) 2rem clamp(2rem, 4vw, 3rem)
    max(1.25rem, calc((100vw - 1140px) / 2 + 0.75rem));
  gap: 0.35rem;
}

.hero-full--showcase .hero-brand {
  margin-bottom: 0.75rem;
}

.hero-full--showcase .hero-brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--brand-navy-dark);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.hero-full--showcase .hero-brand-slogan {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--text-muted);
}

.hero-full--showcase .hero-brand-slogan span {
  color: var(--gold);
  font-weight: 900;
}

.hero-full--showcase .hero-full-copy h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  margin-bottom: 0.65rem;
}

.hero-full--showcase .hero-lead {
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.hero-full--showcase .hero-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  max-width: 36rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(0, 44, 95, 0.06);
}

.hero-full--showcase .hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-navy-dark);
  text-decoration: none;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--border);
}

.hero-full--showcase .hero-service-item:nth-child(even) {
  border-inline-start: 1px solid var(--border);
}

.hero-full--showcase .hero-service-item--btn {
  width: 100%;
}

.hero-full--showcase .hero-service-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.hero-full--showcase .hero-service-item:hover {
  background: var(--navy-tint);
  color: var(--brand-navy-dark);
  text-decoration: none;
}

.hero-full--showcase .hero-service-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-full--showcase .hero-service-label {
  line-height: 1.45;
}

.hero-full--showcase .hero-cta-main {
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0, 44, 95, 0.32);
}

.hero-full--showcase .hero-full-photo {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.hero-full--showcase .hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-full--showcase .hero-glow--a {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: rgba(3, 105, 161, 0.35);
  bottom: 5%;
  left: 10%;
}

.hero-full--showcase .hero-glow--b {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: rgba(0, 75, 158, 0.45);
  top: 8%;
  right: 5%;
}

.hero-full--showcase .hero-edu-pattern {
  opacity: 0.07;
}

.hero-full--showcase .hero-portrait-wrap--showcase {
  width: min(520px, 92%);
  max-height: min(720px, 88vh);
  aspect-ratio: auto;
  height: auto;
  align-self: flex-end;
  margin-bottom: -2px;
}

.hero-full--showcase .hero-portrait-wrap--showcase .hero-portrait-img {
  width: 100%;
  height: auto;
  max-height: min(720px, 88vh);
  object-fit: contain;
  object-position: bottom center;
  transform: none;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.btn:focus-visible,
.lead-input:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pricing-page-shell {
  display: flex;
  justify-content: center;
  padding: 0 0.5rem;
}

.pricing-page-shell-wide .capture-area {
  max-width: 1400px;
}

.rich-pricing-page {
  background: var(--surface-muted);
}

.pricing-cta-bar {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  background: #ffffff;
}

.pricing-cta-center {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  background: transparent;
}

.rich-pricing-page.moshavere--edge {
  padding: 0 0 1rem;
  background: #ffffff;
}

.pricing-cards-band {
  background: linear-gradient(180deg, var(--chrome-navy-mid) 0%, var(--chrome-navy) 100%);
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(0.75rem, 3vw, 2rem);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.home-stats-bar {
  position: relative;
  z-index: 4;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem) clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(-2.75rem, -6vw, -1.5rem);
  background: transparent;
}

.home-stats-bar-shell {
  width: min(1140px, 94vw);
  margin-inline: auto;
}

.home-stats-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(207, 224, 242, 0.9);
  box-shadow:
    0 18px 48px rgba(0, 44, 95, 0.1),
    0 4px 14px rgba(15, 23, 42, 0.06);
  padding: clamp(1.85rem, 4.5vw, 2.65rem) clamp(0.75rem, 2vw, 1.5rem);
}

.home-stats-item {
  text-align: center;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(0.65rem, 2vw, 1.25rem);
}

.home-stats-item + .home-stats-item {
  border-inline-start: 1px solid #e2e8f0;
}

.home-stats-value {
  display: block;
  font-weight: 900;
  font-size: clamp(2.15rem, 5.5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.home-stats-label {
  display: block;
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
}

.home-results-marquees {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 0 clamp(1.25rem, 3vw, 2rem);
  background: #ffffff;
}

.home-marquee-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.home-marquee-track {
  display: flex;
  width: max-content;
  direction: rtl;
  animation: home-marquee-scroll-rtl 42s linear infinite;
  will-change: transform;
}

.home-marquee-track--reverse {
  animation-name: home-marquee-scroll-rtl-reverse;
  animation-duration: 72s;
}

.home-marquee--progress {
  background: linear-gradient(90deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  padding: 0.85rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.home-marquee--admissions {
  background: linear-gradient(180deg, var(--navy-tint) 0%, #ffffff 100%);
  padding: 0.85rem 0;
  border-block: 1px solid var(--border);
}

.home-marquee-group {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  padding-inline: 0.85rem;
  flex-shrink: 0;
  direction: rtl;
}

.home-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-marquee-chip--story {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-marquee-chip--story .home-marquee-name {
  color: #fde68a;
}

.home-marquee-chip--story .home-marquee-detail {
  color: #e2e8f0;
  font-weight: 600;
}

.home-marquee-chip--admission {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 44, 95, 0.07);
}

.home-marquee-chip--admission .home-marquee-name {
  color: var(--brand-navy);
  font-weight: 800;
}

.home-marquee-field {
  font-weight: 700;
  color: var(--accent);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.84rem;
}

.home-marquee-name {
  font-weight: 800;
}

.home-marquee-viewport:hover .home-marquee-track,
.home-marquee-viewport:focus-within .home-marquee-track {
  animation-play-state: paused;
}

.home-results-marquees-foot {
  display: flex;
  justify-content: center;
  padding: 0.35rem clamp(0.75rem, 3vw, 1.25rem) 0;
}

.home-results-all-btn {
  border-radius: 999px;
  padding: 0.85rem 1.65rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(3, 105, 161, 0.28);
}

.home-results-all-btn::after {
  content: " ↗";
  font-weight: 900;
}

@keyframes home-marquee-scroll-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

@keyframes home-marquee-scroll-rtl-reverse {
  from {
    transform: translateX(50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0.85rem;
  }

  .home-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .home-marquee-viewport {
    mask-image: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .home-stats-bar {
    margin-top: -1.25rem;
  }

  .home-stats-card {
    grid-template-columns: 1fr;
    padding: 1.35rem 1rem;
  }

  .home-stats-item + .home-stats-item {
    border-inline-start: none;
    border-block-start: 1px solid #e2e8f0;
    margin-top: 0.25rem;
    padding-top: 1.25rem;
  }
}

.home-gift-bar {
  background: #ffffff;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 3vw, 1.25rem);
}

.home-gift-bar-shell {
  width: min(1140px, 94vw);
  margin-inline: auto;
}

.home-gift-bar-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.45rem, 3vw, 2.1rem) clamp(1.35rem, 3vw, 2.15rem);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(125deg, #003a7a 0%, var(--brand-navy) 42%, var(--brand-navy-dark) 100%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow:
    0 16px 40px rgba(0, 23, 54, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-gift-bar-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
}

.home-gift-bar-glow--a {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -40px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.32) 0%, transparent 70%);
}

.home-gift-bar-glow--b {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -50px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
}

.home-gift-bar-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 18px 18px;
}

.home-gift-bar-inner--clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-gift-bar-inner--clickable:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(0, 23, 54, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-gift-bar-inner--clickable:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 4px;
}

.home-gift-bar-icon {
  flex-shrink: 0;
  width: clamp(3.5rem, 8vw, 4.75rem);
  height: clamp(3.5rem, 8vw, 4.75rem);
  display: grid;
  place-items: center;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  background: linear-gradient(160deg, rgba(255, 251, 235, 0.18) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}

.home-gift-bar-copy {
  flex: 1;
  min-width: min(100%, 14rem);
  position: relative;
  z-index: 1;
}

.home-gift-bar-slogan {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: clamp(0.74rem, 1.6vw, 0.84rem);
  font-weight: 800;
  line-height: 1.5;
}

.home-gift-bar-title {
  font-weight: 900;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: #f8fafc;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

.home-gift-bar-title em {
  font-style: normal;
  color: #fde68a;
}

.home-gift-bar-sub {
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 36rem;
}

.home-gift-bar-btn {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #001736 !important;
  border-color: #f59e0b;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.home-gift-bar-btn:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
}

.home-gift-bar-btn::after {
  content: " ←";
  font-weight: 900;
}

.rich-pricing-page.moshavere--edge .capture-area {
  max-width: none;
  width: 100%;
  border-radius: 0;
  border-inline: none;
  box-shadow: none;
  padding-inline: clamp(0.75rem, 3vw, 2rem);
}

.rich-pricing-page.entekhab--edge {
  padding: 0 0 1rem;
  background: #ffffff;
}

.rich-pricing-page.entekhab--edge .capture-area {
  max-width: none;
  width: 100%;
  border-radius: 0;
  border-inline: none;
  box-shadow: none;
  padding-inline: clamp(0.75rem, 3vw, 2rem);
}

.btn,
a.btn,
a.btn-primary,
a.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none !important;
}

.btn-primary,
a.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #004b9e 100%);
  color: var(--white) !important;
  border-color: var(--brand-navy);
  box-shadow: 0 6px 18px rgba(0, 44, 95, 0.28);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--brand-navy-dark);
  text-decoration: none !important;
}

.btn-secondary,
a.btn-secondary {
  background: var(--surface);
  border-color: var(--brand-navy);
  color: var(--brand-navy) !important;
}

.btn-secondary:hover,
a.btn-secondary:hover {
  background: var(--accent-soft);
  text-decoration: none !important;
}

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

.section {
  padding: 3.5rem 0;
}

.section:nth-child(even):not(.section-navy) {
  background: #ffffff;
}

.section-navy {
  background: var(--chrome-navy);
  border-top: 3px solid #004b9e;
  border-bottom: 3px solid #004b9e;
}

.section-navy .section-title {
  color: var(--on-navy);
  border-right-color: #7dd3fc;
}

.section-navy .section-sub {
  color: var(--on-navy-muted);
}

.section-navy .glass-card {
  background: var(--chrome-navy-mid);
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: #7dd3fc;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.section-navy .feature-card h3 {
  color: #ffffff;
}

.section-navy .feature-card p {
  color: var(--on-navy-muted);
}

.section-title {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--brand-navy-dark);
  border-right: 4px solid var(--brand-navy);
  padding-right: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 40rem;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 6px 22px rgba(0, 44, 95, 0.07);
}

.story-block {
  font-size: 1.05rem;
  white-space: pre-line;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--brand-navy);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  border-top: 3px solid #004b9e;
  padding: 2rem 0;
  margin-top: 0;
  color: var(--on-navy-muted);
  font-size: 0.85rem;
  background: var(--chrome-navy);
}

.site-footer a {
  color: #7dd3fc;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid strong {
  color: var(--on-navy);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  position: relative;
}

.modal h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--brand-navy-dark);
  line-height: 1.5;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.lead-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.lead-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  margin-bottom: 0.75rem;
}

.lead-input:focus {
  outline: 2px solid rgba(3, 105, 161, 0.35);
  border-color: var(--accent);
}

.form-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-msg.ok {
  color: #059669;
}

.form-msg.err {
  color: #dc2626;
}

.page-hero {
  padding: 2.5rem 0 1rem;
  text-align: center;
  background: var(--chrome-navy);
  border-bottom: 3px solid #004b9e;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--on-navy);
}

.page-content {
  padding-bottom: 3rem;
  background: var(--surface);
}

/* Bottom navigation (mobile web-app) */
.bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .page-home .hero-full {
    border-bottom: none;
    background: #001736;
  }

  .page-home .hero-full::before {
    display: none;
  }

  .nav-desktop {
    display: none;
  }
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  body.has-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  body.has-bottom-nav .site-wrap {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
  }

  body.has-bottom-nav .site-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 110;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0.15rem;
    padding: 0.35rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0));
    background: var(--chrome-navy);
    border-top: 3px solid #004b9e;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.28);
  }

  .bottom-nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--on-navy-muted);
    text-decoration: none;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    border-radius: 10px;
  }

  .bottom-nav-item .bottom-nav-icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .bottom-nav-item.active {
    color: #ffffff;
    background: var(--chrome-navy-mid);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  .bottom-nav-item--cta {
    flex: 0 0 auto;
    margin-top: -1.35rem;
    padding: 0;
  }

  .bottom-nav-fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
  }

  .bottom-nav-fab-circle {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-navy), #004b9e);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 44, 95, 0.4);
    border: 3px solid #fff;
  }

  .bottom-nav-fab-label {
    font-size: 0.58rem;
    font-weight: 800;
    color: #ffffff;
    max-width: 4.5rem;
    text-align: center;
    line-height: 1.2;
  }

  .header-inner {
    padding: 0.65rem 0;
  }

  .hero-full {
    --hero-split: 100%;
  }

  .hero-full-grid {
    grid-template-columns: 1fr;
  }

  .hero-wave-divider {
    display: none;
  }

  .hero-full-photo {
    order: -1;
    min-height: auto;
    padding: 2rem 1rem 1.25rem;
  }

  .hero-portrait-wrap {
    width: min(320px, 82vw);
  }

  .hero-portrait-img {
    object-position: center 10%;
  }

  .hero-deco-chip,
  .hero-deco-chip--dynamic {
    font-size: 0.62rem;
    padding: 0.25rem 0.55rem;
  }

  .hero-full::before {
    background: linear-gradient(
      180deg,
      var(--chrome-navy) 0%,
      var(--chrome-navy-mid) 34%,
      var(--navy-tint) 42%,
      #ffffff 50%,
      #ffffff 100%
    );
  }

  .hero-full-copy {
    padding: 2rem 1.25rem 2.5rem;
    border-left: none;
    border-top: none;
    box-shadow: 0 -8px 24px rgba(0, 44, 95, 0.06);
  }

  .hero-full--showcase .hero-service-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-full--showcase .hero-service-item {
    border-left: none !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .hero-full--showcase .hero-service-item:last-child {
    border-bottom: none !important;
  }

  .hero-full--showcase .hero-portrait-wrap--showcase {
    width: min(300px, 78vw);
    max-height: 380px;
  }

  .hero-full--showcase .hero-portrait-wrap--showcase .hero-portrait-img {
    max-height: 380px;
  }

  .hero-full--showcase .hero-actions {
    flex-direction: column;
  }

  .hero-full--showcase .hero-actions .btn {
    width: 100%;
  }

  .home-gift-bar-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.15rem;
  }

  .home-gift-bar-copy {
    text-align: center;
  }

  .home-gift-bar-slogan {
    margin-inline: auto;
  }

  .home-gift-bar-sub {
    margin-inline: auto;
  }

  .home-gift-bar-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}
