:root {
  /* Aligned to official CA India logo blue */
  --ca-blue: #1e5c8b;
  --ca-blue-deep: #0f3d5c;
  --ca-saffron: #f58220;
  --ca-green: #5cb85c;
  --ink: #122033;
  --paper: #f5f7fa;
  --paper-2: #e8edf3;
  --white: #ffffff;
  --muted: #5a6578;
  --line: #d5dde8;
  --max: 70rem;
  /* Matched pair: editorial trust + clear UI */
  --font-display: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ca-blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ca-blue-deep); }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f4f7fb;
  min-width: 0;
}

.site-header.is-solid .brand { color: var(--ink); }

.brand-logo {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.28rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 61, 92, 0.12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: rgba(244, 247, 251, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header.is-solid .nav a { color: var(--ink); }
.nav a:hover { color: #fff; }
.site-header.is-solid .nav a:hover { color: var(--ca-blue); }

.nav .cta {
  background: var(--ca-blue);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 3px;
}

.nav .cta:hover { background: var(--ca-blue-deep); }

.hero-bleed,
.page-hero-bleed {
  position: relative;
  display: grid;
  align-items: end;
  color: #f7fafc;
  overflow: hidden;
}

.hero-bleed { min-height: min(88vh, 46rem); }
.page-hero-bleed { min-height: 40vh; }

.hero-bleed__media,
.band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bleed__media img,
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bleed__media img {
  transform: scale(1.03);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translateY(0); }
  to { transform: scale(1.07) translateY(-1%); }
}

.hero-bleed__shade,
.band__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 61, 92, 0.45) 0%, rgba(15, 61, 92, 0.28) 42%, rgba(10, 28, 45, 0.9) 100%),
    linear-gradient(90deg, rgba(10, 28, 45, 0.55) 0%, transparent 58%);
}

.hero-bleed__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7.25rem 1.25rem 3.25rem;
  animation: riseIn 0.85s ease both;
}

.page-hero-bleed .hero-bleed__content {
  padding-top: 6.75rem;
  padding-bottom: 2.4rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ca-blue-deep);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-kicker img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.hero-bleed h1,
.page-hero-bleed h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  line-height: 1.05;
}

.hero-bleed h1 {
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  max-width: 11ch;
}

.page-hero-bleed h1 {
  font-size: clamp(2rem, 4.8vw, 3rem);
  max-width: 18ch;
}

.hero-bleed .lede,
.page-hero-bleed .lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(247, 250, 252, 0.9);
  max-width: 36rem;
  margin: 0 0 1.6rem;
  font-weight: 400;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 3px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ca-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ca-blue-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.section > p.intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(26rem, 68vw);
  object-fit: cover;
  border-radius: 3px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.25rem 1.5rem;
}

.service {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { color: var(--ca-blue); }

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  position: relative;
  color: #f7fafc;
  overflow: hidden;
}

.band__shade {
  background: linear-gradient(90deg, rgba(10, 28, 45, 0.9) 0%, rgba(15, 61, 92, 0.62) 100%);
}

.band .section { position: relative; z-index: 1; }
.band .intro { color: rgba(247, 250, 252, 0.82); }

.stack > * + * { margin-top: 1rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  font-family: var(--font-body);
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.site-footer {
  background: var(--ca-blue-deep);
  color: #d7e3ef;
}

.site-footer a { color: #eef5fb; }

.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand .brand-logo {
  width: 3.4rem;
  height: 3.4rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.site-footer p,
.site-footer li {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #b7c7d8;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.fine {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: #8fa3b8;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .nav a:not(.cta) { display: none; }
  .brand-text small { display: none; }
  .hero-bleed { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bleed__media img,
  .hero-bleed__content { animation: none; }
  .btn:hover { transform: none; }
}
