/* ==========================================================================
   Prudential India — corporate site styles
   Palette: deep navy + blue accent + warm gold highlight
   ========================================================================== */

:root {
  --navy: #062f5e;
  --navy-700: #073a72;
  --navy-600: #0a4b8f;
  --blue: #0858a8;
  --blue-600: #064a8f;
  --orange: #f08010;
  --orange-600: #d96f08;
  --gold: #f08010; /* alias kept for legacy refs → now brand orange */
  --ink: #15243a;
  --body: #45525f;
  --muted: #6b7886;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, .07), 0 1px 2px rgba(11, 37, 69, .04);
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .14);
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-600); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cdd8e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 3px;
  background: var(--orange); margin: 16px auto 0;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--left h2::after { margin-left: 0; }

.lead { font-size: 1.18rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(8, 88, 168, .30); }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px rgba(8, 88, 168, .38); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 128, 16, .32); }
.btn-accent:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 26px rgba(240, 128, 16, .4); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f8; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--orange);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.25rem;
  letter-spacing: -.04em;
  box-shadow: 0 6px 16px rgba(8, 88, 168, .3);
  flex-shrink: 0;
}
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.16rem; letter-spacing: -.02em; line-height: 1.05; }
.brand-name span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }

/* Logo image lockup */
.logo-img { height: 62px; width: auto; display: block; }
.logo-chip {
  display: inline-flex; align-items: center;
  background: #fff; padding: 12px 18px; border-radius: 12px;
}
.logo-chip .logo-img { height: 48px; }
@media (max-width: 720px) { .logo-img { height: 46px; } .nav { height: 76px; } }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-softer); color: var(--navy); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; display: block; height: 2.5px; border-radius: 2px;
  background: var(--orange); margin: 5px 4px -2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 9px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 80% -10%, #16427a 0%, transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #0a1f3d 100%);
  color: #d7e2f0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 104px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: 1.16rem; color: #b9c8dc; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .stat span { color: #93a6c0; font-size: .9rem; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 13px; align-items: flex-start; color: #cdd8e6; font-size: .96rem; }
.hero-card li svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

/* ---------- Logos / trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 30px 0;
}
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.trust-inner .trust-label { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.trust-inner .client { color: var(--navy); font-weight: 700; opacity: .75; font-size: 1.02rem; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4ddea; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, #e9f1ff, #d8e7ff);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.card .more::after { content: " →"; }

/* feature list inside cards */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: .82rem; font-weight: 600; color: var(--navy-600); background: var(--bg-softer); border-radius: 999px; padding: 5px 12px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-media { order: 2; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: #e6f0ff; color: var(--blue);
  display: grid; place-items: center;
}
.feature-list h4 { margin: 0 0 2px; font-size: 1.02rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.media-frame {
  border-radius: 18px;
  background: linear-gradient(150deg, var(--navy), var(--blue));
  padding: 30px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.media-frame::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.media-frame h3 { color: #fff; position: relative; }
.media-frame .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; position: relative; }
.media-frame .mini div { background: rgba(255,255,255,.1); border-radius: 11px; padding: 16px; }
.media-frame .mini strong { display: block; font-size: 1.5rem; color: #fff; }
.media-frame .mini span { font-size: .82rem; color: #c6d4e8; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-600) 100%);
  border-radius: 22px;
  padding: 56px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #cfdcef; max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page banner ---------- */
.page-banner {
  background: radial-gradient(900px 360px at 85% -30%, #16427a 0%, transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #0a1f3d 100%);
  color: #cfdcef;
  padding: 70px 0 64px;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner p { max-width: 640px; margin: 0 auto; color: #aebfd6; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: #8aa0bf; margin-bottom: 18px; }
.crumbs a { color: #aebfd6; }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.svc-block + .svc-block { margin-top: 26px; }
.svc-block .svc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.svc-block .ic { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, #e9f1ff, #d8e7ff); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.svc-block ul { columns: 2; gap: 30px; margin: 18px 0 0; padding: 0 0 0 0; list-style: none; }
.svc-block li { padding: 7px 0 7px 26px; position: relative; break-inside: avoid; color: var(--ink); font-size: .96rem; }
.svc-block li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work .thumb { height: 168px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.work .meta { padding: 20px 22px; }
.work .meta span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.work .meta h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.work .meta p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: none; }
.info-card .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; background: var(--bg-softer); color: var(--blue); display: grid; place-items: center; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--body); font-size: .96rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,88,168,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb2cc; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.site-footer p { color: #9fb2cc; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #9fb2cc; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem; color: #7e93b0; }
.footer-bottom a { color: #9fb2cc; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 76px; }
  .hero-card { max-width: 520px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .25s ease; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; border-radius: 9px; }
  .nav-toggle { display: flex; }
  .nav .nav-cta .btn { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .work-grid { grid-template-columns: 1fr; }
  .svc-block ul { columns: 1; }
  .svc-block { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
