/* ==========================================================================
   RAJRIT SUN POWER
   Complete stylesheet  |  style.css
   --------------------------------------------------------------------------
   Theme    : Light grey + soft red + sky blue + warm orange + white
   Fonts    : Montserrat (headings) + Poppins (body)
   Targets  : 320px phones  ->  4K desktops
   Notes    : * Pure CSS. Works with index.html + script.js
              * AOS is NOT required (CSS reveals built in via scroll animations)
              * Speed: content-visibility on long sections
              * ENLARGED LOGO for better brand visibility
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
     01. Design tokens (custom properties)
     02. Reset and base elements
     03. Scrollbar, selection, focus, accessibility
     04. Keyframe animations
     05. Layout helpers, section frame, section headers
     06. Buttons
     07. Top info bar
     08. Navbar and mobile menu (BIGGER LOGO)
     09. Hero slideshow and trust badge
     10. About section
     11. Gallery (mosaic grid, lightbox)
     12. Eligibility criteria section
     13. Subsidy section
     14. Calculator section
     15. Process section (5-step)
     16. Brands section (COMPLETE partner brands CSS)
     17. Why choose us
     18. Customer reviews
     19. Contact section
     20. Footer and floating WhatsApp (FOOTER LOGO)
     21. Founder section
     22. Trust promise
     23. Scroll reveal
     24. Global responsive refinements
     25. Reduced motion, touch, print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* ---- Neutrals: light greys ---- */
  --white: #ffffff;
  --grey-25: #fcfdfe;
  --grey-50: #f8fafb;
  --grey-100: #f3f5f8;
  --grey-150: #eef1f5;
  --grey-200: #e6eaef;
  --grey-300: #d8dee5;
  --grey-400: #b9c2cd;
  --grey-500: #8d99a8;
  --grey-600: #647180;
  --grey-700: #46525f;
  --grey-800: #2d3743;
  --grey-900: #1b232d;

  /* ---- Soft red (coral) ---- */
  --red-50: #fff5f4;
  --red-100: #ffe7e4;
  --red-200: #ffcfc9;
  --red-300: #ffb0a7;
  --red-400: #ff8f84;
  --red-500: #f26b5e;
  --red-600: #d94f43;
  --red-700: #b53b31;

  /* ---- Light blue (sky) ---- */
  --blue-50: #f2f9fe;
  --blue-100: #e3f2fc;
  --blue-200: #c6e5f8;
  --blue-300: #96cff0;
  --blue-400: #5db6e8;
  --blue-500: #2f9ad8;
  --blue-600: #1f7db8;
  --blue-700: #17618f;

  /* ---- Light orange (sun) ---- */
  --orange-50: #fff9f1;
  --orange-100: #fff0dc;
  --orange-200: #ffdfb5;
  --orange-300: #ffca86;
  --orange-400: #ffb255;
  --orange-500: #ff9a2e;
  --orange-600: #ee7f0f;
  --orange-700: #c8640a;

  /* ---- Semantic aliases ---- */
  --primary-orange: var(--orange-500);
  --primary: var(--orange-600);
  --primary-soft: var(--orange-100);
  --secondary: var(--blue-500);
  --secondary-soft: var(--blue-100);
  --accent: var(--red-500);
  --accent-soft: var(--red-100);
  --success: #2fa36b;
  --success-soft: #e3f6ec;
  --danger: var(--red-500);
  --danger-soft: var(--red-100);
  --star: #ffb020;

  --bg: var(--white);
  --bg-soft: var(--grey-100);
  --bg-warm: var(--orange-50);
  --bg-cool: var(--blue-50);
  --bg-rose: var(--red-50);

  --text: #25303c;
  --text-soft: #56636f;
  --text-mute: #7b8794;
  --text-on-primary: #ffffff;
  --heading: #18232f;
  --border: var(--grey-200);
  --border-strong: var(--grey-300);

  /* ---- Gradients ---- */
  --grad-sun: linear-gradient(135deg, #ffb255 0%, #ff9a2e 48%, #f26b5e 100%);
  --grad-sun-soft: linear-gradient(135deg, #fff0dc 0%, #ffe7e4 100%);
  --grad-sky: linear-gradient(135deg, #8ed0f5 0%, #2f9ad8 100%);
  --grad-sky-soft: linear-gradient(135deg, #e3f2fc 0%, #f2f9fe 100%);
  --grad-rose: linear-gradient(135deg, #ffb0a7 0%, #f26b5e 100%);
  --grad-rose-soft: linear-gradient(135deg, #fff5f4 0%, #ffe7e4 100%);
  --grad-grey: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%);
  --grad-mix: linear-gradient(120deg, #fff0dc 0%, #ffe7e4 38%, #e3f2fc 100%);

  /* ---- Typography ---- */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-2xs: 0.72rem;
  --fs-xs: 0.8rem;
  --fs-sm: 0.88rem;
  --fs-base: 1rem;
  --fs-md: 1.08rem;
  --fs-lg: 1.2rem;
  --fs-xl: 1.4rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.2rem;
  --fs-4xl: 2.8rem;
  --fs-display: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);

  --lh-tight: 1.2;
  --lh-snug: 1.38;
  --lh-normal: 1.6;
  --lh-loose: 1.8;

  /* ---- Layout ---- */
  --container: 1240px;
  --container-wide: 1400px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --nav-h: 100px;
  --topbar-h: 40px;

  /* ---- Spacing scale ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 2rem;
  --sp-8: 2.5rem;
  --sp-9: 3rem;
  --sp-10: 4rem;

  /* ---- Radius ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* ---- Shadows ---- */
  --sh-xs: 0 1px 2px rgba(31, 52, 77, 0.06);
  --sh-sm: 0 4px 12px rgba(31, 52, 77, 0.07);
  --sh-md: 0 10px 28px rgba(31, 52, 77, 0.09);
  --sh-lg: 0 18px 46px rgba(31, 52, 77, 0.12);
  --sh-xl: 0 28px 70px rgba(31, 52, 77, 0.16);
  --sh-orange: 0 12px 28px rgba(255, 154, 46, 0.32);
  --sh-red: 0 12px 28px rgba(242, 107, 94, 0.28);
  --sh-blue: 0 12px 28px rgba(47, 154, 216, 0.28);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.32s;
  --t-slow: 0.6s;

  /* ---- Z-index scale ---- */
  --z-base: 1;
  --z-raised: 5;
  --z-sticky: 900;
  --z-nav: 1000;
  --z-menu: 1100;
  --z-float: 1200;
  --z-modal: 2000;

  /* ---- Background photos ---- */
  --img-solar-roof-sm: url("img/l1.jpg");
  --img-solar-field-sm: url("img/l2.jpg");
  --img-solar-hybrid-sm: url("img/l3.jpg");
}


/* ==========================================================================
   02. RESET AND BASE ELEMENTS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

body.menu-open,
body.no-scroll,
body.lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--heading);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-md); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }

p {
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
}

img,
svg,
video,
canvas,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
  font-style: italic;
  background-color: var(--grey-100);
  vertical-align: middle;
}

img[loading="lazy"] {
  content-visibility: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  letter-spacing: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

input,
select,
textarea {
  max-width: 100%;
}

strong,
b {
  font-weight: 600;
  color: var(--heading);
}

small {
  font-size: var(--fs-xs);
}

i,
em {
  font-style: italic;
}

.fas,
.fab,
.far,
.fa {
  font-style: normal;
  line-height: 1;
}

hr {
  height: 1px;
  margin: var(--sp-6) 0;
  border: 0;
  background: var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}

section {
  position: relative;
}

address {
  font-style: normal;
}


/* ==========================================================================
   03. SCROLLBAR, SELECTION, FOCUS, ACCESSIBILITY
   ========================================================================== */
::selection {
  background: var(--orange-200);
  color: var(--grey-900);
}

::-moz-selection {
  background: var(--orange-200);
  color: var(--grey-900);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--orange-300) var(--grey-100);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--grey-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--orange-300), var(--red-300));
  border: 2px solid var(--grey-100);
  border-radius: var(--r-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--orange-400), var(--red-400));
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

a:focus-visible,
button:focus-visible {
  outline-offset: 4px;
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: var(--sp-4);
  z-index: var(--z-modal);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  background: var(--heading);
  color: var(--white);
  font-weight: 600;
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus {
  top: var(--sp-3);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.no-select { -webkit-user-select: none; user-select: none; }


/* ==========================================================================
   04. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.6); }
  70% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes floatYSlow {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -20px, 0) rotate(4deg); }
}

@keyframes driftX {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(26px, 10px, 0); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 154, 46, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(255, 154, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 154, 46, 0); }
}

@keyframes pulseRingGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes sheen {
  0% { transform: translateX(-130%) skewX(-18deg); }
  60%, 100% { transform: translateX(260%) skewX(-18deg); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rayPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes kenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-3px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes dashMove {
  to { background-position: 28px 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes badgeSwing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes menuItemIn {
  from { opacity: 0; transform: translate3d(26px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translate3d(0, 34px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes revealScale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sunGlow {
  0%, 100% { box-shadow: 0 0 20px 4px rgba(255, 154, 46, 0.45); }
  50% { box-shadow: 0 0 40px 12px rgba(255, 154, 46, 0.6); }
}


/* ==========================================================================
   05. LAYOUT HELPERS, SECTION FRAME, SECTION HEADERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.about-section,
.brands-section,
.subsidy-section,
.calculator-section,
.gallery-section,
.eligibility-section,
.process-section,
.why-choose-section,
.reviews-section,
.contact-section,
.founder-section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  isolation: isolate;
}

.brands-section,
.subsidy-section,
.calculator-section,
.eligibility-section,
.process-section,
.why-choose-section,
.reviews-section,
.contact-section,
.founder-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.about-section > .container,
.brands-section > .container,
.subsidy-section > .container,
.calculator-section > .container,
.gallery-section > .container,
.eligibility-section > .container,
.process-section > .container,
.why-choose-section > .container,
.reviews-section > .container,
.contact-section > .container,
.founder-section > .container {
  position: relative;
  z-index: var(--z-raised);
}

.about-section::before,
.brands-section::before,
.subsidy-section::before,
.calculator-section::before,
.gallery-section::before,
.eligibility-section::before,
.process-section::before,
.why-choose-section::before,
.reviews-section::before,
.contact-section::before,
.founder-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 202, 134, 0.55), rgba(255, 202, 134, 0) 68%);
  pointer-events: none;
  animation: driftX 16s ease-in-out infinite;
}

.about-section::after,
.brands-section::after,
.subsidy-section::after,
.calculator-section::after,
.gallery-section::after,
.eligibility-section::after,
.process-section::after,
.why-choose-section::after,
.reviews-section::after,
.contact-section::after,
.founder-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -160px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(150, 207, 240, 0.5), rgba(150, 207, 240, 0) 68%);
  pointer-events: none;
  animation: driftX 20s ease-in-out infinite reverse;
}

/* ---- Section backgrounds ---- */
.about-section {
  background:
    radial-gradient(circle at 95% 8%, rgba(255, 223, 181, 0.45), transparent 32%),
    linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%);
}

.brands-section {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.subsidy-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(255, 245, 244, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.calculator-section {
  background:
    linear-gradient(180deg, rgba(242, 249, 254, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.gallery-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 207, 201, 0.55), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(198, 229, 248, 0.65), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 223, 181, 0.6), transparent 36%),
    var(--grad-mix);
}

.eligibility-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 245, 248, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(255, 255, 255, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.why-choose-section {
  background:
    linear-gradient(180deg, rgba(255, 245, 244, 0.94) 0%, rgba(255, 255, 255, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(242, 249, 254, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.94) 0%, rgba(227, 242, 252, 0.93) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.founder-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 251, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

/* ---- Section header ---- */
.section-header {
  position: relative;
  max-width: 780px;
  margin: 0 auto clamp(2.2rem, 1.4rem + 3vw, 4rem);
  text-align: center;
}

.section-header::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  margin: 1.3rem auto 0;
  border-radius: var(--r-pill);
  background:
    radial-gradient(circle at center, var(--white) 0 6px, transparent 7px),
    var(--grad-sun);
  background-size: 100% 100%, 100% 100%;
  box-shadow: 0 6px 14px rgba(255, 154, 46, 0.35);
}

.section-title {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.section-description {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  color: var(--text-soft);
  line-height: var(--lh-loose);
}

.section-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--primary);
  background-image: linear-gradient(100deg, var(--orange-600), var(--red-500) 60%, var(--orange-500));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

.section-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.22em;
  border-radius: var(--r-pill);
  background: var(--orange-200);
  opacity: 0.75;
  z-index: -1;
  transform-origin: left center;
  animation: drawLine 1.1s var(--ease-out) both;
}

.section-title .highlight {
  padding-inline: 0.05em;
}


/* ==========================================================================
   06. BUTTONS
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-signup,
.btn-whatsapp,
.btn-call,
.view-more-btn,
.results-cta,
.calculate-btn,
.btn-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.btn-primary,
.btn-secondary {
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
}

.btn-primary {
  color: var(--white);
  background-image: var(--grad-sun);
  background-size: 160% 160%;
  box-shadow: var(--sh-orange);
}

.btn-primary::after,
.btn-signup::after,
.btn-whatsapp::after,
.btn-call::after,
.view-more-btn::after,
.results-cta::after,
.calculate-btn::after,
.btn-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}

.btn-primary:hover,
.btn-signup:hover,
.btn-whatsapp:hover,
.btn-call:hover,
.view-more-btn:hover,
.results-cta:hover,
.calculate-btn:hover,
.btn-action:hover {
  transform: translateY(-3px);
}

.btn-primary:hover::after,
.btn-signup:hover::after,
.btn-whatsapp:hover::after,
.btn-call:hover::after,
.view-more-btn:hover::after,
.results-cta:hover::after,
.calculate-btn:hover::after,
.btn-action:hover::after {
  animation: sheen 0.9s var(--ease) 1;
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 16px 34px rgba(255, 154, 46, 0.42);
  background-position: 100% 50%;
}

.btn-primary:active,
.btn-secondary:active,
.btn-signup:active,
.btn-whatsapp:active,
.btn-call:active,
.view-more-btn:active,
.results-cta:active,
.calculate-btn:active,
.btn-action:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--blue-300);
  box-shadow: var(--sh-sm);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--grad-sky);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--sh-blue);
}

.btn-primary i,
.btn-secondary i,
.btn-signup i,
.btn-whatsapp i,
.btn-call i,
.view-more-btn i,
.results-cta i,
.calculate-btn i {
  font-size: 1.05em;
  transition: transform var(--t-base) var(--ease-spring);
}

.btn-primary:hover i,
.btn-secondary:hover i,
.view-more-btn:hover i,
.results-cta:hover i,
.calculate-btn:hover i {
  transform: scale(1.2) rotate(-8deg);
}


/* ==========================================================================
   07. TOP INFO BAR
   ========================================================================== */
.top-info-bar {
  position: relative;
  z-index: calc(var(--z-nav) + 1);
  background: linear-gradient(90deg, var(--grey-100), var(--orange-50) 50%, var(--blue-50));
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.top-info-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--topbar-h);
  padding-block: 0.35rem;
}

.top-info-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  min-width: 0;
}

.top-info-left span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.top-info-left i {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-600);
  font-size: 0.68rem;
  box-shadow: var(--sh-xs);
}

.top-info-left span:hover i {
  animation: wiggle 0.7s var(--ease) 1;
}

.top-info-right {
  flex: none;
  min-width: 0;
}

.top-info-right .subsidy-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.32rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--orange-200);
  color: var(--orange-700);
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--sh-xs);
}

.top-info-right .subsidy-badge i {
  color: var(--red-500);
  animation: bounceSoft 2.4s ease-in-out infinite;
}

