/* Eliova Solar Systems: Direction C "Godavari" */
:root {
  --teal: #0F4C4A;
  --teal-dark: #0A3533;
  --teal-deep: #082B29;
  --ink: #12302F;
  --muted: #3E5C5A;
  --mint: #EAF4F2;
  --mint-line: #DCE8E6;
  --band: #F4F9F8;
  --pale-teal: #CFE3E0;
  --sage: #8FB8B3;
  --field-line: #9DB9B5;
  --marigold: #F2A900;
  --marigold-dark: #D99600;
  --sun-bg: #FFF4D6;
  --sun-ink: #6B4A00;
  --sun-text: #5A4A1F;
  --coral-bg: #FDE9E1;
  --coral-ink: #9A3412;
  --coral-text: #6B2E14;
  --white: #FFFFFF;
  --whatsapp: #1C7C54;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 53, 51, 0.06), 0 4px 12px rgba(10, 53, 51, 0.06);
  --shadow-md: 0 2px 4px rgba(10, 53, 51, 0.06), 0 16px 36px rgba(10, 53, 51, 0.12);
  --font-latin: 'Plus Jakarta Sans', 'Noto Sans Telugu', system-ui, sans-serif;
  --font-te-display: 'Anek Telugu', 'Noto Sans Telugu', 'Plus Jakarta Sans', sans-serif;
  --font-te: 'Noto Sans Telugu', 'Anek Telugu', 'Plus Jakarta Sans', sans-serif;
  /* Muggu-style dot grid used on teal and pale grounds */
  --dots-light: radial-gradient(rgba(255, 255, 255, 0.08) 1.4px, transparent 1.6px);
  --dots-dark: radial-gradient(rgba(15, 76, 74, 0.08) 1.4px, transparent 1.6px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Telugu typography: taller line boxes so vowel signs and conjuncts never touch */
[lang="te"] { line-height: 1.65; }
.te-display { font-family: var(--font-te-display); font-weight: 700; letter-spacing: 0; }
.te-body { font-family: var(--font-te); }
.te-ui { font-family: var(--font-te); font-weight: 600; }

/* Language: "te" shows Telugu with English support lines, "en" shows English only */
html[data-lang="en"] .t-te { display: none !important; }
html[data-lang="te"] .t-en { display: none !important; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--white); color: var(--teal); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--marigold); }
.eyebrow-dark { color: var(--sun-ink); }

.section-title { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.02em; line-height: 1.2; }
.section-title.te-display { font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--teal); padding-bottom: 2px; }
.section-sub { margin-top: 10px; font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: 19px; font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: var(--radius-md);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .te-ui { font-size: 17px; line-height: 1.5; padding-top: 2px; }
.btn-sun { background: var(--marigold); color: var(--ink); box-shadow: 0 6px 16px rgba(242, 169, 0, 0.28); }
.btn-sun:hover { background: var(--marigold-dark); color: var(--ink); transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1.5px solid var(--sage); }
.btn-ghost-light:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.btn-teal { background: var(--teal); color: var(--white); font-size: 17px; }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }
.btn-teal:disabled { opacity: 0.7; cursor: progress; }
.btn-block { width: 100%; text-align: center; }
.btn-outline { border: 1.5px solid var(--teal); color: var(--teal); background: var(--white); border-radius: 999px; }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); border-radius: 999px; }
.btn-whatsapp:hover { color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--mint-line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--teal); letter-spacing: -0.01em; }
.brand-te { font-family: var(--font-te); font-size: 13px; line-height: 1.6; color: var(--muted); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.lang-toggle { display: flex; background: var(--mint); border-radius: 999px; padding: 4px; }
.lang-toggle button {
  font: inherit; font-size: 15px; font-weight: 600; background: transparent; color: var(--teal);
  border: 0; border-radius: 999px; padding: 6px 16px; min-height: 40px; cursor: pointer; line-height: 1.5;
}
.lang-toggle button.te-ui { font-family: var(--font-te); }
.lang-toggle button[aria-pressed="true"] { background: var(--teal); color: var(--white); font-weight: 700; }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background-color: var(--teal);
  background-image: var(--dots-light);
  background-size: 22px 22px;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 120px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600; font-size: 15px; line-height: 1.6; border-radius: 999px; padding: 6px 16px 5px 12px;
}
.badge svg { color: var(--marigold); flex: none; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.025em; }
.hero h1.te-display { font-weight: 800; font-size: clamp(40px, 4.8vw, 62px); line-height: 1.4; letter-spacing: 0; padding-top: 4px; }
.hero h1 .hl { color: var(--marigold); display: inline-block; }
.hero-sub { font-size: 17px; color: var(--pale-teal); font-weight: 500; max-width: 34em; }
.hero-lead { font-size: 20px; line-height: 1.8; max-width: 30em; color: var(--white); }
html[data-lang="en"] .hero-sub { font-size: 20px; color: var(--white); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 3; max-height: 440px; object-fit: cover; border-radius: 28px;
  border: 6px solid rgba(255, 255, 255, 0.1);
}
.subsidy-chip {
  position: absolute; top: -22px; left: -22px;
  background: var(--marigold); color: var(--ink); border-radius: 18px; padding: 12px 18px 12px;
  display: flex; flex-direction: column; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); transform: rotate(-3deg);
}
.subsidy-chip strong { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.chip-label { font-size: 14px; font-weight: 700; line-height: 1.5; }
.chip-note { font-size: 12px; font-weight: 600; color: var(--sun-ink); line-height: 1.5; }
.hero-figure figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: var(--white); color: var(--ink); border-radius: 16px; padding: 10px 16px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-sm);
}
.hero-figure figcaption strong { display: block; font-size: 17px; line-height: 1.5; }
.caption-en { font-size: 14px; color: var(--muted); line-height: 1.4; }
.sun-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--marigold); flex: none; display: flex; align-items: center; justify-content: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; display: block; }

