:root {
  --navy: #0a2a4d;
  --navy-dark: #071e3a;
  --navy-deep: #05162c;
  --gold: #f5b800;
  --gold-hover: #e0a800;
  --bg-page: #f2f5f9;
  --bg-card: #ffffff;
  --text-main: #1b2a3d;
  --text-muted: #526377;
  --border-light: #e1e8f0;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 16px rgba(10, 42, 77, 0.06);
  --shadow-md: 0 10px 28px rgba(10, 42, 77, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(245, 184, 0, 0.3);
}

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

.btn-navy {
  background-color: var(--navy);
  color: #ffffff;
}

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

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

.btn-outline:hover {
  background-color: var(--navy);
  color: #ffffff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
  margin-left: 18px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

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

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-menu a:hover {
  background-color: var(--bg-page);
  color: var(--navy);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.contact-item:hover {
  color: var(--navy);
}

.icon-sm {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

.divider-v {
  width: 1px;
  height: 16px;
  background-color: #cfd8e3;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  border: none;
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background-color: var(--navy);
  color: #ffffff;
}

.header-accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #ffd23f 100%);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 28%;
  background-image: url('assets/hero-solar.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 26, 52, 0.98) 0%,
    rgba(6, 26, 52, 0.92) 38%,
    rgba(10, 42, 77, 0.48) 68%,
    rgba(10, 42, 77, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 58px 24px;
  max-width: 650px;
  margin-left: max(0px, calc((100% - 1240px) / 2));
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-content p {
  color: #e2e8f0;
  font-size: 1.12rem;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Services */
.services-section {
  padding: 28px 0 24px;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 58, 0.35) 0%, rgba(7, 24, 48, 0.92) 100%);
}

.service-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  color: #ffffff;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(10, 42, 77, 0.45);
}

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

.service-body h2 {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.service-footer p {
  font-size: 0.9rem;
  color: #dbe6f2;
  line-height: 1.4;
}

.circle-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background-color: var(--gold);
  color: var(--navy-dark);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.circle-btn:hover {
  background-color: var(--gold-hover);
  transform: scale(1.08);
}

/* Pillars Bar */
.pillars-bar {
  margin-top: 22px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px 12px;
}

.pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  position: relative;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.25;
}

.pillar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-light);
}

.pillar-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--navy);
}

/* Experience Section */
.experience-section {
  padding: 40px 0 46px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 36px;
  align-items: center;
}

.short-gold-bar {
  width: 44px;
  height: 3.5px;
  background-color: var(--gold);
  border-radius: 2px;
  margin-bottom: 12px;
}

.experience-text h2,
.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.experience-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.experience-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 170px;
  box-shadow: var(--shadow-sm);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-thumb:hover img {
  transform: scale(1.06);
}

.project-thumb figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 24, 48, 0.85) 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 28px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta-icon svg {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

.cta-divider {
  width: 1px;
  height: 46px;
  background-color: rgba(255, 255, 255, 0.25);
}

.cta-left h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-left p {
  font-size: 0.95rem;
  color: #dbe6f2;
}

/* Contact Section */
.contact-section {
  padding: 52px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
}

.contact-details a {
  color: var(--navy);
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.quote-form {
  background: var(--bg-page);
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: grid;
  gap: 16px;
}

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

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand .brand-logo {
  height: 44px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.footer-nav a:hover {
  color: var(--gold-hover);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* Responsive */
@media (max-width: 1080px) {
  .header-contact {
    display: none;
  }

  .pillars-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pillar-item:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
  }

  .services-grid,
  .experience-gallery,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    inset: 0;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 26, 52, 0.88) 0%, rgba(6, 26, 52, 0.8) 100%);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-divider {
    display: none;
  }
}

@media (max-width: 520px) {
  .pillars-bar {
    grid-template-columns: 1fr;
  }

  .pillar-item {
    justify-content: flex-start;
  }
}