.top-info-right .subsidy-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 202, 134, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}


/* ==========================================================================
   08. NAVBAR AND MOBILE MENU (BIGGER LOGO)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 30px rgba(31, 52, 77, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--nav-h);
}

/* ==========================================================================
   LOGO PATCH  --  style.css ke bilkul END me paste karein
   - Logo ke peeche ka square box hata diya
   - Logo bada + desktop/tablet/mobile sab par responsive
   ========================================================================== */

:root {
  --logo-h: 88px;          /* desktop logo height */
  --logo-max-w: 300px;     /* logo ki max width */
  --nav-h: 108px;          /* navbar height (logo ke hisab se) */
  --footer-logo-h: 76px;
}

/* ---------- Logo wrapper: koi box, bg, border, shadow nahi ---------- */
.logo-icon,
.footer-logo .logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}

.logo-icon::before,
.logo-icon::after { display: none; }

/* ---------- Logo image ---------- */
.logo-icon img,
.footer-logo .logo-icon img {
  width: auto;
  height: var(--logo-h);
  max-width: min(var(--logo-max-w), 52vw);
  padding: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(255, 154, 46, 0.28));
  transition: transform var(--t-base) var(--ease-spring), filter var(--t-base) var(--ease);
}

.footer-logo .logo-icon img {
  height: var(--footer-logo-h);
  filter: drop-shadow(0 4px 10px rgba(31, 52, 77, 0.18));
}

/* Hover: halka zoom (rotate hata diya, box nahi hai ab) */
.logo:hover .logo-icon {
  transform: none;
}

.logo:hover .logo-icon img {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 20px rgba(255, 154, 46, 0.4));
}

/* Agar image na ho aur sirf icon (<i>) ho */
.logo-icon i {
  font-size: calc(var(--logo-h) * 0.7) !important;
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

/* ---------- Logo + text alignment ---------- */
.logo {
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
  min-width: 0;
}

.nav-content { min-height: var(--nav-h); }

.logo-text h1 {
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.6rem);
  line-height: 1.15;
}

.logo-text p {
  font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.9rem);
}

/* ---------- Large screens ---------- */
@media (min-width: 1600px) {
  :root { --logo-h: 96px; --logo-max-w: 340px; --nav-h: 116px; }
}

@media (min-width: 2000px) {
  :root { --logo-h: 108px; --logo-max-w: 380px; --nav-h: 128px; }
}

/* ---------- Mid laptops (menu tight hota hai) ---------- */
@media (min-width: 1201px) and (max-width: 1360px) {
  :root { --logo-h: 72px; --logo-max-w: 240px; --nav-h: 96px; }

  .logo-icon,
  .footer-logo .logo-icon {
    width: auto;
    height: auto;
    border-radius: 0;
  }

  .logo-text p { display: none; }
}

/* ---------- Hamburger menu wali range (tablet / laptop chhota) ---------- */
@media (max-width: 1200px) {
  :root { --logo-h: 76px; --logo-max-w: 260px; --nav-h: 100px; }
}

@media (max-width: 991px) {
  :root { --logo-h: 68px; --logo-max-w: 230px; --nav-h: 90px; }

  .logo-icon,
  .footer-logo .logo-icon {
    width: auto;
    height: auto;
    border-radius: 0;
  }

  .logo-text p { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 575px) {
  :root { --logo-h: 58px; --logo-max-w: 190px; --nav-h: 80px; --footer-logo-h: 64px; }

  .logo-icon,
  .footer-logo .logo-icon {
    width: auto;
    height: auto;
    border-radius: 0;
  }

  .logo-icon img { padding: 0; }
  .logo-text h1 { font-size: 1rem; }
}

@media (max-width: 480px) {
  :root { --logo-h: 52px; --logo-max-w: 170px; --nav-h: 74px; }

  .logo-text h1 { font-size: 0.92rem; }
}

/* Bahut chhoti screen: logo ko jagah dene ke liye text chhupa do */
@media (max-width: 380px) {
  :root { --logo-h: 48px; --logo-max-w: 150px; --nav-h: 70px; --footer-logo-h: 58px; }

  .logo-text { display: none; }
}

@media (max-width: 340px) {
  :root { --logo-h: 44px; --logo-max-w: 130px; --nav-h: 66px; }
}

/* ---------- Landscape phone ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --logo-h: 44px; --nav-h: 64px; }
}

/* ---------- Mobile menu panel ke andar top padding sahi rahe ---------- */
@media (max-width: 1200px) {
  .nav-menu { padding-top: calc(var(--nav-h) + 1rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .logo:hover .logo-icon img { transform: none; }
}

/* ==========================================================================
   END LOGO PATCH
   ========================================================================== */


/* ---- Desktop menu ---- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.82rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
  transform: translateX(-50%);
  transition: width var(--t-base) var(--ease);
}

.nav-link:hover {
  color: var(--orange-700);
  background: var(--orange-50);
}

.nav-link:hover::after { width: 40%; }

.nav-link.active {
  color: var(--orange-700);
  background: var(--orange-100);
  font-weight: 600;
}

.nav-link.active::after { width: 40%; }

.btn-signup {
  flex: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--white);
  background-image: var(--grad-sun);
  background-size: 170% 170%;
  box-shadow: var(--sh-orange);
  animation: pulseRing 3s ease-out infinite;
}

.btn-signup:hover {
  color: var(--white);
  box-shadow: 0 16px 34px rgba(255, 154, 46, 0.45);
  background-position: 100% 50%;
  animation: none;
}

/* ---- Hamburger ---- */
.hamburger {
  position: relative;
  z-index: 3;
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease-spring);
}

.hamburger:hover { background: var(--orange-100); }
.hamburger:active { transform: scale(0.92); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: var(--r-pill);
  background: var(--orange-700);
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease), width var(--t-base) var(--ease);
}

.hamburger span:nth-child(2) {
  width: 15px;
  align-self: flex-end;
  margin-right: 16px;
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Mobile menu ---- */
@media (max-width: 1200px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--sp-5);
    width: min(88vw, 420px);
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--nav-h) + 1rem) 1.25rem 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 202, 134, 0.35), transparent 45%),
      radial-gradient(circle at 0% 100%, rgba(150, 207, 240, 0.35), transparent 45%),
      var(--white);
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 60px rgba(31, 52, 77, 0.18);
    transform: translate3d(104%, 0, 0);
    visibility: hidden;
    transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }

  .nav-menu.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition: transform 0.45s var(--ease-out), visibility 0s linear 0s;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-link {
    display: block;
    padding: 0.95rem 1.1rem;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    font-size: 1rem;
    background: var(--white);
    box-shadow: var(--sh-xs);
  }

  .nav-link::after { display: none; }

  .nav-link:hover,
  .nav-link.active {
    border-color: var(--orange-200);
    background: var(--orange-50);
  }

  .nav-menu.active .nav-link {
    animation: menuItemIn 0.5s var(--ease-out) both;
  }

  .nav-menu.active .nav-links li:nth-child(1) .nav-link { animation-delay: 0.08s; }
  .nav-menu.active .nav-links li:nth-child(2) .nav-link { animation-delay: 0.13s; }
  .nav-menu.active .nav-links li:nth-child(3) .nav-link { animation-delay: 0.18s; }
  .nav-menu.active .nav-links li:nth-child(4) .nav-link { animation-delay: 0.23s; }
  .nav-menu.active .nav-links li:nth-child(5) .nav-link { animation-delay: 0.28s; }
  .nav-menu.active .nav-links li:nth-child(6) .nav-link { animation-delay: 0.33s; }
  .nav-menu.active .nav-links li:nth-child(7) .nav-link { animation-delay: 0.38s; }
  .nav-menu.active .nav-links li:nth-child(8) .nav-link { animation-delay: 0.43s; }
  .nav-menu.active .nav-links li:nth-child(9) .nav-link { animation-delay: 0.48s; }
  .nav-menu.active .nav-links li:nth-child(10) .nav-link { animation-delay: 0.53s; }

  .btn-signup {
    width: 100%;
    padding: 1.05rem 1.2rem;
    font-size: 0.92rem;
    white-space: normal;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-nav) - 1);
    background: rgba(24, 35, 47, 0.38);
    animation: fadeIn 0.3s var(--ease) both;
  }
}

/* Desktop-only: gentle glass effect */
@media (min-width: 1201px) {
  .navbar {
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    background: rgba(255, 255, 255, 0.88);
  }
}

/* Mid-size laptops */
@media (min-width: 1201px) and (max-width: 1360px) {
  .nav-content { gap: var(--sp-3); }
  .logo-icon { width: 80px; height: 80px; border-radius: 20px; }
  .logo-icon i { font-size: 2.4rem !important; }
  .logo-text h1 { font-size: 1.2rem; }
  .logo-text p { display: none; }
  .nav-menu { gap: var(--sp-3); }
  .nav-link { padding: 0.5rem 0.62rem; font-size: 0.82rem; }
  .btn-signup { padding: 0.72rem 1rem; font-size: 0.76rem; }
}


/* ==========================================================================
   09. HERO SLIDESHOW AND TRUST BADGE
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grey-100);
}

.slideshow {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: clamp(560px, 82vh, 780px);
  overflow: hidden;
  background: var(--grey-100);
}

.slide {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(5.5rem, 10vw, 8rem);
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0s;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--grey-100);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* Desktop landscape images */
.slide:nth-child(1)::before { background-image: url("img/l1.jpg"); }
.slide:nth-child(2)::before { background-image: url("img/l2.jpg"); background-position: 60% center; }
.slide:nth-child(3)::before { background-image: url("img/l3.jpg"); background-position: 40% center; }

.slide.active::before {
  animation: kenBurns 14s ease-out both;
  will-change: transform;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 22, 32, 0.72) 0%,
    rgba(15, 22, 32, 0.55) 28%,
    rgba(15, 22, 32, 0.24) 52%,
    rgba(15, 22, 32, 0.02) 78%,
    rgba(15, 22, 32, 0) 100%
  );
  pointer-events: none;
}

/* Mobile portrait images */
@media (max-width: 768px) {
  .slide:nth-child(1)::before { background-image: url("img/p1.jpg"); }
  .slide:nth-child(2)::before { background-image: url("img/p2.jpg"); }
  .slide:nth-child(3)::before { background-image: url("img/p3.jpg"); }

  .slide::after {
    background: linear-gradient(
      180deg,
      rgba(15, 22, 32, 0.55) 0%,
      rgba(15, 22, 32, 0.35) 32%,
      rgba(15, 22, 32, 0.55) 78%,
      rgba(15, 22, 32, 0.78) 100%
    );
  }
}

.slide-content {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: calc(var(--gutter) + 0.5rem);
}

.slide-content > * {
  max-width: 640px;
}

.slide-title {
  position: relative;
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
  max-width: 17ch;
}

.slide-title::after {
  content: "";
  display: block;
  width: 168px;
  height: 10px;
  margin-top: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 5 Q7 0 14 5 T28 5' fill='none' stroke='%23ffca86' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 28px 10px;
  animation: dashMove 1.6s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.slide-subtitle {
  margin: 0 0 1.8rem;
  max-width: 48ch;
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.slide-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.slide-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--sh-xs);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--grey-800);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

.slide-features span:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.slide-features i {
  color: var(--success);
  font-size: 0.95em;
}

.slide.active .animate-text { animation: fadeUp 0.9s var(--ease-out) both; }
.slide.active .slide-title.animate-text { animation-delay: 0.1s; }
.slide.active .slide-subtitle.animate-text { animation-delay: 0.3s; }
.slide.active .animate-btn { animation: popIn 0.7s var(--ease-spring) both; }
.slide.active .slide-buttons .animate-btn:nth-child(1) { animation-delay: 0.5s; }
.slide.active .slide-buttons .animate-btn:nth-child(2) { animation-delay: 0.65s; }
.slide.active .slide-features { animation: fadeUp 0.9s var(--ease-out) 0.85s both; }

/* ---- Slide arrows ---- */
.slide-nav {
  position: relative;
  grid-area: 1 / 1;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(0.6rem, 2vw, 1.6rem);
  pointer-events: none;
}

.slide-nav button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--grey-800);
  font-size: 1rem;
  box-shadow: var(--sh-md);
  pointer-events: auto;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}

.slide-nav button:hover {
  color: var(--white);
  background: var(--grad-sun);
  border-color: transparent;
  box-shadow: var(--sh-orange);
  transform: scale(1.1);
}

.slide-nav button:active { transform: scale(0.94); }

/* ---- Slide indicators ---- */
.slide-indicators {
  position: relative;
  grid-area: 1 / 1;
  z-index: 6;
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.1rem, 3vw, 2rem);
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sh-sm);
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--grey-300);
  cursor: pointer;
  transition: width var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.indicator:hover { background: var(--orange-300); }
.indicator.active { width: 34px; background: var(--grad-sun); }

/* ---- Trust badge ---- */
.trust-badge {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: -2.4rem;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 460px;
  padding: 1.05rem 1.5rem 1.05rem 1.1rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--orange-200);
  box-shadow: var(--sh-lg);
}

.trust-badge.animate-badge { animation: floatY 6s ease-in-out infinite; }

.badge-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--sh-orange);
}

.badge-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid var(--orange-300);
  opacity: 0.6;
  animation: pulseSoft 2.6s ease-in-out infinite;
}

.badge-text h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--heading);
}

.badge-text p {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .trust-badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -2.6rem var(--gutter) 0;
  }
}

@media (max-width: 768px) {
  .slideshow { min-height: 580px; }
  .slide { padding-block: 3.2rem 6rem; }
  .slide-content { padding-inline: calc(var(--gutter) + 0.6rem); }

  .slide-nav button {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }

  .slide-title::after { width: 120px; }
}

@media (max-width: 640px) {
  .slide-nav { align-items: flex-end; padding-bottom: 1.1rem; }
  .slide-indicators { margin-bottom: 1.6rem; }
  .slide-content { padding-inline: var(--gutter); }

  .trust-badge {
    margin-inline: 1rem;
    padding: 0.9rem 1rem;
    gap: 0.8rem;
  }

  .badge-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .slide-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .slide-buttons .btn-primary,
  .slide-buttons .btn-secondary {
    width: 100%;
    white-space: normal;
  }

  .slide-features span {
    font-size: var(--fs-2xs);
    padding: 0.42rem 0.8rem;
  }
}


/* ==========================================================================
   10. ABOUT SECTION
   ========================================================================== */
.about-section {
  padding-top: calc(var(--section-y) + 2.4rem);
  background:
    radial-gradient(circle at 95% 8%, rgba(255, 223, 181, 0.45), transparent 32%),
    linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.4rem, 5vw, 5rem);
}

.about-image {
  position: relative;
  padding: 0 1.6rem 1.6rem 0;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: 0;
  bottom: 0;
  left: 1.6rem;
  z-index: 0;
  border-radius: var(--r-xl);
  background: var(--grad-sun);
  opacity: 0.9;
  transform: rotate(2.5deg);
  transition: transform var(--t-slow) var(--ease-out);
}

.about-image::after {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: -1.4rem;
  z-index: 0;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--blue-300) 2.6px, transparent 3px);
  background-size: 20px 20px;
  opacity: 0.8;
  animation: floatYSlow 9s ease-in-out infinite;
}

.about-image:hover::before {
  transform: rotate(-1.5deg) scale(1.01);
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 8px solid var(--white);
  box-shadow: var(--sh-xl);
  transition: transform var(--t-slow) var(--ease-out);
}

.about-image:hover img { transform: translateY(-6px); }

.about-image-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  padding: 0.8rem;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--orange-100);
  box-shadow: var(--sh-lg);
  text-align: center;
  animation: floatY 5.5s ease-in-out infinite;
}

