:root {
  --bg: #f4f6f7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-dark: #0a2230;
  --text: #112029;
  --muted: #5c6b75;
  --line: rgba(17, 32, 41, 0.1);
  --primary: #0d86bc;
  --primary-deep: #085274;
  --accent: #7dd5f7;
  --success: #0d8a61;
  --shadow: 0 24px 80px rgba(10, 34, 48, 0.12);
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 213, 247, 0.24), transparent 24%),
    radial-gradient(circle at right top, rgba(13, 134, 188, 0.14), transparent 22%),
    linear-gradient(180deg, #edf5f8 0%, #f8f7f3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 75%);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
}

.topbar,
.trust-strip,
.service-card,
.benefit,
.process-step,
.contact-form,
.footer,
.hero-card,
.hero-panel,
.stat-card,
.systems-copy,
.thanks-card,
.detail-card,
.about-block,
.cta-card {
  backdrop-filter: blur(16px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 999px;
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--accent));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a,
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.nav a[aria-current="page"] {
  color: var(--primary-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  padding: 12px 18px;
  font-size: 0.95rem;
}

.button-primary {
  padding: 15px 22px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 16px 30px rgba(13, 134, 188, 0.24);
}

.button-secondary,
.button-outline {
  padding: 15px 22px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.66);
}

.button-full {
  width: 100%;
}

.hero,
.contact-section,
.systems-layout,
.about-layout {
  display: grid;
  gap: 28px;
}

.hero {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  padding: 64px 0 28px;
}

.page-hero {
  padding: 60px 0 10px;
}

.hero-copy,
.contact-copy,
.page-hero {
  animation: rise 0.8s ease both;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  animation: rise 0.95s ease both;
}

.hero-image,
.systems-visual,
.about-image,
.gallery-card {
  border-radius: 24px;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.hero-image::after,
.systems-visual::after,
.about-image::after,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 48, 0.04), rgba(10, 34, 48, 0.4));
}

.hero-image-primary {
  grid-column: 1 / -1;
  min-height: 300px;
  background-image: url("https://images.pexels.com/photos/5463587/pexels-photo-5463587.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.hero-panel {
  grid-column: 1 / -1;
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(10, 34, 48, 0.94), rgba(13, 134, 188, 0.84)),
    var(--surface-dark);
  color: #f6fbff;
}

.hero-panel p {
  color: rgba(246, 251, 255, 0.84);
}

.stat-card {
  border-radius: 22px;
  padding: 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(232, 244, 248, 0.92));
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-text,
.section-heading p:last-child,
.service-card p,
.benefit p,
.process-step p,
.contact-copy p,
.footer p,
.systems-copy p,
.detail-card p,
.about-block p,
.cta-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 64ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-points,
.systems-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li,
.systems-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.hero-points li::before,
.systems-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex: 0 0 10px;
}

.trust-strip {
  margin: 14px 0 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-strip strong,
.contact-details span {
  display: block;
  margin-bottom: 6px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: 94px 0 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 760px;
}

.services-grid,
.benefits-grid,
.process-list,
.gallery-grid,
.long-grid {
  display: grid;
  gap: 20px;
}

.services-grid,
.benefits-grid,
.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.service-card,
.benefit,
.process-step,
.detail-card {
  padding: 26px;
  border-radius: 24px;
}

.service-card {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 248, 252, 0.86));
}

.section-accent {
  position: relative;
  padding-left: 18px;
  padding-right: 18px;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 56px 0 -10px;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(10, 34, 48, 0.05), rgba(125, 213, 247, 0.16));
}

.systems-layout,
.about-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.systems-copy,
.about-block,
.cta-card {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 251, 0.84));
}

.systems-visual-ducts {
  min-height: 380px;
  background-image: url("https://images.pexels.com/photos/8297856/pexels-photo-8297856.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.about-image-main {
  min-height: 400px;
  background-image: url("https://images.pexels.com/photos/5463587/pexels-photo-5463587.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.benefit {
  background: linear-gradient(180deg, rgba(13, 134, 188, 0.08), rgba(255, 255, 255, 0.8));
}

.section-accent .section-heading {
  margin-bottom: 48px;
}

.benefits-grid {
  margin-top: 8px;
  gap: 24px;
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.gallery-card {
  min-height: 360px;
  display: flex;
  align-items: end;
  padding: 24px;
}

.gallery-service {
  background-image: url("https://images.pexels.com/photos/32588555/pexels-photo-32588555.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-install {
  background-image: url("https://images.pexels.com/photos/5463587/pexels-photo-5463587.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-heating {
  background-image: url("https://images.pexels.com/photos/12644994/pexels-photo-12644994.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-ducts {
  background-image: url("https://images.pexels.com/photos/8297856/pexels-photo-8297856.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.gallery-text {
  position: relative;
  z-index: 1;
  color: #fff;
}

.gallery-text p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  padding-bottom: 48px;
}

.contact-details {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.contact-form {
  border-radius: 30px;
  padding: 28px;
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 32, 41, 0.12);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(13, 134, 188, 0.46);
  box-shadow: 0 0 0 4px rgba(125, 213, 247, 0.22);
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-note.success {
  color: var(--success);
  font-weight: 700;
}

.form-note.error {
  color: #c94b43;
  font-weight: 700;
}

.cta-card {
  border-radius: 30px;
}

.footer {
  margin: 24px 0 36px;
  border-radius: 28px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.thanks-page {
  min-height: calc(100vh - 40px);
  display: grid;
  place-items: center;
}

.thanks-card {
  width: min(760px, 100%);
  padding: 42px;
  border-radius: 32px;
  text-align: center;
}

.thanks-card h1 {
  max-width: none;
  margin-bottom: 18px;
}

.thanks-card p:last-of-type {
  max-width: 58ch;
  margin: 0 auto;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .trust-strip,
  .services-grid,
  .benefits-grid,
  .process-list,
  .contact-section,
  .systems-layout,
  .about-layout,
  .gallery-grid,
  .long-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .topbar {
    border-radius: 28px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
  }

  .topbar {
    padding: 18px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .service-card,
  .benefit,
  .process-step,
  .contact-form,
  .footer,
  .detail-card,
  .about-block,
  .cta-card {
    border-radius: 22px;
  }

  .gallery-card {
    min-height: 300px;
  }
}
