/* ==========================================================================
   Rainbow Solar — design system (clean white + royal blue + solar green)
   Mobile-first. Breakpoints: 640 / 900 / 1200
   ========================================================================== */
:root {
  --navy: #0a1d56;
  --navy-800: #0f2a72;
  --blue-700: #0f3d9e;
  --blue-600: #1650c7;
  --blue-500: #2563eb;
  --blue-100: #dce8ff;
  --blue-50: #eef4ff;
  --green-700: #137a3a;
  --green-600: #1a9447;
  --green-500: #22a352;
  --green-50: #e8f7ee;
  --sun: #f8b400;
  --sun-50: #fff6dc;
  --ink: var(--navy);
  --body: #4b5671;
  --muted: #6b7690;
  --line: #e3eaf6;
  --bg: #ffffff;
  --bg-soft: #f5f8fe;
  --danger: #d92d20;
  --rainbow: linear-gradient(90deg, #f7931e 0%, #fbc02d 20%, #8cc63f 40%, #22a352 60%, #12a39a 80%, #1d63a8 100%);
  --grad-blue: linear-gradient(135deg, #1e63e0 0%, #1650c7 45%, #0f3d9e 100%);
  --grad-green: linear-gradient(135deg, #2bb35f 0%, #1a9447 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 86, .05), 0 2px 8px rgba(10, 29, 86, .05);
  --shadow: 0 12px 32px -14px rgba(10, 29, 86, .18);
  --shadow-lg: 0 24px 60px -20px rgba(10, 29, 86, .28);
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--body); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.section { padding: 64px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section-head h2 { margin-bottom: .3em; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.head-row .section-head { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-50); }
.eyebrow--light { color: #cfe0ff; }
.eyebrow--light::before { box-shadow: 0 0 0 4px rgba(34, 163, 82, .25); }
.text-green { color: var(--green-600); }
.text-grad { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0; cursor: pointer; background: var(--grad-blue); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(22, 80, 199, .7); position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(22, 80, 199, .75); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green { background: var(--grad-green); box-shadow: 0 12px 24px -12px rgba(26, 148, 71, .7); }
.btn--white { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn--white .play { width: 30px; height: 30px; border-radius: 50%; background: var(--green-500); color: #fff; display: grid; place-items: center; margin-left: -10px; }
.btn--white .play svg { width: 12px; height: 12px; }
.btn--outline { background: #fff; color: var(--blue-600); box-shadow: inset 0 0 0 1.5px #c8d7f3; }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.btn--wa { background: #1fae5b; box-shadow: 0 12px 24px -12px rgba(31, 174, 91, .7); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn[disabled] { opacity: .75; cursor: progress; }

/* ---------- Header ---------- */
.rainbow-bar { height: 3px; background: var(--rainbow); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10, 29, 86, .4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
@media (min-width: 640px) { .logo img { height: 44px; } }
.nav { display: none; }
.nav a { white-space: nowrap; font-weight: 500; font-size: .9rem; color: #24304f; padding: 8px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue-600); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.nav a:hover, .nav a.is-active { color: var(--blue-600); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-call { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; color: var(--blue-600); }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .88rem; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0; background: #fff; z-index: 99; padding: 16px 16px 120px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; overflow-y: auto; }
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a:not(.btn) { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--navy); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 20px; }
@media (max-width: 479px) { .header-cta .btn--quote { display: none; } }
@media (min-width: 1200px) {
  .nav { display: flex; gap: 20px; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-call { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: #f7faff; overflow: hidden; }
.hero-photo { position: relative; height: 260px; background: url("../img/hero/hero-home.jpg") center 40% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,250,255,0) 55%, #f7faff 100%); }
.hero-inner { position: relative; z-index: 2; padding: 8px 0 120px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-tagline { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 16px; }
.hero-tagline svg { width: 16px; height: 16px; color: var(--green-500); }
.hero h1 { color: var(--navy); margin-bottom: .35em; }
.hero-lead { font-size: 1.08rem; max-width: 500px; color: var(--body); margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-bottom: 28px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.hero-trust svg { width: 30px; height: 30px; color: var(--green-600); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.rating { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); font-size: .84rem; font-weight: 600; color: var(--navy); }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }
.rating .stars { color: var(--sun); letter-spacing: 1px; }
.sun-chip { position: absolute; display: none; align-items: center; gap: 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; color: var(--navy); line-height: 1.3; animation: bob 6s ease-in-out infinite; z-index: 2; }
.sun-chip .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--sun-50); display: grid; place-items: center; color: var(--sun); }
.sun-chip .ic svg { width: 22px; height: 22px; animation: spin 18s linear infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero { min-height: 640px; }
  .hero-photo { position: absolute; inset: 0 0 0 28%; height: auto; background-position: center 45%; }
  .hero-photo::after { background: linear-gradient(90deg, #f7faff 0%, rgba(247,250,255,.92) 14%, rgba(247,250,255,.35) 38%, rgba(247,250,255,0) 60%), linear-gradient(180deg, rgba(247,250,255,0) 70%, rgba(247,250,255,.9) 100%); }
  .hero-inner { padding: 56px 0 140px; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 40px; }
  .hero-copy { max-width: 560px; }
  .sun-chip { display: inline-flex; top: 40px; left: 50%; }
}

/* ---------- Lead form card ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(227, 234, 246, .8); position: relative; }
@media (min-width: 640px) { .form-card { padding: 28px 26px; } }
.form-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f > label, .f .lbl-text { font-size: .82rem; font-weight: 600; color: var(--navy); }
.f input, .f select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid #dfe6f3; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.f select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230a1d56' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.f input::placeholder { color: #9aa4ba; }
.f input:focus, .f select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(22, 80, 199, .14); }
.prefix { display: flex; align-items: stretch; border: 1.5px solid #dfe6f3; border-radius: 10px; transition: border-color .2s, box-shadow .2s; background: #fff; }
.prefix span { display: grid; place-items: center; padding: 0 2px 0 14px; color: var(--navy); font-weight: 600; font-size: .95rem; }
.f .prefix input { border: 0; box-shadow: none; padding-left: 8px; }
.prefix:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(22, 80, 199, .14); }
.f.has-error input, .f.has-error select, .f.has-error .prefix { border-color: var(--danger); }
.f.has-error .prefix input { border: 0; }
.f .err { font-size: .78rem; color: var(--danger); display: none; }
.f.has-error .err { display: block; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.seg span { display: block; text-align: center; padding: 8px 4px; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--blue-500); }
.form-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: .74rem; color: var(--muted); margin-top: 12px; }
.form-trust span { display: inline-flex; align-items: center; gap: 5px; }
.form-trust svg { width: 13px; height: 13px; color: var(--green-600); }
.form-consent { font-size: .72rem; color: var(--muted); text-align: center; margin: 10px 0 0; line-height: 1.45; }
.form-consent a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .86rem; padding: 10px 12px; border-radius: 10px; display: none; margin-bottom: 12px; }
.form-status.is-error { display: block; background: #fee4e2; color: #912018; }
.form-status a { text-decoration: underline; font-weight: 600; }
.calc-attached { display: none; align-items: center; gap: 8px; background: var(--green-50); color: var(--green-700); border-radius: 10px; padding: 9px 12px; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.calc-attached svg { width: 16px; height: 16px; flex: none; }
.calc-attached.is-on { display: flex; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .arrow { display: none; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 3; margin-top: -84px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 18px; border: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 26px 32px; } .stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; } }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex: none; }
.stat-ic svg { width: 26px; height: 26px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.65rem); color: var(--navy); font-weight: 700; line-height: 1.1; }
.stat-label { font-size: .84rem; color: var(--muted); }
@media (max-width: 420px) { .stat-ic { width: 42px; height: 42px; } .stat-ic svg { width: 22px; height: 22px; } .stat { gap: 10px; } }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.calc-visual { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; margin-top: 24px; background: var(--blue-50); }
.calc-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.calc-visual:hover img { transform: scale(1.04); }
.chip-float { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); animation: bob 6s ease-in-out infinite; }
.chip-float strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.chip-float .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; }
.chip-float .ic svg { width: 20px; height: 20px; }
.calc-card { background: #fff; border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 640px) { .calc-card { padding: 28px; } }
.bill-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bill-row label { font-weight: 600; color: var(--navy); font-size: .95rem; }
.bill-pill { display: inline-flex; align-items: baseline; gap: 6px; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 14px; white-space: nowrap; }
.bill-pill output { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.bill-pill small { color: var(--muted); font-size: .8rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green-500) var(--p, 30%), #e5ebf5 var(--p, 30%)); outline: none; margin: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-500); border: 5px solid #fff; box-shadow: 0 0 0 1.5px var(--green-500), 0 4px 10px rgba(0,0,0,.18); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--green-500); border: 5px solid #fff; box-shadow: 0 0 0 1.5px var(--green-500), 0 4px 10px rgba(0,0,0,.18); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin: 8px 0 20px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; }
.tile strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); font-weight: 700; line-height: 1.2; }
.tile span { font-size: .74rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.tile.is-green strong { color: var(--green-600); }
.savings-row { display: grid; gap: 12px; grid-template-columns: 1fr; background: var(--green-50); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
@media (min-width: 640px) { .savings-row { grid-template-columns: repeat(3, 1fr); } }
.savings-row div { display: flex; align-items: center; gap: 10px; }
.savings-row svg { width: 26px; height: 26px; color: var(--green-600); flex: none; }
.savings-row strong { display: block; font-family: var(--font-head); color: var(--green-700); font-size: 1.05rem; line-height: 1.2; }
.savings-row span { font-size: .72rem; color: var(--body); }
.calc-more { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.calc-more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--blue-600); list-style: none; display: flex; align-items: center; gap: 6px; }
.calc-more summary::-webkit-details-marker { display: none; }
.calc-more summary::after { content: "+"; font-size: 1.1rem; }
.calc-more[open] summary::after { content: "–"; }
.calc-more .inner { padding-top: 14px; display: grid; gap: 16px; }
.mini-label { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.mini-label output { color: var(--green-600); }
.calc-more .range-scale { margin-bottom: 0; }
.calc-note { font-size: .72rem; color: var(--muted); margin: 12px 0 0; }
.roof-warn { display: none; font-size: .78rem; color: #9a6700; background: var(--sun-50); padding: 8px 12px; border-radius: 10px; margin-bottom: 12px; }

/* ---------- Feature strip ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 20px; }
@media (min-width: 900px) { .feature-strip { grid-template-columns: repeat(4, 1fr); padding: 24px 28px; } .feature-strip > div + div { border-left: 1px solid var(--line); padding-left: 24px; } }
.feature-strip > div { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--navy); font-weight: 500; line-height: 1.35; }
.feature-strip svg { width: 34px; height: 34px; color: var(--blue-600); flex: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 22px; } }
.card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--muted); margin: 0; font-size: .94rem; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--blue-50); color: var(--blue-600); }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--green { background: var(--green-50); color: var(--green-600); }
.icon-tile--sun { background: var(--sun-50); color: #d99a00; }

/* ---------- Subsidy ---------- */
.subsidy-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .subsidy-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.subsidy-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.subsidy-table th, .subsidy-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.subsidy-table th { background: var(--blue-600); color: #fff; font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.subsidy-table tr:last-child td { border-bottom: 0; }
.subsidy-table td strong { color: var(--green-600); font-family: var(--font-head); font-size: 1.05rem; }
.subsidy-max { margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--grad-green); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.subsidy-max strong { font-family: var(--font-head); font-size: 1.6rem; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.checklist { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 2px; }
.checklist b { color: var(--navy); }

/* ---------- Services ---------- */
.service { display: flex; flex-direction: column; }
.service ul { padding: 0; margin: 14px 0 18px; list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.service li { display: flex; gap: 8px; }
.service li::before { content: "✓"; color: var(--green-600); font-weight: 700; }
.service-link { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }
.service-link svg { width: 16px; transition: transform .3s var(--ease); }
.service:hover .service-link svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.flow-step { text-align: center; position: relative; }
.flow-ic { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue-600); transition: transform .4s var(--ease); position: relative; z-index: 1; }
.flow-step:hover .flow-ic { transform: translateY(-4px) scale(1.04); }
.flow-ic svg { width: 40px; height: 40px; }
.flow-step:first-child .flow-ic { color: #f29a00; }
.flow-num { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.flow-step h3 { font-size: .9rem; line-height: 1.35; margin: 2px 0 0; }
@media (min-width: 1024px) {
  .flow-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: calc(50% + 50px); right: calc(-50% + 56px); height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--blue-600)); }
  .flow-step:not(:last-child)::before { content: ""; position: absolute; top: 37.5px; right: calc(-50% + 56px); width: 9px; height: 9px; border-top: 2px solid var(--blue-600); border-right: 2px solid var(--blue-600); transform: rotate(45deg); }
}

/* ---------- Projects ---------- */
.project { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: block; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--blue-50); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project-img img { transform: scale(1.06); }
.project-img .type { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.project-info { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-info h3 { font-size: 1rem; margin: 0; }
.project-info span { font-size: .84rem; color: var(--muted); }
.round-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); flex: none; transition: all .25s; }
.round-arrow svg { width: 16px; height: 16px; }
.project:hover .round-arrow { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ---------- Testimonials ---------- */
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: all .25s; }
.carousel-nav button:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.carousel-nav svg { width: 18px; height: 18px; }
.reviews { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; flex: 0 0 88%; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
@media (min-width: 640px) { .review { flex-basis: 47%; } }
@media (min-width: 1024px) { .review { flex-basis: calc(33.333% - 12px); } }
.review .q { font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: #b9c9ea; height: 30px; }
.review blockquote { margin: 0 0 20px; color: var(--navy); font-size: .97rem; }
.review .stars { color: var(--sun); letter-spacing: 2px; font-size: .9rem; margin-bottom: 8px; }
.who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-head); flex: none; }
.who strong { display: block; color: var(--navy); font-size: .92rem; }
.who span { font-size: .8rem; color: var(--muted); }
.sys-pill { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--blue-100); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: 1.25rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #dbe6ff; padding: 56px 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(9, 34, 110, .97) 0%, rgba(17, 66, 180, .9) 50%, rgba(17, 66, 180, .6) 100%), url("../img/grid/panels-closeup.jpg") center / cover no-repeat; }
.cta-grid { display: grid; gap: 28px; align-items: center; position: relative; }
@media (min-width: 900px) { .cta-band { padding: 64px 0; } .cta-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0 0 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.socials--dark a { border-color: var(--line); color: var(--navy); }
.socials--dark a:hover { background: var(--blue-50); }
.inline-form { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-lg); }
.inline-form .row { display: grid; gap: 10px; }
@media (min-width: 640px) { .inline-form .row { grid-template-columns: 1fr 1fr; } .inline-form .btn { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .inline-form .row { grid-template-columns: 1fr 1fr .8fr auto; align-items: start; } .inline-form .btn { grid-column: auto; margin-top: 26px; } }
.inline-form .f { margin-bottom: 0; }
.inline-form .btn { min-height: 46px; border-radius: 10px; }
.inline-form .form-consent { text-align: left; margin-top: 10px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .84rem; color: #fff; }
.cta-trust span { display: inline-flex; align-items: center; gap: 8px; }
.cta-trust svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--body); padding: 56px 0 110px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .site-footer { padding-bottom: 32px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1.1fr 1.2fr; } }
.site-footer .logo img { height: 46px; }
.footer-tagline { margin: 10px 0 16px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.site-footer h4 { font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.site-footer a:hover { color: var(--blue-600); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; margin-top: 3px; }
.news { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; margin-top: 4px; transition: border-color .2s; }
.news:focus-within { border-color: var(--blue-600); }
.news input { border: 0; outline: none; flex: 1; min-width: 0; font-size: .92rem; min-height: 40px; background: transparent; }
.news button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grad-green); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .25s; }
.news button:hover { transform: scale(1.06); }
.news button svg { width: 18px; height: 18px; }
.news-msg { font-size: .8rem; margin-top: 8px; min-height: 1.2em; }
.news-msg.ok { color: var(--green-600); }
.news-msg.err { color: var(--danger); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- Floating CTAs ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 90px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 174, 91, .8); transition: transform .3s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1fae5b; animation: pulse 2.4s ease-out infinite; z-index: -1; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa .tip { position: absolute; right: 70px; white-space: nowrap; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); pointer-events: none; }
.fab-wa:hover .tip { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab-quote { display: none; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10, 29, 86, .4); transform: translateY(110%); transition: transform .4s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { min-height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: .88rem; }
.mobile-bar svg { width: 18px; height: 18px; }
.mb-call { background: var(--blue-50); color: var(--blue-700); }
.mb-wa { background: #e5f7ec; color: #148a46; }
.mb-quote { background: var(--grad-blue); color: #fff; }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  .fab-wa { bottom: 24px; right: 24px; }
  .fab-quote { display: inline-flex; position: fixed; right: 96px; bottom: 30px; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .fab-quote.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Animations ---------- */
.hero-in { animation: heroIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Thank-you page ---------- */
.ty { min-height: calc(100vh - 75px); display: grid; place-items: center; padding: 48px 0 120px; text-align: center; position: relative; overflow: hidden; background: var(--bg-soft); }
.ty-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 40px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
@media (min-width: 640px) { .ty-card { padding: 48px 44px; } }
.ty-check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; }
.ty-check svg { width: 46px; height: 46px; color: var(--green-600); }
.ty-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-ref { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--blue-50); padding: 6px 12px; border-radius: 8px; font-size: .85rem; color: var(--navy); margin-bottom: 24px; }
.ty-steps { text-align: left; display: grid; gap: 14px; margin: 24px 0 28px; }
.ty-steps div { display: flex; gap: 14px; align-items: flex-start; }
.ty-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-blue); color: #fff; display: grid; place-items: center; flex: none; font-size: .85rem; }
.ty-steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.ty-steps strong { color: var(--navy); display: block; }
.ty-actions { display: grid; gap: 10px; }
@media (min-width: 640px) { .ty-actions { grid-template-columns: 1fr 1fr; } }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; opacity: .9; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* ==========================================================
   RAINBOW CARE+
========================================================== */

.rainbow-care-section {
  position: relative;
  overflow: hidden;

  padding: 88px 0;

  background:
    radial-gradient(
      circle at 88% 30%,
      rgba(255, 193, 7, 0.16),
      transparent 25%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(33, 169, 91, 0.10),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      #f9fffb 0%,
      #f3fbf7 48%,
      #fffdf4 100%
    );
}


/* MAIN LAYOUT */

.rainbow-care-wrap {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1fr)
    minmax(260px, .8fr);

  align-items: center;

  gap: 55px;
}


/* ==========================================================
   LEFT
========================================================== */

.rainbow-care-content h2 {
  margin:
    12px 0
    14px;

  color: var(--navy);

  font-size: clamp(
    38px,
    4vw,
    56px
  );

  line-height: 1.03;

  letter-spacing: -2px;
}


.rainbow-care-title {
  display: block;

  margin-top: 5px;

  background:
    linear-gradient(
      90deg,
      #169c4b,
      #56b642
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


.rainbow-care-content > h3 {
  margin:
    0 0
    13px;

  color: var(--navy);

  font-size: 19px;
  font-weight: 700;
}


.rainbow-care-content > p {
  max-width: 450px;

  margin:
    0 0
    26px;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.75;
}


.care-cta {
  box-shadow:
    0 12px 30px
    rgba(22, 156, 75, .17);
}


/* ==========================================================
   BENEFITS
========================================================== */

.rainbow-care-benefits {
  display: flex;

  flex-direction: column;

  gap: 15px;
}


.rainbow-care-benefit {
  display: flex;

  align-items: flex-start;

  gap: 15px;

  padding: 19px;

  border:
    1px solid
    rgba(14, 43, 97, .08);

  border-radius: 16px;

  background:
    rgba(255,255,255,.82);

  box-shadow:
    0 8px 30px
    rgba(20, 48, 85, .045);

  backdrop-filter:
    blur(10px);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}


.rainbow-care-benefit:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(22, 156, 75, .18);

  box-shadow:
    0 16px 40px
    rgba(20, 48, 85, .09);
}


.rainbow-care-icon {
  width: 45px;
  height: 45px;

  flex: 0 0 45px;

  display: grid;

  place-items: center;

  border-radius: 13px;

  color: #169c4b;

  background:
    linear-gradient(
      145deg,
      #e9f9ef,
      #f7fff9
    );
}


.rainbow-care-icon svg {
  width: 21px;
  height: 21px;

  stroke: currentColor;
}


.rainbow-care-benefit h3 {
  margin:
    1px 0
    5px;

  color: var(--navy);

  font-size: 16px;
  line-height: 1.3;
}


.rainbow-care-benefit p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.55;
}


/* ==========================================================
   RIGHT VISUAL
========================================================== */

.rainbow-care-visual {
  position: relative;

  min-height: 350px;

  display: flex;

  align-items: center;
  justify-content: center;

  isolation: isolate;
}


/* SOFT GLOW */

.care-glow {
  position: absolute;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(38, 180, 94, .18),
      rgba(255, 197, 38, .10) 48%,
      transparent 72%
    );

  filter: blur(6px);

  z-index: -2;
}


/* SUN */

.care-sun {
  position: absolute;

  width: 125px;
  height: 125px;

  top: 20px;
  right: 5px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 38% 35%,
      #fff8b6 0%,
      #ffd744 28%,
      #ffb514 60%,
      rgba(255,181,20,.15) 72%
    );

  box-shadow:
    0 0 45px
    rgba(255, 193, 7, .28);

  z-index: -1;

  animation:
    rainbowCareGlow
    4s ease-in-out
    infinite;
}


/* ==========================================================
   SHIELD
========================================================== */

.care-shield {
  position: relative;

  width: 170px;
  height: 200px;

  display: grid;

  place-items: center;

  z-index: 3;

  background:
    linear-gradient(
      145deg,
      #43ce78 0%,
      #1ba659 45%,
      #08743e 100%
    );

  clip-path:
    polygon(
      50% 0%,
      91% 15%,
      87% 64%,
      73% 82%,
      50% 100%,
      27% 82%,
      13% 64%,
      9% 15%
    );

  filter:
    drop-shadow(
      0 25px 24px
      rgba(16, 103, 61, .22)
    );

  animation:
    rainbowCareFloat
    4.5s ease-in-out
    infinite;
}


.care-shield::before {
  content: "";

  position: absolute;

  inset: 7px;

  clip-path: inherit;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.34),
      rgba(255,255,255,.04)
    );
}


.care-shield-inner {
  position: relative;

  z-index: 2;

  width: 76px;
  height: 76px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #159950;

  background: white;

  box-shadow:
    0 10px 25px
    rgba(0,0,0,.13);
}


.care-shield-inner svg {
  width: 37px;
  height: 37px;

  stroke-width: 3;
}


/* ==========================================================
   SOLAR PANEL
========================================================== */

.care-solar-panel {
  position: absolute;

  left: -4px;
  bottom: 52px;

  width: 150px;
  height: 87px;

  z-index: 4;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  grid-template-rows:
    repeat(2, 1fr);

  gap: 3px;

  padding: 6px;

  border:
    3px solid
    #e8eef5;

  border-radius: 7px;

  background:
    #d8e2ec;

  transform:
    perspective(500px)
    rotateX(54deg)
    rotateZ(-13deg);

  box-shadow:
    0 20px 28px
    rgba(7, 37, 80, .20);
}


.care-solar-panel span {
  border:
    1px solid
    rgba(255,255,255,.45);

  background:
    linear-gradient(
      145deg,
      #2867a8,
      #103b78 55%,
      #082a5d
    );

  box-shadow:
    inset 0 0 5px
    rgba(255,255,255,.10);
}


/* ==========================================================
   LABEL
========================================================== */

.care-protected {
  position: absolute;

  bottom: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}


.care-protected strong {
  color: #169c4b;

  font-size: 18px;

  letter-spacing: 2px;
}


.care-protected span {
  margin-top: 3px;

  color: var(--muted);

  font-size: 11px;
}


/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes rainbowCareFloat {

  0%,
  100% {
    transform:
      translateY(0)
      rotate(-2deg);
  }

  50% {
    transform:
      translateY(-11px)
      rotate(2deg);
  }

}


@keyframes rainbowCareGlow {

  0%,
  100% {
    transform:
      scale(1);

    opacity: .85;
  }

  50% {
    transform:
      scale(1.08);

    opacity: 1;
  }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

  .rainbow-care-wrap {

    grid-template-columns:
      1fr 1fr;

    gap: 40px;
  }


  .rainbow-care-visual {

    grid-column:
      1 / -1;

    min-height: 310px;

    max-width: 400px;

    width: 100%;

    margin:
      0 auto;
  }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

  .rainbow-care-section {
    padding:
      65px 0;
  }


  .rainbow-care-wrap {
    grid-template-columns:
      1fr;

    gap: 32px;
  }


  .rainbow-care-content {
    text-align: left;
  }


  .rainbow-care-content h2 {
    font-size: 38px;

    letter-spacing: -1.3px;
  }


  .rainbow-care-content > p {
    max-width: 100%;
  }


  .rainbow-care-benefit {
    padding: 16px;
  }


  .rainbow-care-visual {
    grid-column: auto;

    min-height: 285px;

    max-width: 330px;
  }


  .care-shield {
    width: 145px;
    height: 172px;
  }


  .care-shield-inner {
    width: 65px;
    height: 65px;
  }


  .care-shield-inner svg {
    width: 31px;
    height: 31px;
  }


  .care-solar-panel {
    width: 125px;
    height: 73px;

    left: 0;
  }


  .care-sun {
    width: 105px;
    height: 105px;
  }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .care-shield,
  .care-sun {
    animation: none;
  }

}
/* SMALL CTA BELOW IMPACT NUMBERS */

.tn-projects-cta {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: linear-gradient(
    100deg,
    #f3fbf6,
    #fffaf1
  );

  border: 1px solid rgba(22, 156, 75, 0.13);
  border-radius: 12px;
}

.tn-projects-cta-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tn-cta-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background: #fff;
  border-radius: 9px;

  font-size: 18px;
}

.tn-projects-cta-text strong {
  display: block;

  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.tn-projects-cta-text span {
  display: block;

  margin-top: 2px;

  color: var(--muted);
  font-size: 11px;
}


/* SMALL BUTTON */

.tn-projects-cta-btn {
  min-width: 225px;

  padding: 12px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #169c4b;
  color: #fff;

  border-radius: 8px;

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;

  transition: 0.25s ease;
}

.tn-projects-cta-btn:hover {
  background: #11843e;
  transform: translateY(-2px);
}

.tn-projects-cta-btn span {
  color: white;
  font-size: 15px;
}


/* MOBILE */

@media (max-width: 650px) {

  .tn-projects-cta {
    margin-top: 20px;

    flex-direction: column;
    align-items: stretch;
  }

  .tn-projects-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   TAMIL NADU IMPACT — SMALL SAVINGS CTA
========================================================= */

.impact-section {
  padding-bottom: 75px !important;
}


/* CTA CONTAINER */

.tn-projects-cta.tn-projects-cta--small {

  width: min(900px, calc(100% - 32px));
  max-width: 900px;

  margin: 28px auto 0;

  padding: 18px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  background:
    linear-gradient(
      105deg,
      #f3fbf6 0%,
      #f8fcfa 55%,
      #fffaf0 100%
    );

  border:
    1px solid
    rgba(22, 156, 75, 0.14);

  border-radius: 16px;

  box-shadow:
    0 8px 25px
    rgba(20, 60, 80, 0.04);
}


/* LEFT SIDE */

.tn-projects-cta-text {

  display: flex;
  align-items: center;

  gap: 14px;

  min-width: 0;
}


/* ICON */

.tn-cta-icon {

  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  display: grid;
  place-items: center;

  background: #ffffff;

  border-radius: 12px;

  font-size: 24px;

  box-shadow:
    0 4px 12px
    rgba(20, 60, 80, 0.07);
}


/* TEXT */

.tn-projects-cta-text strong {

  display: block;

  margin: 0 0 2px;

  color: var(--navy);

  font-size: 17px;
  font-weight: 700;

  line-height: 1.35;
}


.tn-projects-cta-text span {

  display: block;

  color: var(--muted);

  font-size: 13.5px;

  line-height: 1.4;
}


/* BUTTON */

.tn-projects-cta-btn {

  flex: 0 0 auto;

  min-width: 240px;

  padding: 14px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  background:
    linear-gradient(
      90deg,
      #159447,
      #20a957
    );

  color: #ffffff;

  border-radius: 10px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  white-space: nowrap;

  box-shadow:
    0 7px 18px
    rgba(22, 156, 75, 0.17);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}


.tn-projects-cta-btn:hover {

  transform:
    translateY(-2px);

  background:
    linear-gradient(
      90deg,
      #11823d,
      #19994c
    );

  box-shadow:
    0 10px 22px
    rgba(22, 156, 75, 0.23);
}


.tn-projects-cta-btn span {

  color: #ffffff;

  font-size: 17px;

  transition:
    transform .25s ease;
}


.tn-projects-cta-btn:hover span {

  transform:
    translateX(3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .impact-section {
    padding-bottom: 55px !important;
  }


  .tn-projects-cta.tn-projects-cta--small {

    width: calc(100% - 30px);

    margin-top: 18px;

    padding: 16px;

    flex-direction: column;
    align-items: stretch;

    gap: 12px;
  }


  .tn-projects-cta-btn {

    width: 100%;
    min-width: 0;

    padding: 13px 16px;
  }

}
/* "25+ Years of Experience" hero badge */
.exp-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--green-50); color: var(--green-700); border: 1px solid rgba(26,148,71,.25); }
.exp-badge strong { font-family: Poppins, sans-serif; font-size: 1.15rem; color: var(--green-600); }
.lp-hero .exp-badge { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.lp-hero .exp-badge strong { color: #86efac; }

/* Logo + "Powered by Rainbow Power Systems" tagline (sits under the "Rainbow Solar" wordmark) */
.logo-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-tag { display: block; margin: 1px 0 0 23%; font-family: var(--font-body, Inter, sans-serif); font-size: 8.5px; font-weight: 600; letter-spacing: .03em; color: #5b6b8c; white-space: nowrap; }
@media (min-width: 640px) { .logo-tag { font-size: 10px; } }
.site-footer .logo-tag { font-size: 10.5px; }
.logo-stack--dark .logo-tag { color: #c9d6f5; }
.qm-logo-wrap { align-self: flex-start; }
.hero-title {
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.5px;
  text-align: left;
  max-width: 950px;
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
  text-align: left;
  max-width: 1000px;
  margin-bottom: 24px;
}

.hero-title .hl {
  color: #73efab;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.25;
    letter-spacing: -0.5px;
  }
}

/* Justify text inside the Why Choose Us cards */
.why-card p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.7;
  hyphens: auto;
}

/* Keep card headings left aligned */
.why-card h3 {
  text-align: left;
}

