:root {
  --ink: #102218;
  --ink-soft: #2a3d32;
  --muted: #5f7268;
  --line: rgba(16, 34, 24, 0.1);
  --paper: #f3f6f2;
  --paper-2: #e7eee8;
  --surface: #ffffff;
  --forest: #1a3c2e;
  --forest-deep: #0f241c;
  --brass: #b8862d;
  --brass-deep: #8f681f;
  --success: #1f6b45;
  --warn: #8a5a10;
  --danger: #9b3a2c;
  --max: 1180px;
  --radius: 4px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 0% -10%, rgba(184, 134, 45, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(26, 60, 46, 0.14), transparent 50%),
    linear-gradient(165deg, #e9efe9 0%, #f3f6f2 42%, #eef2ee 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 34, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  background: rgba(243, 246, 242, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 36, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #f7f3e8;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: normal;
  max-width: none;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}

.nav a:not(.nav-cta):hover {
  color: var(--forest);
}

.nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius);
  background: var(--forest);
  color: #f7f3e8 !important;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.header-phone {
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--forest);
  transition: transform 0.25s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  font-weight: 600;
  padding: 0.65rem 0.35rem;
  color: var(--ink-soft);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
}

/* Hero — full-bleed composition (compact, no huge empty gap) */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 36, 28, 0.92) 0%, rgba(26, 60, 46, 0.78) 42%, rgba(15, 36, 28, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(15, 36, 28, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184, 134, 45, 0.25), transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.02) 18px,
      rgba(255, 255, 255, 0.02) 19px
    );
  animation: heroWash 12s ease-in-out infinite alternate;
}

@keyframes heroWash {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.08);
  }
}

.hero-inner {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
  max-width: 42rem;
  color: #f4f1e8;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 232, 0.72);
  animation: riseIn 0.8s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #f7f3e8;
  animation: riseIn 0.9s var(--ease) 0.08s both;
}

.hero-lead {
  margin: 0 0 1.35rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.82);
  font-weight: 400;
  animation: riseIn 0.9s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s var(--ease) 0.24s both;
}

.hero-actions .btn-outline {
  border-color: rgba(247, 243, 232, 0.35);
  color: #f7f3e8;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 243, 232, 0.55);
}

/* Process strip */
.process {
  padding: 0;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 36, 28, 0.08);
}

.process-item {
  padding: 1.5rem 1.4rem;
  border-right: 1px solid var(--line);
}

.process-item:last-child {
  border-right: 0;
}

.process-num {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.process-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--forest-deep);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.category-block + .category-block {
  margin-top: 2.75rem;
}

.category-title {
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  border: 0;
}

.service-card {
  --accent: #1a3c2e;
  --accent-soft: rgba(26, 60, 46, 0.1);
  background: var(--surface);
  padding: 1.35rem 1.3rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top: 3px solid var(--accent);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-soft);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 36, 28, 0.1);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  background: color-mix(in srgb, var(--accent) 18%, #fff);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--forest-deep);
  position: relative;
  z-index: 1;
}

