
:root {
  --blue-900: #10284d;
  --blue-800: #17345f;
  --blue-700: #264a7f;
  --gold-500: #c9a24d;
  --gold-400: #dfbf7d;
  --white: #ffffff;
  --bg: #fbfcfe;
  --bg-soft: #f4f7fb;
  --text: #1f2a3a;
  --muted: #5f6c7f;
  --line: #dbe3ef;
  --shadow: 0 24px 60px rgba(16, 40, 77, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1300px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201,162,77,0.12), transparent 26%),
    radial-gradient(circle at 100% 10%, rgba(38,74,127,0.10), transparent 24%),
    linear-gradient(180deg, #ffffff, #fbfcfe 35%, #f9fbfd 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { min-height: 100vh; position: relative; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219,227,239,0.82);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: clamp(170px, 15vw, 220px);
  height: auto;
}
.site-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  transition: 0.25s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(23,52,95,0.06);
  color: var(--blue-900);
}
.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  margin: 5px auto;
  transition: 0.25s ease;
}

.hero-section {
  position: relative;
  padding: 54px 0 72px;
  overflow: hidden;
}
.hero-grid,
.page-hero-grid,
.two-col,
.about-teaser-grid,
.detail-contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
}
.hero-copy h1,
.page-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.3rem, 4.7vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero-text,
.page-hero p,
.section-heading p,
.feature-card p,
.product-preview p,
.product-detail-copy p,
.about-teaser-copy p,
.process-card p,
.info-card p,
.contact-card p,
.legal-content p,
.value-card p,
.bullet-card p,
.subcat-card p,
.solution-card p {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(201,162,77,0.28);
  background: rgba(201,162,77,0.08);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-800);
  font-weight: 700;
}
.eyebrow.light {
  color: #fff;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
}
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: #fff;
  box-shadow: 0 18px 34px rgba(23,52,95,0.22);
}
.btn-secondary {
  background: #fff;
  color: var(--blue-900);
  border: 1px solid var(--line);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-badges span,
.tag-row span,
.brand-cloud span {
  padding: 10px 14px;
  background: rgba(23,52,95,0.06);
  border: 1px solid rgba(23,52,95,0.10);
  border-radius: 999px;
  font-size: 14px;
}
.hero-visual { position: relative; min-height: 520px; }
.hero-card,
.image-card,
.cta-box,
.feature-card,
.product-preview,
.info-card,
.value-card,
.bullet-card,
.subcat-card,
.solution-card,
.stat-card,
.contact-card,
.detail-contact-card,
.side-card,
.process-card,
.product-detail-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(219,227,239,0.9);
  box-shadow: var(--shadow);
}
.hero-image-card,
.image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-image-card img { aspect-ratio: 1 / 1.1; object-fit: cover; width: 100%; }
.floating-card {
  position: absolute;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(16,40,77,0.93);
  color: white;
  box-shadow: 0 24px 44px rgba(16,40,77,0.22);
}
.floating-card strong { display: block; margin-bottom: 4px; font-size: 18px; }
.floating-card span { color: rgba(255,255,255,0.78); font-size: 14px; }
.floating-card-top { top: 30px; right: -10px; }
.floating-card-bottom { bottom: 34px; left: -10px; }

.hero-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.75;
}
.hero-decor-left {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(201,162,77,0.18), transparent 68%);
  left: -120px;
  top: 40px;
}
.hero-decor-right {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(38,74,127,0.16), transparent 70%);
  right: -120px;
  top: 0;
}

.stats-section { padding-bottom: 28px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  border-radius: 24px;
  padding: 28px 22px;
}
.stat-value {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue-900);
  font-weight: 800;
}
.stat-label { color: var(--muted); }