.about-image-badge .years {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background-image: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-image-badge .text {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-soft);
}

.about-text h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 1rem;
  line-height: var(--lh-loose);
  color: var(--text-soft);
}

.about-text p strong {
  color: var(--orange-700);
  font-weight: 700;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--grey-800);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.about-feature i {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.9rem;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.about-feature:hover {
  transform: translateY(-4px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-md);
}

.about-feature:hover i {
  transform: rotate(360deg) scale(1.1);
  background: var(--success);
  color: var(--white);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-stat {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0.8rem;
  border-radius: var(--r-lg);
  background: var(--grad-sun-soft);
  border: 1px solid var(--orange-200);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

.about-stat:nth-child(2) {
  background: var(--grad-sky-soft);
  border-color: var(--blue-200);
}

.about-stat:nth-child(3) {
  background: var(--grad-rose-soft);
  border-color: var(--red-200);
}

.about-stat::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.about-stat:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--sh-md);
}

.about-stat .stat-number {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange-700);
}

.about-stat:nth-child(2) .stat-number { color: var(--blue-600); }
.about-stat:nth-child(3) .stat-number { color: var(--red-600); }

.about-stat .stat-text {
  position: relative;
  z-index: 1;
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-soft);
}

@media (max-width: 991px) {
  .about-content { grid-template-columns: minmax(0, 1fr); }

  .about-image {
    max-width: 560px;
    margin-inline: auto;
  }

  .about-image img { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 575px) {
  .about-section { padding-top: calc(var(--section-y) + 1rem); }
  .about-features { grid-template-columns: minmax(0, 1fr); }

  .about-image { padding: 0 0.9rem 0.9rem 0; }
  .about-image::before { top: 0.9rem; left: 0.9rem; }

  .about-image img {
    border-width: 5px;
    border-radius: var(--r-lg);
  }

  .about-image-badge {
    width: 112px;
    height: 112px;
    border-width: 4px;
  }

  .about-image-badge .years { font-size: 2rem; }
  .about-image-badge .text { font-size: 0.6rem; }

  .about-stats { gap: 0.55rem; }
  .about-stat { padding: 0.9rem 0.4rem; }
}


/* ==========================================================================
   11. GALLERY (Mosaic Grid, Lightbox)
   ========================================================================== */
.gallery-section {
  z-index: 1;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 207, 201, 0.55), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(198, 229, 248, 0.65), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 223, 181, 0.6), transparent 36%),
    var(--grad-mix);
}

.gallery-section:has(.lightbox-modal.active),
body.lightbox-open .gallery-section {
  z-index: var(--z-modal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--grey-150);
  box-shadow: var(--sh-md);
  cursor: zoom-in;
  isolation: isolate;
  animation: zoomIn 0.6s var(--ease-out) both;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

/* Portrait: 1 col × 2 rows | Landscape: 2 cols × 1 row */
.gallery-item.portrait {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item.landscape {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item:nth-child(6n + 2) { animation-delay: 0.06s; }
.gallery-item:nth-child(6n + 3) { animation-delay: 0.12s; }
.gallery-item:nth-child(6n + 4) { animation-delay: 0.18s; }
.gallery-item:nth-child(6n + 5) { animation-delay: 0.24s; }
.gallery-item:nth-child(6n) { animation-delay: 0.3s; }

.gallery-item:hover {
  z-index: 3;
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}

.gallery-item::before {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--sh-sm);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
}

.gallery-item.residential::before {
  content: "Residential";
  color: var(--blue-700);
  box-shadow: var(--sh-sm), inset 3px 0 0 var(--blue-400);
  padding-left: 0.9rem;
}

.gallery-item.commercial::before {
  content: "Commercial";
  color: var(--red-700);
  box-shadow: var(--sh-sm), inset 3px 0 0 var(--red-400);
  padding-left: 0.9rem;
}

.gallery-item.industrial::before {
  content: "Industrial";
  color: var(--orange-700);
  box-shadow: var(--sh-sm), inset 3px 0 0 var(--orange-400);
  padding-left: 0.9rem;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
  transition: border-color var(--t-base) var(--ease), inset var(--t-base) var(--ease);
}

.gallery-item:hover::after {
  inset: 8px;
  border-color: rgba(255, 255, 255, 0.95);
}

.image-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease-out), filter var(--t-slow) var(--ease);
}

.gallery-item:hover .image-container img {
  transform: scale(1.14);
  filter: saturate(1.12) contrast(1.03);
}

.image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 154, 46, 0) 45%, rgba(255, 154, 46, 0.34) 100%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.gallery-item.commercial .image-overlay {
  background: linear-gradient(180deg, rgba(242, 107, 94, 0) 45%, rgba(242, 107, 94, 0.32) 100%);
}

.gallery-item.industrial .image-overlay {
  background: linear-gradient(180deg, rgba(47, 154, 216, 0) 45%, rgba(47, 154, 216, 0.34) 100%);
}

.gallery-item:hover .image-overlay,
.gallery-item:focus-within .image-overlay {
  opacity: 1;
}

.overlay-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  padding: 0.9rem 1.1rem 0.85rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-lg);
  transform: translate3d(0, 130%, 0);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity var(--t-base) var(--ease);
}

.gallery-item:hover .overlay-content,
.gallery-item:focus-within .overlay-content {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.overlay-content > i {
  position: absolute;
  top: -22px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: var(--sh-orange);
  transition: transform var(--t-base) var(--ease-spring);
}

.gallery-item.commercial .overlay-content > i {
  background: var(--grad-rose);
  box-shadow: var(--sh-red);
}

.gallery-item.industrial .overlay-content > i {
  background: var(--grad-sky);
  box-shadow: var(--sh-blue);
}

.gallery-item:hover .overlay-content > i {
  transform: rotate(90deg) scale(1.1);
}

.overlay-content h4 {
  margin: 0 0 0.2rem;
  padding-right: 2.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
}

.overlay-content p {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-soft);
}

.gallery-stats {
  margin-top: clamp(2.4rem, 5vw, 4rem);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
}

.stat-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1.3rem 1.2rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--white);
  box-shadow: var(--sh-md);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

.stat-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--grad-sun);
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.stat-item:nth-child(2)::after { background: var(--grad-sky); }
.stat-item:nth-child(3)::after { background: var(--grad-rose); }
.stat-item:nth-child(4)::after { background: linear-gradient(90deg, #7ad6a8, #2fa36b); }

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}

.stat-item:hover::after { transform: scaleX(1); }

.stat-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 1.35rem;
  transition: transform var(--t-base) var(--ease-spring);
}

.stat-item:nth-child(2) .stat-icon { background: var(--blue-100); color: var(--blue-600); }
.stat-item:nth-child(3) .stat-icon { background: var(--red-100); color: var(--red-600); }
.stat-item:nth-child(4) .stat-icon { background: var(--success-soft); color: var(--success); }

.stat-item:hover .stat-icon { transform: rotate(-10deg) scale(1.12); }

.stat-content { min-width: 0; }

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 0.15rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-soft);
}

.gallery-cta {
  margin-top: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}

.view-more-btn {
  padding: 1.15rem 2.6rem;
  border-radius: var(--r-pill);
  color: var(--white);
  font-size: var(--fs-base);
  background-image: var(--grad-sun);
  background-size: 180% 180%;
  box-shadow: var(--sh-orange);
  white-space: normal;
  animation: pulseRing 3.2s ease-out infinite;
}

.view-more-btn:hover {
  color: var(--white);
  background-position: 100% 50%;
  box-shadow: 0 18px 38px rgba(255, 154, 46, 0.46);
  animation: none;
}

/* ---- Lightbox ---- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(27, 35, 45, 0.84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overscroll-behavior: contain;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.35s var(--ease) both;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  max-height: 100%;
  animation: lightboxIn 0.5s var(--ease-out) both;
}

.lightbox-image-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 8px solid var(--white);
  box-shadow: var(--sh-xl);
}

.lightbox-image-container img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72vh;
  max-height: 72dvh;
  margin-inline: auto;
  object-fit: contain;
  border-radius: calc(var(--r-xl) - 8px);
  background: var(--grey-100);
}

.lightbox-info {
  padding: 1rem 1.3rem 0.9rem;
  text-align: center;
}

.lightbox-info h3 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.45rem);
  font-weight: 800;
}

.lightbox-info p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--grey-800);
  font-size: 1.05rem;
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}

.lightbox-close { top: -14px; right: -6px; }

.lightbox-close:hover {
  color: var(--white);
  background: var(--grad-rose);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
  top: 50%;
  margin-top: -25px;
}

.lightbox-nav.prev { left: -18px; }
.lightbox-nav.next { right: -18px; }

.lightbox-nav:hover {
  color: var(--white);
  background: var(--grad-sun);
  transform: scale(1.14);
}

.lightbox-nav:active,
.lightbox-close:active { transform: scale(0.92); }

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 225px;
  }

  .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery-item.portrait {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-item.landscape {
    grid-column: span 1;
    grid-row: span 1;
  }

  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
  .lightbox-close { top: 8px; right: 8px; }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-auto-rows: 180px;
    gap: 0.6rem;
  }

  .gallery-item { border-radius: var(--r-md); }

  .gallery-item::before {
    top: 8px;
    left: 8px;
    padding: 0.22rem 0.6rem 0.22rem 0.75rem;
    font-size: 0.58rem;
  }

  .overlay-content {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.6rem 0.75rem;
  }

  .overlay-content h4 { font-size: 0.84rem; }
  .overlay-content p { font-size: 0.66rem; }

  .overlay-content > i {
    top: -18px;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .stat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1.1rem 1rem;
  }

  .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1.1rem;
  }

  .lightbox-image-container {
    border-width: 5px;
    border-radius: var(--r-lg);
  }

  .lightbox-image-container img {
    max-height: 62vh;
    max-height: 62dvh;
  }

  .lightbox-nav,
  .lightbox-close {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 260px;
  }

  .gallery-item.portrait,
  .gallery-item.landscape {
    grid-column: span 1;
    grid-row: span 1;
  }

  .overlay-content p { display: none; }
}


/* ==========================================================================
   12. ELIGIBILITY CRITERIA SECTION
   ========================================================================== */
.eligibility-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 245, 248, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eligibility-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.6rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--border);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.eligibility-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-sun);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.eligibility-card:nth-child(2)::before { background: var(--grad-sky); }
.eligibility-card:nth-child(3)::before { background: var(--grad-rose); }
.eligibility-card:nth-child(4)::before { background: linear-gradient(135deg, #7ad6a8, #2fa36b); }
.eligibility-card:nth-child(5)::before { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.eligibility-card:nth-child(6)::before { background: linear-gradient(135deg, #f472b6, #db2777); }

.eligibility-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-lg);
}

.eligibility-card:hover::before { transform: scaleX(1); }

.eligibility-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 24px;
  background: var(--grad-sun-soft);
  color: var(--orange-700);
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--orange-300);
  transition: transform var(--t-slow) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.eligibility-card:nth-child(2) .eligibility-icon {
  background: var(--grad-sky-soft);
  color: var(--blue-600);
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--blue-300);
}

.eligibility-card:nth-child(3) .eligibility-icon {
  background: var(--grad-rose-soft);
  color: var(--red-600);
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--red-300);
}

.eligibility-card:nth-child(4) .eligibility-icon {
  background: var(--success-soft);
  color: var(--success);
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px #a8dcc2;
}

.eligibility-card:nth-child(5) .eligibility-icon {
  background: #f3e8ff;
  color: #7c3aed;
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px #c4b5fd;
}

.eligibility-card:nth-child(6) .eligibility-icon {
  background: #fce7f3;
  color: #db2777;
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px #f9a8d4;
}

.eligibility-card:hover .eligibility-icon {
  transform: rotate(-10deg) scale(1.12);
  background: var(--grad-sun);
  color: var(--white);
}

.eligibility-card h4 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.eligibility-card p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

.eligibility-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  overflow: hidden;
  padding: clamp(1.4rem, 3.4vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--orange-50);
  border: 2px dashed var(--orange-300);
  box-shadow: var(--sh-sm);
}

.eligibility-note .note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--sh-orange);
}

.eligibility-note .note-content h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange-700);
}

.eligibility-note .note-content p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

@media (max-width: 575px) {
  .eligibility-card {
    padding: 1.5rem 1.2rem;
    border-radius: var(--r-lg);
  }

  .eligibility-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 20px;
  }

  .eligibility-note {
    flex-direction: column;
    padding: 1.2rem 1rem;
  }

  .eligibility-note .note-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 14px;
  }
}


/* ==========================================================================
   13. SUBSIDY SECTION
   ========================================================================== */
.subsidy-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(255, 245, 244, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.subsidy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  padding-top: 0.9rem;
}

.subsidy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.8rem 1.8rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.subsidy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.8rem;
  right: 1.8rem;
  height: 5px;
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  background: var(--grad-sky);
}

.subsidy-card:nth-child(3)::before { background: var(--grad-rose); }

.subsidy-card.featured {
  border: 2px solid var(--orange-300);
  background: linear-gradient(180deg, var(--white) 0%, var(--orange-50) 100%);
  box-shadow: var(--sh-orange), var(--sh-md);
  transform: translateY(-14px);
}

.subsidy-card.featured::before { background: var(--grad-sun); }

.subsidy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-xl);
}

.subsidy-card.featured:hover { transform: translateY(-22px); }

.subsidy-card .subsidy-badge {
  position: absolute;
  top: -15px;
  right: 1.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
  color: var(--white);
  font-family: var(--font-head);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--sh-orange);
  animation: badgeSwing 3.5s ease-in-out infinite;
}

.subsidy-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.subsidy-header i {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 1.3rem;
  transition: transform var(--t-base) var(--ease-spring);
}

.subsidy-card.featured .subsidy-header i {
  background: var(--orange-100);
  color: var(--orange-700);
}

.subsidy-card:nth-child(3) .subsidy-header i {
  background: var(--red-100);
  color: var(--red-600);
}

.subsidy-card:hover .subsidy-header i {
  transform: rotate(-10deg) scale(1.12);
}

.subsidy-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.subsidy-amount {
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 1.7rem + 1.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background-image: var(--grad-sky);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subsidy-card.featured .subsidy-amount { background-image: var(--grad-sun); }
.subsidy-card:nth-child(3) .subsidy-amount { background-image: var(--grad-rose); }

.subsidy-note {
  margin: -0.1rem 0 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--red-50);
  border: 1px dashed var(--red-300);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--red-700);
}

.subsidy-breakdown {
  flex: 1;
  margin: 0.6rem 0 1.2rem;
  padding: 0.3rem 1rem;
  border-radius: var(--r-md);
  background: var(--grey-50);
  border: 1px solid var(--border);
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.breakdown-item + .breakdown-item {
  border-top: 1px dashed var(--border-strong);
}

.breakdown-item span:last-child {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--heading);
}

.subsidy-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.5;
  color: var(--blue-700);
}

.subsidy-timeline i {
  margin-top: 0.15rem;
  color: var(--blue-500);
  animation: blink 2.4s ease-in-out infinite;
}

.subsidy-info-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding: clamp(1.4rem, 3.4vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--blue-200);
  box-shadow: var(--sh-md);
}

.subsidy-info-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--blue-300), var(--orange-400), var(--red-400));
}

.subsidy-info-box .info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--grad-sky);
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: var(--sh-blue);
}

.subsidy-info-box .info-content { min-width: 0; }

.subsidy-info-box .info-content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.subsidy-info-box .info-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2rem;
}

.subsidy-info-box .info-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-soft);
}

.subsidy-info-box .info-content li i {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.65rem;
}

