/* ============================================================
   A1 SOLUTIONS — STYLES
   Colors: Navy (#1a2744), Amber (#e8a838), White (#ffffff)
   Font: Inter (Sans-serif)
   ============================================================ */

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

:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --navy-dark: #111c33;
  --amber: #e8a838;
  --amber-light: #f0be5e;
  --amber-dark: #c88f2a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green: #16a34a;
  --red: #dc2626;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.15);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --transition-fast: .2s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================== PRELOADER ======================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.preloader-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy);
  transition: transform var(--transition);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

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

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-tagline {
  font-size: .65rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: .5px;
}

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

.nav-link {
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--gray-100);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,168,56,.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

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

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

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=1080&fit=crop') center/cover no-repeat;
  opacity: .08;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(232,168,56,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(232,168,56,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
}

.hero-left {
  text-align: left;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image Grid */
.hero-right {
  position: relative;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,.1);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

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

.hero-img-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  aspect-ratio: 4 / 3;
}

.hero-img-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
}

.hero-img-3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  aspect-ratio: 4 / 3;
}

/* ======================== SECTIONS ======================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232,168,56,.1);
  color: var(--amber-dark);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ======================== ABOUT ======================== */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,168,56,.2);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 24px;
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-card p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ======================== SERVICES ======================== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card[data-service="manpower"] .service-icon {
  background: rgba(26,39,68,.08);
  color: var(--navy);
}

.service-card[data-service="realestate"] .service-icon {
  background: rgba(232,168,56,.1);
  color: var(--amber-dark);
}

.service-card[data-service="solar"] .service-icon {
  background: rgba(22,163,74,.08);
  color: var(--green);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-600);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--amber-dark);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
  color: var(--navy);
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ======================== SOLAR SECTION ======================== */
.solar-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

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

.solar-section .section-tag {
  background: rgba(232,168,56,.15);
  color: var(--amber);
}

.solar-section .section-title {
  color: var(--white);
}

.solar-desc {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.solar-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.solar-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.solar-benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(232,168,56,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.solar-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.solar-benefit h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.solar-benefit p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.solar-visual {
  position: relative;
}

.solar-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.solar-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solar-badge-card {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--amber);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.solar-badge-icon svg {
  width: 24px;
  height: 24px;
}

.solar-badge-card strong {
  font-size: .85rem;
  display: block;
  line-height: 1.2;
}

.solar-badge-card span {
  font-size: .7rem;
  opacity: .7;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ======================== PROCESS ======================== */
.process {
  background: var(--off-white);
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.process-step:hover .process-step-num {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  transform: scale(1.08);
}

.process-step-content {
  padding-top: 10px;
}

.process-step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step-content p {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ======================== PROJECTS ======================== */
.projects {
  background: var(--white);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--navy);
  background: var(--gray-200);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.project-card.hidden {
  display: none;
}

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

.project-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.06);
}

.project-info {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 50px;
  margin-bottom: 12px;
  background: rgba(232,168,56,.1);
  color: var(--amber-dark);
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-info p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ======================== STATS ======================== */
.stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.stat-icon {
  margin-bottom: 10px;
  color: var(--amber);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: inline;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber);
  display: inline;
}

.stat-label {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
  font-weight: 500;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,168,56,.2);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,168,56,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-dark);
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: var(--amber);
  color: var(--navy);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

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

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px 56px;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--amber);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--amber);
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.testimonial-author strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: .8rem;
  color: var(--gray-500);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.testimonial-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.testimonial-btn svg {
  width: 18px;
  height: 18px;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonials-dots .dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* ======================== FAQ ======================== */
.faq {
  background: var(--off-white);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active {
  border-color: rgba(232,168,56,.3);
  box-shadow: 0 4px 16px rgba(232,168,56,.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-question svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--gray-400);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  color: var(--amber);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s cubic-bezier(.4,0,.2,1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ======================== CTA SECTION ======================== */
.cta-section {
  background: var(--white);
  padding: 60px 0 100px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,168,56,.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================== CONTACT ======================== */
.contact {
  background: var(--off-white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(232,168,56,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-dark);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--amber-dark);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,168,56,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(22,163,74,.1);
  color: var(--green);
}

.form-status.error {
  display: block;
  background: rgba(220,38,38,.1);
  color: var(--red);
}

/* ======================== MAP ======================== */
.map-section {
  height: 300px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
}

.map-placeholder span {
  font-size: .9rem;
  font-weight: 500;
}

.map-placeholder small {
  font-size: .75rem;
  opacity: .6;
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 38px;
  height: 38px;
  font-size: .85rem;
}

.footer-logo .logo-name {
  font-size: 1rem;
  color: var(--white);
}

.footer-logo .logo-tagline {
  font-size: .6rem;
  color: rgba(255,255,255,.5);
}

.footer-about p {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.footer-links-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

.footer-links-col li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--amber);
}

.footer-links-col a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-credit a {
  color: var(--amber);
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ======================== FLOATING BUTTONS ======================== */
.float-whatsapp,
.float-phone {
  position: fixed;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.float-whatsapp {
  bottom: 100px;
  right: 24px;
  background: #25d366;
}

.float-phone {
  bottom: 36px;
  right: 24px;
  background: var(--navy);
}

.float-whatsapp:hover,
.float-phone:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.float-whatsapp svg,
.float-phone svg {
  width: 22px;
  height: 22px;
}

/* ======================== BACK TO TOP ======================== */
.back-to-top {
  position: fixed;
  bottom: 36px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--amber);
  color: var(--navy);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ======================== ANIMATIONS ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

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

/* ======================== RESPONSIVE ======================== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-image-grid { max-width: 500px; margin: 0 auto; }
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .about-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Tablet small (768px) */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 8px;
    box-shadow: -8px 0 32px rgba(0,0,0,.1);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    color: var(--gray-600);
    font-size: .95rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--navy);
    background: var(--gray-100);
  }

  .hamburger {
    display: flex;
  }

  .hero { min-height: 100svh; padding: 100px 0 80px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-right { display: none; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .about-card:last-child { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .solar-grid { grid-template-columns: 1fr; }

  .solar-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-banner { padding: 48px 32px; }
  .cta-content h2 { font-size: 1.8rem; }

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

  .testimonial-card { padding: 32px 28px; }
  .testimonial-text { font-size: 1rem; }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }

  .hero { padding: 80px 0 80px; }
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: .9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }
  .section-header { margin-bottom: 36px; }

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

  .process-timeline::before { left: 20px; }
  .process-step-num { width: 40px; height: 40px; min-width: 40px; font-size: .9rem; }
  .process-step { gap: 16px; }

  .testimonial-card { padding: 24px 20px; }
  .testimonial-text { font-size: .9rem; }

  .cta-banner { padding: 36px 20px; }
  .cta-content h2 { font-size: 1.4rem; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  .contact-form { padding: 24px 20px; }

  .solar-badge-card { right: 8px; bottom: -8px; padding: 12px 16px; }

  .float-whatsapp { bottom: 88px; right: 16px; width: 48px; height: 48px; }
  .float-phone { bottom: 28px; right: 16px; width: 48px; height: 48px; }
  .back-to-top { left: 16px; bottom: 28px; width: 40px; height: 40px; }
}

/* Hover cleanup for touch */
@media (hover: none) {
  .service-card:hover,
  .about-card:hover,
  .why-card:hover,
  .project-card:hover,
  .stat-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}