/* ============================================
   Solarize - Main Stylesheet
   Colors matched to Solarize logo:
   Sky Blue + Yellow
   ============================================ */

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

:root {
  /* Logo colors — deepened */
  --blue: #2196B8;
  --blue-dark: #1A7A96;
  --blue-deep: #146075;
  --yellow: #C9B520;
  --yellow-dark: #A89818;

  /* Primary = deep sky blue */
  --primary: #2196B8;
  --primary-dark: #1A7A96;

  /* Accent = deep gold/yellow */
  --accent: #C9B520;
  --accent-dark: #A89818;

  /* Neutrals */
  --dark: #1B2A3D;
  --dark-blue: #1E3448;
  --navy: #163050;
  --white: #ffffff;
  --light-gray: #f4f7f9;
  --gray: #6c757d;
  --text: #2d3748;
  --text-light: #5a6577;
  --green: #27ae60;

  /* Effects */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 150, 184, 0.4);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 181, 32, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(33, 150, 184, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
}

.mobile-toggle span:nth-child(1) {
  transform: translateY(-4px);
}

.mobile-toggle span:nth-child(2) {
  transform: scaleX(1);
}

.mobile-toggle span:nth-child(3) {
  transform: translateY(4px);
}

/* Active state — X animation */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(0.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-2px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/banner-img.jpg') center/cover no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.hero-centered .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-centered .hero-content p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 32px;
  max-width: 550px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}


/* ============================================
   Section Header (shared)
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ============================================
   About Split Section
   ============================================ */
.about-split {
  padding: 80px 0;
  background: var(--white);
}

.about-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-split-text h2 {
  color: var(--dark);
  margin-bottom: 20px;
}

.about-split-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-split-text .btn {
  margin-top: 8px;
}

/* ============================================
   Features Section (4-column)
   ============================================ */
.features-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--dark);
}

.feature-item p {
  font-size: 0.92rem;
}

/* ============================================
   Products Showcase (2-column)
   ============================================ */
