:root {
  --primary: #0077b6;
  --primary-deep: #023e8a;
  --accent-red: #e63946;
  --accent-coral: #f4a261;
  --accent-rose: #b76e79;
  --accent-vision: #4cc9f0;
  --accent-gold: #ffd700;
  --bg: #f5f8fd;
  --card: #ffffff;
  --text: #212529;
  --muted: #6c757d;
  --border: #dce4f2;
  --shadow: 0 18px 45px rgba(0, 48, 92, 0.12);
  --radius: 14px;
  --transition: all 0.25s ease;
  --focus: rgba(76, 201, 240, 0.45);
}

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

body {
  font-family: 'Poppins', 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] {
  font-family: 'Rubik', 'Heebo', 'Arial', sans-serif;
  text-align: right;
}

[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
}

a {
  text-decoration: none;
  color: inherit;
}

*:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul {
  list-style: none;
}

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

.container {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}

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

.nav-toggle-bars {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-deep);
  text-transform: uppercase;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-deep) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-menu a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a:hover {
  color: var(--primary-deep);
  background: rgba(0, 119, 182, 0.08);
}

.nav-menu a:hover {
  color: var(--primary-deep);
  background: rgba(0, 119, 182, 0.08);
}

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

.lang-switch {
  padding: 8px 14px;
  border-radius: 24px;
  background: #eef6ff;
  color: var(--primary-deep);
  font-weight: 600;
}

.btn,
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 119, 182, 0.28);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary-deep);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-deep);
}

.btn-sm {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.page {
  padding: 0 0 80px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: #0a1f33;
}

.hero video,
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 62, 138, 0.75) 0%, rgba(10, 31, 51, 0.8) 100%);
}

.hero .content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  gap: 22px;
}

.hero .headline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 18px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.segment-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
  transition: var(--transition);
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
}

.segment-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

section {
  padding: 80px 0;
}

.dual-hero {
  position: relative;
  padding: 0;
  background: radial-gradient(circle at top, rgba(76, 201, 240, 0.18), transparent 55%),
    linear-gradient(180deg, #061425 0%, #081a2f 100%);
  color: #fff;
  overflow: hidden;
}

.dual-hero__inner {
  min-height: clamp(560px, 82vh, 820px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 40px 0 36px;
}

.dual-hero__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.dual-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 14px;
}

.dual-hero__title {
  font-size: clamp(28px, 3.8vw, 50px);
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.dual-hero__lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  margin-top: 10px;
}

.dual-hero__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.dual-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.dual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--panel-image) center / cover no-repeat;
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.02);
}

.dual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 37, 0.38) 0%, rgba(6, 20, 37, 0.92) 72%);
}

.dual-panel__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.dual-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
}

.dual-panel__label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--panel-accent);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.dual-panel h2 {
  font-size: 28px;
  letter-spacing: -0.01em;
}

.dual-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.dual-panel__list {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 18px;
  list-style: disc;
}

[dir="rtl"] .dual-panel__list {
  padding-right: 18px;
  padding-left: 0;
}

.dual-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.dual-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f4ff;
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 14px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--primary-deep);
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--muted);
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.card-media {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e8f4ff;
  color: var(--primary-deep);
}

.badge.accent {
  background: rgba(230, 57, 70, 0.12);
  color: #b3202b;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.stat {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 48, 92, 0.08);
}

.stat h3 {
  font-size: 28px;
  color: var(--primary-deep);
}

.stat p {
  color: var(--muted);
}

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

.product-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 119, 182, 0.16);
}

.product-image {
  background: linear-gradient(180deg, #f8f9fb 0%, #e9eef5 100%);
  padding: 28px;
  min-height: 220px;
  display: grid;
  place-items: center;
}

.product-image img {
  height: 180px;
  object-fit: contain;
}

.product-body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 10px;
  border-radius: 12px;
  background: #eef2f7;
  color: #3d4853;
  font-size: 13px;
  font-weight: 600;
}

.info-panel {
  background: #f0f7ff;
  border: 1px solid #d7e7ff;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.spec-table th {
  background: #f1f5f9;
  color: var(--primary-deep);
  width: 32%;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 48, 92, 0.08);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.resource-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 48, 92, 0.08);
  display: grid;
  gap: 10px;
}

.ba {
  --ba-pos: 50;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0a1f33;
  touch-action: none;
}

.ba img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ba [data-ba-after] {
  position: absolute;
  inset: 0;
  width: calc(var(--ba-pos) * 1%);
  overflow: hidden;
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: calc(var(--ba-pos) * 1%);
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 62, 138, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.ba__range {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  accent-color: var(--primary);
}

.popover {
  position: absolute;
  inset-inline-start: var(--popover-x);
  top: var(--popover-y);
  transform: translate(-50%, calc(-100% - 16px));
  width: min(320px, 86vw);
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 14px 14px 12px;
  z-index: 20;
}

.popover::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  rotate: 45deg;
}

.popover__title {
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.popover__content {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.popover__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
}

.product-explorer {
  position: relative;
  display: grid;
  gap: 16px;
}

.product-viewer {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(76, 201, 240, 0.14), transparent 58%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: var(--shadow);
  min-height: 380px;
  display: grid;
  place-items: center;
  touch-action: none;
}

.product-viewer img {
  width: min(680px, 92%);
  height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 26px 50px rgba(0, 48, 92, 0.18));
}

