:root {
  --bg: #090d1b;
  --panel: rgba(12, 17, 34, 0.82);
  --panel-strong: rgba(15, 21, 41, 0.94);
  --text: #f7f2e8;
  --muted: rgba(247, 242, 232, 0.72);
  --gold: #d1ad69;
  --gold-soft: rgba(209, 173, 105, 0.22);
  --green: #38b985;
  --line: rgba(209, 173, 105, 0.2);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg) url("../assets/om_bg.webp") center / cover fixed no-repeat;
  font-family: var(--sans);
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 10, 22, 0.64), rgba(7, 10, 22, 0.94));
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.portal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 25, 0.9);
  backdrop-filter: blur(14px);
}
.portal-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; color: var(--gold); }
.portal-brand img { width: 52px; height: 52px; object-fit: contain; }
.portal-links { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.portal-links a:hover, .portal-links a[aria-current="page"] { color: var(--gold); }

.gateway {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 68px;
}
.gateway-intro { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 2.8px; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); line-height: 1.16; }
.gateway h1 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 76px); font-weight: 600; }
.gateway-intro > p:last-child { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-card {
  --accent: var(--gold);
  position: relative;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(10, 15, 31, 0.68));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.choice-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -130px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  filter: blur(2px);
}
.choice-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32); }
.choice-card.vastu { --accent: #70c6a1; }
.choice-card.gems { --accent: #9dc5ff; }
.choice-card.combined { --accent: #d58bdc; }
.choice-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.choice-card h2 { margin-bottom: 10px; font-size: clamp(27px, 3vw, 36px); }
.choice-card p { max-width: 500px; margin: 0 0 26px; color: var(--muted); }
.choice-action { margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .3px; }

.service-page { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0 80px; }
.service-hero { max-width: 830px; padding: clamp(28px, 5vw, 56px) 0 48px; }
.service-hero h1 { margin-bottom: 20px; font-size: clamp(44px, 7vw, 76px); }
.service-hero .lead { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #12101a;
  background: var(--gold);
  font-weight: 600;
}
.button.secondary { color: var(--gold); background: transparent; border-color: var(--line); }
.button:hover { transform: translateY(-2px); }
.content-section { padding: 46px 0; border-top: 1px solid var(--line); }
.content-section > h2 { max-width: 760px; margin-bottom: 14px; font-size: clamp(30px, 4vw, 44px); }
.section-copy { max-width: 760px; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.feature-card h3 { margin-bottom: 9px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: rgba(12, 17, 34, 0.66); }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 700; }
.cta-panel { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(209,173,105,.14), rgba(16,22,42,.9)); text-align: center; }
.cta-panel h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 44px); }
.cta-panel p { max-width: 680px; margin: 0 auto; color: var(--muted); }
.cta-panel .button-row { justify-content: center; }
.portal-footer { padding: 30px 18px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 13px; }

@media (max-width: 760px) {
  .portal-nav { position: relative; align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 12px; }
  .portal-links { width: 100%; gap: 14px; overflow-x: auto; padding: 8px 0 3px; white-space: nowrap; scrollbar-width: none; }
  .portal-links::-webkit-scrollbar { display: none; }
  .choice-grid, .feature-grid, .check-list { grid-template-columns: 1fr; }
  .choice-card { min-height: 255px; }
  .gateway { padding-top: 48px; }
  .service-page { padding-top: 34px; }
}