/* Trust strip */
.trust-wrap { position: relative; z-index: 2; margin-top: -72px; }
.trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  background: var(--white); border: 1px solid var(--mint-line); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-md);
}
.trust li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; }
.trust li + li { border-left: 1px solid var(--mint-line); }
.trust-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center;
}
.trust strong { display: block; font-size: 17px; line-height: 1.5; color: var(--ink); }
.trust-en { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
html[data-lang="en"] .trust-en { font-size: 16px; font-weight: 700; color: var(--ink); }

/* Cards */
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { position: relative; }
.card-media img { width: 100%; height: 220px; object-fit: cover; }
.card-tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(8, 43, 41, 0.82); color: var(--white);
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-te { font-size: 34px; line-height: 1.45; }
.card-en { font-size: 20px; line-height: 1.3; }
html[data-lang="en"] .card-en { font-size: 26px; }
.card a { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card-mint { background: var(--mint); }
.card-mint .card-te { color: var(--teal); }
.card-mint p { color: var(--muted); }
.card-sun { background: var(--sun-bg); }
.card-sun .card-te, .card-sun a { color: var(--sun-ink); }
.card-sun p { color: var(--sun-text); }
.card-coral { background: var(--coral-bg); }
.card-coral .card-te, .card-coral a { color: var(--coral-ink); }
.card-coral p { color: var(--coral-text); }

/* Subsidy band + calculator */
.band {
  background-color: var(--band); background-image: var(--dots-dark); background-size: 22px 22px;
  border-top: 1px solid var(--mint-line); border-bottom: 1px solid var(--mint-line);
}
.subsidy-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.subsidy-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.slabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.slabs li {
  flex: 1 1 110px; background: var(--white); border: 1px solid var(--mint-line); border-radius: 16px;
  padding: 12px 16px; display: flex; flex-direction: column;
}
.slabs span { font-size: 14px; color: var(--muted); font-weight: 600; }
.slabs strong { font-size: 22px; }
.slabs .slab-top { background: var(--teal); border-color: var(--teal); color: var(--white); }
.slabs .slab-top span { color: var(--pale-teal); }

.calc {
  flex: 1 1 480px; min-width: 0; max-width: 560px;
  background: var(--white); border: 1px solid var(--mint-line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-md);
}
.calc-title { font-size: 26px; line-height: 1.3; color: var(--teal); font-weight: 800; }
.calc-title .te-display { line-height: 1.45; }
.calc-sub { font-size: 15px; color: var(--muted); }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.calc legend { font-size: 14px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 10px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font: inherit; font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; min-height: 44px; cursor: pointer; line-height: 1.5;
  background: var(--white); color: var(--teal); border: 1.5px solid var(--field-line);
}
.pill[aria-pressed="true"] { background: var(--teal); color: var(--white); border-color: var(--teal); }
.range-wrap { display: flex; flex-direction: column; gap: 8px; }
.range-label { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-label strong { color: var(--ink); font-size: 20px; }
.range-wrap input[type="range"] { width: 100%; accent-color: var(--teal); height: 28px; margin: 0; }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.result { border-radius: var(--radius-md); padding: 12px 14px; }
.result-mint { background: var(--mint); }
.result-sun { background: var(--sun-bg); }
.result-teal { background: var(--teal); color: var(--white); }
.result-label { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.6; }
.result-label-sun { color: var(--sun-ink); }
.result-label-teal { color: var(--pale-teal); }
.result-value { font-size: 26px; font-weight: 800; line-height: 1.3; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps li {
  position: relative; background: var(--white); border-radius: 18px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--mint-line);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; left: calc(20px + 44px + 8px); right: -16px;
  border-top: 2px dashed var(--sage);
}
.step-num {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--marigold); color: var(--ink); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--sun-bg);
}
.steps strong { font-size: 21px; line-height: 1.5; margin-top: 10px; }
.step-en { color: var(--muted); font-size: 15px; line-height: 1.45; }
html[data-lang="en"] .step-en { color: var(--ink); font-size: 18px; font-weight: 700; margin-top: 10px; }

/* Callback */
.callback { background-color: var(--sun-bg); }
.callback-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.callback-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.callback-copy .section-title.te-display { color: var(--ink); }
.callback-sub { font-size: 18px; color: var(--sun-text); }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--white); color: var(--teal);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.contact-label { display: block; font-size: 13px; font-weight: 700; color: var(--sun-ink); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-list a { font-weight: 700; font-size: 17px; color: var(--ink); }
.lead-form {
  flex: 1 1 480px; min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; box-shadow: var(--shadow-md);
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; line-height: 1.6; }
.lead-form input, .lead-form select {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--field-line);
  border-radius: 12px; min-height: 50px; background: var(--white); color: var(--ink); width: 100%;
}
.lead-form input:focus, .lead-form select:focus { border-color: var(--teal); }
.lead-form [aria-invalid="true"] { border-color: #B42318; }
.lead-form .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #13663F; }
.form-status.err { color: #B42318; }

/* Footer */
.site-footer {
  background-color: var(--teal-deep); background-image: var(--dots-light); background-size: 22px 22px;
  color: var(--pale-teal); font-size: 15px;
}
.site-footer a { color: var(--pale-teal); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand .brand-name { color: var(--white); font-size: 20px; }
.footer-brand .brand-te { color: var(--pale-teal); }
.footer-reg { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-reg div { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.footer-reg dt { color: #A9C7C3; font-weight: 600; min-width: 112px; }
.footer-reg dd { margin: 0; color: var(--white); font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.footer-head { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold); margin: 0 0 14px; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-legal { padding-top: 18px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #A9C7C3; }

/* Phone-only quick contact bar */
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .hero-figure { max-width: 560px; margin-left: 22px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .header-phone { display: none; }
  .header-inner { flex-wrap: nowrap; gap: 8px; }
  .brand { gap: 8px; }
  .brand svg { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .brand-te { font-size: 11px; }
  .lang-toggle button { padding: 4px 11px; font-size: 14px; min-height: 36px; }
  .hero-inner { padding-top: 36px; padding-bottom: 104px; gap: 44px; }
  .hero h1.te-display { font-size: 38px; }
  .hero-lead { font-size: 18px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-figure { margin-left: 12px; }
  .subsidy-chip { left: -12px; top: -20px; padding: 10px 14px; }
  .subsidy-chip strong { font-size: 24px; }
  .trust { grid-template-columns: 1fr; padding: 10px; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--mint-line); }
  .calc, .lead-form { padding: 20px; }
  .result-value { font-size: 22px; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--white); border-top: 1px solid var(--mint-line); padding: 10px 16px;
    box-shadow: 0 -6px 18px rgba(15, 76, 74, 0.10);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .card:hover { transform: none; }
}