.service-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.price {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-card .btn-dark {
  background: var(--accent);
}

.service-card .btn-dark:hover {
  filter: brightness(1.08);
}

/* Per-service color themes */
.theme-orange { --accent: #d97706; --accent-soft: rgba(217, 119, 6, 0.14); }
.theme-amber { --accent: #ca8a04; --accent-soft: rgba(202, 138, 4, 0.14); }
.theme-rose { --accent: #e11d48; --accent-soft: rgba(225, 29, 72, 0.12); }
.theme-sky { --accent: #0284c7; --accent-soft: rgba(2, 132, 199, 0.12); }
.theme-cyan { --accent: #0891b2; --accent-soft: rgba(8, 145, 178, 0.12); }
.theme-blue { --accent: #2563eb; --accent-soft: rgba(37, 99, 235, 0.12); }
.theme-indigo { --accent: #4f46e5; --accent-soft: rgba(79, 70, 229, 0.12); }
.theme-violet { --accent: #7c3aed; --accent-soft: rgba(124, 58, 237, 0.12); }
.theme-slate { --accent: #475569; --accent-soft: rgba(71, 85, 105, 0.14); }
.theme-teal { --accent: #0d9488; --accent-soft: rgba(13, 148, 136, 0.12); }
.theme-azure { --accent: #1d4ed8; --accent-soft: rgba(29, 78, 216, 0.12); }
.theme-emerald { --accent: #059669; --accent-soft: rgba(5, 150, 105, 0.12); }
.theme-mint { --accent: #10b981; --accent-soft: rgba(16, 185, 129, 0.12); }
.theme-lime { --accent: #65a30d; --accent-soft: rgba(101, 163, 13, 0.14); }
.theme-green { --accent: #16a34a; --accent-soft: rgba(22, 163, 74, 0.12); }
.theme-copper { --accent: #c2410c; --accent-soft: rgba(194, 65, 12, 0.12); }
.theme-gold { --accent: #b45309; --accent-soft: rgba(180, 83, 9, 0.14); }
.theme-forest { --accent: #166534; --accent-soft: rgba(22, 101, 52, 0.12); }
.theme-default { --accent: #1a3c2e; --accent-soft: rgba(26, 60, 46, 0.1); }

/* legacy aliases */
.theme-pan { --accent: #d97706; --accent-soft: rgba(217, 119, 6, 0.14); }
.theme-epfo { --accent: #0284c7; --accent-soft: rgba(2, 132, 199, 0.12); }
.theme-passport { --accent: #7c3aed; --accent-soft: rgba(124, 58, 237, 0.12); }
.theme-scholarship { --accent: #059669; --accent-soft: rgba(5, 150, 105, 0.12); }
.theme-welfare { --accent: #c2410c; --accent-soft: rgba(194, 65, 12, 0.12); }
.theme-udyam { --accent: #166534; --accent-soft: rgba(22, 101, 52, 0.12); }

/* Schemes */
.schemes {
  background: linear-gradient(180deg, rgba(26, 60, 46, 0.04), transparent 70%);
}

.scheme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.scheme-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.scheme-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 134, 45, 0.35);
}

.scheme-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

.scheme-card .amount-tag {
  display: inline-block;
  margin-bottom: 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.scheme-card p {
  color: var(--muted);
}

.doc-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.doc-list li + li {
  margin-top: 0.25rem;
}

/* Apply */
.apply-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.info-card,
.form-card,
.pay-card,
.status-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
}

.info-card h3,
.form-card h2,
.pay-card h2,
.status-card h1 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

.form-card h2 {
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.info-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-list strong {
  display: block;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  color: var(--ink);
  background: #fbfcfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  max-width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(184, 134, 45, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 134, 45, 0.12);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-hint strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.05rem;
}

.alert {
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.alert-error {
  background: #f8ecea;
  color: var(--danger);
  border: 1px solid rgba(155, 58, 44, 0.18);
}

.alert-warn {
  background: #f7f0e4;
  color: var(--warn);
  border: 1px solid rgba(138, 90, 16, 0.18);
}

.alert-success {
  background: #e8f3ec;
  color: var(--success);
  border: 1px solid rgba(31, 107, 69, 0.18);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.3rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brass), var(--brass-deep));
  color: #fff;
}

.btn-dark {
  background: var(--forest);
  color: #f7f3e8;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(26, 60, 46, 0.25);
}

.btn-whatsapp {
  background: #1e9c54;
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* Contact */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-item {
  background: var(--surface);
  padding: 1.5rem 1.35rem;
}

.contact-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.55rem;
}

.contact-item strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.35;
}

.map-embed {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 1.75rem;
  background: var(--forest-deep);
  color: rgba(247, 243, 232, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #f7f3e8;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.footer-grid h3 {
  margin: 0 0 0.9rem;
  color: #f7f3e8;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-meta {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(247, 243, 232, 0.68);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.disclaimer {
  color: rgba(247, 243, 232, 0.48);
  max-width: 48rem;
}

.developed-by {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: rgba(247, 243, 232, 0.4);
}

/* Flow pages */
.flow-wrap {
  padding: 2.75rem 0 4.5rem;
  max-width: 720px;
}

.steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 110px;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.step.active {
  background: var(--forest);
  color: #f7f3e8;
  border-color: var(--forest);
}

.step.done {
  background: rgba(31, 107, 69, 0.1);
  color: var(--success);
  border-color: rgba(31, 107, 69, 0.2);
}

.summary {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  text-align: right;
  font-family: var(--display);
  font-weight: 600;
}

.qr-box {
  text-align: center;
  padding: 1.35rem;
  border: 1px dashed rgba(26, 60, 46, 0.25);
  border-radius: var(--radius);
  margin: 1.25rem 0;
  background: #fafcf9;
}

.qr-box img {
  margin: 0 auto 1rem;
  width: 240px;
  height: 240px;
  border-radius: var(--radius);
  background: #fff;
  padding: 0.5rem;
}

.upi-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: var(--forest);
  word-break: break-all;
}

.pay-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.legal-page {
  padding: 2.75rem 0 4.5rem;
}

.legal-page article {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2.25rem;
}

.legal-page h1 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--forest-deep);
}

.legal-page h2 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  font-family: var(--display);
  color: var(--forest);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sticky mobile Call / WhatsApp bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 36, 28, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 30px rgba(15, 36, 28, 0.2);
}

.mobile-action-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.mobile-action-bar .mab-call {
  background: var(--brass);
}

.mobile-action-bar .mab-wa {
  background: #1e9c54;
}

.mobile-action-bar .mab-apply {
  background: #fff;
  color: var(--forest-deep);
}

/* ===== TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.86rem;
  }
}

/* ===== TABLET & SMALL LAPTOP (max 960px) ===== */
@media (max-width: 960px) {
  .process-rail,
  .apply-layout,
  .scheme-grid,
  .footer-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-nav.open {
    display: flex;
  }

  .hero {
    min-height: 0;
    padding: 2rem 0 2.75rem;
    align-items: flex-start;
  }

  .hero-inner {
    max-width: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .process {
    margin-top: -1.5rem;
  }

  .flow-wrap {
    padding: 1.75rem 0 3.5rem;
  }

  .summary-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .summary-row strong {
    text-align: left;
  }
}

/* ===== MOBILE (max 720px) — primary audience ===== */
@media (max-width: 720px) {
  body {
    font-size: 0.98rem;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.65rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .brand-text strong {
    font-size: 1.02rem;
  }

  .brand-text small {
    display: none;
  }

  .mobile-nav {
    padding: 0.35rem 1rem 1rem;
  }

  .mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav .btn {
    width: 100%;
    min-height: 48px;
    border-bottom: 0;
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    word-break: break-word;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .process {
    margin-top: -1.25rem;
  }

  .process-item {
    padding: 1.15rem 1.1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .service-grid,
  .form-grid,
  .scheme-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-card {
    padding: 1.15rem 1.1rem 1.1rem;
  }

  .service-foot {
    flex-wrap: wrap;
  }

  .service-foot .btn {
    min-height: 42px;
  }

  .info-card,
  .form-card,
  .pay-card,
  .status-card {
    padding: 1.2rem;
  }

  .form-card h2 {
    font-size: 1.4rem;
  }

  .btn-block,
  .btn-primary,
  .btn-whatsapp {
    min-height: 50px;
  }

  .contact-item {
    padding: 1.15rem 1.1rem;
  }

  .contact-item strong {
    font-size: 1.08rem;
    word-break: break-word;
  }

  .map-embed iframe {
    min-height: 240px;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .qr-box img {
    width: min(220px, 70vw);
    height: auto;
    aspect-ratio: 1;
  }

  .steps {
    flex-direction: column;
  }

  .step {
    min-width: 0;
  }

  .legal-page article {
    padding: 1.35rem;
  }

  .mobile-action-bar {
    display: flex;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.15rem;
  }

  .price {
    font-size: 1.15rem;
  }

  .mobile-action-bar a {
    font-size: 0.8rem;
    min-height: 44px;
  }
}

/* Large tablets landscape keep 2-col services under 1100 */
@media (min-width: 961px) and (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before,
  .reveal,
  .hero-kicker,
  .hero h1,
  .hero-lead,
  .hero-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
