/* ─────────────────────────────────────────────────
   India Law Advocates — Policy Pages Stylesheet
   Matches the main site design exactly
───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0A2540;
  --secondary: #639FAB;
  --accent: #D4AF37;
  --text-dark: #1C2A38;
  --text-light: #51607A;
  --bg-light: #F8FAFC;
  --footer-text: #C2CCD8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #070C14; }
body { font-family: 'Inter', system-ui, sans-serif; background: #ffffff; color: var(--text-dark); line-height: 1.7; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 4px; }

/* ── SKIP LINK ── */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 50; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ── NAV — identical to main site ── */
.pol-nav {
  background: #ffffff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 1px 10px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.pol-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pol-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.pol-logo img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.pol-logo-txt {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pol-logo-txt small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.pol-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.87rem;
  border: 1px solid #E2E8F0;
  padding: 9px 18px;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.pol-back:hover { background: var(--primary); color: #ffffff; border-color: var(--primary); }

/* ── HERO BANNER (navy, like the site's ribbon sections) ── */
.pol-hero {
  background: var(--primary);
  padding: 52px 24px 56px;
  position: relative;
  overflow: hidden;
}
.pol-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.pol-hero-inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 1; }
.pol-hero-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pol-hero-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.pol-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pol-hero-line {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px 0 14px;
}
.pol-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 560px;
}
.pol-updated {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  display: inline-block;
  background: rgba(255,255,255,0.07);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── BREADCRUMB ── */
.pol-breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 24px;
}
.pol-breadcrumb-inner {
  max-width: 840px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pol-breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }
.pol-breadcrumb a:hover { text-decoration: underline; }
.pol-breadcrumb span { color: var(--text-light); }

/* ── CONTENT AREA ── */
.pol-body {
  max-width: 840px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}
.pol-body h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pol-body h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pol-body p {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}
.pol-body ul, .pol-body ol {
  margin: 0 0 16px 0;
  padding-left: 0;
  list-style: none;
}
.pol-body ul li, .pol-body ol li {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
  text-align: justify;
}
.pol-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}
.pol-body ol { counter-reset: list-counter; }
.pol-body ol li { counter-increment: list-counter; }
.pol-body ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pol-body strong { color: var(--primary); font-weight: 700; }
.pol-body em { color: var(--secondary); font-style: normal; font-weight: 600; }
.pol-body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10,37,64,0.3); }
.pol-body a:hover { color: var(--secondary); }

/* ── INFO / CONTACT CARD ── */
.pol-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 28px 0;
  box-shadow: 0 10px 30px -5px rgba(2,43,80,0.06), 0 1px 3px rgba(0,0,0,0.02);
  border-top: 4px solid var(--secondary);
}
.pol-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 16px;
}
.pol-card p { margin-bottom: 10px; font-size: 0.95rem; }
.pol-card p:last-child { margin-bottom: 0; }
.pol-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pol-card a:hover { color: var(--secondary); text-decoration: underline; }

/* ── NOTE BOX ── */
.pol-note {
  background: #FFF8E7;
  border: 1px solid #F0D070;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #7A5A10;
  line-height: 1.6;
  margin: 28px 0;
}
.pol-note strong { color: #5a4008; }

/* ── HIGHLIGHT ROW (for key facts) ── */
.pol-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.pol-hl-item {
  background: var(--bg-light);
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
}
.pol-hl-icon { font-size: 1.8rem; margin-bottom: 8px; }
.pol-hl-label { font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.pol-hl-sub { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

/* Contact page specifics */
.pol-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.pol-contact-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pol-contact-card .icon { font-size: 1.8rem; }
.pol-contact-card h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--secondary); }
.pol-contact-card p, .pol-contact-card a { font-size: 0.95rem; color: var(--text-dark); text-decoration: none; font-weight: 500; line-height: 1.55; }
.pol-contact-card a:hover { color: var(--primary); text-decoration: underline; }

/* ── FOOTER — matches main site exactly ── */
.pol-footer {
  background: #0B131F;
  color: var(--footer-text);
  padding: 44px 24px 28px;
  border-bottom: 6px solid var(--accent);
}
.pol-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #1E293B;
}
.pol-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
}
.pol-footer-brand img { width: 40px; height: 40px; border-radius: 8px; }
.pol-footer-brand span { font-size: 1.1rem; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; }
.pol-footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pol-footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
  display: inline-block;
  padding: 8px 0;
  min-height: 44px;
  line-height: 28px;
}
.pol-footer-nav a:hover { color: #ffffff; }
.pol-footer-bot {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--footer-text);
}
.pol-disclaimer {
  background: #070C14;
  padding: 14px 24px;
  font-size: 0.74rem;
  color: #8696AB;
  text-align: center;
  border-top: 1px solid #1E293B;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .pol-nav { height: 64px; padding: 0 16px; }
  .pol-logo img { width: 38px; height: 38px; }
  .pol-logo-txt { display: none; }
  .pol-back { font-size: 0.82rem; padding: 8px 14px; }
  .pol-hero { padding: 36px 16px 40px; }
  .pol-body { padding: 32px 16px 60px; }
  .pol-card { padding: 20px; }
  .pol-footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
