.service-brand-logos {
  position: relative;
  display: block;
  width: 220px;
  height: 59px;
}

.service-brand-logos img {
  position: absolute;
  inset: 0;
  width: 220px;
  height: 59px;
  object-fit: contain;
  object-position: left center;
}

.service-brand-negative {
  opacity: 0;
}

html[data-theme='dark'] .service-brand-color {
  opacity: 0;
}

html[data-theme='dark'] .service-brand-negative {
  opacity: 1;
}

.breadcrumb {
  padding-top: 22px;
  padding-bottom: 10px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 7px;
  color: #8da0b8;
}

.breadcrumb a {
  color: var(--water);
  font-weight: 700;
}

.service-hero,
.service-hub-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 76px;
  background:
    linear-gradient(rgba(1, 25, 73, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 25, 73, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 84% 10%, rgba(0, 91, 231, 0.13), transparent 34%),
    var(--white);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.service-hero::after,
.service-hub-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--orange) 33.33% 66.66%, var(--water) 66.66%);
}

.service-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 58px;
}

.service-hero-copy h1,
.service-hub-hero h1 {
  max-width: 820px;
}

.service-hub-hero .lead {
  max-width: 820px;
}

.service-meta-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--water);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.service-gas .service-meta-card {
  border-top-color: var(--green);
}

.service-electric .service-meta-card {
  border-top-color: var(--orange);
}

.service-care .service-meta-card {
  border-top-color: var(--blue);
}

.service-mark {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  padding: 9px;
  margin-bottom: 18px;
  background: #f4f8ff;
  border: 1px solid #dfe9f6;
  border-radius: 16px;
}

.service-mark img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  margin: 0 0 12px;
  color: var(--blue);
  background: #edf4ff;
  border: 1px solid #d6e5fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-meta-card h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.service-meta-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.service-meta-list div {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.service-meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-meta-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.service-section {
  padding: 82px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 58px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 88px;
  padding: 18px 18px 18px 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(1, 25, 73, 0.06);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  top: 17px;
  left: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.feature-list-warning li::before {
  content: '!';
  background: var(--orange);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.scope-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(1, 25, 73, 0.08);
}

.scope-included {
  border-top: 4px solid var(--green);
}

.scope-excluded {
  border-top: 4px solid var(--orange);
}

.scope-card h3 {
  margin-bottom: 18px;
}

.scope-card ul {
  padding-left: 20px;
  margin: 0;
}

.scope-card li + li {
  margin-top: 10px;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-steps li {
  min-height: 225px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(1, 25, 73, 0.06);
}

.service-steps li > span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--water);
  font-family: Manrope, Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.service-steps h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.service-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #073a88);
}

.price-section h2,
.price-section .section-heading p:not(.eyebrow) {
  color: var(--white);
}

.price-section .eyebrow {
  color: #b7d3ff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  padding: 24px;
  color: var(--blue);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.17);
}

.price-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value,
.plan-price {
  margin: 8px 0 10px;
  color: var(--blue);
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(29px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-note {
  padding: 15px 18px;
  margin: 22px 0 0;
  color: var(--ink);
  background: #fff6e8;
  border: 1px solid #ffd392;
  border-radius: 12px;
  font-size: 14px;
}

.price-section .service-note {
  color: #f3f7ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.plan-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--water);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(1, 25, 73, 0.08);
}

.plan-card:nth-child(1) {
  border-top-color: var(--green);
}

.plan-card:nth-child(2) {
  border-top-color: var(--water);
}

.plan-card:nth-child(3) {
  border-top-color: var(--orange);
}

.plan-card:nth-child(4) {
  border-top-color: var(--blue);
}

.plan-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.plan-card p {
  color: var(--muted);
  font-size: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.related-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(1, 25, 73, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 91, 231, 0.38);
  box-shadow: 0 13px 30px rgba(1, 25, 73, 0.13);
}

.related-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.related-card strong,
.related-card small {
  display: block;
}

.related-card strong {
  color: var(--blue);
}

.related-card small {
  color: var(--muted);
  font-size: 12px;
}

.related-card > span:last-child {
  color: var(--water);
  font-size: 24px;
}

.service-cta {
  padding: 72px 0;
  color: var(--white);
  background: var(--blue);
  border-top: 4px solid var(--orange);
}

.service-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 50px;
}

.service-cta h2 {
  color: var(--white);
}

.service-cta p:not(.eyebrow) {
  color: #dbe7fa;
}

.service-cta .hero-actions {
  justify-content: flex-end;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-hub-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--water);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(1, 25, 73, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-card-gas {
  border-top-color: var(--green);
}

.service-card-electric {
  border-top-color: var(--orange);
}

.service-card-care {
  border-top-color: var(--blue);
}

.service-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 38px rgba(1, 25, 73, 0.15);
}

.service-hub-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 8px;
  margin-bottom: 18px;
  background: #f4f8ff;
  border: 1px solid #dfe9f6;
  border-radius: 14px;
}

.service-hub-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.service-hub-card h2 {
  margin-bottom: 12px;
  font-size: 23px;
}

.service-hub-card > p:not(.service-badge):not(.hub-price) {
  color: var(--muted);
  font-size: 14px;
}

.hub-price {
  margin: auto 0 17px;
  color: var(--blue);
}

.service-hub-card > a {
  color: var(--water);
  font-weight: 800;
}

.official-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.official-service-card {
  min-height: 345px;
}

.official-service-card .service-price-from {
  margin: auto 0 16px;
  color: var(--blue);
  font-weight: 800;
}

.official-service-card > a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
}

html[data-theme='dark'] .service-hero,
html[data-theme='dark'] .service-hub-hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 84% 10%, rgba(0, 91, 231, 0.28), transparent 34%),
    var(--blue);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

html[data-theme='dark'] .service-meta-card,
html[data-theme='dark'] .feature-list li,
html[data-theme='dark'] .scope-card,
html[data-theme='dark'] .service-steps li,
html[data-theme='dark'] .plan-card,
html[data-theme='dark'] .related-card,
html[data-theme='dark'] .service-hub-card {
  color: #edf4ff;
  background: #08275c;
  border-color: #315b96;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme='dark'] .service-meta-card h2,
html[data-theme='dark'] .service-meta-list dd,
html[data-theme='dark'] .feature-list li,
html[data-theme='dark'] .scope-card h3,
html[data-theme='dark'] .service-steps h3,
html[data-theme='dark'] .plan-card h3,
html[data-theme='dark'] .related-card strong,
html[data-theme='dark'] .service-hub-card h2,
html[data-theme='dark'] .hub-price,
html[data-theme='dark'] .official-service-card .service-price-from {
  color: #eef4ff;
}

html[data-theme='dark'] .service-meta-list dt,
html[data-theme='dark'] .service-steps p,
html[data-theme='dark'] .plan-card p,
html[data-theme='dark'] .related-card small,
html[data-theme='dark'] .service-hub-card > p:not(.service-badge):not(.hub-price) {
  color: #c1cde0;
}

html[data-theme='dark'] .service-meta-list div {
  border-color: #315b96;
}

html[data-theme='dark'] .service-mark,
html[data-theme='dark'] .service-hub-icon {
  background: #061f4a;
  border-color: #315b96;
}

html[data-theme='dark'] .service-badge {
  color: #d8e8ff;
  background: #0a2e68;
  border-color: #4170ad;
}

html[data-theme='dark'] .service-note {
  color: #f4f7ff;
  background: #0b367b;
  border-color: #4d79b7;
}

html[data-theme='dark'] .price-section .service-note {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1020px) {
  .service-hero-grid,
  .content-grid,
  .service-cta-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-meta-card {
    max-width: 680px;
  }

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

  .service-cta .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .service-hero,
  .service-hub-hero {
    padding: 40px 0 58px;
    background-size: 24px 24px, 24px 24px, auto, auto;
  }

  .service-section {
    padding: 64px 0;
  }

  .feature-list,
  .scope-grid,
  .price-grid,
  .related-grid,
  .service-hub-grid,
  .official-service-grid {
    grid-template-columns: 1fr;
  }

  .service-steps,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .service-steps li {
    min-height: 0;
  }

  .service-steps li > span {
    margin-bottom: 18px;
  }

  .service-cta {
    padding: 60px 0;
  }
}
