:root {
  --navy: #071528;
  --navy2: #0b223d;
  --blue: #0868c9;
  --blue2: #0fb7ff;
  --red: #d71920;
  --white: #ffffff;
  --light: #f6f9fd;
  --muted: #637083;
  --line: #d9e3ef;
  --shadow: 0 26px 70px rgba(7, 21, 40, .16);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding-bottom: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -120px;
  left: 12px;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217,227,239,.78);
}

.nav {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(7,21,40,.12));
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.brand small {
  display: block;
  color: var(--red);
  font-weight: 900;
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a:not(.nav-call):hover { color: var(--blue); }

.nav-call {
  background: var(--red);
  color: white;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(215,25,32,.24);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--navy);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}
.menu-button span {
  display: block;
  height: 2px;
  background: white;
  margin: 6px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(8,104,201,.20), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(215,25,32,.13), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3f8fe 54%, #edf6ff 100%);
  padding: 76px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(8,104,201,.11) 54% 55.5%, transparent 55.5%),
    repeating-linear-gradient(135deg, rgba(7,21,40,.03) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}

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

h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .96;
  letter-spacing: -.06em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 16px;
}

.hero-text {
  max-width: 680px;
  font-size: 20px;
  color: #334155;
  margin-bottom: 26px;
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 32px rgba(215,25,32,.24);
}
.btn.secondary {
  background: white;
  border-color: var(--line);
}
.btn.ghost {
  background: rgba(8,104,201,.09);
  color: var(--blue);
}
.btn.white {
  background: white;
  color: var(--navy);
}

.contact-strip {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-strip a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

.hero-panel {
  border-radius: 40px;
  background:
    radial-gradient(circle at 75% 20%, rgba(15,183,255,.22), transparent 32%),
    linear-gradient(145deg, var(--navy), #0d2949);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: white;
}

.hero-logo {
  width: min(390px, 100%);
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.25));
}

.status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.10);
  border-radius: 22px;
}

.status-card p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.76);
}

.pulse {
  width: 14px;
  height: 14px;
  background: #2ef27f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46,242,127,.7);
  animation: pulse 1.7s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,242,127,.7); }
  70% { box-shadow: 0 0 0 12px rgba(46,242,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,242,127,0); }
}

.quick-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.quick-buttons a {
  background: white;
  color: var(--navy);
  text-align: center;
  border-radius: 16px;
  padding: 14px;
  font-weight: 900;
}

.section { padding: 84px 0; }

.badges {
  padding: 28px 0;
  background: var(--navy);
  color: white;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.badge-grid div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.badge-grid strong, .badge-grid span { display: block; }
.badge-grid span {
  color: rgba(255,255,255,.70);
  font-size: 14px;
  margin-top: 3px;
}

.section-heading {
  text-align: center;
  max-width: 770px;
  margin: 0 auto 34px;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.service-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
  color: var(--navy);
  cursor: pointer;
}
.filter-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  appearance: none;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 22px;
  padding: 22px;
  cursor: pointer;
  min-height: 180px;
  box-shadow: 0 12px 28px rgba(7,21,40,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover,
.service-card.selected {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 18px 36px rgba(8,104,201,.14);
}
.service-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 6px;
}
.service-card small {
  color: var(--muted);
  font-size: 15px;
}
.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  font-size: 25px;
  margin-bottom: 14px;
  background: rgba(8,104,201,.10);
}
.flame, .boiler { background: rgba(215,25,32,.10); }
.water { background: rgba(15,183,255,.12); }
.refrigeration { background: rgba(8,104,201,.12); }
.rooftop { background: rgba(7,21,40,.08); }

.feature-section {
  background: var(--light);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-card {
  color: white;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.22), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.feature-card > * { position: relative; }
.feature-card.red { background: linear-gradient(135deg, #9b1116, var(--red)); }
.feature-card.blue { background: linear-gradient(135deg, #064f9d, var(--blue)); }
.feature-card .eyebrow { color: white; }
.feature-card p { color: rgba(255,255,255,.82); }

.booking {
  background: white;
}
.booking-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: start;
}
.contact-card.mini {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}
.contact-card.mini a,
.selected-service {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: var(--light);
  font-weight: 900;
}
.selected-service strong { color: var(--blue); }

.request-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--light);
  box-shadow: 0 18px 40px rgba(7,21,40,.07);
}
.request-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 14px 15px;
  color: var(--navy);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8,104,201,.13);
}
.request-form .btn { border: 0; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.faq { background: var(--navy); color: white; }
.faq .eyebrow { color: #8ee2ff; }
.accordion {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.accordion-item {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: white;
  border-radius: 18px;
  padding: 18px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}
.accordion-panel {
  display: none;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.76);
  border-radius: 16px;
  padding: 0 20px 18px;
  margin-top: -6px;
}
.accordion-panel.open { display: block; }

.footer {
  background: #030b14;
  color: white;
  padding: 42px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr .9fr;
  align-items: center;
  gap: 28px;
}
.footer img { width: 120px; margin-bottom: 12px; }
.footer p { color: rgba(255,255,255,.72); margin: 4px 0; }
.footer a { display: block; color: white; margin: 6px 0; font-weight: 900; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  background: rgba(7,21,40,.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 8px;
  gap: 8px;
  box-shadow: 0 20px 44px rgba(0,0,0,.28);
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 13px 10px;
  border-radius: 14px;
  background: white;
  color: var(--navy);
  font-weight: 900;
}
.mobile-cta a:first-child {
  background: var(--red);
  color: white;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 300;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav { min-height: 88px; }
  .brand img { width: 78px; height: 78px; }
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    top: 88px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-call { text-align: center; }
  .hero-grid,
  .booking-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand span { display: none; }
  .brand { min-width: auto; }
  .brand img { width: 82px; height: 82px; }
  .hero { padding: 48px 0 54px; }
  .section { padding: 62px 0; }
  .service-grid, .badge-grid { grid-template-columns: 1fr; }
  .hero-actions, .form-actions { flex-direction: column; }
  .btn { width: 100%; }
  .quick-buttons { grid-template-columns: 1fr; }
  .contact-strip a { width: 100%; }
}
