/* ==========================================================================
   OurMasjid.lk — Public Homepage Stylesheet (v2.0)
   Clean, Accessible, High-Performance, Mobile-First CSS
   Colors: Deep Emerald (#064E3B), Dark Emerald (#022C22), Green (#047857),
           Premium Gold (#D4AF37), Warm Canvas (#F7FAF7), Primary Text (#15251E)
   ========================================================================== */

/* 1. Design Tokens */
:root {
  --green-950: #022c22;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-100: #d1fae5;
  --green-50: #ecfdf5;

  --gold-500: #d4af37;
  --gold-400: #e5c158;
  --gold-300: #fcd34d;
  --gold-100: #fef3c7;

  --ink-900: #15251e;
  --ink-800: #1f332a;
  --muted-600: #64756c;
  --muted-400: #94a89e;
  
  --line-200: #dce7e1;
  --line-100: #e9f1ed;
  
  --canvas: #f7faf7;
  --surface: #ffffff;
  --surface-alt: #f1f7f3;

  --font-sans: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-arabic: "Cairo", "Scheherazade New", sans-serif;
  --font-sinhala: "Noto Sans Sinhala", sans-serif;
  --font-tamil: "Noto Sans Tamil", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(2, 44, 34, 0.05);
  --shadow-md: 0 10px 30px rgba(2, 44, 34, 0.08);
  --shadow-lg: 0 20px 48px rgba(2, 44, 34, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.28);
  --shadow-tv: 0 25px 60px rgba(0, 0, 0, 0.45);

  --max-w: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  overflow-x: hidden;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 700;
}

/* Accessible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

/* Container */
.om-container {
  width: min(calc(100% - 40px), var(--max-w));
  margin-inline: auto;
}

.om-container-sm {
  width: min(calc(100% - 40px), 840px);
  margin-inline: auto;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold-500);
}

.text-gold-light {
  color: var(--gold-400);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow.gold {
  color: var(--gold-400);
}

.eyebrow-pill {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.om-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  display: inline-block;
  box-shadow: 0 0 8px var(--green-500);
}

/* Buttons */
.om-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 44px;
  white-space: nowrap;
}

.om-btn-primary {
  background: var(--green-700);
  color: #ffffff;
  border-color: var(--green-700);
}

.om-btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

.om-btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--green-950);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.om-btn-gold:hover {
  background: linear-gradient(135deg, #fce07e 0%, var(--gold-400) 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}

.om-btn-outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}

.om-btn-outline:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.om-btn-dark-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.om-btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.om-btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line-200);
}

.om-btn-ghost:hover {
  background: var(--surface-alt);
  border-color: var(--green-600);
  color: var(--green-700);
}

.om-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 38px;
}

.om-btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.om-btn-full {
  width: 100%;
}

/* ================= 1. STICKY HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-200);
  transition: var(--transition);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--green-950);
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--gold-500);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--muted-600);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--green-700);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--green-700);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--surface-alt, #f1f7f3);
  border: 1.5px solid var(--green-700, #047857);
  border-radius: 9px;
  padding: 6px 10px;
  color: var(--green-950, #022c22);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
  line-height: 1;
}

.mobile-toggle:hover {
  background: var(--green-100, #d1fae5);
  border-color: var(--green-800, #065f46);
}

.hamburger-svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-900, #064e3b);
  flex-shrink: 0;
}

.mobile-toggle-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--green-950, #022c22);
}

/* Mobile Drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 44, 34, 0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
}

.mobile-overlay.active {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-200);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.mobile-drawer-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  padding: 8px 0;
}

.mobile-drawer-links a:hover {
  color: var(--green-700);
}

.mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-200);
}

/* ================= 2. HERO SECTION ================= */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 28%, rgba(212, 175, 55, 0.12), transparent 32%),
              radial-gradient(circle at 10% 80%, rgba(4, 120, 87, 0.08), transparent 28%),
              linear-gradient(135deg, #fbfdfc 0%, #f4faf6 52%, #edf5f0 100%);
  border-bottom: 1px solid var(--line-200);
  padding: 70px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  max-width: 580px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  letter-spacing: -0.03em;
  color: var(--green-950);
  margin-bottom: 22px;
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-500);
  background: linear-gradient(135deg, var(--green-800) 0%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted-600);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-900);
  border-top: 1px solid var(--line-200);
  padding-top: 24px;
}

.trust-indicators span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Showcase Frame */
.product-showcase {
  position: relative;
  perspective: 1000px;
}

