:root {
  --black: #090909;
  --ink: #151515;
  --muted: #646b73;
  --line: #e8eaee;
  --soft: #f7f8fa;
  --red: #e82424;
  --blue: #1479bd;
  --navy: #111827;
  --white: #fff;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  --radius: 22px;
}

/* RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* CONTAINER */
.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* TOPBAR */
.topbar {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
}

.topbar a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: var(--black);
  font-weight: 900;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: block;
  font-size: 24px;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #555;
  margin-top: -6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #20242a;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--red);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 900;

  border: 2px solid transparent;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 24px rgba(232, 36, 36, 0.25);
}

.btn-blue {
  background: var(--blue);
  color: white;
}

.btn-outline {
  border-color: var(--black);
  color: var(--black);
  background: white;
}

.btn-light {
  background: white;
  color: var(--black);
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 30px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 15% 20%, rgba(232, 36, 36, 0.12), transparent 30%),
    radial-gradient(circle at 95% 15%, rgba(20, 121, 189, 0.18), transparent 32%),
    linear-gradient(135deg, #fff, #f5f7fb);

  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: var(--red);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  margin: 12px 0 20px;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--red);
}

.lead {
  font-size: 20px;
  color: #4c5560;
  max-width: 660px;
}

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

.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #353b44;
  font-weight: 800;
}

.trust-row span::before {
  content: '✓';
  color: var(--blue);
  margin-right: 8px;
}

/* HERO CARD */
.hero-card {
  background: #fff;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}

.logo-panel {
  display: grid;
  place-items: center;

  background: linear-gradient(145deg, #fff, #eef5fb);

  border: 1px solid var(--line);
  border-radius: 28px;

  min-height: 420px;
}

.logo-panel {
  overflow: hidden;

  display: grid;
  place-items: center;

  background: linear-gradient(145deg, #fff, #eef5fb);

  border: 1px solid var(--line);
  border-radius: 28px;

  min-height: 420px;
}

.floating {
  position: absolute;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow: var(--shadow);

  padding: 16px 18px;
  font-weight: 900;
}

.float-a {
  left: 10px;
  top: 42px;
}

.float-b {
  right: 8px;
  bottom: 50px;
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section.soft {
  background: var(--soft);
}

.center {
  text-align: center;
}

.section h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  margin: 8px 0 16px;
  letter-spacing: -1px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  padding: 32px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.2s;
}

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

.icon {
  width: 54px;
  height: 54px;

  border-radius: 16px;

  display: grid;
  place-items: center;

  background: rgba(20, 121, 189, 0.11);
  color: var(--blue);

  font-size: 25px;
}

.card h3 {
  font-size: 24px;
  margin: 20px 0 8px;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* PHOTO */
.photo {
  min-height: 390px;
  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      rgba(20, 121, 189, 0.55),
      rgba(0, 0, 0, 0.45)
    ),
    url("../images/tech-uniform.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: var(--shadow);

  position: relative;
  overflow: hidden;
}

.photo::after {
  content: 'HVAC';

  position: absolute;
  right: 24px;
  bottom: 10px;

  color: rgba(255, 255, 255, 0.11);

  font-size: 92px;
  font-weight: 1000;
}

/* CHECKS */
.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.checks li {
  margin: 12px 0;
}

.checks li::before {
  content: '✓';
  color: var(--red);
  font-weight: 1000;
  margin-right: 10px;
}

/* STATS */
.stats {
  background: var(--black);
  color: #fff;
  padding: 46px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat strong {
  font-size: 44px;
}

.stat span {
  display: block;
  color: #d6d6d6;
}

/* CTA */
.cta {
  background:
    linear-gradient(
      135deg,
      var(--black),
      #111,
      var(--blue)
    );

  color: #fff;
  padding: 70px 0;
}

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

/* PAGE HERO */
.page-hero {
  background:
    linear-gradient(
      135deg,
      #070707,
      #121212 55%,
      #0d4c78
    );

  color: #fff;
  text-align: center;
  padding: 86px 0;
}

.page-hero p {
  color: #e3e8ef;
  font-size: 19px;
}

/* SERVICES */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;

  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:nth-child(even) .service-art {
  order: 2;
}

.service-art {
  min-height: 280px;
  border-radius: 24px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: var(--shadow);

  display: grid;
  place-items: center;

  color: white;
  font-size: 76px;
}

.ac-img {
  background-image:
    linear-gradient(135deg, rgba(232, 36, 36, 0.25), rgba(20, 121, 189, 0.25)),
    url("../images/hero-ac-tech.webp");
}

.heating-img {
  background-image:
    linear-gradient(135deg, rgba(232, 36, 36, 0.25), rgba(20, 121, 189, 0.25)),
    url("../images/maintenance-tools.webp");
}

.emergency-img {
  background-image:
    linear-gradient(135deg, rgba(232, 36, 36, 0.25), rgba(20, 121, 189, 0.25)),
    url("../images/tech-uniform.webp");
}

.air-quality-img {
  background-image:
    linear-gradient(135deg, rgba(232, 36, 36, 0.25), rgba(20, 121, 189, 0.25)),
    url("../images/team-hvac.webp");
}

.badge {
  display: inline-block;

  background: rgba(232, 36, 36, 0.09);
  color: var(--red);

  padding: 8px 13px;
  border-radius: 999px;

  font-weight: 900;
}

/* PRICING */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.price-head {
  background: var(--black);
  color: #fff;

  padding: 26px;
  text-align: center;
}

.price-card.featured {
  transform: translateY(-16px);
  border-color: var(--red);
}

.featured .price-head {
  background: var(--red);
}

.price {
  font-size: 42px;
  font-weight: 1000;
}

.price-card ul {
  list-style: none;
  padding: 24px;
  margin: 0;
}

.price-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.price-card li::before {
  content: '✓';
  color: var(--blue);
  margin-right: 8px;
}

/* TESTIMONIALS */
.testimonial {
  font-style: italic;
}

.avatar {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 20px;
  font-weight: 900;
}

.avatar span {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: #eaf3fb;

  display: grid;
  place-items: center;

  color: var(--blue);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.form-card,
.info-card {
  background: #fff;

  border: 1px solid var(--line);
  border-radius: 24px;

  padding: 34px;

  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

label {
  font-weight: 900;
  display: block;
  margin: 14px 0 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 16px;

  border: 1px solid #d8dde3;
  border-radius: 12px;

  font: inherit;
}

textarea {
  min-height: 150px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  margin-bottom: 22px;
}

/* FOOTER */
.footer {
  background: #f8f8f8;
  padding: 64px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 34px;
}

.footer a {
  display: block;
  color: #535b65;
  text-decoration: none;
  margin: 10px 0;
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 24px;
  color: #6b7280;
}

/* 404 */
.notfound {
  text-align: center;
  padding: 120px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .menu {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.open {
    display: flex;

    position: absolute;
    left: 0;
    right: 0;
    top: 86px;

    background: white;

    flex-direction: column;
    padding: 25px;

    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .split,
  .service-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .pricing,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-art {
    order: 0;
  }

  .cta-inner {
    display: block;
  }

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

  .section {
    padding: 62px 0;
  }

  .hero {
    padding: 58px 0;
  }

  .price-card.featured {
    transform: none;
  }
}