.section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, rgba(244,247,251,0.7), rgba(255,255,255,0)); }
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(201,162,77,0.18), transparent 30%),
    linear-gradient(145deg, #11284d, #08192f 68%);
}
.section-dark .section-heading p,
.section-dark .process-card p,
.section-dark .bullet-card p,
.section-dark .solution-card p {
  color: rgba(255,255,255,0.74);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.feature-grid,
.product-preview-grid,
.process-grid,
.value-grid,
.bullet-grid,
.subcat-grid,
.solution-grid,
.contact-cards {
  display: grid;
  gap: 20px;
}
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.product-preview-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.bullet-grid { grid-template-columns: repeat(2, 1fr); }
.subcat-grid { grid-template-columns: repeat(4, 1fr); }
.solution-grid { grid-template-columns: repeat(3, 1fr); }
.contact-cards { grid-template-columns: repeat(3, 1fr); }

.feature-card,
.product-preview,
.info-card,
.value-card,
.bullet-card,
.subcat-card,
.solution-card,
.contact-card,
.detail-contact-card,
.side-card,
.process-card {
  border-radius: 26px;
  padding: 28px;
}
.feature-card img,
.contact-card img { width: 42px; height: 42px; margin-bottom: 16px; }
.feature-card h3,
.product-preview h3,
.process-card h3,
.info-card h3,
.value-card .value-title,
.subcat-card h3,
.solution-card h3,
.contact-card h3,
.product-detail-copy h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--blue-900);
}
.section-dark .process-card h3,
.section-dark .solution-card h3,
.section-dark .bullet-card p,
.section-dark h2 { color: #fff; }

.product-preview {
  padding: 20px;
}
.product-preview-image {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 18px;
}
.product-preview-image img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-900);
  font-weight: 700;
}
.text-link span { transition: 0.25s ease; }
.text-link:hover span { transform: translateX(4px); }
.section-action { margin-top: 22px; }

.about-teaser-visual .image-stack {
  position: relative;
  min-height: 500px;
}
.image-stack .main-image {
  width: 78%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.image-stack .secondary-image {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 52%;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(16,40,77,0.16);
}

.process-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.dual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card h3 { font-size: 1.2rem; }

.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  padding: 0 22px;
  box-shadow: 0 18px 42px rgba(16,40,77,0.05);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-weight: 700;
  color: var(--blue-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 0 22px; margin: 0; color: var(--muted); }

.cta-box {
  border-radius: 30px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(201,162,77,0.18), transparent 32%),
    linear-gradient(135deg, #ffffff, #f6f8fc);
}
.cta-box h2 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }

.page-hero {
  position: relative;
  padding: 72px 0 58px;
}
.page-hero-light {
  background:
    radial-gradient(circle at 8% 10%, rgba(201,162,77,0.16), transparent 20%),
    linear-gradient(180deg, #f7f9fd, #ffffff);
}
.page-hero-image {
  color: #fff;
  background: url('../images/products-solar.webp') center/cover no-repeat;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,40,77,0.88), rgba(16,40,77,0.56));
}
.page-hero-image .container { position: relative; z-index: 1; }
.page-hero-side { display: flex; justify-content: flex-end; }
.side-card {
  max-width: 340px;
  display: grid;
  gap: 10px;
}
.side-card strong { font-size: 1.15rem; color: var(--blue-900); }

.tall img {
  width: 100%;
  min-height: 450px;
  object-fit: cover;
}

.product-detail-grid {
  display: grid;
  gap: 26px;
}
.product-detail-card {
  border-radius: 30px;
  padding: 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}
.product-detail-card.reverse { grid-template-columns: 1.05fr 0.95fr; }
.product-detail-card.reverse .product-detail-image { order: 2; }
.product-detail-card.reverse .product-detail-copy { order: 1; }
.product-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 24px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.brands-layout { align-items: start; }
.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}
.brand-cloud span {
  background: linear-gradient(135deg, rgba(23,52,95,0.08), rgba(201,162,77,0.12));
  border-color: rgba(201,162,77,0.2);
}
.muted-note {
  color: var(--muted);
  font-size: 15px;
}

.contact-hero-content {
  max-width: 820px;
}
.contact-section { padding-bottom: 34px; }
.contact-card p a { color: var(--blue-900); font-weight: 700; }
.map-section {
  padding: 0 0 70px;
}
.map-frame-wrap {
  width: min(100%, 1600px);
  margin: 0 auto;
  border: 1px solid rgba(219,227,239,0.9);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame-wrap iframe {
  width: 100%;
  min-height: 580px;
  border: 0;
  display: block;
}
.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.detail-list li { margin-bottom: 8px; }

.legal-hero { padding-bottom: 30px; }
.legal-content {
  max-width: 900px;
}
.legal-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--blue-900);
}
.legal-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(23,52,95,0.05);
  border: 1px solid rgba(23,52,95,0.10);
}