.tv-chassis {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #02140e;
  border-radius: var(--radius-md);
  border: 10px solid #14211d;
  box-shadow: var(--shadow-tv), 0 0 35px rgba(4, 120, 87, 0.25);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.tv-chassis:hover {
  transform: translateY(-4px);
}

.tv-chassis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-chassis {
  position: absolute;
  right: -20px;
  bottom: -35px;
  width: 175px;
  aspect-ratio: 9 / 18;
  background: #ffffff;
  border: 7px solid #1e293b;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.phone-chassis:hover {
  transform: translateY(-6px) scale(1.03);
}

.phone-chassis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= 3. VISION & BRAND SECTION ================= */
.vision-section {
  padding: 95px 0;
  background: var(--surface);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 50px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 16px;
  color: var(--green-950);
}

.section-head p {
  font-size: 1.08rem;
  color: var(--muted-600);
  line-height: 1.6;
}

/* Minimal Ecosystem Pulse */
.ecosystem-container {
  max-width: 960px;
  margin: 40px auto 0;
  padding: 40px 30px;
  background: var(--canvas);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.ecosystem-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.eco-node {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  flex: 1;
  max-width: 200px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.eco-node:hover {
  transform: translateY(-3px);
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
}

.eco-node-hub {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-950) 100%);
  color: #ffffff;
  border-color: var(--gold-500);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.35);
}

.eco-node-hub:hover {
  border-color: var(--gold-400);
}

.eco-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.eco-title {
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.eco-desc {
  font-size: 0.76rem;
  color: var(--muted-600);
}

.eco-node-hub .eco-desc {
  color: var(--green-100);
}

.eco-connector {
  flex: 0 0 45px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500));
  position: relative;
}

.eco-connector::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulseConnector 2s infinite ease-in-out;
}

@keyframes pulseConnector {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 1; }
}

/* ================= 4. FEATURES SECTION ================= */
.features-section {
  padding: 95px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid var(--green-100);
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--green-950);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--muted-600);
  line-height: 1.6;
}

.feature-card ul {
  list-style: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-100);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-800);
  font-weight: 600;
}

.feature-card li::before {
  content: "✓";
  color: var(--green-700);
  font-weight: 900;
  margin-right: 8px;
}

/* ================= 5. PRODUCT EXPERIENCE (1 PLATFORM, 3 EXPERIENCES) ================= */
.experience-section {
  padding: 95px 0;
  background: #ffffff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.experience-card {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.experience-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #02140e;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line-200);
}

.experience-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.experience-card:hover .experience-thumb img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(2, 44, 34, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.experience-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.experience-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--green-950);
}

.experience-body p {
  font-size: 0.92rem;
  color: var(--muted-600);
  margin-bottom: 16px;
}

.experience-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-100);
}

.experience-body li::before {
  content: "•";
  color: var(--gold-500);
  font-size: 1.2rem;
  margin-right: 8px;
  line-height: 0;
  vertical-align: middle;
}

/* ================= 6. FIND YOUR MASJID ================= */
.masjid-directory-section {
  padding: 95px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line-200);
}

.search-wrap {
  max-width: 740px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 18px;
  font-size: 1.2rem;
  color: var(--muted-600);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line-200);
  background: #ffffff;
  font-size: 1.02rem;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.12);
}

.live-network-pill {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-900);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.masjid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.om-masjid-card {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.om-masjid-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-600);
  box-shadow: var(--shadow-md);
}

.om-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.om-card-emblem-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #ffffff 35%, #e8edf2 100%);
  border: 1.5px solid #cbd5e1;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.om-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  filter: drop-shadow(0 0 1px rgba(2, 44, 34, 0.85)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.om-masjid-card:hover .om-card-logo {
  transform: scale(1.06);
}

.om-card-logo-fallback {
  font-size: 1.6rem;
}

.om-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.om-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.om-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-950);
  margin-bottom: 4px;
}

.om-card-city {
  font-size: 0.88rem;
  color: var(--muted-600);
  margin-bottom: 14px;
}

.om-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--green-900);
  font-weight: 700;
  margin-bottom: 20px;
}