@media (max-width: 991px) {
  .subsidy-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
    gap: 1.6rem;
  }

  .subsidy-card.featured {
    transform: none;
    order: -1;
  }

  .subsidy-card.featured:hover { transform: translateY(-8px); }

  .subsidy-info-box .info-content ul { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575px) {
  .subsidy-card {
    padding: 1.8rem 1.2rem 1.4rem;
    border-radius: var(--r-lg);
  }

  .subsidy-info-box {
    flex-direction: column;
    padding-left: 1.5rem;
  }

  .subsidy-info-box .info-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    border-radius: 16px;
  }
}


/* ==========================================================================
   14. SOLAR CALCULATOR
   ========================================================================== */
.calculator-section {
  background:
    linear-gradient(180deg, rgba(242, 249, 254, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.calculator-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
}

.input-section,
.results-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}

.input-section::before,
.results-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-sun);
}

.results-section::before { background: var(--grad-sky); }

.input-header,
.results-header {
  margin-bottom: 1.7rem;
  text-align: center;
}

.input-icon,
.results-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 0.9rem;
  border-radius: 22px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: var(--sh-orange);
  animation: floatY 5s ease-in-out infinite;
}

.results-icon {
  background: var(--grad-sky);
  box-shadow: var(--sh-blue);
}

.input-header h3,
.results-header h3 {
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.input-header p,
.results-header p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-mute);
}

.input-group { margin-bottom: 1.6rem; }

.input-group > label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--grey-800);
}

.input-group > label i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 0.8rem;
}

.property-type-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.property-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0.8rem 1rem;
  border-radius: var(--r-md);
  background: var(--grey-50);
  border: 2px solid var(--border);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--grey-700);
  transition: transform var(--t-base) var(--ease-spring), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}

.property-btn > i {
  font-size: 1.5rem;
  color: var(--grey-500);
  transition: color var(--t-base) var(--ease), transform var(--t-base) var(--ease-spring);
}

.property-btn:hover {
  transform: translateY(-3px);
  border-color: var(--orange-300);
  background: var(--white);
}

.property-btn.active {
  border-color: var(--orange-400);
  background: var(--orange-50);
  color: var(--orange-700);
  box-shadow: 0 10px 24px rgba(255, 154, 46, 0.22);
}

.property-btn.active > i {
  color: var(--orange-600);
  transform: scale(1.15);
}

.property-btn[data-type="commercial"].active {
  border-color: var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-700);
  box-shadow: 0 10px 24px rgba(47, 154, 216, 0.2);
}

.property-btn[data-type="commercial"].active > i { color: var(--blue-600); }

.btn-badge {
  padding: 0.18rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--success-soft);
  color: #1f7c4f;
  font-size: 0.64rem;
  font-weight: 700;
}

.property-info {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  background: var(--success-soft);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.55;
  color: #1f6f48;
  animation: fadeIn 0.4s var(--ease) both;
}

.property-info i { margin-top: 0.15rem; }

#commercialInfo {
  background: var(--blue-100);
  color: var(--blue-700);
}

.input-wrapper { position: relative; }

.input-wrapper input[type="number"] {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: var(--r-md);
  background: var(--grey-50);
  border: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.input-wrapper input[type="number"]::-webkit-outer-spin-button,
.input-wrapper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-wrapper input[type="number"]:focus {
  background: var(--white);
  border-color: var(--orange-400);
  box-shadow: 0 0 0 5px rgba(255, 154, 46, 0.16);
}

.input-symbol {
  position: absolute;
  top: 50%;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-700);
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  font-size: var(--fs-2xs);
  color: var(--blue-700);
}

.input-hint i {
  color: var(--blue-500);
  font-size: 0.9em;
}

.select-wrapper { position: relative; }

.select-wrapper select {
  width: 100%;
  padding: 1rem 3rem 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--grey-50);
  border: 2px solid var(--border);
  font-weight: 600;
  color: var(--heading);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.select-wrapper select:hover { border-color: var(--orange-300); }

.select-wrapper select:focus {
  background: var(--white);
  border-color: var(--orange-400);
  box-shadow: 0 0 0 5px rgba(255, 154, 46, 0.16);
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 0.7rem;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform var(--t-base) var(--ease);
}

.select-wrapper:focus-within .select-arrow { transform: translateY(-50%) rotate(180deg); }

.quick-info {
  margin-bottom: 1.7rem;
  padding: 1.2rem;
  border-radius: var(--r-md);
  background: var(--grad-sky-soft);
  border: 1px solid var(--blue-200);
}

.quick-info h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--blue-700);
}

.quick-info h4 i {
  color: var(--orange-500);
  animation: blink 2.2s ease-in-out infinite;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.fact-item {
  padding: 0.75rem 0.3rem;
  border-radius: var(--r-sm);
  background: var(--white);
  text-align: center;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-spring);
}

.fact-item:hover { transform: translateY(-4px); }

.fact-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange-700);
}

.fact-item:nth-child(even) .fact-value { color: var(--blue-600); }

.fact-label {
  margin-top: 0.25rem;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-mute);
}

.calculate-btn {
  width: 100%;
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 1.02rem;
  background-image: var(--grad-sun);
  background-size: 180% 180%;
  box-shadow: var(--sh-orange);
  white-space: normal;
  animation: pulseRing 3s ease-out infinite;
}

.calculate-btn:hover {
  color: var(--white);
  background-position: 100% 50%;
  box-shadow: 0 18px 38px rgba(255, 154, 46, 0.46);
  animation: none;
}

.initial-state {
  padding: 1.2rem 0.4rem 0.6rem;
  text-align: center;
}

.initial-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.4rem;
}

.sun-animation {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.sun {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-sun);
  animation: sunGlow 3.4s ease-in-out infinite;
}

.ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 148px;
  margin: -74px 0 0 -2.5px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--orange-300) 0 20%, transparent 20% 80%, var(--orange-300) 80% 100%);
  animation: rayPulse 2.4s ease-in-out infinite;
}

.ray1 { transform: rotate(0deg); }
.ray2 { transform: rotate(45deg); animation-delay: 0.3s; }
.ray3 { transform: rotate(90deg); animation-delay: 0.6s; }
.ray4 { transform: rotate(135deg); animation-delay: 0.9s; }

.initial-icon > i {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.7rem;
  filter: drop-shadow(0 2px 4px rgba(200, 100, 10, 0.4));
}

.initial-state h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.initial-state p {
  max-width: 40ch;
  margin-inline: auto;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-mute);
}

.results-display { animation: fadeUp 0.6s var(--ease-out) both; }

.property-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 auto 1.3rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--orange-100);
  border: 1px solid var(--orange-200);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange-700);
}

.main-result { margin-bottom: 1.1rem; }

.result-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.main-result .result-item {
  padding: 1.2rem 0.8rem;
  border-radius: var(--r-md);
  background: var(--grad-sun-soft);
  border: 1px solid var(--orange-200);
  text-align: center;
}

.main-result .result-item:nth-child(2) {
  background: var(--grad-sky-soft);
  border-color: var(--blue-200);
}

.result-label {
  margin-bottom: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-soft);
}

.result-value {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.result-value.highlight { color: var(--orange-700); }

.detailed-results {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.result-item.detailed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--grey-50);
  border: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.result-item.detailed:hover {
  transform: translateX(6px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-sm);
}

.result-item.subsidy-item {
  background: var(--success-soft);
  border-color: #bfe7d1;
}

.result-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.result-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 1rem;
}

.result-item.subsidy-item .result-icon {
  background: var(--white);
  color: var(--success);
}

.result-item.detailed:nth-child(3) .result-icon { background: var(--blue-100); color: var(--blue-600); }
.result-item.detailed:nth-child(4) .result-icon { background: var(--red-100); color: var(--red-600); }

.result-title { font-size: var(--fs-sm); font-weight: 700; color: var(--heading); }
.result-desc { font-size: var(--fs-2xs); color: var(--text-mute); }

.result-amount {
  flex: none;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--heading);
  text-align: right;
}

.result-amount.highlight-green { color: var(--success); }

.subsidy-breakdown-result {
  margin-bottom: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
}

.subsidy-breakdown-result h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--orange-700);
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.breakdown-row + .breakdown-row { border-top: 1px dashed var(--orange-200); }

.breakdown-row span:last-child {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--heading);
}

.additional-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

.additional-info .info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
}

.additional-info .info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--white);
  color: var(--blue-600);
}

.additional-info .info-item:nth-child(2) .info-icon { color: var(--orange-600); }

.additional-info .info-value {
  font-size: var(--fs-sm);
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.additional-info .info-label {
  font-size: var(--fs-2xs);
  color: var(--text-mute);
}

.results-cta {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 0.98rem;
  background-image: var(--grad-sky);
  background-size: 180% 180%;
  box-shadow: var(--sh-blue);
  white-space: normal;
}

.results-cta:hover {
  color: var(--white);
  background-position: 100% 50%;
  box-shadow: 0 18px 38px rgba(47, 154, 216, 0.4);
}

@media (max-width: 991px) {
  .calculator-container {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .property-type-selector { gap: 0.55rem; }
  .property-btn { padding: 0.9rem 0.4rem; font-size: var(--fs-xs); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-row,
  .additional-info { grid-template-columns: minmax(0, 1fr); }
  .result-item.detailed { flex-wrap: wrap; }
  .result-amount { width: 100%; text-align: left; }
}


/* ==========================================================================
   15. PROCESS SECTION (5-Step)
   ========================================================================== */
.process-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(255, 255, 255, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.process-steps-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-step-card {
  position: relative;
  overflow: visible;
  padding: 2.2rem 1.4rem 1.6rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.process-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-sun);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.process-step-card:nth-child(2)::before { background: var(--grad-sky); }
.process-step-card:nth-child(3)::before { background: var(--grad-rose); }
.process-step-card:nth-child(4)::before { background: linear-gradient(135deg, #7ad6a8, #2fa36b); }
.process-step-card:nth-child(5)::before { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.process-step-card:hover {
  transform: translateY(-10px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-lg);
}

.process-step-card:hover::before { transform: scaleX(1); }

.step-number-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-sun);
  border: 4px solid var(--white);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--sh-orange);
  transition: transform var(--t-slow) var(--ease-spring);
}

.process-step-card:nth-child(2) .step-number-badge { background: var(--grad-sky); box-shadow: var(--sh-blue); }
.process-step-card:nth-child(3) .step-number-badge { background: var(--grad-rose); box-shadow: var(--sh-red); }
.process-step-card:nth-child(4) .step-number-badge { background: linear-gradient(135deg, #7ad6a8, #2fa36b); box-shadow: 0 12px 26px rgba(47, 163, 107, 0.28); }
.process-step-card:nth-child(5) .step-number-badge { background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 12px 26px rgba(124, 58, 237, 0.28); }

.process-step-card:hover .step-number-badge {
  transform: translateX(-50%) rotate(360deg) scale(1.1);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0.6rem auto 1rem;
  border-radius: 20px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 1.6rem;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.process-step-card:nth-child(2) .step-icon { background: var(--blue-100); color: var(--blue-600); }
.process-step-card:nth-child(3) .step-icon { background: var(--red-100); color: var(--red-600); }
.process-step-card:nth-child(4) .step-icon { background: var(--success-soft); color: var(--success); }
.process-step-card:nth-child(5) .step-icon { background: #f3e8ff; color: #7c3aed; }

.process-step-card:hover .step-icon {
  transform: rotate(-10deg) scale(1.12);
}

.process-step-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.process-step-card p {
  margin: 0 0 0.8rem;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-soft);
}

.step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--orange-700);
}

.step-time i {
  font-size: 0.9em;
  animation: blink 2s ease-in-out infinite;
}

.process-step-card:nth-child(2) .step-time { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-700); }
.process-step-card:nth-child(3) .step-time { background: var(--red-50); border-color: var(--red-200); color: var(--red-700); }
.process-step-card:nth-child(4) .step-time { background: var(--success-soft); border-color: #a8dcc2; color: #1f6f48; }
.process-step-card:nth-child(5) .step-time { background: #f3e8ff; border-color: #c4b5fd; color: #7c3aed; }

.process-completion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.6rem, 3.4vw, 2.8rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(227, 246, 236, 0.9)),
    var(--img-solar-hybrid-sm) center / cover no-repeat;
  border: 2px solid #a8dcc2;
  box-shadow: var(--sh-md);
}

.process-completion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #7ad6a8, #2fa36b);
}

.completion-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #7ad6a8, #2fa36b);
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 12px 26px rgba(47, 163, 107, 0.28);
  animation: pulseSoft 3s ease-in-out infinite;
}

.completion-content h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 800;
  color: var(--success);
}

.completion-content p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .process-steps-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .process-steps-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .process-steps-container {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-inline: auto;
  }

  .process-step-card {
    padding: 2rem 1.2rem 1.4rem;
    border-radius: var(--r-lg);
  }

  .process-completion {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem 1.2rem;
    border-radius: var(--r-lg);
  }

  .completion-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 20px;
  }
}


/* ==========================================================================
   16. BRANDS SECTION (COMPLETE partner brands CSS)
   ========================================================================== */
.brands-section {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.brand-category {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.brand-category:last-of-type {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.category-title {
  position: relative;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: 1rem;
  text-align: center;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
  box-shadow: 0 6px 14px rgba(255, 154, 46, 0.35);
}

.category-title > i {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: var(--sh-orange);
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.category-title h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.category-title p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

.brand-category:nth-of-type(2) .category-title > i {
  background: var(--grad-sky);
  box-shadow: var(--sh-blue);
}

.brand-category:nth-of-type(2) .category-title::after {
  background: var(--grad-sky);
  box-shadow: 0 6px 14px rgba(47, 154, 216, 0.35);
}

.brand-category:nth-of-type(3) .category-title > i {
  background: var(--grad-rose);
  box-shadow: var(--sh-red);
}

.brand-category:nth-of-type(3) .category-title::after {
  background: var(--grad-rose);
  box-shadow: 0 6px 14px rgba(242, 107, 94, 0.35);
}

/* ---- Brands grid ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.brand-card {
  --accent-c: var(--orange-500);
  --accent-soft: var(--orange-100);
  --accent-line: var(--orange-300);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 2rem 1.5rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.brand-card:nth-child(3n + 2) {
  --accent-c: var(--blue-500);
  --accent-soft: var(--blue-100);
  --accent-line: var(--blue-300);
}

.brand-card:nth-child(3n) {
  --accent-c: var(--red-500);
  --accent-soft: var(--red-100);
  --accent-line: var(--red-300);
}

.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-line), var(--accent-c));
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.brand-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.8;
  transition: transform var(--t-slow) var(--ease-out);
}

.brand-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-line);
  box-shadow: var(--sh-lg);
}

.brand-card:hover::before { transform: scaleX(1); }
.brand-card:hover::after { transform: scale(1.6); }

/* ---- Brand logo (enlarged) ---- */
.brand-logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin-bottom: 1.2rem;
  border-radius: 28px;
  background: var(--accent-soft);
  color: var(--accent-c);
  font-size: 2.4rem;
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--accent-line);
  transition: transform var(--t-slow) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
  overflow: hidden;
}

.brand-logo img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter var(--t-base) var(--ease), transform var(--t-base) var(--ease-spring);
}

.brand-card:hover .brand-logo img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.brand-card:hover .brand-logo {
  transform: rotate(360deg) scale(1.1);
  background: var(--accent-c);
  color: var(--white);
}

.brand-card:hover .brand-logo img {
  filter: brightness(0) invert(1);
}

.brand-card h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-card p {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

.brand-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.brand-features span {
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--grey-800);
}

/* ---- Brand blank placeholder ---- */
.brand-card-blank {
  position: relative;
  opacity: 0.85;
  border-style: dashed;
  border-width: 2px;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}

.brand-card-blank::before {
  background: linear-gradient(90deg, var(--grey-300), var(--grey-400));
}

.brand-card-blank::after {
  background: var(--grey-100);
}

.brand-card-blank .brand-logo {
  background: var(--grey-100);
  color: var(--grey-500);
  border: 2px dashed var(--grey-300);
  box-shadow: none;
}

.brand-card-blank:hover {
  opacity: 1;
  transform: translateY(-8px);
  border-color: var(--grey-400);
  box-shadow: var(--sh-md);
}

.brand-card-blank:hover .brand-logo {
  transform: rotate(180deg) scale(1.1);
  background: var(--grey-200);
  color: var(--grey-600);
}

/* ---- Batteries ---- */
.battery-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
  margin-bottom: 1.6rem;
}