.product-viewer__hint {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 119, 182, 0.16);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumb {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 48, 92, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.product-thumb.is-active {
  border-color: rgba(76, 201, 240, 0.9);
  box-shadow: 0 18px 44px rgba(76, 201, 240, 0.18);
}

.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(2, 62, 138, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 2px solid rgba(76, 201, 240, 0.55);
  opacity: 0;
  animation: hotspotPulse 2.4s infinite;
}

@keyframes hotspotPulse {
  0% {
    opacity: 0.65;
    transform: scale(0.85);
  }
  65% {
    opacity: 0;
    transform: scale(1.25);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

.howitworks {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(3, 12, 25, 0.6);
  z-index: 220;
  padding: 18px;
}

.howitworks[open] {
  display: grid;
}

.howitworks__panel {
  width: min(860px, 96vw);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.howitworks__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: start;
}

.howitworks__diagram {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(244, 162, 97, 0.22), transparent 55%),
    linear-gradient(180deg, #0b1d33 0%, #081a2f 100%);
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.howitworks__beam {
  position: absolute;
  inset-inline-start: 14%;
  top: 12%;
  width: 72%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.85) 20%, rgba(230, 57, 70, 0.95) 50%, rgba(255, 215, 0, 0.85) 80%, transparent 100%);
  filter: blur(0.2px);
  opacity: 0.9;
  animation: beamSweep 2.2s infinite;
}

@keyframes beamSweep {
  0% {
    transform: translateY(0) scaleX(0.85);
    opacity: 0.45;
  }
  45% {
    transform: translateY(80px) scaleX(1);
    opacity: 1;
  }
  100% {
    transform: translateY(210px) scaleX(0.9);
    opacity: 0.2;
  }
}

.finder-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  align-items: start;
}

.finder-controls {
  display: grid;
  gap: 10px;
}

.finder-controls .control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.finder-map {
  width: 100%;
  height: 520px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.finder-results {
  display: grid;
  gap: 12px;
}

.finder-meta {
  color: var(--muted);
  font-size: 14px;
}

.provider-card {
  width: 100%;
  text-align: start;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(0, 48, 92, 0.08);
  padding: 16px;
  display: grid;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 48, 92, 0.12);
}

.provider-card[aria-pressed="true"] {
  border-color: rgba(0, 119, 182, 0.55);
  box-shadow: 0 22px 50px rgba(0, 48, 92, 0.16);
}

.provider-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.provider-card__name {
  font-weight: 700;
  color: var(--primary-deep);
}

.provider-card__meta {
  color: var(--muted);
  font-size: 13px;
}

.provider-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.4);
  background: rgba(76, 201, 240, 0.12);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.provider-card__address {
  color: var(--muted);
  font-size: 14px;
}

.provider-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #3d4853;
  font-size: 12px;
  font-weight: 700;
}

.provider-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.empty-state {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(0, 48, 92, 0.08);
  padding: 18px;
  display: grid;
  gap: 6px;
}

.empty-state__title {
  font-weight: 800;
  color: var(--primary-deep);
}

.empty-state__text {
  color: var(--muted);
}

.dialog {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(3, 12, 25, 0.6);
  z-index: 200;
  padding: 18px;
}

.dialog[open] {
  display: grid;
}

.dialog__panel {
  width: min(720px, 96vw);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.dialog__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dialog__close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
}

.portal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

.portal-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}

.portal-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-deep);
  font-weight: 700;
}

.portal-nav a:hover {
  border-color: rgba(0, 119, 182, 0.45);
}

.community-post {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 48, 92, 0.08);
  display: grid;
  gap: 10px;
}

.community-post__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.community-post__message {
  color: var(--text);
}

footer {
  background: #0b1d33;
  color: #e2e8f0;
  padding: 60px 0 40px;
  margin-top: 30px;
}

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

.footer-col h4 {
  margin-bottom: 12px;
  color: #fff;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #9fb3c8;
}

.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #023e8a 0%, #0b335f 100%);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

.layout-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
}

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

.input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 960px) {
  nav {
    flex-wrap: wrap;
  }

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

  .nav-links,
  .nav-menu {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  [data-site-header] .nav-menu,
  [data-site-header] .nav-links {
    display: none;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  }

  [data-site-header].is-open .nav-menu,
  [data-site-header].is-open .nav-links {
    display: flex;
  }

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

  .hero {
    min-height: 70vh;
  }

  .dual-hero__split {
    grid-template-columns: 1fr;
  }

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

  .finder-layout {
    grid-template-columns: 1fr;
  }

  .finder-map {
    height: 420px;
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  nav {
    gap: 12px;
  }

  .nav-links {
    gap: 10px;
    font-size: 14px;
  }

  .section-header {
    flex-direction: column;
  }

  .cta-group {
    width: 100%;
  }

  .cta-group .btn-primary,
  .cta-group .btn-outline,
  .cta-group .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .ba img {
    height: 280px;
  }
}