.om-card-features span {
  background: var(--surface-alt);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.om-card-footer {
  margin-top: auto;
}

.om-btn.om-btn-disabled,
.om-card-footer .om-btn-disabled {
  background: var(--surface-alt, #e8eee9);
  color: var(--muted-600, #64756c);
  border: 1px solid var(--line-200, #dce7e1);
  cursor: not-allowed;
  opacity: 0.75;
  pointer-events: none;
}

.empty-state {
  text-align: center;
  padding: 45px 20px;
  grid-column: 1 / -1;
  color: var(--muted-600);
}

/* ================= 7. SMART DESTINATION MODAL ================= */
.om-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 44, 34, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.om-modal-backdrop.active {
  display: grid;
}

.om-modal-dialog {
  background: #ffffff;
  width: min(100%, 540px);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-200);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.om-modal-header {
  padding: 24px 28px 20px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.om-modal-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.om-modal-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #ffffff 35%, #e8edf2 100%);
  border: 1.5px solid #cbd5e1;
  object-fit: contain;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 1px rgba(2, 44, 34, 0.85)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.om-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--muted-600);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.om-modal-close-btn:hover {
  color: var(--ink-900);
}

.om-modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.om-dest-item {
  border: 1.5px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.om-dest-item:hover {
  border-color: var(--green-700);
  background: var(--surface-alt);
}

.om-dest-item.is-recommended {
  border-color: var(--green-700);
  background: var(--green-50);
}

.om-dest-info strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 1.02rem;
  color: var(--green-950);
}

.om-dest-info small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted-600);
  margin-top: 2px;
}

.om-dest-badge-rec {
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ================= 8. BUILT FOR SRI LANKA ================= */
.sri-lanka-section {
  padding: 95px 0;
  background: #ffffff;
}

.split-sl {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.languages-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
}

.lang-pill {
  background: var(--canvas);
  border: 1px solid var(--line-200);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

.sl-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sl-card {
  background: var(--canvas);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
}

.sl-card strong {
  display: block;
  font-size: 0.96rem;
  color: var(--green-950);
  margin-bottom: 6px;
}

.sl-card p {
  font-size: 0.84rem;
  color: var(--muted-600);
}

/* ================= 9. HOW IT WORKS ================= */
.how-section {
  padding: 95px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line-200);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 45px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-700);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--green-700);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.05rem;
  color: var(--green-950);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--muted-600);
  line-height: 1.5;
}

.steps-cta {
  text-align: center;
}

/* ================= 10. HARDWARE COMPATIBILITY ================= */
.hardware-section {
  padding: 95px 0;
  background: #ffffff;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.hw-card {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  background: var(--canvas);
  transition: var(--transition);
}

.hw-card:hover {
  border-color: var(--green-700);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.hw-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.hw-card h3 {
  font-size: 1.15rem;
  color: var(--green-950);
  margin-bottom: 6px;
}

.hw-card p {
  font-size: 0.88rem;
  color: var(--muted-600);
}

/* ================= 11. THEMES SHOWCASE ================= */
.themes-section {
  padding: 85px 0;
  background: var(--green-950);
  color: #ffffff;
}

.themes-section h2 {
  color: #ffffff;
}

.themes-section .section-head p {
  color: #b9d0c6;
}

.theme-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.theme-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: var(--transition);
}

.theme-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}

.theme-preview-card {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.theme-emerald {
  background: radial-gradient(circle at center, #073b2c, #021a13);
  color: var(--gold-400);
  border: 1px solid #14523f;
}

.theme-sapphire {
  background: radial-gradient(circle at center, #0e3b61, #06182a);
  color: #fbbf24;
  border: 1px solid #1c527e;
}

.theme-jannah {
  background: radial-gradient(circle at center, #1b4d36, #09281a);
  color: #a7f3d0;
  border: 1px solid #236547;
}

.theme-pearl {
  background: radial-gradient(circle at center, #f8fbf9, #e8f3ee);
  color: #064e3b;
  border: 1px solid #cbd5e1;
}

.theme-item strong {
  display: block;
  font-size: 0.96rem;
  color: #ffffff;
}

.theme-item small {
  color: #94a89e;
  font-size: 0.78rem;
}

/* ================= 12. FAQ ACCORDION ================= */
.faq-section {
  padding: 95px 0;
  background: var(--canvas);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--green-700);
}

.faq-summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-950);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 0.8rem;
  color: var(--green-700);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--muted-600);
  line-height: 1.65;
  border-top: 1px solid var(--line-100);
  padding-top: 16px;
}

/* ================= 13. WHATSAPP & SUPPORT SECTION ================= */
.contact-section {
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid var(--line-200);
}

.contact-card-box {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-950) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 55px 45px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-copy h2 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 12px;
}

.contact-copy p {
  color: #b9d0c6;
  font-size: 1.05rem;
  max-width: 580px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Floating WhatsApp Button */
.om-floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.om-floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.wa-icon {
  font-size: 1.3rem;
}

/* ================= 14. FINAL CTA SECTION ================= */
.final-cta {
  padding: 85px 0;
  background: radial-gradient(circle at center, #064e3b 0%, #022c22 100%);
  color: #ffffff;
  text-align: center;
}

.final-cta-inner {
  max-width: 740px;
  margin: 0 auto;
}

.final-cta h2 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}

.final-cta p {
  font-size: 1.15rem;
  color: #b9d0c6;
  margin-bottom: 35px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= 15. FOOTER ================= */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--line-200);
  padding: 70px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted-600);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-950);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted-600);
}

.footer-col a:hover {
  color: var(--green-700);
}

.footer-bottom {
  border-top: 1px solid var(--line-200);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--muted-600);
}