.battery-type-card {
  --bat-c: var(--blue-500);
  --bat-soft: var(--blue-100);
  --bat-line: var(--blue-300);
  --bat-grad: var(--grad-sky);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 2.2rem 1.8rem 1.8rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--bat-line);
  box-shadow: var(--sh-md);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.battery-type-card.premium {
  --bat-c: var(--orange-500);
  --bat-soft: var(--orange-100);
  --bat-line: var(--orange-300);
  --bat-grad: var(--grad-sun);
  background: linear-gradient(180deg, var(--white) 0%, var(--orange-50) 100%);
}

.battery-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--bat-grad);
}

.battery-type-card:hover {
  transform: translateY(-10px);
  border-color: var(--bat-c);
  box-shadow: var(--sh-xl);
}

.battery-badge {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
  color: var(--white);
  font-family: var(--font-head);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--sh-orange);
  animation: badgeSwing 3.5s ease-in-out infinite;
}

.battery-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.2rem;
  border-radius: 26px;
  background: var(--bat-soft);
  color: var(--bat-c);
  font-size: 2.2rem;
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--bat-line);
  transition: transform var(--t-slow) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.battery-type-card:hover .battery-icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--bat-c);
  color: var(--white);
}

.battery-type-card h4 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
}

.battery-type-card > p {
  margin-bottom: 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

.battery-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--border);
}

.battery-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  background: var(--bat-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  color: var(--grey-800);
  text-align: left;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease);
}

.battery-features span:hover {
  transform: translateX(4px);
  background: var(--white);
  box-shadow: var(--sh-xs);
}

.battery-features i {
  flex: none;
  color: var(--success);
  font-size: 0.9em;
}

.battery-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--blue-700);
}

.battery-note i {
  flex: none;
  margin-top: 0.15rem;
  color: var(--blue-500);
  font-size: 1.1em;
}

/* ---- Brands responsive ---- */
@media (max-width: 991px) {
  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  }

  .brand-logo {
    width: 96px;
    height: 96px;
    font-size: 2.2rem;
    border-radius: 24px;
  }

  .battery-features { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .brand-category { margin-bottom: 2.4rem; }

  .category-title > i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 20px;
  }

  .category-title h3 { font-size: 1.3rem; }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .brand-card {
    padding: 1.4rem 0.9rem 1.3rem;
    border-radius: var(--r-md);
  }

  .brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.9rem;
    border-radius: 20px;
    font-size: 1.9rem;
  }

  .brand-logo img {
    max-width: 80%;
    max-height: 80%;
  }

  .brand-card h4 { font-size: 1.02rem; }
  .brand-card p { font-size: var(--fs-xs); line-height: 1.55; }
  .brand-features span { font-size: 0.66rem; padding: 0.24rem 0.6rem; }

  .battery-type-card {
    padding: 1.8rem 1.2rem 1.4rem;
    border-radius: var(--r-lg);
  }

  .battery-icon {
    width: 72px;
    height: 72px;
    font-size: 1.9rem;
    border-radius: 22px;
  }

  .battery-type-card h4 { font-size: 1.2rem; }

  .battery-note {
    font-size: var(--fs-xs);
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 400px) {
  .brands-grid { grid-template-columns: minmax(0, 1fr); }

  .brand-logo {
    width: 90px;
    height: 90px;
  }
}


/* ==========================================================================
   17. WHY CHOOSE US
   ========================================================================== */
.why-choose-section {
  background:
    linear-gradient(180deg, rgba(255, 245, 244, 0.94) 0%, rgba(255, 255, 255, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

.why-card {
  --why: var(--orange-500);
  --why-soft: var(--orange-100);
  --why-line: var(--orange-300);
  position: relative;
  overflow: hidden;
  padding: 2rem 1.7rem 1.8rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.why-card:nth-child(3n + 2) {
  --why: var(--blue-500);
  --why-soft: var(--blue-100);
  --why-line: var(--blue-300);
}

.why-card:nth-child(3n) {
  --why: var(--red-500);
  --why-soft: var(--red-100);
  --why-line: var(--red-300);
}

.why-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--why-soft);
  transition: transform var(--t-slow) var(--ease-out);
}

.why-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 100%;
  background: var(--why);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--why-line);
  box-shadow: var(--sh-lg);
}

.why-card:hover::before { transform: scale(1.7); }
.why-card:hover::after { transform: scaleX(1); }

.why-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
  border-radius: 22px;
  background: var(--white);
  color: var(--why);
  font-size: 1.7rem;
  box-shadow: 0 0 0 2px var(--why-line), var(--sh-sm);
  transition: transform var(--t-slow) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.why-card:hover .why-icon {
  transform: rotateY(360deg) scale(1.08);
  background: var(--why);
  color: var(--white);
}

.why-card h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-soft);
}

@media (max-width: 991px) {
  .why-choose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .why-choose-grid { grid-template-columns: minmax(0, 1fr); }

  .why-card {
    padding: 1.6rem 1.3rem;
    border-radius: var(--r-lg);
  }
}


/* ==========================================================================
   18. CUSTOMER REVIEWS
   ========================================================================== */
.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(242, 249, 254, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.reviews-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.reviews-left,
.reviews-right {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3.4vw, 2.6rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}

.reviews-left {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--white) 0%, var(--orange-50) 60%, var(--red-50) 100%);
  border-color: var(--orange-200);
}

.reviews-left::after {
  content: "\201C";
  position: absolute;
  top: -30px;
  right: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11rem;
  line-height: 1;
  color: var(--orange-200);
  opacity: 0.55;
  pointer-events: none;
}

.reviews-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.6rem;
}

.reviews-header h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
}

.highlight-text {
  display: inline-block;
  font-size: 1.25em;
  background-image: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.reviews-header .subtitle {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.video-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
}

.video-thumbnail {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 240px;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 240, 220, 0.5)),
    var(--img-solar-hybrid-sm) center / cover no-repeat;
  border: 3px solid var(--white);
  box-shadow: var(--sh-md);
  text-align: center;
  color: var(--heading);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

.video-thumbnail:hover {
  color: var(--heading);
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
}

.play-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red-500);
  font-size: 1.8rem;
  box-shadow: var(--sh-lg);
  animation: pulseRing 2.4s ease-out infinite;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}

.play-button i { margin-left: 5px; }

.video-thumbnail:hover .play-button {
  transform: scale(1.15);
  background: var(--grad-rose);
  color: var(--white);
}

.video-thumbnail p {
  margin: 0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.reviews-right {
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-50) 100%);
  border-color: var(--blue-200);
}

.reviews-slider {
  position: relative;
  width: 100%;
}

.review-card {
  display: none;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.review-card.active {
  display: block;
  animation: fadeUp 0.6s var(--ease-out) both;
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.reviewer-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-sky);
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--sh-blue);
}

.review-card:nth-of-type(2) .reviewer-avatar { background: var(--grad-sun); box-shadow: var(--sh-orange); }
.review-card:nth-of-type(3) .reviewer-avatar { background: var(--grad-rose); box-shadow: var(--sh-red); }

.reviewer-details h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.reviewer-details p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--text-mute);
}

.review-rating {
  display: flex;
  gap: 0.15rem;
  color: var(--star);
  font-size: 0.95rem;
}

.review-content {
  position: relative;
  padding: 1.2rem 1.1rem 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
}

.review-content p {
  margin: 0;
  font-size: var(--fs-sm);
  font-style: italic;
  line-height: 1.85;
  color: var(--grey-700);
}

.review-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.review-indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--grey-300);
  cursor: pointer;
  transition: width var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.review-indicator:hover { background: var(--orange-300); }

.review-indicator.active {
  width: 32px;
  background: var(--grad-sun);
}

@media (max-width: 991px) {
  .reviews-container { grid-template-columns: minmax(0, 1fr); }
  .video-thumbnail { min-height: 220px; }
}

@media (max-width: 480px) {
  .review-header { flex-direction: column; align-items: flex-start; }
  .reviews-left::after { font-size: 7rem; }
}


/* ==========================================================================
   19. CONTACT SECTION
   ========================================================================== */
.contact-section {
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.94) 0%, rgba(227, 242, 252, 0.93) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.contact-info-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
}

.contact-card {
  --cc: var(--orange-500);
  --cc-soft: var(--orange-100);
  --cc-line: var(--orange-300);
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.3rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.contact-card:nth-child(2) { --cc: var(--blue-500); --cc-soft: var(--blue-100); --cc-line: var(--blue-300); }
.contact-card:nth-child(3) { --cc: var(--red-500); --cc-soft: var(--red-100); --cc-line: var(--red-300); }
.contact-card:nth-child(4) { --cc: var(--success); --cc-soft: var(--success-soft); --cc-line: #a8dcc2; }

.contact-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--cc-soft);
  transition: transform var(--t-slow) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--cc-line);
  box-shadow: var(--sh-lg);
}

.contact-card:hover::after { transform: scale(1.7); }

.contact-card > i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--cc-soft);
  color: var(--cc);
  font-size: 1.3rem;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.contact-card:hover > i {
  transform: rotate(-10deg) scale(1.12);
  background: var(--cc);
  color: var(--white);
}

.contact-card h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.contact-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.contact-card p a {
  font-weight: 600;
  color: var(--grey-800);
}

.contact-card p a:hover { color: var(--cc); }

.contact-cta-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.3rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 231, 228, 0.9) 55%, rgba(255, 240, 220, 0.92)),
    var(--img-solar-field-sm) center / cover no-repeat;
  border: 1px solid var(--red-200);
  box-shadow: var(--sh-lg);
  text-align: center;
}

.contact-cta-section::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px dashed var(--orange-300);
  opacity: 0.7;
  animation: spinSlow 40s linear infinite;
}

.contact-cta-section::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--grad-sun);
  opacity: 0.25;
  animation: floatY 7s ease-in-out infinite;
}

.contact-cta-section > * {
  position: relative;
  z-index: 1;
}

.contact-cta-section h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 800;
}

.contact-cta-section p {
  max-width: 38ch;
  margin-bottom: 1.6rem;
  color: var(--text-soft);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
}

.btn-whatsapp,
.btn-call {
  flex: 1 1 170px;
  padding: 1rem 1.4rem;
  border-radius: var(--r-pill);
  color: var(--white);
  font-size: var(--fs-sm);
  background-size: 180% 180%;
}

.btn-whatsapp {
  background-image: linear-gradient(135deg, #4fe28a, #1fb85a);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
}

.btn-call {
  background-image: var(--grad-sky);
  box-shadow: var(--sh-blue);
}

.btn-whatsapp:hover,
.btn-call:hover {
  color: var(--white);
  background-position: 100% 50%;
}

.btn-whatsapp i { font-size: 1.3em; }

@media (max-width: 991px) {
  .contact-container { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .contact-info-section { grid-template-columns: minmax(0, 1fr); }

  .contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.1rem;
  }

  .contact-card > i {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .btn-whatsapp,
  .btn-call { flex-basis: 100%; }
}


/* ==========================================================================
   20. FOOTER AND FLOATING WHATSAPP (FOOTER LOGO)
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  background:
    linear-gradient(180deg, rgba(243, 245, 248, 0.97) 0%, rgba(227, 242, 252, 0.97) 100%),
    var(--img-solar-field-sm) center / cover no-repeat;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange-400), var(--red-400), var(--blue-400), var(--orange-400));
  background-size: 300% 100%;
  animation: gradientShift 10s linear infinite;
}

.footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 134, 0.45), transparent 68%);
  pointer-events: none;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(1.6rem, 3.4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* ---- Footer logo (enlarged) ---- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-logo .logo-icon {
  color: var(--orange-500);
  background: var(--white);
  width: 78px;
  height: 78px;
  border-radius: 20px;
  overflow: hidden;
  flex: none;
}

.footer-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.footer-logo .logo-icon i {
  font-size: 2rem !important;
}

.footer-logo .logo-text h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-logo .logo-text p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-mute);
}

.footer-description {
  max-width: 42ch;
  margin-bottom: 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--grey-700);
  font-size: 1rem;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}

.social-links a:hover {
  color: var(--white);
  background: var(--grad-sun);
  border-color: transparent;
  box-shadow: var(--sh-orange);
  transform: translateY(-6px) rotate(-8deg);
}

.social-links a:nth-child(2):hover { background: var(--grad-sky); box-shadow: var(--sh-blue); }
.social-links a:nth-child(3):hover { background: var(--grad-rose); box-shadow: var(--sh-red); }
.social-links a:nth-child(4):hover { background: var(--grad-sky); box-shadow: var(--sh-blue); }

.footer-section h4 {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
}

.footer-links li + li { margin-top: 0.15rem; }

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-soft);
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--orange-500);
  transition: width var(--t-base) var(--ease);
}

.footer-links a:hover {
  color: var(--orange-700);
  transform: translateX(4px);
}

.footer-links a:hover::before { width: 14px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-item i {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--white);
  color: var(--orange-600);
  font-size: 0.85rem;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.contact-item:nth-child(even) i { color: var(--blue-600); }

.contact-item:hover i {
  transform: scale(1.14) rotate(-8deg);
  background: var(--orange-500);
  color: var(--white);
}

.contact-item p {
  margin: 0;
  padding-top: 0.35rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.6rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--border-strong);
  font-size: var(--fs-xs);
}

.footer-bottom p { margin: 0; }

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.footer-bottom-links a {
  font-weight: 500;
  color: var(--text-soft);
}

.footer-bottom-links a:hover { color: var(--orange-700); }

/* ---- Floating WhatsApp ---- */
.floating-whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #4fe28a, #1fb85a);
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  animation: pulseRingGreen 2.6s ease-out infinite;
  transition: transform var(--t-base) var(--ease-spring);
}

.floating-whatsapp:hover {
  color: var(--white);
  transform: scale(1.12) rotate(-8deg);
  animation: none;
}

.floating-whatsapp i { animation: wiggle 4.2s ease-in-out infinite; }

.whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--sh-md);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  color: var(--grey-800);
  opacity: 0;
  transform: translate3d(12px, -50%, 0);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.floating-whatsapp:hover .whatsapp-tooltip,
.floating-whatsapp:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

@media (max-width: 991px) {
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .footer-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }

  .whatsapp-tooltip { display: none; }

  .footer-logo .logo-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .footer-logo .logo-text h3 {
    font-size: 1.08rem;
  }
}


/* ==========================================================================
   21. FOUNDER SECTION
   ========================================================================== */
.founder-section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 251, 0.95) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.founder-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 202, 134, 0.55), rgba(255, 202, 134, 0) 68%);
  pointer-events: none;
  animation: driftX 16s ease-in-out infinite;
}

.founder-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -160px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(150, 207, 240, 0.5), rgba(150, 207, 240, 0) 68%);
  pointer-events: none;
  animation: driftX 20s ease-in-out infinite reverse;
}

.founder-section > .container {
  position: relative;
  z-index: var(--z-raised);
}

.founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.founder-image {
  position: relative;
  padding: 0 1.6rem 1.6rem 0;
}

