/* ============================================
   ELITE SOLAR — style.css
   Colors: Blue #1B67B0 | Gold #F4BD38 | Dark #0D1B2A
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #1B67B0;
  --blue-dark:   #134e8a;
  --blue-light:  #e8f1fb;
  --gold:        #F4BD38;
  --gold-dark:   #d9a520;
  --dark:        #0D1B2A;
  --dark-mid:    #1e3a54;
  --grey-light:  #F5F7FA;
  --grey-mid:    #e2e8f0;
  --grey-text:   #5a7184;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(13,27,42,0.08);
  --shadow-md:   0 6px 24px rgba(13,27,42,0.12);
  --shadow-lg:   0 16px 48px rgba(13,27,42,0.16);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --transition:  all 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-white { color: var(--white) !important; }
.text-gold  { color: var(--gold) !important; }
.text-blue  { color: var(--blue) !important; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 3rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,189,56,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,103,176,0.35);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* ---------- CSS LOGO ---------- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark svg {
  display: block;
  transition: var(--transition);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-elite {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.logo-solar {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

/* When navbar scrolls to white — flip logo text colours */
.navbar.scrolled .logo-elite {
  color: var(--blue);
}

.navbar.scrolled .logo-solar {
  color: var(--blue-dark);
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 0;
}

.navbar.scrolled .nav-link {
  color: var(--dark);
}

.navbar.scrolled .nav-logo-text {
  color: var(--blue);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--white); }

.navbar.scrolled .nav-link:hover { color: var(--blue); }

.nav-cta {
  margin-left: 1rem;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--dark);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1a4a7a 100%);
}

/* Signature diagonal gold accent */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: linear-gradient(135deg, rgba(244,189,56,0.08) 0%, rgba(27,103,176,0.15) 100%);
  transform: skewX(-8deg);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244,189,56,0.15);
  border: 1px solid rgba(244,189,56,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--gold);
  position: relative;
}

.hero-description {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-image-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-image-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.hero-image-card .card-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.hero-image-card .card-label {
  font-size: 0.78rem;
  color: var(--grey-text);
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--grey-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.9rem;
}

.service-card .service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--gold-dark);
}

/* ---------- WHY CHOOSE US ---------- */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.why-image-badge {
  position: absolute;
  top: 2rem;
  right: -2rem;
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.why-image-badge .badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.why-image-badge .badge-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-feature:hover {
  background: var(--grey-light);
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
  background: var(--blue);
}

.why-feature h4 {
  margin-bottom: 0.3rem;
}

.why-feature p {
  font-size: 0.9rem;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27,103,176,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works .section-title { color: var(--white); }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.6); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--blue));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--blue);
  border: 3px solid rgba(244,189,56,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: scale(1.1);
}

.step-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

