/* ==========================================================================
   MVTS India — Policy Pages Stylesheet
   Clean, professional, accessible
   ========================================================================== */

:root {
  --navy: #0e2a47;
  --navy-deep: #061a30;
  --navy-soft: #1a3a5c;
  --gold: #d4a93f;
  --gold-soft: #e8c570;
  --ink: #1a1a1a;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef3f8;
  --border: #e1e6ed;
  --accent: #c8232c;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius: 6px;
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

/* ----- Top Bar ----- */
.topbar {
  background: var(--navy-deep);
  color: #cfd8e3;
  font-size: 0.82rem;
  padding: 0.55rem 0;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar a { color: #cfd8e3; }
.topbar a:hover { color: var(--gold-soft); }

.topbar-info span::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.4rem;
  vertical-align: -2px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.topbar-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ----- Header ----- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(14, 42, 71, 0.04);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: '';
  position: absolute;
  inset: -50% -50% auto auto;
  width: 60%;
  height: 60%;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

.brand-logo span { position: relative; z-index: 1; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  list-style: none;
  gap: 1.6rem;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}

.nav a:hover::after,
.nav a.active::after { width: 100%; }

.nav a.active { color: var(--navy); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform .3s ease;
    align-items: stretch;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .nav.open { transform: translateY(0); }
  .nav li { border-bottom: 1px solid var(--border); }
  .nav li:last-child { border-bottom: none; }
  .nav a { padding: 0.85rem 0; display: block; }
  .topbar-info { display: none; }
}

/* ----- Page Header ----- */
.page-banner {
  background:
    linear-gradient(135deg, rgba(14, 42, 71, 0.92), rgba(6, 26, 48, 0.95)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='a' patternUnits='userSpaceOnUse' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-width='0.3' stroke-opacity='0.15'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23a)'/%3E%3C/svg%3E");
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 169, 63, 0.18), transparent 70%);
  pointer-events: none;
}

.banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.crumb {
  font-size: 0.82rem;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.crumb a { color: rgba(255,255,255,0.7); }
.crumb a:hover { color: var(--gold-soft); }

.crumb .sep { margin: 0 0.5rem; opacity: 0.5; }

.page-banner h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-banner .tag {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
}

.page-banner h1 .accent {
  display: inline-block;
  height: 4px;
  width: 60px;
  background: var(--gold);
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* ----- Layout ----- */
.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--gutter);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem var(--gutter); }
}

/* ----- Sidebar ----- */
.sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

@media (max-width: 900px) {
  .sidebar { position: static; }
}

.sidebar h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.sidebar ul { list-style: none; }

.sidebar li { margin-bottom: 0.4rem; }

.sidebar a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}

.sidebar a:hover {
  background: #fff;
  color: var(--navy);
  border-left-color: var(--gold);
}

.sidebar a.current {
  background: #fff;
  color: var(--navy);
  border-left-color: var(--gold);
  font-weight: 600;
}

.sidebar-help {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.sidebar-help strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-size: 1rem;
}

.sidebar-help a {
  display: inline;
  padding: 0;
  color: var(--navy);
  border: none;
  font-weight: 500;
}

.sidebar-help a:hover { color: var(--gold); background: none; }

/* ----- Content ----- */
.content {
  background: #fff;
  font-size: 1rem;
}

.content .meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.content .meta strong { color: var(--navy); font-weight: 600; }

.intro {
  background: var(--bg-tint);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  color: var(--ink);
}

.intro p { margin: 0; }
.intro p + p { margin-top: 0.75rem; }

.content section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 100px;
}

.content h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.content h2 .num {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.content h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy-soft);
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.content p { margin-bottom: 1rem; }

.content ul, .content ol {
  margin: 0 0 1.25rem 1.25rem;
}

.content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.content ul li::marker { color: var(--gold); }

.content strong { color: var(--ink); font-weight: 600; }

.callout {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.callout-warn {
  background: #fdecea;
  border-left-color: var(--accent);
}

.callout strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.callout-warn strong { color: var(--accent); }

table.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  border: 1px solid var(--border);
}

.policy-table th, .policy-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.policy-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: none;
}

.policy-table tr:nth-child(even) { background: var(--bg-soft); }

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

.contact-card {
  margin-top: 3rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.contact-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.contact-card .icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-card a.btn {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.contact-card a.btn:hover {
  background: var(--gold-soft);
  color: var(--navy-deep) !important;
}

@media (max-width: 600px) {
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-card .icon { margin: 0 auto; }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-deep);
  color: #cfd8e3;
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-logo { width: 44px; height: 44px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; }

.footer-grid p { font-size: 0.9rem; line-height: 1.7; }

.footer-grid h4 {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-grid ul { list-style: none; }

.footer-grid li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.footer-grid a { color: #cfd8e3; }
.footer-grid a:hover { color: var(--gold-soft); padding-left: 4px; transition: padding .2s ease; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  align-items: flex-start;
}

.footer-contact-item .lbl {
  color: var(--gold-soft);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 50px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(207, 216, 227, 0.7);
}

.footer-bottom a { color: rgba(207, 216, 227, 0.85); }
.footer-bottom a:hover { color: var(--gold-soft); }

.footer-policy-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
