/* ============================================
   YORK SOLAR - Main Stylesheet
   ============================================ */

:root {
  --yellow: #F5B800;
  --yellow-dark: #D4A000;
  --yellow-light: #FFF3CC;
  --green: #1A7A4A;
  --green-dark: #145E3A;
  --green-light: #E8F5EE;
  --dark: #1A1A2E;
  --dark-2: #2D2D44;
  --grey-100: #F8F9FA;
  --grey-200: #E9ECEF;
  --grey-300: #DEE2E6;
  --grey-500: #6C757D;
  --grey-700: #495057;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   ICONS
   ============================================ */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }
.icon-2xl { width: 64px; height: 64px; }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--green-light); color: var(--green);
}
.icon-circle .icon { stroke: var(--green); }
.icon-circle-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.icon-circle-yellow .icon { stroke: var(--yellow-dark); }
.icon-circle-red { background: #FFF0F0; color: #CC3333; }
.icon-circle-red .icon { stroke: #CC3333; }
.icon-circle-green { background: var(--green-light); color: var(--green); }
.icon-circle-green .icon { stroke: var(--green); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
  height: 70px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; height: 40px; }
.logo img { height: 40px; width: auto; display: block; }
.logo-text { font-size: 1.2rem; font-weight: 900; color: var(--green); letter-spacing: -0.02em; }
.logo:hover { opacity: 1; }
.logo:hover .logo-text { color: var(--green-dark); }
.logo-icon { font-size: 1.5rem; }
.main-nav { display: flex; gap: 1.5rem; }
.main-nav a {
  font-weight: 500; color: var(--grey-700); padding: 0.5rem 0;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.main-nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.btn-header { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: var(--transition); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block; padding: 0.875rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-align: center; cursor: pointer;
  border: none; transition: all var(--transition); font-family: var(--font);
}
.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(245,184,0,0.4); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(26,122,74,0.75));
  z-index: 2;
}
.hero-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 3; color: var(--white); max-width: 700px; padding: 4rem 0; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--yellow); }
.hero-content p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; max-width: 550px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--yellow); }
.hero-stat-label { font-size: 0.875rem; opacity: 0.8; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--grey-100); }
.section-green { background: var(--green); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--grey-500); }
.section-green .section-header p { color: rgba(255,255,255,0.8); }

/* ============================================
   GRID
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); transition: all var(--transition);
  text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .icon-circle {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
}
.feature-card .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--grey-500); font-size: 0.95rem; }

/* ============================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); position: relative;
}
.testimonial::before {
  content: '"'; font-size: 4rem; color: var(--yellow); position: absolute;
  top: 0.5rem; left: 1.5rem; line-height: 1; font-family: Georgia, serif;
}
.testimonial p { color: var(--grey-700); font-style: italic; margin-bottom: 1.5rem; padding-top: 2rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--yellow-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--green);
}
.testimonial-name { font-weight: 600; }
.testimonial-location { font-size: 0.875rem; color: var(--grey-500); }
.stars { display: flex; gap: 2px; margin-bottom: 0.5rem; }
.stars .icon { width: 16px; height: 16px; fill: var(--yellow); stroke: var(--yellow); }

.trust-badges { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.trust-badge { text-align: center; opacity: 0.7; }
.trust-badge .icon-circle { width: 48px; height: 48px; margin: 0 auto 0.5rem; }
.trust-badge .icon { width: 22px; height: 22px; }
.trust-badge span { display: block; font-size: 0.875rem; font-weight: 600; }

/* ============================================
   YOUTUBE SECTION
   ============================================ */
.video-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/9; background: var(--dark); cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.video-play-btn .icon { width: 28px; height: 28px; fill: var(--dark); stroke: var(--dark); margin-left: 3px; }
.video-placeholder:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* ============================================
   CALCULATOR
   ============================================ */
.calculator {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-lg); max-width: 600px; margin: 0 auto;
}
.calc-group { margin-bottom: 1.5rem; }
.calc-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.calc-group input, .calc-group select {
  width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--grey-200);
  border-radius: var(--radius); font-size: 1rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.calc-group input:focus, .calc-group select:focus { outline: none; border-color: var(--green); }