/* ---------- CALCULATOR ---------- */
.calculator {
  background: var(--grey-light);
}

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-left {
  background: linear-gradient(160deg, var(--blue) 0%, var(--dark-mid) 100%);
  padding: 3rem;
  color: var(--white);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-left h2 { color: var(--white); margin-bottom: 0.75rem; }
.calc-left p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.calc-input-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.calc-value-display {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

/* Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(244,189,56,0.5);
  border: 3px solid var(--white);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--white);
}

.slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.calc-right {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-right h3 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.calc-result-card {
  background: var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--blue-light);
  transition: var(--transition);
}

.calc-result-card.highlight {
  background: var(--blue-light);
  border-left-color: var(--blue);
}

.calc-result-card.gold-highlight {
  background: rgba(244,189,56,0.1);
  border-left-color: var(--gold);
}

.result-label {
  font-size: 0.88rem;
  color: var(--grey-text);
  font-weight: 500;
}

.result-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.calc-result-card.gold-highlight .result-value {
  color: var(--gold-dark);
}

.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--grey-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  border: 2px solid transparent;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-savings {
  display: inline-block;
  background: rgba(27,103,176,0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  display: block;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--grey-text);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--grey-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--blue);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  gap: 1rem;
}

.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- CONTACT / QUOTE FORM ---------- */
.contact {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,189,56,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-info h2 { color: var(--white); }
.contact-info .section-eyebrow { color: var(--gold); }
.contact-info p { color: rgba(255,255,255,0.65); margin: 1rem 0 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(244,189,56,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.quote-form h3 {
  margin-bottom: 0.4rem;
}

.quote-form .form-subtitle {
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,103,176,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: rgba(34,197,94,0.1);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.2);
  display: block;
}

.form-status.error {
  background: rgba(239,68,68,0.1);
  color: #991b1b;
  border: 1px solid rgba(239,68,68,0.2);
  display: block;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- FEATURED ARTICLE ---------- */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.featured-article-img {
  position: relative;
  min-height: 380px;
}

.featured-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-article-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-body p {
  color: var(--grey-text);
  line-height: 1.75;
}

/* ---------- BLOG FILTERS ---------- */
.blog-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-text);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 600;
}

/* ---------- SUBSIDY TABLE ---------- */
.subsidy-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.subsidy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--white);
}

.subsidy-table thead {
  background: var(--blue);
  color: var(--white);
}

.subsidy-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subsidy-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--grey-mid);
  color: var(--dark);
}

.subsidy-table tbody tr:hover {
  background: var(--grey-light);
}

.subsidy-table tbody tr:last-child td {
  border-bottom: none;
}

.highlight-row {
  background: rgba(27,103,176,0.04);
}

.subsidy-amount {
  font-weight: 700;
  color: var(--blue);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.net-cost {
  font-weight: 600;
  color: #166534;
}

/* ---------- SUBSIDY NOTES ---------- */
.subsidy-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.subsidy-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--grey-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
}

.note-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.subsidy-note p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--grey-text);
}

/* ---------- BLOG RESPONSIVE ---------- */
@media (max-width: 768px) {
  .featured-article       { grid-template-columns: 1fr; }
  .featured-article-img   { min-height: 220px; }
  .featured-article-body  { padding: 1.5rem; }
  .subsidy-notes          { grid-template-columns: 1fr; }
}


.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.blog-hero h1 { color: var(--white); }
.blog-hero p  { color: rgba(255,255,255,0.65); margin: 1rem auto 0; max-width: 560px; }

.blog-section {
  padding: 80px 0;
  background: var(--grey-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--grey-text);
  display: flex;
  gap: 1rem;
}

/* ---------- UTILITY ---------- */
.bg-white    { background: var(--white); }
.bg-grey     { background: var(--grey-light); }
.bg-dark     { background: var(--dark); }
.bg-blue     { background: var(--blue); }

/* ---------- SCROLL ANIMATION ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid         { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .blog-grid          { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger       { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.4rem;
    color: var(--white);
  }

  .nav-links.open .nav-cta {
    display: block;
    margin-left: 0;
  }

  .hero-inner          { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-visual         { display: none; }
  .hero-stats          { gap: 1.25rem; flex-wrap: wrap; }

  .why-grid            { grid-template-columns: 1fr; }
  .why-image           { display: none; }

  .calc-wrap           { grid-template-columns: 1fr; }
  .calc-left           { min-height: auto; padding: 2rem; }
  .calc-right          { padding: 2rem; }

  .contact-inner       { grid-template-columns: 1fr; gap: 2.5rem; }

  .testimonials-grid   { grid-template-columns: 1fr; }

  .faq-grid            { grid-template-columns: 1fr; }

  .form-row            { grid-template-columns: 1fr; }

  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom       { flex-direction: column; text-align: center; }

  .blog-grid           { grid-template-columns: 1fr; }

  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid  { grid-template-columns: 1fr; }
  .hero-actions   { flex-direction: column; }
  .btn            { justify-content: center; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
