﻿:root {
  --blue: #0a4f8f;
  --blue-dark: #063567;
  --navy: #061a33;
  --navy-soft: #102b4a;
  --green: #3e913e;
  --green-dark: #1f6f3b;
  --gold: #e5ad22;
  --ink: #162336;
  --muted: #617187;
  --line: #d9e3ef;
  --panel: #f5f9fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 26, 51, 0.14);
  --radius: 8px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

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

.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 227, 239, 0.85);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 240px;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(217, 227, 239, 0.95);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(6, 26, 51, 0.08);
}

.brand-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 26px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue-dark);
  border-color: var(--gold);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  content: "";
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(6, 26, 51, 0.16);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.btn-primary:hover {
  background: var(--blue-dark);
}

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

.btn-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

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

.hero {
  position: relative;
  min-height: 650px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(229, 173, 34, 0.28), transparent 22%),
    linear-gradient(90deg, rgba(6, 26, 51, 0.94), rgba(6, 26, 51, 0.68) 44%, rgba(6, 26, 51, 0.20)),
    url("assets/hero-solar-farm.webp") center/cover;
  content: "";
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 44px;
  align-items: center;
  min-height: 650px;
  padding: 86px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  max-width: 760px;
}

.proof-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  font-size: 24px;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.brand-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  background: #f7fbf8;
  border: 1px solid #dbece0;
  border-radius: var(--radius);
}

.brand-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.brand-card strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.brand-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.quick-form {
  display: grid;
  gap: 10px;
}

.field,
select,
textarea,
input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-alt {
  background: var(--panel);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head div {
  max-width: 740px;
}

.section-head h2,
.page-hero h1 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.section-head p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

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

.feature,
.product-card,
.solution-card,
.trust-card,
.stat-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature,
.solution-card,
.trust-card,
.stat-card,
.contact-card {
  padding: 24px;
}

.feature-icon,
.solution-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  font-weight: 900;
}

.feature h3,
.solution-card h3,
.trust-card h3,
.product-card h3,
.stat-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 20px;
}

.feature p,
.solution-card p,
.trust-card p,
.stat-card p,
.product-card p {
  color: var(--muted);
}

.image-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.check-list,
.spec-list,
.market-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.market-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before,
.market-list li::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  content: "鉁?;
}

.markets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.market-pill {
  padding: 9px 13px;
  color: var(--navy);
  background: #eef8f3;
  border: 1px solid #cfe8d3;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-body {
  padding: 22px;
}

.spec-list {
  margin: 16px 0;
  gap: 8px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
  color: var(--muted);
  font-size: 14px;
}

.spec-list strong {
  color: var(--navy);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.92), rgba(6, 26, 51, 0.58)),
    url("assets/hero-solar-farm.webp") center/cover;
  content: "";
}

.page-hero.factory::before {
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.92), rgba(6, 26, 51, 0.55)),
    url("assets/factory-production.webp") center/cover;
}

.page-hero.catalog::before {
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.92), rgba(6, 26, 51, 0.55)),
    url("assets/solar-modules-catalog.webp") center/cover;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 94px 0;
}

.page-hero h1,
.page-hero p {
  max-width: 760px;
  color: var(--white);
}

.breadcrumb {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.badge {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.badge strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.badge span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.quote-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: start;
}

.quote-panel,
.form-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(6, 26, 51, 0.08);
}

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

.form-grid .span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.form-note,
.success-message {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.success-message {
  display: none;
  padding: 12px;
  color: var(--green-dark);
  background: #e8f8f0;
  border: 1px solid #bce8d1;
  border-radius: 6px;
  font-weight: 800;
}

.cta-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue-dark) 62%, #124c3a);
}

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

.cta-band h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0;
}

.site-footer h3,
.site-footer strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  color: var(--white);
  background: #1fbf66;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(8, 60, 42, 0.28);
  font-weight: 900;
}

@media (max-width: 980px) {
  .top-strip {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero .container,
  .quote-shell,
  .image-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    min-height: auto;
    padding: 70px 0 50px;
  }

  .hero-panel {
    align-self: auto;
  }

  .grid-4,
  .grid-3,
  .trust-row,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-logo img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand span {
    display: none;
  }

  .brand .brand-logo {
    display: grid;
  }

  .brand > span:last-child,
  .brand > span:last-child strong {
    display: block;
  }

  .main-nav {
    top: 66px;
  }

  .header-actions .btn-primary {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 40px;
  }

  .hero p,
  .section-head p,
  .page-hero p,
  .lead {
    font-size: 16px;
  }

  .hero-proof,
  .grid-4,
  .grid-3,
  .grid-2,
  .trust-row,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-head,
  .cta-band .container {
    display: block;
  }

  .section-head .btn,
  .cta-band .btn {
    margin-top: 16px;
  }

  .page-hero .container {
    padding: 68px 0;
  }

  .quote-panel,
  .form-panel {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .brand-card {
    grid-template-columns: 72px 1fr;
  }

  .brand-card img {
    width: 72px;
    height: 72px;
  }
}