.founder-image::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: 0;
  bottom: 0;
  left: 1.6rem;
  z-index: 0;
  border-radius: var(--r-xl);
  background: var(--grad-sun);
  opacity: 0.9;
  transform: rotate(2.5deg);
  transition: transform var(--t-slow) var(--ease-out);
}

.founder-image::after {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: -1.4rem;
  z-index: 0;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--blue-300) 2.6px, transparent 3px);
  background-size: 20px 20px;
  opacity: 0.8;
  animation: floatYSlow 9s ease-in-out infinite;
}

.founder-image:hover::before {
  transform: rotate(-1.5deg) scale(1.01);
}

.founder-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 8px solid var(--white);
  box-shadow: var(--sh-xl);
  transition: transform var(--t-slow) var(--ease-out);
}

.founder-image:hover img { transform: translateY(-6px); }

.founder-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  padding: 0.8rem;
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--orange-100);
  box-shadow: var(--sh-lg);
  text-align: center;
  animation: floatY 5.5s ease-in-out infinite;
}

.founder-badge .years {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background-image: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.founder-badge .text {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-soft);
}

.founder-info { position: relative; }

.founder-quote {
  position: relative;
  margin-bottom: 1.6rem;
  padding: 1.6rem 1.6rem 1.6rem 3.4rem;
  border-radius: var(--r-lg);
  background: var(--grad-rose-soft);
  border-left: 5px solid var(--red-400);
  box-shadow: var(--sh-sm);
}

.founder-quote > i {
  position: absolute;
  top: 1.2rem;
  left: 1.1rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-rose);
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--sh-red);
}

.founder-quote p {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.75;
  color: var(--grey-800);
}

.founder-info h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.founder-title {
  margin-bottom: 1.3rem;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--orange-700);
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.founder-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--grey-800);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.founder-tags span:hover {
  transform: translateY(-3px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-md);
}

.founder-tags i {
  color: var(--orange-600);
  font-size: 0.9em;
}

.founder-tags span:nth-child(2) i { color: var(--blue-600); }
.founder-tags span:nth-child(3) i { color: var(--red-500); }

.founder-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 420px;
}

.founder-stat {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1rem;
  border-radius: var(--r-lg);
  background: var(--grad-sun-soft);
  border: 1px solid var(--orange-200);
  text-align: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
}

.founder-stat:nth-child(2) {
  background: var(--grad-sky-soft);
  border-color: var(--blue-200);
}

.founder-stat::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.founder-stat:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--sh-md);
}

.founder-stat .stat-number {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange-700);
}

.founder-stat:nth-child(2) .stat-number { color: var(--blue-600); }

.founder-stat .stat-text {
  position: relative;
  z-index: 1;
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-soft);
}

/* ---- Vision Section ---- */
.vision-section {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 220, 0.9) 55%, rgba(227, 242, 252, 0.92)),
    var(--img-solar-roof-sm) center / cover no-repeat;
  border: 1px solid var(--orange-200);
  box-shadow: var(--sh-lg);
}

.vision-section > h3 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 800;
  color: var(--heading);
}

.vision-section > h3 i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--sh-orange);
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.vision-section > p {
  max-width: 75ch;
  margin-bottom: 1.8rem;
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--text-soft);
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.vision-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-sun);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.vision-card:nth-child(2)::before { background: var(--grad-sky); }
.vision-card:nth-child(3)::before { background: var(--grad-rose); }

.vision-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--orange-100);
  opacity: 0.7;
  transition: transform var(--t-slow) var(--ease-out);
}

.vision-card:nth-child(2)::after { background: var(--blue-100); }
.vision-card:nth-child(3)::after { background: var(--red-100); }

.vision-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-lg);
}

.vision-card:hover::before { transform: scaleX(1); }
.vision-card:hover::after { transform: scale(1.5); }

.vision-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 1.4rem;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.vision-card:nth-child(2) .vision-icon { background: var(--blue-100); color: var(--blue-600); }
.vision-card:nth-child(3) .vision-icon { background: var(--red-100); color: var(--red-600); }

.vision-card:hover .vision-icon {
  transform: rotate(-10deg) scale(1.12);
  background: var(--grad-sun);
  color: var(--white);
}

.vision-card:nth-child(2):hover .vision-icon { background: var(--grad-sky); }
.vision-card:nth-child(3):hover .vision-icon { background: var(--grad-rose); }

.vision-card h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.vision-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---- Contact Details Section ---- */
.contact-details-section {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.contact-details-section > h3 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 800;
}

.contact-details-section > h3 i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--grad-sky);
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--sh-blue);
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.contact-details-section > p {
  margin-bottom: 1.8rem;
  font-size: var(--fs-md);
  color: var(--text-soft);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}

.contact-detail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.8rem 1.6rem 1.6rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.contact-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-sun);
}

.contact-detail-card:nth-child(2)::before { background: var(--grad-sky); }
.contact-detail-card:nth-child(3)::before { background: var(--grad-rose); }

.contact-detail-card.founder-contact::before {
  background: linear-gradient(90deg, var(--orange-400), var(--red-400), var(--blue-400), var(--orange-400));
  background-size: 300% 100%;
  animation: gradientShift 6s linear infinite;
}

.contact-detail-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-300);
  box-shadow: var(--sh-xl);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--border);
}

.detail-header > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: 1.3rem;
  transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.contact-detail-card:nth-child(2) .detail-header > i { background: var(--blue-100); color: var(--blue-600); }
.contact-detail-card:nth-child(3) .detail-header > i { background: var(--red-100); color: var(--red-600); }

.contact-detail-card:hover .detail-header > i { transform: rotate(-10deg) scale(1.1); }

.detail-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.detail-row .label {
  flex: none;
  min-width: 90px;
  font-weight: 700;
  color: var(--grey-800);
}

.detail-row .value {
  flex: 1;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.detail-row .value.link {
  font-weight: 600;
  color: var(--orange-700);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.detail-row .value.link:hover {
  color: var(--red-600);
  text-decoration: underline;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  padding: 0.8rem 1.2rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.btn-action:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.btn-call { background: var(--grad-sun); box-shadow: var(--sh-orange); }
.btn-call:hover { box-shadow: 0 16px 34px rgba(255, 154, 46, 0.42); }

.btn-whatsapp { background: linear-gradient(135deg, #4fe28a, #1fb85a); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34); }
.btn-direction { background: var(--grad-sky); box-shadow: var(--sh-blue); }
.btn-tour,
.btn-appointment { background: var(--grad-rose); box-shadow: var(--sh-red); }

/* ---- Vendor Section ---- */
.vendor-section {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.vendor-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1.6rem 2rem;
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 220, 0.9)),
    var(--img-solar-field-sm) center / cover no-repeat;
  border: 2px solid var(--orange-200);
  box-shadow: var(--sh-md);
}

.vendor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-sun);
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.vendor-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--orange-100);
  opacity: 0.6;
}

.vendor-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--sh-orange);
  animation: pulseSoft 3s ease-in-out infinite;
}

.vendor-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.vendor-info h4 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--orange-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vendor-name {
  margin: 0 0 0.25rem;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.vendor-role {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
}

@media (max-width: 991px) {
  .founder-profile { grid-template-columns: minmax(0, 1fr); }

  .founder-image {
    max-width: 520px;
    margin-inline: auto;
  }

  .founder-image img { aspect-ratio: 4 / 4; }

  .founder-info { text-align: center; }
  .founder-quote { text-align: left; }
  .founder-tags { justify-content: center; }
  .founder-stats { margin-inline: auto; }

  .vision-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 575px) {
  .founder-image { padding: 0 0.9rem 0.9rem 0; }
  .founder-image::before { top: 0.9rem; left: 0.9rem; }

  .founder-image img {
    border-width: 5px;
    border-radius: var(--r-lg);
  }

  .founder-badge {
    width: 112px;
    height: 112px;
    border-width: 4px;
  }

  .founder-badge .years { font-size: 2rem; }
  .founder-badge .text { font-size: 0.6rem; }

  .founder-quote { padding: 1.3rem 1.2rem 1.3rem 3rem; }

  .founder-quote > i {
    top: 1rem;
    left: 0.9rem;
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .founder-stats { gap: 0.6rem; }
  .founder-stat { padding: 1rem 0.6rem; }

  .vision-section { padding: 1.2rem 1rem; }

  .vision-section > h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .contact-detail-card {
    padding: 1.4rem 1.1rem 1.2rem;
    border-radius: var(--r-lg);
  }

  .detail-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .detail-row .label {
    min-width: 0;
    font-size: var(--fs-xs);
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .detail-actions { flex-direction: column; }
  .btn-action { width: 100%; }

  .vendor-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
    gap: 1rem;
  }

  .vendor-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }

  .vendor-card::after {
    right: -60px;
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 380px) {
  .founder-tags {
    flex-direction: column;
    align-items: stretch;
  }

  .founder-tags span { justify-content: center; }
  .founder-stats { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   22. TRUST PROMISE
   ========================================================================== */
.trust-promise {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.6rem, 5vw, 4.4rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.4rem, 3.4vw, 3rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 220, 0.9) 40%, rgba(255, 231, 228, 0.88) 70%, rgba(227, 242, 252, 0.92)),
    var(--img-solar-hybrid-sm) center / cover no-repeat;
  border: 2px solid var(--orange-200);
  box-shadow: var(--sh-xl);
  text-align: center;
}

.trust-promise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange-400), var(--red-400), var(--blue-400), var(--orange-400));
  background-size: 300% 100%;
  animation: gradientShift 8s linear infinite;
}

.trust-promise::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 134, 0.55), transparent 70%);
  pointer-events: none;
  animation: floatY 8s ease-in-out infinite;
}

.promise-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.promise-content > i {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.3rem;
  border-radius: 28px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 2.2rem;
  box-shadow: var(--sh-orange);
  animation: pulseSoft 3.2s ease-in-out infinite;
}

.promise-content h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.promise-content p {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.85;
  color: var(--text-soft);
}

.promise-content p strong {
  color: var(--orange-700);
  font-weight: 800;
}

.promise-content p strong:last-child {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--orange-100), var(--red-100));
  color: var(--red-600);
  font-style: italic;
}

@media (max-width: 575px) {
  .trust-promise {
    padding: 1.4rem 1.1rem;
    border-radius: var(--r-lg);
  }

  .promise-content > i {
    width: 66px;
    height: 66px;
    font-size: 1.7rem;
    border-radius: 22px;
  }

  .promise-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}


/* ==========================================================================
   23. SCROLL REVEAL (progressive enhancement)
   ========================================================================== */
@keyframes revealFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-aos]:not(.aos-init):not(.featured),
    .section-header,
    .about-image,
    .about-text,
    .subsidy-info-box,
    .eligibility-card,
    .eligibility-note,
    .input-section,
    .results-section,
    .stat-item,
    .gallery-cta,
    .why-card,
    .process-step-card,
    .process-completion,
    .animate-card,
    .contact-card,
    .contact-cta-section,
    .founder-profile,
    .vision-section,
    .vision-card,
    .contact-details-section,
    .contact-detail-card,
    .vendor-section,
    .vendor-card,
    .trust-promise,
    .brand-category,
    .category-title,
    .brand-card,
    .battery-type-card {
      animation: revealUp linear backwards;
      animation-timeline: view();
      animation-range: entry 4% entry 38%;
    }

    .reviews-left.animate-card,
    .about-image,
    .founder-image {
      animation: revealScale linear backwards;
      animation-timeline: view();
      animation-range: entry 4% entry 38%;
    }

    .subsidy-card.featured[data-aos] {
      animation: revealFade linear backwards;
      animation-timeline: view();
      animation-range: entry 4% entry 38%;
    }

    .footer-section {
      animation: revealUp linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}


/* ==========================================================================
   24. GLOBAL RESPONSIVE REFINEMENTS
   ========================================================================== */
html { color-scheme: light; }

h1,
h2,
h3,
h4,
p,
li,
a,
span {
  overflow-wrap: break-word;
}

.container > *,
.about-content > *,
.calculator-container > *,
.reviews-container > *,
.contact-container > *,
.founder-profile > *,
.vision-cards > *,
.contact-details-grid > *,
.battery-types > *,
.eligibility-grid > *,
.process-steps-container > *,
.gallery-grid > *,
.why-choose-grid > *,
.brands-grid > *,
.stats-container > * {
  min-width: 0;
}

@media (min-width: 1600px) {
  :root { --container: 1360px; }
  .gallery-grid { grid-auto-rows: 270px; }
}

@media (min-width: 2000px) {
  html { font-size: 112.5%; }
  :root { --container: 1480px; }
  .gallery-grid { grid-auto-rows: 300px; }
}

@media (max-width: 991px) {
  :root {
    --nav-h: 88px;
    --section-y: clamp(3rem, 2rem + 4vw, 4.5rem);
  }

  .section-header::after { width: 80px; }
  .logo-text p { display: none; }

  .logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
  }

  .logo-icon i { font-size: 2.4rem !important; }
  .logo-text h1 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .top-info-content {
    flex-direction: column;
    gap: 0.3rem;
    padding-block: 0.5rem;
    text-align: center;
  }

  .top-info-left { justify-content: center; }
  .top-info-left span:nth-child(2) { display: none; }

  .top-info-right .subsidy-badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }

  .about-section::before,
  .about-section::after,
  .brands-section::before,
  .brands-section::after,
  .subsidy-section::before,
  .subsidy-section::after,
  .calculator-section::before,
  .calculator-section::after,
  .gallery-section::before,
  .gallery-section::after,
  .eligibility-section::before,
  .eligibility-section::after,
  .process-section::before,
  .process-section::after,
  .why-choose-section::before,
  .why-choose-section::after,
  .reviews-section::before,
  .reviews-section::after,
  .contact-section::before,
  .contact-section::after,
  .founder-section::before,
  .founder-section::after {
    animation: none;
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 575px) {
  :root {
    --nav-h: 84px;
    --topbar-h: 34px;
    --r-xl: 24px;
    --r-lg: 18px;
  }

  .logo-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .logo-icon i { font-size: 2.1rem !important; }
  .logo-icon img { padding: 6px; }
  .logo-text h1 { font-size: 1.1rem; }

  .hamburger {
    width: 50px;
    height: 50px;
    border-radius: 13px;
  }

  .section-header { margin-bottom: 2rem; }

  .section-description {
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 1.4rem;
  }

  .view-more-btn {
    width: 100%;
    padding-inline: 1.2rem;
  }
}

