/* ==========================================================================
   Rudra Solar, Hingoli — Website stylesheet
   Palette: deep solar green + sun gold + warm neutrals
   ========================================================================== */

:root {
  --font-body: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-display: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --brand: #0d5c46;
  --brand-dark: #093f30;
  --brand-soft: #e6f2ee;
  --gold: #d98a0b;
  --gold-soft: #fdf3e0;
  --ink: #16211d;
  --ink-2: #3f4f49;
  --muted: #6d7d77;
  --line: #e2e8e5;
  --bg: #ffffff;
  --bg-tint: #f6f8f7;
  --card: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 40, 32, 0.06), 0 1px 2px rgba(16, 40, 32, 0.04);
  --shadow: 0 8px 28px rgba(16, 40, 32, 0.09);
  --shadow-lg: 0 20px 48px rgba(16, 40, 32, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: #23180a; box-shadow: 0 6px 18px rgba(217, 138, 11, .3); }
.btn--primary:hover { background: #c67c08; color: #23180a; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--onDark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--onDark:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--lg { padding: 15px 30px; font-size: 17px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--brand-dark); color: #d8e8e2; font-size: 13.5px;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; }
.brand__mark svg { width: 46px; height: 46px; display: block; }
.brand__text { line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 23px; color: var(--brand-dark); }
.brand__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 13px; border-radius: 8px; font-weight: 500; font-size: 15.5px; color: var(--ink-2);
}
.nav__links a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav__links a[aria-current="page"] { color: var(--brand-dark); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: var(--brand-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--brand-dark); stroke-width: 2; fill: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 17px; }
  .nav__cta .btn--brand { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 380px at 88% -10%, rgba(217,138,11,.22), transparent 70%),
    radial-gradient(ellipse 640px 420px at 5% 110%, rgba(13,92,70,.16), transparent 70%),
    linear-gradient(180deg, #f4faf7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 62px 0 66px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -.5px; color: var(--brand-dark); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__trust .t { display: flex; flex-direction: column; }
.hero__trust .t b { font-size: 24px; color: var(--brand-dark); font-family: var(--font-display); }
.hero__trust .t span { font-size: 13.5px; color: var(--muted); }

/* Hero form card */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.quote-card h3 { font-size: 21px; color: var(--brand-dark); }
.quote-card p.small { font-size: 14px; color: var(--muted); margin-top: -6px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); 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(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 46px; }
}

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section--tint { background: var(--bg-tint); }
.section--brand { background: var(--brand-dark); color: #eaf3ef; }
.section--brand h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(27px, 3.6vw, 40px); color: var(--brand-dark); }
.section__head p { font-size: 18px; color: var(--ink-2); }
.section--brand .section__head p { color: #b9d2c9; }

.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.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: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0d9; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.card__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; color: var(--brand-dark); }
.card p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 0; }
.card--gold .card__icon { background: var(--gold-soft); color: var(--gold); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 14px; font-size: 15px; }
.card__link::after { content: '→'; transition: transform .15s ease; }
.card:hover .card__link::after { transform: translateX(3px); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 14px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--gold);
  display: inline-block; border: 1.5px solid var(--gold); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.step h3 { font-size: 19px; color: var(--brand-dark); }
.step p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; color: var(--gold); line-height: 1; }
.stat span { font-size: 14.5px; color: #c4d8d1; }

/* Subsidy highlight */
.subsidy-card {
  background: linear-gradient(135deg, #fff7e9, #ffffff);
  border: 1px solid #f2ddb6; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.subsidy-card h3 { color: #8a5406; }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; background: var(--gold-soft); color: #8a5406; padding: 5px 12px; border-radius: 999px; }
.amount { font-family: var(--font-display); font-size: 44px; color: var(--brand-dark); line-height: 1; }
.amount small { font-size: 16px; color: var(--muted); font-family: var(--font-body); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-tint); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fafcfb; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc__form { padding: 30px; }
.calc__out { padding: 30px; background: var(--brand-dark); color: #eaf3ef; }
.calc__out h3 { color: #fff; font-size: 20px; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.calc__row:last-child { border-bottom: none; }
.calc__row span { color: #b9d2c9; }
.calc__row b { font-family: var(--font-mono); font-size: 18px; color: var(--gold); }
.calc__big { font-family: var(--font-display); font-size: 40px; color: var(--gold); }
input[type=range] { width: 100%; accent-color: var(--brand); }

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm); height: 100%;
}
.quote p { font-size: 16.5px; color: var(--ink-2); font-style: italic; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.quote__who b { display: block; font-size: 15px; color: var(--brand-dark); }
.quote__who span { font-size: 13px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; font-size: 17px; color: var(--brand-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 22px; color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 20px 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius); padding: 46px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3dc; font-size: 18px; max-width: 44em; margin: 0 auto 24px; }

/* Breadcrumb / page header */
.page-head {
  background: linear-gradient(180deg, #f4faf7, #ffffff);
  border-bottom: 1px solid var(--line); padding: 40px 0 34px;
}
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 42px); color: var(--brand-dark); margin-bottom: 6px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 52em; margin-top: 10px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: center; color: #fff; text-align: center;
  background: linear-gradient(135deg, #0d5c46, #0a3f30);
}
.tile--b { background: linear-gradient(135deg, #1c6b8f, #0e4560); }
.tile--c { background: linear-gradient(135deg, #d98a0b, #a56606); }
.tile--d { background: linear-gradient(135deg, #4d7c0f, #365a09); }
.tile span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; opacity: .92; padding: 0 14px; }

figure.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
figure.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .35s ease; }
figure.shot:hover img { transform: scale(1.04); }
figure.shot figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
figure.shot--wide { margin-bottom: 34px; }
figure.shot--wide img { aspect-ratio: 21/8; }

/* Blog */
.post { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: none; }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; gap: 8px; } }
.post__date { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.post h3 { font-size: 21px; color: var(--brand-dark); margin-bottom: 6px; }
.post p { color: var(--ink-2); margin-bottom: 8px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; background: var(--brand-soft); color: var(--brand); padding: 3px 9px; border-radius: 999px; }

/* Job */
.job { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 14px; }
.job h3 { font-size: 19px; margin-bottom: 2px; color: var(--brand-dark); }
.job p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 620px) { .job { flex-direction: column; align-items: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--brand); fill: none; stroke-width: 1.8; margin-top: 3px; }
.info-list svg.ic-fb { fill: var(--brand); stroke: none; }
/* Social icons */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.09); display: grid; place-items: center; color: #b6cdc5; transition: background .15s ease, color .15s ease, transform .15s ease; }
.social a:hover { background: var(--gold); color: #23180a; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.social svg.ic-ig { fill: none; stroke: currentColor; stroke-width: 1.9; }
.info-list b { display: block; color: var(--brand-dark); }
.info-list span { color: var(--ink-2); font-size: 15.5px; }
.site-footer li svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.map-embed svg { width: 30px; height: 30px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); min-height: 260px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; }

/* Footer */
.site-footer { background: #0b2c23; color: #b6cdc5; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; padding: 56px 0 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; font-family: var(--font-mono); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #b6cdc5; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: 15.5px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: 15px; margin-top: 14px; color: #9dbab1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-bottom a { color: #9dbab1; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.float-wa:hover { transform: scale(1.07); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Utility */
.lead-lg { font-size: 19px; color: var(--ink-2); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; color: var(--brand-dark); }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.callout { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.callout--gold { background: var(--gold-soft); border-left-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