.site-footer {
  margin-top: 40px;
  background: #0d1f39;
  color: rgba(255,255,255,0.78);
  padding-top: 46px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr 1fr;
  gap: 26px;
}
.footer-logo {
  width: min(240px, 80%);
  margin-bottom: 14px;
}
.site-footer h3 {
  margin: 0 0 12px;
  color: white;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-list a:hover { color: #fff; }
.footer-bottom {
  padding: 16px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 30px;
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-900);
  color: white;
  box-shadow: 0 12px 30px rgba(16,40,77,0.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.25s ease;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.98);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(560px, 86vw);
}
.preloader-logo-simple {
  width: min(420px, 76vw);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  animation: preloaderLogoIn 0.85s cubic-bezier(.22,.61,.36,1) 0.08s forwards;
}
.preloader-inner.simple::after {
  content: "";
  display: block;
  width: min(180px, 40vw);
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23,52,95,0.12), rgba(201,162,77,0.85), rgba(23,52,95,0.12));
  transform: scaleX(0.2);
  opacity: 0;
  animation: preloaderLineIn 0.7s ease-out 0.35s forwards;
}

@keyframes preloaderLogoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes preloaderLineIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .two-col,
  .about-teaser-grid,
  .detail-contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-preview-grid,
  .process-grid,
  .subcat-grid,
  .contact-cards,
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: auto; }
  .floating-card-top { right: 10px; }
  .floating-card-bottom { left: 10px; }
  .product-detail-card,
  .product-detail-card.reverse {
    grid-template-columns: 1fr;
  }
  .product-detail-card.reverse .product-detail-image,
  .product-detail-card.reverse .product-detail-copy { order: initial; }
}

@media (max-width: 760px) {
  :root { --header-height: 84px; }
  body { line-height: 1.55; }
  .container { width: min(100% - 24px, var(--container)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }
  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .hero-section { padding-top: 32px; }
  .feature-grid,
  .product-preview-grid,
  .process-grid,
  .dual-grid,
  .bullet-grid,
  .subcat-grid,
  .solution-grid,
  .contact-cards,
  .stats-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 24px; }
  .cta-box,
  .contact-cards,
  .detail-contact-grid { gap: 18px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .floating-card { position: static; margin-top: 14px; }
  .hero-visual { display: grid; gap: 14px; }
  .about-teaser-visual .image-stack { min-height: auto; }
  .image-stack .main-image,
  .image-stack .secondary-image { position: static; width: 100%; }
  .map-frame-wrap iframe { min-height: 420px; }
  .preloader-note { font-size: 10px; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.btn, .site-footer a, .cta-box a, .footer-list a, .contact-card a { position: relative; z-index: 2; }
.footer-list a { text-decoration: none; }
.footer-list a:hover, .footer-list a:focus-visible { color: #fff; text-decoration: underline; }

.stat-value { line-height: 1; }
.stat-label { display:block; margin-top:8px; }

.section-dark .bullet-card,
.section-dark .solution-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 45px rgba(0,0,0,0.14);
}
.section-dark .bullet-card p,
.section-dark .solution-card p,
.section-dark .solution-card h3 {
  color: var(--blue-900);
}

.footer-logo { width: min(240px, 92%); }

.page-hero-image p { color: rgba(255,255,255,0.96); max-width: 900px; }
.typing-light {
  display: inline-block;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: revealTyping 2.4s cubic-bezier(.25,.8,.25,1) .35s forwards;
}
@keyframes revealTyping { to { clip-path: inset(0 0 0 0); } }
.product-detail-grid { max-width: 1300px; margin: 0 auto; }
.product-detail-copy p + p { margin-top: 14px; }
.subcat-grid { max-width: 1300px; margin: 0 auto; }

/* Simple preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner.simple { width:min(520px, 76vw); text-align:center; }
.preloader-logo-simple { width:100%; max-width:520px; opacity:0; transform:translateY(8px) scale(.985); animation:simpleLogoIn .55s ease forwards; }
.preloader-grid, .preloader-cable, .preloader-panel-glow, .preloader-text-mask, .preloader-note { display:none !important; }
@keyframes simpleLogoIn { to { opacity:1; transform:translateY(0) scale(1); } }