.products-showcase {
  padding: 80px 0;
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.showcase-card {
  display: block;
  background: var(--white);
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.showcase-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.showcase-img {
  height: 240px;
  overflow: hidden;
  background: var(--light-gray);
}

.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img img {
  transform: scale(1.05);
}

.showcase-card h3 {
  padding: 24px 24px 8px;
  color: var(--dark);
  font-size: 1.3rem;
}

.showcase-card p {
  padding: 0 24px;
  font-size: 0.95rem;
}

.showcase-link {
  display: inline-block;
  padding: 16px 24px 24px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   Financing Plans
   ============================================ */
.financing {
  padding: 80px 0;
  background: var(--white);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.plan-card {
  background: var(--white);
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border-color: var(--primary);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.plan-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.plan-card .plan-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  min-height: 48px;
}

.plan-features {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.plan-divider {
  height: 1px;
  background: #e0e6ed;
  margin: 16px 0;
}

.plan-detail {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.plan-detail strong {
  color: var(--text);
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ============================================
   Testimonials / Reviews
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--light-gray);
}

.testimonials .section-header h2 {
  color: var(--dark);
}

.testimonials .section-header p {
  color: var(--text-light);
}

/* ============================================
   Steps / Process
   ============================================ */
.steps {
  padding: 80px 0;
  background: var(--white);
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  text-align: center;
  flex: 1;
  max-width: 260px;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(33, 150, 184, 0.3);
}

.timeline-connector {
  height: 3px;
  flex: 0 1 80px;
  background: var(--primary);
  opacity: 0.35;
  margin-top: 27px;
  border-radius: 2px;
}

.timeline-step h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.timeline-step p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--primary) 100%);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.cta-phone:hover {
  color: var(--accent);
}

.cta-final {
  background: var(--primary);
}

.cta-final .btn-white:hover {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(201, 181, 32, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-brand .logo img {
  height: 45px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(33, 150, 184, 0.4);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-social svg {
  width: 28px;
  height: 28px;
  fill: var(--dark);
}

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

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-credentials img {
  height: 56px;
}

.footer-credentials span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

/* ============================================
   Page Header (inner pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* ============================================
   About / Who We Are
   ============================================ */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: 20px;
  color: var(--dark);
}

.about-content p {
  margin-bottom: 16px;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================
   Partners
   ============================================ */
.partners-section {
  padding: 80px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.partner-card {
  background: var(--white);
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.partner-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.partner-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.partner-logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.partner-card p {
  font-size: 0.85rem;
}

/* ============================================
   Product Pages (FranklinWH, EV, SPAN)
   ============================================ */
.product-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.product-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.product-details {
  padding: 80px 0;
  background: var(--light-gray);
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-row-reverse {
  flex-direction: row-reverse;
}

.detail-img {
  flex: 1;
  min-width: 0;
}

.detail-img img {
  width: 100%;
  border-radius: 12px;
}

.detail-text {
  flex: 1;
  min-width: 0;
}

.detail-text h2 {
  color: var(--dark);
  margin-bottom: 16px;
}

.detail-text p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--light-gray);
}

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
}

.feature-row:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-row-img {
  flex-shrink: 0;
}

.feature-row-img img {
  width: auto;
  max-width: 300px;
  max-height: 220px;
  border-radius: 8px;
  object-fit: contain;
}

.feature-row-text h3 {
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-row-text h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.feature-card h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e0e6ed;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(33, 150, 184, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-info-card h4 {
  margin-bottom: 4px;
  color: var(--dark);
}

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

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Get Started / Form Page
   ============================================ */
.get-started-section {
  padding: 80px 0;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 50px 40px;
  box-shadow: var(--shadow);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-container > p {
  text-align: center;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e6ed;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33, 150, 184, 0.15);
}

.form-group .required {
  color: #e53e3e;
  font-weight: 700;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.form-group .error-message {
  display: block;
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 4px;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 20px 0;
  line-height: 1.5;
}

.form-container .btn {
  width: 100%;
}

/* ============================================
   Careers
   ============================================ */
.careers-section {
  padding: 80px 0;
}

.careers-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.careers-intro p {
  font-size: 1.05rem;
}

.job-card {
  background: var(--white);
  border: 2px solid #e0e6ed;
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.job-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.job-card p {
  margin-bottom: 16px;
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.job-tag {
  background: rgba(33, 150, 184, 0.1);
  color: var(--blue-deep);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   Privacy Policy
   ============================================ */
.privacy-section {
  padding: 80px 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--dark);
}

.privacy-content p {
  margin-bottom: 14px;
}

/* ============================================
   Responsive — Nav collapse (945px)
   ============================================ */
@media (max-width: 1010px) {
  .nav {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
    gap: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    z-index: 999;
    animation: navSlideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav.active {
    display: flex;
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav a {
    padding: 12px 16px;
    width: 100%;
    font-size: 0.95rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    min-width: 0;
    border: none;
    background: none;
  }

  .nav-dropdown .dropdown-menu a {
    padding: 12px 16px 12px 32px;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }
}

/* ============================================
   Responsive — Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-split-inner {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

  .contact-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* ============================================
   Responsive — Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .logo img {
    height: 40px;
  }

  /* Hero */
  .hero::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-content {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }


  /* Grids go single column */
  .features-grid-4,
  .showcase-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .about-split-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-split-image img {
    height: 300px;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-connector {
    width: 3px;
    height: 32px;
    flex: none;
    margin-top: 0;
  }

  .about-grid,
  .product-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-row,
  .detail-row-reverse {
    flex-direction: column;
    gap: 30px;
  }

  .product-details {
    padding: 50px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .feature-row {
    flex-direction: column;
    text-align: center;
  }

  .feature-row-img img {
    max-width: 100%;
  }

  /* Sections reduced padding */
  .about-split,
  .features-section,
  .products-showcase,
  .financing,
  .steps,
  .testimonials,
  .faq-section,
  .gallery-section,
  .about-section,
  .partners-section,
  .careers-section,
  .contact-section,
  .get-started-section,
  .privacy-section,
  .product-features {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .cta-section {
    padding: 50px 0;
  }

  /* Page header */
  .page-header {
    padding: 110px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .product-hero {
    padding: 110px 0 50px;
  }

  .product-hero h1 {
    font-size: 2rem;
  }

  /* Cards */
  .partner-card {
    padding: 24px 16px;
  }

  .partner-logo span {
    font-size: 1.1rem;
  }

  .feature-card {
    padding: 24px;
  }

  .job-card {
    padding: 24px;
  }

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

  .form-container {
    padding: 30px 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

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

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    justify-items: center;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-credentials {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

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

  .footer-brand .logo img {
    margin: 0 auto;
  }

  .footer-brand p {
    margin: 16px auto 0;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  /* Contact map */
  .contact-map {
    min-height: 300px;
  }

  /* About image */
  .about-image img {
    height: 280px;
  }
}

/* ============================================
   Responsive — Small mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
  }

  .cta-phone {
    font-size: 1.6rem;
  }

  .plan-card {
    padding: 30px 24px;
  }

  .timeline-marker {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
  }

  .page-header {
    padding: 100px 0 30px;
  }

  .product-hero {
    padding: 100px 0 40px;
  }

  .form-container {
    padding: 24px 16px;
    border: none;
    box-shadow: none;
  }
}