@media (max-width: 480px) {
  .top-info-left { display: none; }
  .top-info-right { width: 100%; }

  .top-info-right .subsidy-badge {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .logo-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .logo-icon i { font-size: 1.9rem !important; }
  .logo-icon img { padding: 5px; }
  .logo-text h1 { font-size: 1rem; }
  .section-title { letter-spacing: -0.015em; }
}

@media (max-width: 360px) {
  :root { --gutter: 0.85rem; }

  .logo-icon {
    width: 56px;
    height: 56px;
  }

  .logo-icon img { padding: 4px; }
  .logo-icon i { font-size: 1.7rem !important; }
  .logo-text h1 { font-size: 0.92rem; }

  .slide-title { font-size: 1.85rem; }

  .brand-logo {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .slideshow { min-height: 0; }
  .slide { padding-block: 2rem 4rem; }
  .slide-title { font-size: 1.7rem; }
  .slide-subtitle { margin-bottom: 1rem; }
  .slide-features { display: none; }
  .nav-menu { padding-top: calc(var(--nav-h) + 0.4rem); }
  .lightbox-image-container img { max-height: 60vh; }
}

@media (pointer: coarse) {
  .footer-links a { min-height: 40px; }

  .social-links a {
    width: 48px;
    height: 48px;
  }

  .indicator,
  .review-indicator { position: relative; }

  .indicator::after,
  .review-indicator::after {
    content: "";
    position: absolute;
    inset: -10px -4px;
  }
}


/* ==========================================================================
   25. REDUCED MOTION, TOUCH HOVER RESET, CONTRAST, PRINT
   ========================================================================== */
@media (hover: none) {
  .gallery-item .image-overlay { opacity: 1; }

  .gallery-item .overlay-content {
    opacity: 1;
    transform: none;
  }

  .gallery-item:hover,
  .brand-card:hover,
  .why-card:hover,
  .contact-card:hover,
  .subsidy-card:not(.featured):hover,
  .stat-item:hover,
  .about-feature:hover,
  .about-stat:hover,
  .fact-item:hover,
  .process-step:hover,
  .video-thumbnail:hover,
  .eligibility-card:hover,
  .process-step-card:hover,
  .battery-type-card:hover {
    transform: none;
  }

  .gallery-item:hover .image-container img {
    transform: none;
  }

  @media (min-width: 992px) {
    .subsidy-card.featured:hover {
      transform: translateY(-14px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .slide.active::before { animation: none !important; }
}

@media (prefers-contrast: more) {
  :root {
    --border: #9aa5b1;
    --border-strong: #6b7785;
    --text-soft: #34404c;
    --text-mute: #4a5764;
  }

  .nav-link,
  .project-badge,
  .brand-tag {
    border: 1px solid var(--border-strong);
  }
}

@media print {
  .top-info-bar,
  .navbar,
  .slide-nav,
  .slide-indicators,
  .floating-whatsapp,
  .hero::before,
  .hero::after,
  .lightbox-modal,
  .calculate-btn {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  section,
  .about-section,
  .brands-section,
  .subsidy-section,
  .calculator-section,
  .gallery-section,
  .eligibility-section,
  .process-section,
  .why-choose-section,
  .reviews-section,
  .contact-section,
  .founder-section {
    content-visibility: visible;
    padding-block: 1.4rem;
    background: #fff !important;
  }

  .slide:not(.active) { display: none; }

  .slide {
    opacity: 1;
    visibility: visible;
    padding-block: 1.5rem;
  }

  .slide::before,
  .slide::after { display: none; }

  .brand-card,
  .why-card,
  .gallery-item,
  .review-card,
  .eligibility-card,
  .process-step-card {
    break-inside: avoid;
  }
}


/* ==========================================================================
   FLOATING CALL BUTTON (Bottom-Left) — Fully Responsive
   --------------------------------------------------------------------------
   Positioned at bottom-left corner with proper safe-area support.
   Scales smoothly across all breakpoints:
     • 4K / Large desktop  : 72px
     • Desktop             : 66px
     • Small laptop        : 62px
     • Tablet (≤991px)     : 60px
     • Mobile (≤575px)     : 58px
     • Small mobile (≤480px): 54px
     • Tiny (≤360px)       : 50px
   Never overlaps the WhatsApp button on the right (bottom-right).
   ========================================================================== */
.floating-call {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #ff9a2e, #f26b5e);
  color: var(--white);
  font-size: 1.85rem;
  box-shadow: 0 14px 30px rgba(255, 154, 46, 0.45);
  animation: pulseRingCall 2.6s ease-out infinite;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

.floating-call:hover {
  color: var(--white);
  transform: scale(1.12) rotate(-8deg);
  animation: none;
  box-shadow: 0 18px 40px rgba(255, 154, 46, 0.55);
}

.floating-call:active {
  transform: scale(0.94);
}

.floating-call:focus-visible {
  outline: 3px solid var(--orange-300);
  outline-offset: 3px;
}

.floating-call i {
  animation: wiggle 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* ---- Tooltip (opens to the RIGHT of the button) ---- */
.call-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--sh-md);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  color: var(--grey-800);
  opacity: 0;
  transform: translate3d(-12px, -50%, 0);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
  z-index: 2;
}

.call-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.floating-call:hover .call-tooltip,
.floating-call:focus-visible .call-tooltip {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

/* ---- Pulse ring animation ---- */
@keyframes pulseRingCall {
  0%   { box-shadow: 0 0 0 0 rgba(255, 154, 46, 0.5), 0 14px 30px rgba(255, 154, 46, 0.45); }
  70%  { box-shadow: 0 0 0 20px rgba(255, 154, 46, 0), 0 14px 30px rgba(255, 154, 46, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(255, 154, 46, 0), 0 14px 30px rgba(255, 154, 46, 0.45); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ---- 4K / Ultra-wide (≥2000px) ---- */
@media (min-width: 2000px) {
  .floating-call {
    width: 72px;
    height: 72px;
    font-size: 2.15rem;
    left: max(24px, env(safe-area-inset-left));
    bottom: max(24px, env(safe-area-inset-bottom));
  }

  .call-tooltip {
    font-size: var(--fs-sm);
    padding: 0.65rem 1.15rem;
  }
}

/* ---- Large desktop (≥1600px) ---- */
@media (min-width: 1600px) and (max-width: 1999px) {
  .floating-call {
    width: 66px;
    height: 66px;
    font-size: 1.95rem;
  }
}

/* ---- Standard desktop (≥1201px) ---- */
@media (min-width: 1201px) and (max-width: 1599px) {
  .floating-call {
    width: 62px;
    height: 62px;
    font-size: 1.85rem;
  }
}

/* ---- Small laptop (992px–1200px) ---- */
@media (min-width: 992px) and (max-width: 1200px) {
  .floating-call {
    width: 62px;
    height: 62px;
    font-size: 1.85rem;
  }
}

/* ---- Tablet (769px–991px) ---- */
@media (min-width: 769px) and (max-width: 991px) {
  .floating-call {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ---- Large mobile (576px–768px) ---- */
@media (min-width: 576px) and (max-width: 768px) {
  .floating-call {
    width: 58px;
    height: 58px;
    font-size: 1.7rem;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ---- Mobile (481px–575px) ---- */
@media (min-width: 481px) and (max-width: 575px) {
  .floating-call {
    width: 56px;
    height: 56px;
    font-size: 1.65rem;
    left: max(14px, env(safe-area-inset-left));
    bottom: max(14px, env(safe-area-inset-bottom));
    box-shadow: 0 12px 26px rgba(255, 154, 46, 0.4);
  }

  .call-tooltip {
    display: none;
  }
}

/* ---- Small mobile (401px–480px) ---- */
@media (min-width: 401px) and (max-width: 480px) {
  .floating-call {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 10px 22px rgba(255, 154, 46, 0.4);
  }

  .call-tooltip {
    display: none;
  }
}

/* ---- Tiny mobile (≤400px) ---- */
@media (max-width: 400px) {
  .floating-call {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    box-shadow: 0 8px 20px rgba(255, 154, 46, 0.4);
  }

  .call-tooltip {
    display: none;
  }
}

/* ---- Extra tiny (≤360px) ---- */
@media (max-width: 360px) {
  .floating-call {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    left: 8px;
    bottom: 8px;
  }
}

/* ---- Landscape phones (short viewport height) ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .floating-call {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 12px;
  }

  .call-tooltip {
    display: none;
  }
}

/* ---- Touch devices: always show tooltip briefly ---- */
@media (pointer: coarse) {
  .floating-call {
    /* Slightly larger tap target for touch */
    min-width: 56px;
    min-height: 56px;
  }

  .floating-call:active {
    transform: scale(0.9);
  }

  .call-tooltip {
    display: none;
  }
}

/* ---- Ensure it never collides with WhatsApp on the right ---- */
@media (max-width: 480px) {
  .floating-call {
    /* WhatsApp is on the right; call stays comfortably on the left */
    left: 12px;
    right: auto;
  }
}

/* ---- Reduced motion: disable animations ---- */
@media (prefers-reduced-motion: reduce) {
  .floating-call {
    animation: none;
  }

  .floating-call i {
    animation: none;
  }

  .floating-call:hover {
    transform: none;
  }
}

/* ---- Print: hide floating button ---- */
@media print {
  .floating-call {
    display: none !important;
  }
}



/* ==========================================================================
   SOLAR SOLUTIONS SECTION  |  Rajrit Sun Power
   --------------------------------------------------------------------------
   Section    : #solutions
   Contains   : Comparison table (On-Grid vs Off-Grid vs Hybrid)
                + 3 detailed solution cards
   Theme      : Light grey + soft red + sky blue + warm orange + white
   Targets    : 320px phones  ->  4K desktops
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
     A. Section base + header
     B. Comparison table wrapper
     C. Comparison grid header row
     D. Comparison feature column (left labels)
     E. Comparison system cards (On/Off/Hybrid)
     F. Comparison cells + values + tags
     G. Solutions cards container
     H. Solution card base
     I. Solution header (icon + title + badge)
     J. Solution diagram (flow chart)
     K. Solution details (how it works, features, pros/cons)
     L. Solution recommendation box
     M. Solution footer (price + CTA)
     N. Per-card accents (On/Off/Hybrid)
     O. Responsive breakpoints
     P. Reduced motion + print
   ========================================================================== */


/* ==========================================================================
   A. SECTION BASE + HEADER
   ========================================================================== */
.solutions-section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
  background:
    radial-gradient(circle at 95% 6%, rgba(255, 223, 181, 0.5), transparent 32%),
    radial-gradient(circle at 5% 90%, rgba(198, 229, 248, 0.45), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 245, 248, 0.94) 100%),
    var(--img-solar-roof-sm) center / cover no-repeat;
}

.solutions-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 202, 134, 0.55), rgba(255, 202, 134, 0) 68%);
  pointer-events: none;
  animation: driftX 16s ease-in-out infinite;
}

.solutions-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -160px;
  left: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(150, 207, 240, 0.5), rgba(150, 207, 240, 0) 68%);
  pointer-events: none;
  animation: driftX 20s ease-in-out infinite reverse;
}

.solutions-section > .container {
  position: relative;
  z-index: var(--z-raised);
}


/* ==========================================================================
   B. COMPARISON TABLE WRAPPER
   ========================================================================== */
.comparison-table {
  position: relative;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.comparison-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange-400), var(--red-400), var(--blue-400), var(--orange-400));
  background-size: 300% 100%;
  animation: gradientShift 8s linear infinite;
}

.table-header {
  position: relative;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: 1.2rem;
  border-bottom: 2px dashed var(--border);
  text-align: center;
}

.table-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.table-title > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--grad-sun);
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--sh-orange);
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.table-title h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.table-subtitle {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-soft);
}


/* ==========================================================================
   C. COMPARISON GRID HEADER ROW
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(0, 1.4fr));
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

.comparison-head {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-2xs) !important;
}

/* System header cards */
.comparison-system {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.6rem 1rem 1.4rem;
  text-align: center;
  border-left: 1px solid var(--border);
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-spring);
}

.comparison-system::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.85;
}

.comparison-system.on-grid::before {
  background: linear-gradient(180deg, var(--orange-50) 0%, var(--white) 100%);
}

.comparison-system.off-grid::before {
  background: linear-gradient(180deg, var(--grey-100) 0%, var(--white) 100%);
}

.comparison-system.hybrid::before {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.comparison-system:hover {
  transform: translateY(-3px);
}

.system-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.35rem;
  color: var(--white);
  box-shadow: var(--sh-md);
  transition: transform var(--t-base) var(--ease-spring);
}

.comparison-system.on-grid .system-icon {
  background: var(--grad-sun);
  box-shadow: var(--sh-orange);
}

.comparison-system.off-grid .system-icon {
  background: linear-gradient(135deg, #7a8a9c, #46525f);
  box-shadow: 0 12px 26px rgba(70, 82, 95, 0.28);
}

.comparison-system.hybrid .system-icon {
  background: var(--grad-sky);
  box-shadow: var(--sh-blue);
}

.comparison-system:hover .system-icon {
  transform: rotate(-8deg) scale(1.1);
}

.comparison-system h4 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading);
}

.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.system-badge.popular {
  background: var(--orange-100);
  color: var(--orange-700);
}

.system-badge.independent {
  background: var(--grey-150);
  color: var(--grey-700);
}

.system-badge.premium {
  background: var(--blue-100);
  color: var(--blue-700);
}


/* ==========================================================================
   D. COMPARISON FEATURE COLUMN (LEFT LABELS)
   ========================================================================== */
.comparison-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
  color: var(--grey-800);
  background: var(--grey-50);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.comparison-feature i {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--white);
  color: var(--orange-600);
  font-size: 0.72rem;
  box-shadow: var(--sh-xs);
}

.comparison-feature:not(.comparison-head):hover i {
  transform: scale(1.1) rotate(-6deg);
  background: var(--orange-500);
  color: var(--white);
  transition: transform var(--t-base) var(--ease-spring),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
}

/* Hide top-left cell's border to blend with header */
.comparison-head {
  background: linear-gradient(135deg, var(--orange-100), var(--red-100)) !important;
  color: var(--orange-700) !important;
  border-top: 0;
  justify-content: center;
  text-align: center;
}


/* ==========================================================================
   E. COMPARISON CELLS + VALUES + TAGS
   ========================================================================== */
.comparison-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.9rem;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-soft);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
}

.comparison-cell:hover {
  background: var(--grey-25);
}

.comparison-cell i {
  font-size: 1.15rem;
  line-height: 1;
}

.comparison-cell i.success { color: var(--success); }
.comparison-cell i.danger  { color: var(--red-500); }

.comparison-cell.on-grid  { background-image: linear-gradient(180deg, rgba(255, 240, 220, 0.35), transparent 60%); }
.comparison-cell.off-grid { background-image: linear-gradient(180deg, rgba(230, 234, 239, 0.55), transparent 60%); }
.comparison-cell.hybrid   { background-image: linear-gradient(180deg, rgba(227, 242, 252, 0.5), transparent 60%); }

.feature-value {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading);
}

.feature-value.highlight {
  background-image: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-desc {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--text-mute);
  line-height: 1.35;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--grey-700);
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease-spring),
              border-color var(--t-base) var(--ease),
              color var(--t-fast) var(--ease);
}

.comparison-cell.on-grid .tag {
  border-color: var(--orange-200);
  color: var(--orange-700);
}

.comparison-cell.off-grid .tag {
  border-color: var(--grey-300);
  color: var(--grey-700);
}

.comparison-cell.hybrid .tag {
  border-color: var(--blue-200);
  color: var(--blue-700);
}

.tag:hover {
  transform: translateY(-2px);
}


/* ==========================================================================
   F. SOLUTIONS CARDS CONTAINER
   ========================================================================== */
.solutions-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}


/* ==========================================================================
   G. SOLUTION CARD BASE
   ========================================================================== */
.solution-card {
  --sc-accent: var(--orange-500);
  --sc-accent-soft: var(--orange-100);
  --sc-accent-line: var(--orange-300);
  --sc-accent-grad: var(--grad-sun);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 2px solid var(--sc-accent-line);
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--sc-accent-grad);
  z-index: 2;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--sc-accent);
}


/* ==========================================================================
   H. SOLUTION HEADER (ICON + TITLE + BADGE)
   ========================================================================== */
.solution-header {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, var(--sc-accent-soft) 0%, var(--white) 100%);
  border-bottom: 2px dashed var(--sc-accent-line);
}

.solution-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--sc-accent-grad);
  color: var(--white);
  font-size: 1.9rem;
  box-shadow: 0 14px 30px rgba(255, 154, 46, 0.32);
  transition: transform var(--t-slow) var(--ease-spring);
}

.solution-card:hover .solution-icon {
  transform: rotate(-8deg) scale(1.1);
}

.solution-title h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1.15;
}

.solution-subtitle {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--sc-accent);
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--sc-accent-line);
  font-family: var(--font-head);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sc-accent);
  box-shadow: var(--sh-xs);
  white-space: nowrap;
  animation: pulseSoft 3.4s ease-in-out infinite;
}

