@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700&display=swap");

:root {
  --ink: #0d141a;
  --navy: #1a365d;
  --slate: #e2e8f0;
  --paper: #ffffff;
  --black: #0a0a0a;
  --muted: #607086;
  --violet: #8f11a8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid rgba(13, 20, 26, 0.08);
}

.nav {
  max-width: 1240px;
  min-height: 98px;
  margin: 0 auto;
  padding: 30px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: Outfit, Arial, sans-serif;
  font-size: 30px;
  color: var(--navy);
}

.links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: Outfit, Arial, sans-serif;
}

.links a {
  font-size: 16px;
}

.links a[aria-current="page"] {
  font-weight: 700;
}

.section {
  padding: 88px 16px;
}

.section.dark {
  color: #fff;
  background: var(--black);
}

.gradient {
  color: #fff;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a365d 50%, #e2e8f0 100%);
}

.gradient-deep {
  color: #fff;
  background: linear-gradient(135deg, #1a365d 0%, #8f11a8 100%);
}

.wrap {
  max-width: 1224px;
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Outfit, Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 94px);
}

h2 {
  font-size: clamp(38px, 5vw, 70px);
}

h3 {
  font-size: 28px;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(20px, 2vw, 27px);
  color: rgba(255, 255, 255, 0.9);
}

.body-lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 28px;
  border: 0;
  border-radius: 50px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.stat-row,
.card-grid,
.price-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
}

.card-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 42px;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.testimonial-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
}

.card,
.price,
.quote,
.stat,
.form-panel,
.info-panel {
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(13, 20, 26, 0.08);
}

.gradient-deep .card,
.gradient-deep .price,
.gradient-deep .quote,
.dark .form-panel,
.dark .info-panel,
.dark .quote {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.stat {
  color: #fff;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a365d 100%);
  border: 1px solid rgba(26, 54, 93, 0.24);
  min-height: 138px;
}

.stat-row .home-stat {
  color: #0d141a !important;
  background: #fff !important;
  border: 1px solid rgba(13, 20, 26, 0.08);
  box-shadow: 0 18px 42px rgba(13, 20, 26, 0.08);
}

.stat strong,
.price strong {
  display: block;
  font-family: Outfit, Arial, sans-serif;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1;
}

.card p,
.price p,
.quote p,
.stat p {
  margin: 12px 0 0;
}

.stat p {
  color: rgba(255, 255, 255, 0.84);
}

.stat-row .home-stat strong,
.stat-row .home-stat p {
  color: #0d141a !important;
}

.price strong {
  margin: 18px 0;
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 10px;
}

.legal-page {
  background: #f7f9fc;
}

.legal {
  max-width: 900px;
}

.legal h1 {
  max-width: none;
  font-size: clamp(42px, 6vw, 72px);
}

.legal h2 {
  margin-top: 42px;
  font-size: clamp(28px, 4vw, 42px);
}

.legal p,
.legal li {
  color: #405064;
}

.legal ul {
  padding-left: 22px;
}

.image-tile {
  min-height: 310px;
  border-radius: 8px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.image-hero {
  min-height: 440px;
  border-radius: 8px;
  background-image: linear-gradient(rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.12)), url("https://images.unsplash.com/photo-1590954326089-8b3f39afd37a?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
}

.img-steel {
  background-image: url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=900&q=80");
}

.img-solar {
  background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=900&q=80");
}

.img-worker {
  background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=900&q=80");
}

.stars {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

label {
  display: block;
  margin: 0 0 8px;
  color: inherit;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #b8c0cc;
  border-radius: 10px;
  font: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 42px;
  align-items: start;
}

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

.social span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-weight: 700;
}

.copyright {
  margin-top: 58px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    min-height: 78px;
    padding: 24px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .links {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .section {
    padding: 56px 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-col,
  .form-grid,
  .footer-grid,
  .stat-row,
  .card-grid,
  .price-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .image-hero,
  .image-tile {
    min-height: 250px;
  }
}