.calc-results {
  display: none; margin-top: 2rem; padding-top: 2rem;
  border-top: 2px solid var(--grey-200);
}
.calc-results h3 { margin-bottom: 1rem; color: var(--green); }
.calc-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.calc-result-item { text-align: center; padding: 1rem; background: var(--grey-100); border-radius: var(--radius); }
.calc-result-value { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.calc-result-label { font-size: 0.8rem; color: var(--grey-500); margin-top: 0.25rem; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { text-align: center; }
.process-step .icon-circle {
  width: 56px; height: 56px; margin: 0 auto 1rem; background: var(--green); color: var(--white);
}
.process-step .icon { width: 24px; height: 24px; stroke: var(--white); stroke-width: 2; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--grey-500); font-size: 0.9rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact-page { padding: 6rem 0 4rem; }
.contact-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.contact-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.contact-header p { color: var(--grey-500); font-size: 1.05rem; margin-bottom: 0.75rem; }
.contact-header strong { color: var(--grey-700); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.form-intro { color: var(--grey-500); margin-bottom: 2rem; }
.form-note { margin-top: 1rem; font-size: 0.8rem; color: var(--grey-500); text-align: center; }
.contact-intro { opacity: 0.8; margin-bottom: 2rem; }
.contact-note { opacity: 0.7; font-size: 0.9rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--grey-200);
  border-radius: var(--radius); font-size: 1rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: none; background: var(--green-light); color: var(--green-dark);
  padding: 1rem; border-radius: var(--radius); margin-top: 1rem; font-weight: 600;
}
.contact-info-card { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: 3rem; }
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-detail .icon { width: 20px; height: 20px; stroke: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin-bottom: 0.25rem; }

/* ============================================
   PAGE CONTENT (About, etc)
   ============================================ */
.page-content { max-width: 800px; margin: 0 auto; padding: 6rem 1.5rem 4rem; }
.page-content h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; padding-top: 2rem; }
.page-content h2 { font-size: 1.75rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--green); }
.page-content p { margin-bottom: 1rem; color: var(--grey-700); font-size: 1.05rem; }
.page-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--grey-700); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white) !important; text-align: center; padding: 4rem 2rem; border-radius: var(--radius-lg);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: var(--white) !important; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--white) !important; }

/* ============================================
   SERVICE PAGES
   ============================================ */
.service-hero {
  position: relative; min-height: 500px; display: flex; align-items: center;
  padding-top: 70px; overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 100%);
}
.service-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,184,0,0.08) 0%, transparent 70%);
  border-radius: 50%; z-index: 1; pointer-events: none;
}
.service-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(20,209,109,0.06) 0%, transparent 70%);
  border-radius: 50%; z-index: 1; pointer-events: none;
}
.service-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.9), rgba(20,94,58,0.85));
  z-index: 1;
}
.service-hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; padding: 4rem 0; }
.service-hero-badge-wrap {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.service-hero-badge-accent {
  width: 40px; height: 3px; background: var(--yellow); border-radius: 3px; flex-shrink: 0;
}
.service-hero-badge {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.service-hero h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.service-hero p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2rem; max-width: 550px; }
.service-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline-light {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5);
  padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem;
  display: inline-block; text-align: center; transition: all var(--transition); cursor: pointer;
}
.btn-outline-light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

/* Stats Bar */
.service-stats-bar { background: var(--white); border-bottom: 1px solid var(--grey-200); padding: 2rem 0; }
.service-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.service-stat { text-align: center; }
.service-stat-number { font-size: 2rem; font-weight: 800; color: var(--green); }
.service-stat-label { font-size: 0.875rem; color: var(--grey-500); margin-top: 0.25rem; }

/* Service Sections */
.service-section { padding: 5rem 0; }
.service-section-alt { background: var(--grey-100); }
.service-section-green { background: var(--green); color: var(--white); }
.service-section-green .section-header h2 { color: var(--white); }
.service-section-green .section-header p { color: rgba(255,255,255,0.8); }
.service-section-cta { padding: 4rem 0; }

/* Feature Cards Large */
.feature-card-lg { padding: 2.5rem; text-align: center; }
.feature-card-lg .icon-circle { width: 72px; height: 72px; margin: 0 auto 1.5rem; }
.feature-card-lg .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.feature-card-lg h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