.solution-badge i {
  font-size: 0.9em;
  animation: wiggle 3.6s ease-in-out infinite;
}


/* ==========================================================================
   I. SOLUTION CONTENT WRAPPER
   ========================================================================== */
.solution-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}


/* ==========================================================================
   J. SOLUTION DIAGRAM (FLOW CHART)
   ========================================================================== */
.solution-diagram {
  position: relative;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 240, 220, 0.6), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(227, 242, 252, 0.6), transparent 45%),
    var(--grey-25);
  border: 2px dashed var(--border);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: max-content;
  padding: 0.5rem 0.25rem;
}

.diagram-node {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--border);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.diagram-node.sun      { color: var(--orange-600); border-color: var(--orange-300); background: var(--orange-50); }
.diagram-node.panel    { color: var(--blue-600);   border-color: var(--blue-300);   background: var(--blue-50); }
.diagram-node.inverter { color: #7c3aed;           border-color: #c4b5fd;          background: #f3e8ff; }
.diagram-node.grid     { color: var(--grey-700);   border-color: var(--grey-300);   background: var(--grey-50); }
.diagram-node.battery  { color: var(--success);    border-color: #a8dcc2;           background: var(--success-soft); }
.diagram-node.home     { color: var(--red-600);    border-color: var(--red-300);    background: var(--red-50); }

.diagram-node:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--sh-md);
}

.diagram-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  color: var(--grey-400);
  font-size: 1rem;
  animation: dashMove 2.4s linear infinite;
}

.diagram-label {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
  text-align: center;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}


/* ==========================================================================
   K. SOLUTION DETAILS (HOW IT WORKS, FEATURES, PROS/CONS)
   ========================================================================== */
.solution-details {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.solution-details > h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--heading);
}

.solution-details > h4 i {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--sc-accent-soft);
  color: var(--sc-accent);
  font-size: 0.85rem;
}

.solution-details > p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-soft);
}

/* ---- Key Features Grid ---- */
.key-features {
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  background: var(--sc-accent-soft);
  border: 1px solid var(--sc-accent-line);
}

.key-features h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--heading);
}

.key-features h4 i {
  color: var(--star);
  animation: blink 2.6s ease-in-out infinite;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0.6rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  color: var(--grey-800);
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--sc-accent-line);
  box-shadow: var(--sh-sm);
}

.feature i {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.65rem;
}

/* ---- Pros / Cons ---- */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
}

.pros,
.cons {
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.pros {
  background: var(--success-soft);
  border-color: #bfe7d1;
}

.cons {
  background: var(--red-50);
  border-color: var(--red-200);
}

.pros h4,
.cons h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
}

.pros h4 { color: #1f6f48; }
.cons h4 { color: var(--red-700); }

.pros h4 i,
.cons h4 i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--white);
  font-size: 0.75rem;
}

.pros h4 i { color: var(--success); }
.cons h4 i { color: var(--red-500); }

.pros ul,
.cons ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pros li,
.cons li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--grey-700);
}

.pros li i,
.cons li i {
  flex: none;
  margin-top: 0.15rem;
  font-size: 0.72rem;
}

.pros li i { color: var(--success); }
.cons li i { color: var(--red-500); }

/* ---- Recommendation Box ---- */
.recommendation {
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(255, 249, 241, 0.95), rgba(255, 240, 220, 0.9));
  border: 2px dashed var(--orange-300);
}

.solution-card.off-grid-card .recommendation {
  background: linear-gradient(135deg, rgba(248, 250, 251, 0.95), rgba(230, 234, 239, 0.9));
  border-color: var(--grey-400);
}

.solution-card.hybrid-card .recommendation {
  background: linear-gradient(135deg, rgba(242, 249, 254, 0.95), rgba(227, 242, 252, 0.9));
  border-color: var(--blue-300);
}

.recommendation h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
}

.recommendation h4 i {
  color: var(--orange-500);
  animation: blink 2.4s ease-in-out infinite;
}

.solution-card.off-grid-card .recommendation h4 i { color: var(--grey-600); }
.solution-card.hybrid-card  .recommendation h4 i { color: var(--blue-500); }

.recommendation p {
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

.suitable-for {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.suitable-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--grey-800);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base) var(--ease-spring),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.suitable-tag:hover {
  transform: translateY(-3px);
  border-color: var(--sc-accent-line);
  box-shadow: var(--sh-sm);
}


/* ==========================================================================
   L. SOLUTION FOOTER (PRICE + CTA)
   ========================================================================== */
.solution-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.6rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.4rem, 3vw, 2.2rem);
  background: var(--grey-50);
  border-top: 1px solid var(--border);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.price-range > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sc-accent-soft);
  color: var(--sc-accent);
  font-size: 1.05rem;
}

.price-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.price-label {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-value {
  font-family: var(--font-head);
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.solution-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 0 1 auto;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  background-image: var(--sc-accent-grad);
  background-size: 170% 170%;
  color: var(--white);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(255, 154, 46, 0.32);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) var(--ease),
              background-position var(--t-base) var(--ease);
}

.solution-card.off-grid-card .solution-cta {
  box-shadow: 0 12px 26px rgba(70, 82, 95, 0.28);
}

.solution-card.hybrid-card .solution-cta {
  box-shadow: var(--sh-blue);
}

.solution-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-18deg);
}

.solution-cta:hover {
  color: var(--white);
  transform: translateY(-3px);
  background-position: 100% 50%;
}

.solution-cta:hover::after {
  animation: sheen 0.9s var(--ease) 1;
}

.solution-cta i {
  transition: transform var(--t-base) var(--ease-spring);
}

.solution-cta:hover i {
  transform: scale(1.15) rotate(-8deg);
}

.solution-cta:active {
  transform: translateY(0) scale(0.97);
}


/* ==========================================================================
   M. PER-CARD ACCENTS  (On / Off / Hybrid)
   ========================================================================== */
.solution-card.on-grid-card {
  --sc-accent: var(--orange-500);
  --sc-accent-soft: var(--orange-100);
  --sc-accent-line: var(--orange-300);
  --sc-accent-grad: var(--grad-sun);
}

.solution-card.off-grid-card {
  --sc-accent: #46525f;
  --sc-accent-soft: #eef1f5;
  --sc-accent-line: #b9c2cd;
  --sc-accent-grad: linear-gradient(135deg, #7a8a9c 0%, #46525f 100%);
}

.solution-card.off-grid-card .solution-icon {
  box-shadow: 0 12px 26px rgba(70, 82, 95, 0.28);
}

.solution-card.off-grid-card .solution-badge {
  color: var(--grey-700);
  border-color: var(--grey-300);
}

.solution-card.off-grid-card .solution-subtitle {
  color: var(--grey-600);
}

.solution-card.off-grid-card::before {
  background: linear-gradient(90deg, #8d99a8, #46525f, #8d99a8);
  background-size: 200% 100%;
  animation: gradientShift 6s linear infinite;
}

.solution-card.off-grid-card .price-range > i {
  background: var(--grey-150);
  color: var(--grey-700);
}

.solution-card.hybrid-card {
  --sc-accent: var(--blue-500);
  --sc-accent-soft: var(--blue-100);
  --sc-accent-line: var(--blue-300);
  --sc-accent-grad: var(--grad-sky);
}

.solution-card.hybrid-card .solution-icon {
  box-shadow: var(--sh-blue);
}

.solution-card.hybrid-card .solution-subtitle {
  color: var(--blue-600);
}

.solution-card.hybrid-card::before {
  background: linear-gradient(90deg, var(--blue-400), var(--orange-400), var(--blue-400));
  background-size: 200% 100%;
  animation: gradientShift 6s linear infinite;
}


/* ==========================================================================
   N. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ---- Large desktop ---- */
@media (min-width: 1600px) {
  .comparison-grid {
    grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(0, 1.5fr));
  }
}

/* ---- Mid laptops (tablet-comparison-table shrink) ---- */
@media (max-width: 1100px) {
  .comparison-grid {
    grid-template-columns: minmax(130px, 1fr) repeat(3, minmax(0, 1.3fr));
  }

  .comparison-feature {
    padding: 0.85rem 0.8rem;
    font-size: 0.72rem;
  }

  .comparison-feature i {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }

  .comparison-cell {
    padding: 0.9rem 0.6rem;
    font-size: 0.78rem;
  }

  .system-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    border-radius: 14px;
  }

  .comparison-system h4 {
    font-size: 0.92rem;
  }

  .system-badge {
    font-size: 0.55rem;
    padding: 0.2rem 0.55rem;
  }
}

/* ---- Tablet: stack comparison table into scrollable ---- */
@media (max-width: 900px) {
  .comparison-table {
    padding: 1rem;
    border-radius: var(--r-lg);
  }

  .table-title {
    flex-direction: column;
    gap: 0.6rem;
  }

  .table-title > i {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 15px;
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) repeat(3, minmax(0, 1.2fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    min-width: max-content;
    width: 100%;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-feature {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--grey-100);
    box-shadow: 4px 0 10px rgba(31, 52, 77, 0.06);
  }

  .comparison-feature.comparison-head {
    z-index: 4;
    background: linear-gradient(135deg, var(--orange-100), var(--red-100)) !important;
    box-shadow: 4px 0 10px rgba(31, 52, 77, 0.08);
  }
}

/* ---- Large mobile ---- */
@media (max-width: 768px) {
  .solution-header {
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 1.2rem 1.2rem;
  }

  .solution-badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.2rem;
  }

  .solution-icon {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
    border-radius: 18px;
  }

  .solution-content {
    padding: 1.2rem;
  }

  .solution-footer {
    padding: 1.1rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .price-range {
    justify-content: flex-start;
  }

  .solution-cta {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .pros-cons {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Small mobile ---- */
@media (max-width: 575px) {
  .comparison-table {
    padding: 0.8rem;
    border-radius: var(--r-md);
  }

  .table-header {
    padding-bottom: 1rem;
  }

  .table-title h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .table-subtitle {
    font-size: 0.8rem;
  }

  .comparison-grid {
    grid-template-columns: minmax(110px, 1fr) repeat(3, minmax(0, 1.15fr));
  }

  .comparison-feature {
    padding: 0.7rem 0.6rem;
    font-size: 0.68rem;
    gap: 0.45rem;
  }

  .comparison-feature i {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .comparison-cell {
    padding: 0.8rem 0.45rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .system-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .comparison-system {
    padding: 1.1rem 0.5rem 1rem;
  }

  .comparison-system h4 {
    font-size: 0.82rem;
  }

  .system-badge {
    font-size: 0.5rem;
    padding: 0.18rem 0.5rem;
  }

  .feature-value {
    font-size: 0.78rem;
  }

  .feature-desc {
    font-size: 0.6rem;
  }

  .tag {
    font-size: 0.58rem;
    padding: 0.22rem 0.55rem;
  }

  /* ---- Cards ---- */
  .solution-card {
    border-radius: var(--r-lg);
  }

  .solution-header {
    padding: 1.1rem 1rem;
  }

  .solution-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    border-radius: 16px;
  }

  .solution-title h3 {
    font-size: 1.15rem;
  }

  .solution-subtitle {
    font-size: 0.8rem;
  }

  .solution-badge {
    font-size: 0.6rem;
    padding: 0.4rem 0.85rem;
  }

  .solution-content {
    padding: 1rem;
    gap: 1.1rem;
  }

  .solution-diagram {
    padding: 0.9rem 0.7rem;
    border-radius: var(--r-md);
  }

  .diagram-node {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    border-radius: 14px;
  }

  .diagram-arrow {
    width: 16px;
    font-size: 0.85rem;
  }

  .diagram-label {
    font-size: 0.7rem;
    margin-top: 0.75rem;
    padding-top: 0.7rem;
  }

  .solution-details > h4 {
    font-size: 0.92rem;
  }

  .solution-details > p {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .key-features {
    padding: 1rem 0.9rem;
  }

  .key-features h4 {
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .feature {
    padding: 0.55rem 0.7rem;
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .feature i {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .pros,
  .cons {
    padding: 1rem 0.9rem;
    border-radius: var(--r-sm);
  }

  .pros h4,
  .cons h4 {
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
  }

  .pros h4 i,
  .cons h4 i {
    width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }

  .pros li,
  .cons li {
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .recommendation {
    padding: 1rem 0.9rem;
    border-radius: var(--r-sm);
  }

  .recommendation h4 {
    font-size: 0.9rem;
  }

  .recommendation p {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .suitable-tag {
    font-size: 0.6rem;
    padding: 0.35rem 0.7rem;
  }

  .solution-footer {
    padding: 1rem;
    gap: 0.9rem;
  }

  .price-range > i {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
    border-radius: 12px;
  }

  .price-label {
    font-size: 0.6rem;
  }

  .price-value {
    font-size: 0.88rem;
  }

  .solution-cta {
    padding: 0.85rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* ---- Extra small mobile ---- */
@media (max-width: 400px) {
  .comparison-grid {
    grid-template-columns: minmax(96px, 1fr) repeat(3, minmax(0, 1.05fr));
  }

  .comparison-feature {
    padding: 0.6rem 0.45rem;
    font-size: 0.62rem;
  }

  .comparison-feature i {
    width: 18px;
    height: 18px;
    font-size: 0.55rem;
  }

  .comparison-cell {
    padding: 0.7rem 0.35rem;
    font-size: 0.66rem;
  }

  .system-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 11px;
  }

  .comparison-system h4 {
    font-size: 0.75rem;
  }

  .system-badge {
    font-size: 0.46rem;
    padding: 0.15rem 0.42rem;
  }

  .feature-value {
    font-size: 0.72rem;
  }

  .feature-desc {
    font-size: 0.56rem;
  }

  .tag {
    font-size: 0.54rem;
    padding: 0.18rem 0.5rem;
  }

  .solution-title h3 {
    font-size: 1.02rem;
  }

  .solution-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 14px;
  }

  .diagram-node {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .diagram-arrow {
    width: 12px;
    font-size: 0.75rem;
  }
}

/* ---- Landscape phone (very short viewport) ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .solutions-section {
    padding-block: 2.4rem;
  }

  .comparison-table {
    margin-bottom: 2rem;
  }

  .solution-diagram {
    padding: 0.8rem 0.6rem;
  }

  .diagram-node {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
}

/* ---- Touch devices: no hover transforms ---- */
@media (hover: none) {
  .solution-card:hover,
  .solution-card:hover .solution-icon,
  .feature:hover,
  .tag:hover,
  .suitable-tag:hover,
  .diagram-node:hover,
  .comparison-system:hover,
  .comparison-system:hover .system-icon {
    transform: none;
  }

  .solution-cta:hover::after {
    animation: none;
  }
}


/* ==========================================================================
   O. REDUCED MOTION + PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .solutions-section::before,
  .solutions-section::after,
  .table-title > i,
  .comparison-table::before,
  .solution-badge,
  .solution-badge i,
  .key-features h4 i,
  .recommendation h4 i,
  .diagram-arrow {
    animation: none !important;
  }

  .solution-card:hover,
  .solution-card:hover .solution-icon,
  .solution-cta:hover {
    transform: none !important;
  }
}

@media print {
  .solutions-section {
    padding-block: 1.4rem;
    background: #fff !important;
    content-visibility: visible;
  }

  .solutions-section::before,
  .solutions-section::after,
  .comparison-table::before,
  .solution-card::before,
  .solution-cta::after {
    display: none !important;
  }

  .solution-card,
  .comparison-table,
  .comparison-grid {
    box-shadow: none !important;
    border-color: #999 !important;
    break-inside: avoid;
  }

  .solution-cta {
    background: #eee !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   END — SOLAR SOLUTIONS SECTION
   ========================================================================== */


/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */