:root {
  --bs-bg: #eef4fb;
  --bs-surface: #ffffff;
  --bs-ink: #0f172a;
  --bs-muted: #596375;
  --bs-line: rgba(15, 23, 42, 0.08);
  --bs-primary: #0f62d6;
  --bs-primary-deep: #0b3e8d;
  --bs-accent: #ff6d3c;
  --bs-accent-soft: rgba(255, 109, 60, 0.14);
  --bs-success: #169a69;
  --bs-warning: #ffb020;
  --bs-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --bs-shadow-strong: 0 28px 72px rgba(10, 18, 38, 0.16);
  --bs-radius-xl: 30px;
  --bs-radius-lg: 22px;
}

body.boiler-servicing-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(15, 98, 214, 0.1), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, var(--bs-bg) 100%);
  color: var(--bs-ink);
}

.boiler-servicing-page .banner {
  background:
    linear-gradient(115deg, rgba(7, 18, 44, 0.88) 0%, rgba(11, 62, 141, 0.78) 55%, rgba(15, 98, 214, 0.68) 100%),
    url("../src/Images/banner.png") center/cover no-repeat;
}

.boiler-shell,
.boiler-hero,
.boiler-hero *,
.boiler-section,
.boiler-panel,
.boiler-card,
.boiler-band,
.boiler-contact-panel,
.boiler-areas-shell,
.faq-shell {
  box-sizing: border-box;
  min-width: 0;
}

.boiler-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.boiler-hero {
  margin-top: -4.5rem;
  position: relative;
  z-index: 3;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--bs-radius-xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--bs-shadow-strong);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  gap: 1.5rem;
  align-items: stretch;
}

.boiler-hero__copy,
.boiler-copy {
  display: grid;
  gap: 1rem;
}

.boiler-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--bs-accent-soft);
  color: #db4d1f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
}

.boiler-hero h2,
.boiler-copy h2,
.boiler-band h2,
.boiler-contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  color: var(--bs-ink);
}

.boiler-hero p,
.boiler-copy p,
.boiler-card p,
.boiler-contact-panel p,
.boiler-band p,
.boiler-review p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--bs-muted);
}

.boiler-hero__actions,
.boiler-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.boiler-servicing-page .about-btn,
.boiler-servicing-page .btn-submit {
  white-space: normal;
  text-align: center;
}

.boiler-hero__aside {
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #08162f 0%, #112956 100%);
  color: #fff;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.boiler-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.boiler-stat {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.boiler-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.boiler-stat span,
.boiler-hero-points span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.boiler-hero-points {
  display: grid;
  gap: 0.75rem;
}

.boiler-hero-points div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.boiler-hero-points i {
  color: #8fc6ff;
  margin-top: 0.2rem;
}

.boiler-section {
  padding-top: 5rem;
}

.boiler-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 2rem;
  align-items: center;
}

.boiler-panel,
.boiler-areas-shell,
.boiler-contact-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--bs-radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--bs-line);
  box-shadow: var(--bs-shadow);
}

.boiler-visual {
  position: relative;
}

.boiler-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  border-radius: var(--bs-radius-xl);
  box-shadow: 0 26px 60px rgba(13, 24, 45, 0.14);
}

.boiler-badge {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  max-width: 310px;
  padding: 1.2rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bs-line);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.boiler-badge strong {
  display: block;
  color: var(--bs-ink);
  margin-bottom: 0.45rem;
}

.boiler-badge span {
  color: var(--bs-muted);
  line-height: 1.7;
}

.boiler-checklist,
.boiler-areas-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.boiler-checklist li,
.boiler-areas-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--bs-ink);
  line-height: 1.7;
}

.boiler-checklist li::before,
.boiler-areas-list li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bs-accent) 0%, var(--bs-primary) 100%);
  box-shadow: 0 0 0 6px rgba(15, 98, 214, 0.08);
}

.boiler-card-grid,
.boiler-service-grid,
.boiler-choose-grid,
.boiler-related-grid,
.boiler-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.boiler-card,
.boiler-review {
  padding: 1.35rem 1.2rem;
  border-radius: var(--bs-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--bs-line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.boiler-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff 0%, #fff2ed 100%);
  color: var(--bs-primary);
  font-size: 1.2rem;
}

.boiler-card h3,
.boiler-review strong {
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--bs-ink);
  margin-bottom: 0.65rem;
}

.boiler-band {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #0a1834 0%, #11306e 48%, #0f62d6 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 28px 70px rgba(9, 20, 46, 0.24);
}

.boiler-band h2,
.boiler-band p,
.boiler-band .boiler-kicker {
  color: #fff;
}

.boiler-band p {
  line-height: 1.8;
  opacity: 0.88;
}

.boiler-band .boiler-kicker {
  background: rgba(255, 255, 255, 0.12);
}

.boiler-band__actions {
  display: grid;
  gap: 0.85rem;
}

.boiler-band__actions .about-btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.boiler-band__actions .about-btn-outline:hover {
  background: #fff;
  color: var(--bs-ink);
  border-color: #fff;
}

.boiler-review__rating {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--bs-warning);
  letter-spacing: 0.12em;
}

.boiler-review p {
  margin-bottom: 1rem;
}

.boiler-areas-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.boiler-areas-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem 1.2rem;
}

.boiler-related-grid .boiler-card a,
.boiler-contact-item a {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 700;
}

.boiler-related-grid .boiler-card a:hover,
.boiler-contact-item a:hover {
  color: var(--bs-primary-deep);
}

.boiler-contact-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.boiler-contact-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 1.5rem;
  align-items: center;
}

.boiler-contact-list {
  display: grid;
  gap: 0.9rem;
}

.boiler-contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--bs-line);
}

.boiler-contact-item i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ebf2ff;
  color: var(--bs-primary);
}

.boiler-contact-item span {
  display: block;
  color: var(--bs-muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.boiler-servicing-page .contact,
.boiler-faq {
  margin-top: 5rem;
}

.boiler-faq .faq-shell {
  background:
    radial-gradient(circle at top left, rgba(15, 98, 214, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

@media (max-width: 1100px) {
  .boiler-card-grid,
  .boiler-service-grid,
  .boiler-choose-grid,
  .boiler-related-grid,
  .boiler-review-grid,
  .boiler-areas-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .boiler-hero,
  .boiler-grid,
  .boiler-band,
  .boiler-contact-panel__grid,
  .boiler-areas-top {
    grid-template-columns: 1fr;
  }

  .boiler-badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 1rem;
  }

  .boiler-visual img {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .boiler-shell {
    width: calc(100% - 24px);
  }

  .boiler-hero {
    margin-top: -2.5rem;
    padding: 1.25rem;
  }

  .boiler-section {
    padding-top: 4rem;
  }

  .boiler-card-grid,
  .boiler-service-grid,
  .boiler-choose-grid,
  .boiler-related-grid,
  .boiler-review-grid,
  .boiler-areas-list,
  .boiler-stat-grid {
    grid-template-columns: 1fr;
  }

  .boiler-hero__actions .about-btn,
  .boiler-band__actions .about-btn {
    width: 100%;
  }

  .boiler-servicing-page .contact,
  .boiler-faq {
    margin-top: 4rem;
  }
}

@media (max-width: 480px) {
  html,
  body.boiler-servicing-page {
    width: 100%;
    max-width: 100%;
  }

  .boiler-shell {
    width: min(330px, calc(100% - 24px));
    max-width: min(330px, calc(100% - 24px));
    margin-left: 12px;
    margin-right: auto;
  }

  .boiler-servicing-page .top-bar,
  .boiler-servicing-page header,
  .boiler-servicing-page header.sticky {
    width: min(330px, calc(100% - 24px));
    margin-left: 12px;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .boiler-servicing-page .top-bar {
    margin-top: 12px;
    padding: 0.8rem 0.6rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #07162f 0%, #102e67 100%);
    box-shadow: 0 18px 42px rgba(8, 19, 42, 0.16);
  }

  .boiler-servicing-page .top-bar a {
    color: #fff;
  }

  .boiler-servicing-page nav {
    width: 100%;
    gap: 1rem;
    justify-content: space-between;
  }

  .boiler-servicing-page nav .logo img {
    width: min(165px, 52vw) !important;
  }

  .boiler-servicing-page .menu-toggle {
    display: flex !important;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .boiler-servicing-page .top-bar-left {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .boiler-servicing-page .top-bar-container,
  .boiler-servicing-page .top-bar-left,
  .boiler-servicing-page .top-bar-right {
    width: 100%;
  }

  .boiler-servicing-page .top-bar-item a {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .boiler-hero,
  .boiler-panel,
  .boiler-band,
  .boiler-contact-panel,
  .boiler-areas-shell {
    border-radius: 22px;
    padding: 1rem;
  }

  .boiler-hero h2,
  .boiler-copy h2,
  .boiler-band h2,
  .boiler-contact-panel h2 {
    max-width: 100%;
    font-size: clamp(1.65rem, 8vw, 2rem);
    overflow-wrap: anywhere;
  }

  .boiler-visual img {
    min-height: 280px;
  }
}