/* Process Steps 5 */
.process-steps-5 { grid-template-columns: repeat(5, 1fr); }

/* Panel Showcase */
.panel-showcase { max-width: 800px; margin: 0 auto; }
.panel-spec-card {
  display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem;
  background: var(--grey-100); border-radius: var(--radius); margin-bottom: 1rem;
  border-left: 4px solid var(--green);
}
.panel-spec-card .icon-circle { width: 48px; height: 48px; flex-shrink: 0; }
.panel-spec-card .icon { width: 22px; height: 22px; }
.panel-spec-card strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.panel-spec-card p { color: var(--grey-500); font-size: 0.9rem; margin: 0; }

/* Difference List */
.difference-list { display: flex; flex-direction: column; gap: 1.5rem; }
.difference-item {
  display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.difference-item .icon-circle { width: 48px; height: 48px; flex-shrink: 0; }
.difference-item .icon { width: 22px; height: 22px; }
.difference-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.difference-item p { color: var(--grey-500); font-size: 0.95rem; margin: 0; }

/* Testimonial Featured */
.testimonial-featured {
  background: var(--green); color: var(--white); padding: 2.5rem; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: center;
}
.testimonial-featured .testimonial-avatar { background: rgba(255,255,255,0.2); color: var(--white); }
.testimonial-featured .testimonial-location { color: rgba(255,255,255,0.7); }
.testimonial-featured p { color: var(--white) !important; }
.testimonial-featured .testimonial-name { color: var(--white); }

/* Problem/Solution */
.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.problem-box, .solution-box {
  padding: 2.5rem; border-radius: var(--radius-lg);
}
.problem-box { background: #FFF5F5; border: 2px solid #FFCACA; }
.solution-box { background: var(--green-light); border: 2px solid #A0D8B8; }
.problem-box h3 { color: #CC3333; font-size: 1.3rem; margin-bottom: 1rem; }
.solution-box h3 { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 1rem; }
.problem-box p, .solution-box p { margin-bottom: 1.5rem; }

.flow-diagram { display: flex; flex-direction: column; gap: 0.5rem; }
.flow-item {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem;
  padding: 0.5rem 0.75rem; background: rgba(255,255,255,0.6); border-radius: 8px;
}
.flow-arrow.lost { color: #CC3333; }
.flow-arrow.small { font-size: 0.8rem; opacity: 0.7; }

/* Battery Grid */
.battery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.battery-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); border: 2px solid var(--grey-200); transition: all var(--transition);
}
.battery-card:hover { border-color: var(--green); transform: translateY(-2px); }
.battery-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.battery-brand {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--grey-500); background: var(--grey-100); padding: 0.25rem 0.75rem; border-radius: 50px;
}
.battery-name { font-size: 1.25rem; font-weight: 700; }
.battery-card p { color: var(--grey-500); font-size: 0.95rem; margin-bottom: 1rem; }
.battery-specs { display: flex; gap: 1rem; }
.battery-specs span {
  font-size: 0.8rem; font-weight: 600; color: var(--green);
  background: var(--green-light); padding: 0.35rem 0.75rem; border-radius: 50px;
}

/* Banner Split */
.banner-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: var(--grey-100); border-radius: var(--radius-lg); padding: 3rem;
}
.banner-split-content h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.banner-split-content p { color: var(--grey-500); margin-bottom: 0.75rem; }
.energy-flow {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.energy-flow-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem;
  background: var(--white); border-radius: var(--radius); width: 100%;
  box-shadow: var(--shadow);
}
.energy-flow-item .icon-circle { width: 40px; height: 40px; flex-shrink: 0; }
.energy-flow-item .icon { width: 20px; height: 20px; }
.energy-flow-arrow { font-size: 1.5rem; color: var(--green); font-weight: bold; }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1.05rem;
  transition: all var(--transition);
}
.faq-question:hover { background: var(--grey-100); }
.faq-question.active { color: var(--green); }
.faq-toggle { font-size: 1.5rem; color: var(--grey-500); transition: transform var(--transition); }
.faq-question.active .faq-toggle { transform: rotate(45deg); color: var(--green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.active { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--grey-500); margin: 0; }

/* Calculator in green section */
.calc-disclaimer { margin-top: 1.5rem; font-size: 0.85rem; color: var(--grey-500); text-align: center; }
.service-section-green .calc-group label { color: var(--dark); }

/* ============================================
   SERVICE CONTENT
   ============================================ */
.service-content {
  padding: 0;
}
.service-content .section:first-child {
  padding-top: 5rem;
}
.service-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.service-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-content p {
  color: var(--grey-500);
  margin-bottom: 1rem;
}
.service-content hr {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin: 3rem 0;
}

/* ============================================
   BLOG
   ============================================ */
.blog-page { padding: 6rem 0 4rem; }
.blog-categories { display: flex; gap: 0.75rem; margin: 1.5rem 0; flex-wrap: wrap; }
.blog-cat-btn {
  padding: 0.5rem 1.25rem; border-radius: 50px; font-weight: 500; font-size: 0.9rem;
  background: var(--grey-200); color: var(--grey-700); transition: all var(--transition);
}
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--green); color: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--grey-100); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--yellow-light), var(--green-light));
}
.blog-card-category {
  position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem;
  background: var(--green); color: var(--white); border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.blog-card-content { padding: 1.5rem; }
.blog-card-meta { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 0.5rem; }
.blog-card-content h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card-content h2 a { color: var(--dark); }
.blog-card-content h2 a:hover { color: var(--green); }
.blog-card-content p { color: var(--grey-500); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-read-more { font-weight: 600; font-size: 0.9rem; }

.blog-post { padding: 6rem 0 4rem; }
.blog-post-header { max-width: 800px; margin: 0 auto 2rem; text-align: center; }
.blog-post-meta { display: flex; justify-content: center; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.blog-post-category {
  padding: 0.25rem 0.75rem; background: var(--green); color: var(--white);
  border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.blog-post-meta time { color: var(--grey-500); font-size: 0.9rem; }
.blog-post-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.blog-post-author { color: var(--grey-500); }
.blog-post-hero-image { max-width: 900px; margin: 0 auto 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.blog-post-hero-image img { width: 100%; }
.blog-post-content { max-width: 800px; margin: 0 auto; }
.blog-post-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--green); }
.blog-post-content p { margin-bottom: 1rem; color: var(--grey-700); font-size: 1.05rem; line-height: 1.7; }
.blog-post-content ul, .blog-post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.blog-post-content li { margin-bottom: 0.5rem; color: var(--grey-700); }
.blog-post-footer { max-width: 800px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--grey-200); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps-5 { grid-template-columns: repeat(3, 1fr); }
  .problem-solution { grid-template-columns: 1fr; }
  .banner-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-header h1 { font-size: 1.75rem; }
  .service-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps-5 { grid-template-columns: 1fr; }
  .battery-grid { grid-template-columns: 1fr; }
  .difference-item { flex-direction: column; }
  .panel-spec-card { flex-direction: column; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--dark); color: var(--white); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--grey-500); margin-top: 0.75rem; font-size: 0.9rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; height: 36px; margin-bottom: 0.75rem; }
.footer-logo img { height: 36px; width: auto; display: block; }
.footer-logo-text { font-size: 1.1rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.footer-logo:hover .footer-logo-text { color: var(--yellow); }
.footer-links h4, .footer-contact h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--yellow); }
.footer-links a { display: block; color: var(--grey-300); margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: var(--grey-300); font-size: 0.9rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact p .icon { width: 16px; height: 16px; stroke: var(--yellow); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--dark-2); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: var(--grey-500); font-size: 0.875rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.active {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    padding: 1rem 1.5rem; box-shadow: var(--shadow);
    border-bottom: 1px solid var(--grey-200);
  }
  .mobile-menu-toggle { display: block; }
  .btn-header { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .calc-result-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { gap: 1.5rem; }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thank-you-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 1rem;
}

.thank-you-card {
  text-align: center;
  max-width: 520px;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-200);
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 1.5rem;
}

.thank-you-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.thank-you-message {
  font-size: 1.15rem;
  color: var(--grey-700);
  margin-bottom: 0.75rem;
}

.thank-you-sub {
  color: var(--grey-500);
  margin-bottom: 2rem;
}

.thank-you-sub a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.thank-you-sub a:hover {
  text-decoration: underline;
}
