/* GEETANJALI Infra & Techno Solution — site styles
   Palette: lake-night ink, marigold sun, Aravalli green, lake blue, cool mist ground. */

:root {
  --ink: #0f2536;
  --ink-soft: #3d5364;
  --ground: #f4f7f5;
  --surface: #ffffff;
  --surface-2: #e8efec;
  --line: #d3ddd9;
  --sun: #f2a413;
  --sun-deep: #c97f00;
  --sun-ink: #1d1400;
  --leaf: #1fc271;
  --lake: #1c5d8c;
  --hero-bg: #0f2536;
  --hero-ink: #f4f7f5;
  --hero-muted: #b7c7d1;
  --shadow: 0 10px 30px -12px rgba(15, 37, 54, 0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Hind", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --logo-tile: #1a3a52;
    --ink: #e7eef0;
    --ink-soft: #a8bac4;
    --ground: #0b1a25;
    --surface: #112634;
    --surface-2: #163244;
    --line: #22435a;
    --sun: #f5b43a;
    --sun-deep: #f5b43a;
    --leaf: #4cc48a;
    --lake: #6cb3e6;
    --hero-bg: #07131c;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --logo-tile: #1a3a52;
  --ink: #e7eef0;
  --ink-soft: #a8bac4;
  --ground: #0b1a25;
  --surface: #112634;
  --surface-2: #163244;
  --line: #22435a;
  --sun: #f5b43a;
  --sun-deep: #f5b43a;
  --leaf: #4cc48a;
  --lake: #6cb3e6;
  --hero-bg: #07131c;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--lake); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun); outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 100%;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--surface-2); }
.stack { display: grid; gap: 16px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 1.50rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 500;
}
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.hindi { font-family: var(--font-body); font-weight: 600; }
.placeholder-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--sun-ink);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--sun-ink); }
.btn--sun:hover { background: #ffb52b; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ink { background: var(--ink); color: var(--ground); }

/* Top strip + header */
.topbar { background: var(--hero-bg); color: var(--hero-muted); font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 8px; }
.topbar a { color: var(--hero-ink); text-decoration: none; }
.topbar .group { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand { gap: 12px; }
.brand svg { width: 80px; height: 80px; flex: none; }
.brand > span { display: grid; gap: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 2.22rem; letter-spacing: 0.2em; line-height: 1; display: block; }
.brand-sub { font-family: var(--font-body); font-weight: 600; font-size: 1.0rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--leaf); line-height: 1; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--ground); }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lede { color: var(--hero-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 0.9rem; color: var(--hero-muted); }
.hero-badges span::before { content: "✓ "; color: var(--sun); font-weight: 700; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.hero .eyebrow { color: var(--sun); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.page-hero { background: var(--hero-bg); color: var(--hero-ink); }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 72px); display: grid; gap: 14px; }
.page-hero .lede { color: var(--hero-muted); }
.page-hero .eyebrow { color: var(--sun); }
.crumbs { font-size: 0.85rem; color: var(--hero-muted); }
.crumbs a { color: var(--hero-ink); }

/* Stats strip — a meter readout */
.meter { background: var(--surface); border-bottom: 1px solid var(--line); }
.meter .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.meter-cell { padding: 24px 20px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.meter-cell:last-child { border-right: 0; }
.meter-num { font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.meter-num small { font-size: 0.55em; color: var(--ink-soft); margin-left: 4px; }
.meter-label { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .meter .wrap { grid-template-columns: repeat(2, 1fr); }
  .meter-cell:nth-child(2) { border-right: 0; }
  .meter-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 12px; align-content: start;
}
.card p { color: var(--ink-soft); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--leaf); }
.card .icon svg { width: 28px; height: 28px; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.card .more { font-weight: 700; text-decoration: none; color: var(--lake); margin-top: 4px; }
.card--feature { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.card--feature p, .card--feature ul { color: color-mix(in srgb, var(--ground) 78%, transparent); }
.card--feature .icon { background: color-mix(in srgb, var(--ground) 12%, transparent); color: var(--sun); }
.card--feature .more { color: var(--sun); }

.spec { display: flex; flex-wrap: wrap; gap: 6px; }
.spec span { font-family: var(--font-mono); font-size: 0.74rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); }
.card--feature .spec span { background: color-mix(in srgb, var(--ground) 12%, transparent); color: var(--ground); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--ink-soft); }

/* Photo placeholder */
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  aspect-ratio: 4 / 3; max-width: 100%; border: 1px dashed var(--line);
}
.photo svg { width: 100%; height: 100%; display: block; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 0.82rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Process — a real sequence, so numbered */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.process li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--sun); }
.process li::before { content: "Step " counter(step); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun-deep); }
.process p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .process { grid-template-columns: 1fr; } }

/* Subsidy table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); background: var(--surface-2); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--font-mono); }
.note { font-size: 0.88rem; color: var(--ink-soft); }
.callout { border-left: 4px solid var(--sun); background: var(--surface); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Projects */
.project { display: grid; gap: 12px; }
.project .photo { aspect-ratio: 16 / 10; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* Testimonials */
.quote { font-size: 1.05rem; }
.quote footer { font-size: 0.9rem; color: var(--ink-soft); display: grid; }
.quote footer strong { color: var(--ink); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-in { background: var(--surface); padding: 28px; display: grid; gap: 18px; align-content: start; }
.calc-out { background: var(--ink); color: var(--ground); padding: 28px; display: grid; gap: 18px; align-content: start; }
.calc-out .eyebrow { color: var(--sun); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.range-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; }
input[type="range"] { padding: 0; accent-color: var(--sun-deep); background: transparent; border: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; }
.seg input:checked + span { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.readout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: color-mix(in srgb, var(--ground) 16%, transparent); border-radius: var(--radius-sm); overflow: hidden; }
.readout div { background: var(--ink); padding: 14px 16px; display: grid; gap: 2px; }
.readout .k { font-size: 0.8rem; color: color-mix(in srgb, var(--ground) 70%, transparent); }
.readout .v { font-family: var(--font-mono); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.readout .v.big { color: var(--sun); }
.bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--ground) 14%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sun); border-radius: 999px; transition: width .3s ease; }
.calc-out .note { color: color-mix(in srgb, var(--ground) 65%, transparent); }

/* Calculator teaser (home) */
.teaser { background: var(--sun); color: var(--sun-ink); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.teaser .eyebrow { color: var(--sun-ink); }
.teaser p { color: #3a2a00; }
.teaser-form { display: grid; gap: 10px; background: rgba(255,255,255,.55); padding: 20px; border-radius: var(--radius-sm); }
.teaser-form label { font-weight: 600; font-size: 0.92rem; }
.teaser-form input { background: #fff; color: #1d1400; border-color: rgba(0,0,0,.15); }
.teaser-result { font-family: var(--font-mono); font-size: 0.95rem; min-height: 1.6em; }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; gap: 2px; }
.info-list .k { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.info-list .v { font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border-left: 4px solid var(--leaf); }
.error { color: #c0392b; font-size: 0.85rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--sun-deep); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--leaf); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 40px; }
.cta-band p { color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { background: var(--hero-bg); color: var(--hero-muted); font-size: 0.93rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 36px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--hero-ink); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--hero-muted); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .brand { color: var(--hero-ink); }
.site-footer .brand-sub { color: var(--sun); }
.site-footer .brand { --logo-tile: #1a3a52; }
.site-footer .brand > span { border-left-color: rgba(255,255,255,.18); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.84rem; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
}
.float-wa svg { width: 30px; height: 30px; }

.sun-spin { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