/* ================= 16. REGISTRATION MODAL FORM ================= */
.om-reg-modal {
  background: #ffffff;
  width: min(100%, 680px);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-200);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.om-reg-header {
  padding: 24px 28px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.om-reg-header h3 {
  font-size: 1.25rem;
  color: var(--green-950);
  margin-bottom: 3px;
}

.om-reg-header p {
  font-size: 0.84rem;
  color: var(--muted-600);
}

.om-reg-body {
  padding: 28px;
  overflow-y: auto;
}

.om-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.om-form-full {
  grid-column: 1 / -1;
}

.om-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.om-form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-900);
}

.om-form-group label span {
  color: #ef4444;
}

.om-form-input, .om-form-select, .om-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-200);
  background: #ffffff;
  font-size: 0.92rem;
  color: var(--ink-900);
  transition: var(--transition);
}

.om-form-input:focus, .om-form-select:focus, .om-form-textarea:focus {
  border-color: var(--green-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}

.om-form-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.om-alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.om-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.om-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ================= 17. RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions, .trust-indicators {
    justify-content: center;
  }
  .product-showcase {
    max-width: 720px;
    margin: 0 auto;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .theme-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .split-sl {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .nav-menu, .nav-actions .om-btn-ghost {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .ecosystem-flow {
    flex-direction: column;
  }
  .eco-connector {
    width: 2px;
    height: 30px;
    flex: 0 0 30px;
  }
  .eco-node {
    max-width: 100%;
    width: 100%;
  }
  .contact-card-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .contact-actions {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .om-container {
    width: min(calc(100% - 24px), var(--max-w));
  }
  .hero {
    padding: 40px 0 55px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .product-showcase {
    overflow: hidden;
    max-width: 100%;
  }
  .phone-chassis {
    width: 120px;
    right: 0;
    bottom: -15px;
    border-width: 5px;
  }
  .om-form-grid {
    grid-template-columns: 1fr;
  }
  .sl-highlights {
    grid-template-columns: 1fr;
  }
  .theme-showcase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .om-floating-wa span:last-child {
    display: none;
  }
  .om-floating-wa {
    padding: 12px;
    border-radius: 50%;
  }
}

@media (max-width: 540px) {
  /* Smart Destination Modal Responsive Fit */
  .om-modal-backdrop {
    padding: 12px;
  }
  .om-modal-dialog {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  .om-modal-header {
    padding: 16px 18px 14px;
  }
  .om-modal-body {
    padding: 16px 18px 20px;
    gap: 12px;
  }
  .om-dest-item {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
  .om-dest-info {
    width: 100%;
  }
  .om-dest-item .om-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Registration Modal Mobile Padding */
  .om-reg-header {
    padding: 18px 18px 14px;
  }
  .om-reg-body {
    padding: 18px;
  }

  /* Hero Actions Full-Width Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .om-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .nav-actions .om-btn-primary {
    padding: 6px 10px;
    font-size: 0.78rem;
    min-height: 34px;
  }
}

@media (max-width: 420px) {
  .nav-actions .om-btn-primary {
    display: none;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Homepage editorial refresh — scoped to the public landing page. */
:root { --canvas:#f7f7f0; --surface-alt:#edf1e9; --gold-400:#e2ca8a; --max-w:1200px; }
body { background:var(--canvas); }
[hidden] { display:none!important; }
.skip-link { position:fixed;top:-100px;left:20px;z-index:500;background:#fff;padding:12px 20px;border-radius:8px; }
.skip-link:focus { top:12px; }
section[id] { scroll-margin-top:100px; }
.site-header { background:#fafbf7; border-bottom:1px solid #dfe5db; }
.nav { min-height:88px; gap:24px; }
.brand-logo { width:46px;height:46px;object-fit:contain; }
.brand-name { font-size:1.4rem; }
.brand-tagline { font-size:.58rem;letter-spacing:.12em; }
.nav-menu { gap:23px; }
.nav-link { font-size:.79rem; }
.nav-actions { gap:10px; }
.nav-actions .om-btn { font-size:.75rem; }
.om-btn { border-radius:10px; gap:18px; }
.om-btn-primary { background:#08664b;box-shadow:none; }
.om-btn-primary:hover { background:#034d39;box-shadow:0 8px 24px #003d2920; }
.hero { background:radial-gradient(ellipse at 80% 45%,#17523e 0,transparent 49%),#072e26; padding:72px 0 0; border:0;isolation:isolate; }
.hero-orbit { position:absolute;width:850px;height:850px;right:-180px;top:-200px;border:1px solid #e2ca8a12;border-radius:50%;z-index:-1;box-shadow:0 0 0 100px #e2ca8a06,0 0 0 200px #e2ca8a04; }
.hero-grid { grid-template-columns:1fr 1.08fr;gap:48px;min-height:475px; }
.hero-content { max-width:540px; }
.hero .eyebrow-pill { background:transparent;border:0;padding:0;color:#d8c99d;letter-spacing:.13em;font-size:.63rem; margin-bottom:27px; }
.hero .om-dot { background:#d9c484;box-shadow:none; }
.hero h1 { font-size:clamp(2.8rem,4.4vw,4.25rem);line-height:1.11;font-weight:500;letter-spacing:-.045em;color:#f6f6eb;margin-bottom:26px; }
.hero h1 em { color:#e2ca8a;background:none;-webkit-text-fill-color:initial;font-style:italic; }
.hero .lead { color:#bbcec3;font-size:.99rem;line-height:1.85;max-width:440px;margin-bottom:29px; }
.hero-actions { align-items:center;gap:24px;margin-bottom:29px; }
.hero .om-btn-primary { background:#e2ca8a;color:#123e2c;border-color:#e2ca8a;font-size:.87rem;padding:15px 21px; }
.hero .om-btn-primary:hover { background:#f2dfa9;transform:translateY(-2px); }
.hero-explore { color:#e5ece3;font-size:.81rem;border-bottom:1px solid #a9bbaa60;padding:8px 0; }
.hero-explore span { margin-left:12px; }
.hero-note { display:flex;align-items:center;gap:10px;color:#a8beb1;font-size:.67rem; }
.note-line { width:24px;height:1px;background:#c2ac75; }
.product-showcase { padding:44px 23px 67px 0; width:100%; }
.showcase-caption { font-size:.57rem;letter-spacing:.18em;color:#b9cabe;display:flex;align-items:center;gap:9px;margin:0 0 19px 7px; }
.tv-chassis { border:7px solid #162c24;border-radius:13px;transform:perspective(1200px) rotateY(-5deg) rotateX(2deg);box-shadow:0 32px 65px #001b19aa,0 0 0 1px #74978155; }
.tv-chassis:hover { transform:perspective(1200px) rotateY(0); }
.phone-chassis { width:140px;right:0;bottom:31px;border:5px solid #1e332b;border-radius:22px;transform:rotate(3deg);box-shadow:0 24px 50px #00181290; }
.connection-note { position:absolute;left:22px;bottom:28px;display:flex;gap:12px;align-items:center;background:#f5f6ed;padding:14px 20px;border:1px solid #fff8;border-radius:12px;color:#183f31;font-size:.7rem;box-shadow:0 16px 35px #001d2540; }
.connection-note small { display:block;color:#718276;font-size:.61rem;margin-top:3px; }
.connection-icon { display:grid;place-items:center;background:#e5ecde;width:33px;height:33px;border-radius:50%;font-size:1.1rem; }
.preview-label { position:absolute;bottom:3px;right:12px;color:#92aa9c;font-size:.57rem; }
.hero-bottom { display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:35px;border-top:1px solid #c3d2bc24;padding:24px 0;color:#b5c6b9;font-size:.64rem; }
.hero-bottom>div { display:flex;gap:25px;color:#e6ecdf;font-size:.78rem; }
.hero-bottom>span:last-child { font-size:.54rem;letter-spacing:.12em; }
.masjid-directory-section { padding:68px 0 76px;background:#f7f7f0;border:0; }
.masjid-directory-section>.om-container { display:grid;grid-template-columns:.85fr 1.15fr;column-gap:60px; }
.masjid-directory-section .section-head { text-align:left;margin:0;max-width:430px; }
.section-head h2,.setup-layout h2 { font-family:var(--font-serif);font-size:clamp(2rem,3.1vw,3rem);font-weight:500;letter-spacing:-.035em;line-height:1.15; }
.section-head h2 em,.setup-layout h2 em { color:#54745e;font-weight:500; }
.section-head p { font-size:.92rem;line-height:1.8;max-width:610px;margin-inline:auto; }
.eyebrow { font-size:.61rem;letter-spacing:.18em;font-weight:700; }
.search-wrap { align-self:center;margin:0;max-width:none;display:flex;flex-direction:column;gap:14px; }
.live-network-pill { order:2;align-self:flex-start;font-size:.66rem;background:transparent;border:0;padding:0;margin:0;color:#65786b; }
.live-network-pill .om-pulse-dot { animation:none; }
.search-input-group { width:100%; }
.search-input { border-radius:12px;border:1px solid #cfdacc;background:#fff;font-size:.94rem;padding:20px 20px 20px 49px;box-shadow:0 5px 20px #1b412b05; }
.search-icon { font-family:Arial,sans-serif;font-size:1.7rem;left:18px; }
.masjid-grid,.directory-results,.directory-error,.empty-state { grid-column:1/-1; }
.directory-results { font-size:.76rem;color:#607465;margin-top:27px;min-height:1.3em; }
.masjid-grid { margin-top:13px;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr)); }
.om-masjid-card { background:#fff;border:1px solid #dce4d8;border-radius:15px;box-shadow:none;cursor:default; }
.om-masjid-card:hover { transform:translateY(-4px);box-shadow:0 12px 25px #2445280a;border-color:#92ae94; }
.om-card-top { padding:22px 22px 0; }
.om-card-emblem-wrap { width:52px;height:52px;border-radius:12px; }
.om-card-body { padding:17px 22px 20px; }
.om-card-name { font-family:var(--font-serif);font-size:1.17rem; }
.om-live-tag { background:#eef3e9;color:#4b6b53;font-size:.61rem;padding:5px 9px; }
.om-card-city { font-size:.76rem; }
.om-card-features { font-size:.65rem;gap:10px; }
.om-card-footer { display:flex;align-items:center;gap:10px;padding:15px 22px;border-top:1px solid #edf1e8; }
.om-card-footer .om-btn { font-size:.72rem;padding:10px 13px;flex:1; }
.card-more { background:none;border:0;color:#496551;font-size:.72rem;padding:12px 5px;cursor:pointer; }
.directory-error { padding:24px;background:#fff;border:1px solid #d5ddd0;border-radius:12px; }
.directory-error p { margin-bottom:14px; }
.experience-section { padding:80px 0;background:#fff; }
.experience-grid { gap:22px; }
.experience-card { border-radius:17px;box-shadow:none;background:#f8f9f4; }
.experience-thumb { aspect-ratio:16/11; padding:30px 20px 0;background:#e7eee2; }
.experience-thumb img { object-fit:contain;object-position:bottom; }
.experience-card:nth-child(2) .experience-thumb { background:#eeeadd; }
.experience-card:nth-child(3) .experience-thumb { background:#e0ebe4; }
.experience-badge { top:12px;left:16px;font-size:.53rem;padding:4px 8px;background:#fff;color:#45674f;border:0; }
.experience-body { padding:25px; }
.experience-body ul { font-size:.74rem;font-weight:500; }
.experience-body p { font-size:.84rem;line-height:1.75; }
.features-section { background:#edf1e8;padding:76px 0; }
.benefit-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#cad7c5;border:1px solid #cad7c5;border-radius:18px;overflow:hidden; }
.benefit-card { position:relative;padding:35px 30px 75px;background:#edf1e8; }
.benefit-number { font-size:.61rem;color:#52725a;letter-spacing:.1em; }
.benefit-card h3 { font-family:var(--font-serif);font-size:1.75rem;line-height:1.2;font-weight:500;margin:25px 0 18px; }
.benefit-card p { font-size:.84rem;color:#61725f;line-height:1.8; }
.benefit-symbol { position:absolute;right:28px;bottom:20px;font-size:2rem;color:#77926f; }
.how-section { padding:85px 0;background:#fff; }
.setup-layout { display:grid;grid-template-columns:1fr 1fr;gap:90px; }
.setup-layout h2 { margin:6px 0 23px; }
.setup-layout>div>p { max-width:380px;font-size:.91rem;color:#657762;margin-bottom:26px; }
.setup-layout small { display:block;font-size:.69rem;color:#698062;margin-top:13px; }
.setup-steps { list-style:none; }
.setup-steps li { display:flex;gap:25px;padding:24px 0;border-bottom:1px solid #dce4d7; }
.setup-steps li>span { font-family:var(--font-serif);font-size:1.7rem;color:#829a77; }
.setup-steps h3 { font-size:1rem;margin-bottom:8px; }
.setup-steps p { font-size:.83rem;color:#667861;line-height:1.7; }
.hardware-section { padding:65px 0;background:#f7f7f0; }
.hardware-card { box-shadow:none; }
.faq-section { padding:75px 0;background:#fff; }
.contact-section { padding:40px 0;background:#fff; }
.contact-card-box { box-shadow:none;border-radius:18px; }
.final-cta { background:#123d30;padding:70px 20px; }
.final-cta h2 { font-weight:500;letter-spacing:-.035em; }
.footer { background:#f7f7f0; }
.om-floating-wa { background:#f6f8f0;color:#214e35;border:1px solid #c9d8c1;box-shadow:0 5px 20px #0a34251a;padding:11px 16px;bottom:20px;right:20px;font-size:.75rem; }
.om-floating-wa:hover { background:#e0e9da;color:#214e35; }
.mobile-drawer[aria-hidden="true"] { visibility:hidden; }
.mobile-drawer.active { visibility:visible; }
.om-modal-close-btn { min-width:44px;min-height:44px; }
.om-form-input,.om-form-select,.om-form-textarea { font-size:1rem; }
.registration-extra { margin-top:18px;border-top:1px solid #dce5d7;padding-top:15px; }
.registration-extra summary { cursor:pointer;font-size:.84rem;font-weight:600; }
.registration-extra summary span { font-weight:400;color:#64756c; }
.registration-extra .om-form-grid { margin-top:17px; }
@media(min-width:861px) and (max-width:1150px) { .nav-menu { gap:14px; }.nav-menu a:nth-last-child(-n+2) { display:none; }.brand-tagline { display:none; } }
@media(max-width:1024px) { .hero-grid { grid-template-columns:1fr 1fr;gap:26px; }.hero-content { text-align:left; }.hero-actions { justify-content:flex-start;gap:15px; }.hero h1 { font-size:3.15rem; }.hero-explore { font-size:.73rem; }.phone-chassis { width:112px; }.connection-note { left:5px;font-size:.6rem;padding:10px; }.connection-note small { font-size:.52rem; }.experience-grid { grid-template-columns:repeat(3,1fr);max-width:none; }.experience-body { padding:20px; }.hero-bottom>span:last-child { display:none; }.masjid-directory-section>.om-container { gap:24px; }.setup-layout { gap:40px; } }
@media(max-width:860px) { .om-container { width:calc(100% - 40px); }.nav { min-height:76px; }.hero { padding-top:44px; }.hero-grid { grid-template-columns:1fr;gap:26px; }.hero-content { max-width:550px;text-align:center;margin:auto; }.hero h1 { font-size:clamp(2.6rem,8vw,3.8rem); }.hero .lead { margin-inline:auto;max-width:440px;font-size:.91rem; }.hero .eyebrow-pill { font-size:.57rem; }.hero-actions { justify-content:center;flex-direction:row; }.hero-actions .om-btn { width:auto; }.hero-note { justify-content:center; }.product-showcase { max-width:520px;padding:15px 22px 55px 0;overflow:visible; }.phone-chassis { width:27%;bottom:29px;right:0;border-width:4px; }.showcase-caption { font-size:.5rem; }.connection-note { bottom:19px;left:12px;padding:10px 14px; }.hero-bottom { margin-top:20px;flex-direction:column;gap:12px;padding:20px 0; }.hero-bottom>div { gap:25px; }.masjid-directory-section { padding:48px 0; }.masjid-directory-section>.om-container { grid-template-columns:1fr;gap:0; }.masjid-directory-section .section-head { max-width:100%;margin-bottom:25px; }.masjid-directory-section .section-head h2 br { display:none; }.masjid-directory-section .section-head p { margin-left:0; }.masjid-grid { grid-template-columns:1fr; }.directory-results { margin-top:22px; }.experience-grid,.benefit-grid { grid-template-columns:1fr;max-width:480px;margin:auto; }.experience-thumb { aspect-ratio:16/9; }.experience-card:nth-child(3) .experience-thumb img { max-height:220px; }.experience-body ul { display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:.7rem; }.benefit-card { padding:28px 28px 48px; }.benefit-card h3 br { display:none; }.benefit-card h3 { margin:17px 0; }.benefit-card h3 { font-size:1.6rem; }.setup-layout { grid-template-columns:1fr;gap:20px; }.setup-layout h2 br { display:none; }.section-head { margin-bottom:30px; }.experience-section,.features-section,.how-section,.faq-section { padding:55px 0; }.om-form-footer,.om-form-footer>div { flex-wrap:wrap; }.om-form-footer .om-btn { min-height:44px; }.hero-bottom>span { font-size:.61rem; }.om-floating-wa { width:43px;height:43px;display:grid;place-items:center;padding:0; }.om-floating-wa span:last-child { display:none; } }
@media(max-width:420px) { .brand-name { font-size:1.2rem; }.brand-tagline { font-size:.48rem; }.brand-logo { width:36px;height:36px; }.nav { gap:10px; }.hero .eyebrow-pill { letter-spacing:.08em; }.hero-actions { gap:15px; }.hero .om-btn-primary { font-size:.78rem;padding:14px 16px; }.hero-explore { font-size:.7rem; }.hero-note { font-size:.59rem; }.connection-note { font-size:.55rem; }.connection-icon { width:25px;height:25px; }.connection-note small { font-size:.5rem; }.om-card-footer { padding:14px 18px; }.experience-body ul { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;transition:none!important;animation:none!important; } }
/* Community directory: quiet logo surfaces and a bounded, searchable grid. */
.directory-intro { grid-column:1/-1; margin-top:38px; display:flex; align-items:baseline; gap:10px; }
.directory-intro h3 { font-family:var(--font-serif); font-size:1.5rem; font-weight:500; }
.directory-intro p { color:#667862; font-size:.84rem; }
.directory-results { margin-top:10px; font-size:.72rem; }
.masjid-grid { scroll-margin-top:110px; }
.om-masjid-card { display:flex; flex-direction:column; overflow:hidden; }
.om-card-top { padding:25px 25px 0; align-items:center; }
.om-card-body { padding:23px 25px; flex:1; }
.om-card-name { font-size:1.35rem; line-height:1.3; overflow-wrap:anywhere; }
.om-card-city { margin-top:7px; color:#6b7b6d; }
.om-card-features { margin-top:20px; gap:8px; }
.om-card-features span { background:#f3f5ee; border:1px solid #e7ece2; border-radius:5px; padding:4px 8px; font-weight:500; color:#62715b; }
.om-card-footer { margin-top:auto; background:#fafbf7; padding:17px 25px; }
.om-card-emblem-wrap,.om-card-emblem-wrap.is-dark-logo,.om-modal-logo,.om-modal-logo.is-dark-logo { width:84px; height:84px; flex:0 0 84px; padding:10px; background:#fff; border:1px solid #e3e8df; border-radius:18px; box-shadow:none; filter:none; color:#496249; font-family:var(--font-serif); font-size:1.6rem; }
.om-card-emblem-wrap.is-light-logo,.om-modal-logo.is-light-logo { background:#153f32; border:1px solid #244d3e; box-shadow:none; filter:none; }
.om-card-logo,.om-card-emblem-wrap.is-light-logo .om-card-logo,.om-card-emblem-wrap.is-dark-logo .om-card-logo,.om-masjid-card:hover .om-card-logo { width:64px; height:64px; max-width:100%; object-fit:contain; filter:none; box-shadow:none; transform:none; padding:0; border-radius:0; }
.om-card-logo-fallback { font-family:var(--font-serif); font-size:1.6rem; color:#496249; }
.om-modal-logo { object-fit:contain; }
.om-live-tag { letter-spacing:.02em; border:0; background:transparent; color:#66795d; font-size:.64rem; }
.directory-pagination { grid-column:1/-1; display:flex; justify-content:center; align-items:center; gap:24px; margin-top:28px; }
.directory-pagination span { font-size:.78rem; color:#5e7058; }
.directory-pagination button:disabled { opacity:.4; cursor:default; transform:none; }
@media(min-width:601px) and (max-width:1000px) { .masjid-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .masjid-grid { grid-template-columns:1fr; }.directory-intro { display:block; margin-top:30px; }.directory-intro p { margin-top:6px; }.directory-pagination { gap:12px; }.directory-pagination .om-btn { padding:10px; }.om-card-top { padding-top:23px; } }

.om-masjid-card { padding:0; }
.om-card-top { margin-bottom:0; }
.card-more { white-space:nowrap; }
/* A swipeable directory; next moves the cards from right to left. */
.masjid-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:20px; padding:6px 2px 18px; scrollbar-width:thin; scrollbar-color:#a4b79d transparent; }
.masjid-grid .om-masjid-card { flex:0 0 calc((100% - 40px)/3); min-width:0; scroll-snap-align:start; }
.om-card-emblem-wrap,.om-card-emblem-wrap.is-dark-logo,.om-modal-logo,.om-modal-logo.is-dark-logo { background:#edf2e7; border-color:#dce5d3; }
.om-card-emblem-wrap.is-light-logo,.om-modal-logo.is-light-logo { background:#153f32; border-color:#244d3e; }
@media(max-width:1000px) { .masjid-grid .om-masjid-card { flex-basis:calc((100% - 20px)/2); } }
@media(max-width:600px) { .masjid-grid .om-masjid-card { flex-basis:90%; }.directory-pagination { gap:10px; }.directory-pagination span { font-size:.66rem;text-align:center; } }

/* ================= 18. CANONICAL COMMUNITY PAGE RESPONSIVE VIEWER ================= */
.om-viewer-backdrop {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1200;
}
.om-viewer-backdrop.active {
  display: flex !important;
}
.om-viewer-modal {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  width: min(94vw, 920px);
  height: min(88vh, 840px);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: omViewerFadeIn 0.25s ease-out;
}
@keyframes omViewerFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.om-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fbfcf9;
  border-bottom: 1px solid #e3e8df;
  flex-shrink: 0;
}
.om-viewer-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.om-viewer-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e5140;
  background: #e8f3ee;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #cce3d8;
}
.om-viewer-title {
  margin: 2px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #132a22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-serif);
}
.om-viewer-subtitle {
  font-size: 0.78rem;
  color: #65776d;
}
.om-viewer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.om-viewer-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.om-viewer-body {
  position: relative;
  flex: 1;
  width: 100%;
  background: #f4f6f3;
  overflow: hidden;
}
.om-viewer-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.om-viewer-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #496249;
  font-size: 0.85rem;
  z-index: 2;
  transition: opacity 0.2s ease;
}
.om-viewer-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.om-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #dce5d3;
  border-top-color: #1b5344;
  border-radius: 50%;
  animation: omSpin 0.75s linear infinite;
}
@keyframes omSpin {
  to { transform: rotate(360deg); }
}

/* Card Next Prayer Badge */
.om-card-next-prayer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #eaf3ed;
  border: 1px solid #d3e5da;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #174e3e;
  margin-top: 10px;
  width: fit-content;
}
.om-card-next-prayer .prayer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #238662;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .om-viewer-backdrop {
    padding: 0;
  }
  .om-viewer-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
  .om-viewer-header {
    padding: 12px 14px;
  }
  .om-viewer-title {
    font-size: 1rem;
    max-width: 180px;
  }
  .om-viewer-full-btn span:first-child {
    display: none;
  }
}

