/* Основной дизайн «Деловой». Шрифт — IBM Plex Sans. */


/* ---------- Tokens ---------- */
html:root {
  /* Plex is narrower than Montserrat at the same size — scale every rem a little */
  font-size: 106.25%;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --b-blue: #1d64ad;
  --b-blue-deep: #154a84;
  --b-blue-night: #103a69;
  --b-dark: #25303d;
  --b-dark-2: #36434f;
  --b-hero: #e9eff6;
  --b-soft: #f2f5f9;
  --b-card-shadow: 0 6px 30px rgb(22 35 45 / 8%);
  --b-card-shadow-hover: 0 16px 44px rgb(22 35 45 / 14%);
  --b-bleed: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --b-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325303d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --b-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");

  --ink: #1b2633;
  --ink-2: #384553;
  --muted: #627080;
  --line: #dee5ed;
  --line-2: #cbd5e0;
  --bg-soft: var(--b-soft);
  --bg-tint: #dfe8f2;
  --accent: var(--b-dark);
  --accent-600: var(--b-dark-2);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 12px rgb(22 35 45 / 6%);
  --shadow: var(--b-card-shadow);
  --shadow-lg: 0 24px 60px rgb(22 35 45 / 16%);
  --water: linear-gradient(135deg, #1d64ad, #154a84);
  --water-soft: var(--bg-tint);
  --header-h: 20px;
}

:root body {
  font-size: 17px;
  background: var(--b-soft);
}

:root :is(h1, h2, h3, h4) {
  font-weight: 600;
  letter-spacing: -0.01em;
}

:root ::selection {
  background: var(--b-blue);
  color: #fff;
}

/* ---------- Buttons ---------- */
:root .btn {
  border-width: 1px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

:root .btn:hover {
  transform: none;
  box-shadow: none;
}

/* Dark action button with a white arrow circle (the reference's yellow, made dark) */
:root :is(.btn--accent, .btn--primary) {
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 0.5em 0.55em 0.5em 1.4em;
  color: #fff;
  background: var(--b-dark);
  box-shadow: none;
}

:root :is(.btn--accent, .btn--primary)::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff var(--b-arrow) center / 15px no-repeat;
  transition: transform 0.3s var(--ease);
}

:root :is(.btn--accent, .btn--primary):hover {
  background: var(--b-dark-2);
}

:root :is(.btn--accent, .btn--primary):hover::after {
  transform: translateX(3px);
}

:root .btn--sm:is(.btn--accent, .btn--primary) {
  min-height: 42px;
  padding-left: 1.1em;
}

:root .btn--sm:is(.btn--accent, .btn--primary)::after {
  width: 26px;
  height: 26px;
  background-size: 13px;
}

:root .btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
}

:root .btn--outline:hover {
  color: var(--b-blue-deep);
  border-color: var(--b-blue);
}

:root .btn--outline svg {
  color: var(--b-blue);
}

:root .btn--white {
  background: #fff;
  color: var(--b-dark);
}

:root .btn--white:hover {
  background: #e6eef8;
}

:root .btn--white svg {
  color: var(--b-blue-deep);
}

:root .btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 55%);
}

:root .btn--ghost-light:hover {
  background: #fff;
  color: var(--b-dark);
  border-color: #fff;
}

/* «Подробнее ▣»: an arrow tile after the text; on hover the tile grows
   leftwards under the whole label and becomes a dark button. The button never
   crosses the left guideline of the card text: the label slides right instead. */
:root :is(.service-card__more, .work-card__more, .promo-card__btn) {
  --link-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding-left: 0;
  transition: color 0.4s var(--link-ease), padding-left 0.45s var(--link-ease);
}

:root :is(.service-card__more, .work-card__more, .promo-card__btn)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: var(--bg-tint);
  border-radius: 8px;
  transition: width 0.45s var(--link-ease), background 0.35s var(--link-ease);
}

:root :is(.service-card__more, .work-card__more, .promo-card__btn) svg {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 8px;
  color: var(--b-blue-deep);
  transform: none;
  transition: color 0.35s var(--link-ease), transform 0.45s var(--link-ease);
}

:root :is(.service-card__link:hover .service-card__more, .work-card__link:hover .work-card__more, .promo-card__btn:hover, .promo-card__btn:focus-visible) {
  padding-left: 14px;
  color: #fff;
}

:root :is(.service-card__link:hover .service-card__more, .work-card__link:hover .work-card__more, .promo-card__btn:hover, .promo-card__btn:focus-visible)::before {
  width: 100%;
  background: var(--b-dark);
}

:root :is(.service-card__link:hover .service-card__more, .work-card__link:hover .work-card__more, .promo-card__btn:hover, .promo-card__btn:focus-visible) svg {
  color: #fff;
  transform: translateX(2px);
}

/* ---------- MAX: official icon ---------- */
:root svg.icon-max {
  background: url(/assets/img/max.svg) center / 100% 100% no-repeat;
}

:root svg.icon-max path {
  display: none;
}

:root .social-btn {
  border-width: 1px;
}

:root .social-btn:hover {
  transform: none;
  box-shadow: none;
}

:root .social-btn.social-btn--max {
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  transition: filter 0.2s;
}

:root .social-btn.social-btn--max svg.icon-max {
  width: 100%;
  height: 100%;
}

:root .social-btn.social-btn--max:hover {
  filter: brightness(1.1);
}

:root .messenger-link {
  border-width: 1px;
  border-radius: var(--radius-sm);
}

:root .messenger-link:hover {
  transform: none;
  box-shadow: none;
}

:root .messenger-link--max {
  color: #5533ee;
}

:root .messenger-link--max:hover {
  border-color: #5533ee;
}

:root .quick-contact__btn {
  animation: none;
}

:root .quick-contact__btn--max {
  background: none;
  border-radius: 0;
  box-shadow: none;
}

:root .quick-contact__btn--max svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgb(22 35 45 / 25%));
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */
:root .topbar {
  color: #fff;
  background: var(--b-blue-deep);
  font-size: 0.8rem;
}

:root .topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-height: 38px;
}

:root .topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: rgb(255 255 255 / 92%);
}

:root .topbar__item svg {
  width: 16px;
  height: 16px;
}

:root a.topbar__item:hover {
  color: #fff;
  text-decoration: underline;
}

:root :is(.site-header, .site-header.is-scrolled) {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:root .site-header {
  border-bottom-color: var(--line);
}

:root .site-header.is-scrolled {
  box-shadow: 0 4px 20px rgb(22 35 45 / 8%);
}

/* Logo: the symbol + the name in two lines (live text) */
:root .logo,
:root .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

:root .logo__mark {
  width: 48px;
  height: 48px;
}

:root :is(.logo__text, .footer-logo__text) {
  color: #16232d;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  white-space: nowrap;
  /* «трубы» — по центру под «Чистые» */
  text-align: center;
}

:root .header-phone__num {
  font-size: 1.05rem;
  font-weight: 600;
}

:root .header-phone__num:hover {
  color: var(--b-blue-deep);
}

:root .header-phone__schedule {
  display: none;
}

:root .header-phone__callback {
  align-self: flex-start;
  margin-top: 3px;
  padding: 0;
  color: var(--b-blue-deep);
  border-bottom: 1px dashed currentColor;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}

:root .header-phone__callback:hover {
  color: var(--b-blue);
}

:root .header-social .social-btn {
  width: 38px;
  height: 38px;
}

:root .nav-toggle {
  border-width: 1px;
  border-radius: var(--radius-sm);
}

:root .header-info {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

:root :is(.header-info > *, .header-hours) {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: clamp(16px, 1.8vw, 26px);
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

:root .header-info__tagline {
  /* vertical rule between the logo and the tagline, like the other dividers in the header */
  max-width: 330px;
  min-height: 44px;
  padding-inline: clamp(16px, 1.6vw, 22px) 0;
  border-left: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

:root .header-hours {
  /* short dividers on both sides, the same height as the one next to the logo */
  min-height: 44px;
  padding-inline: clamp(16px, 1.6vw, 22px) 16px;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  font-size: 0.8rem;
  white-space: nowrap;
}

:root .header-hours svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--b-blue);
}

:root .header-hours small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

@media (min-width: 1081px) {
  :root .site-header {
    position: relative;
  }

  :root .site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo info actions" "nav nav nav";
    gap: 0 clamp(18px, 2vw, 28px);
    min-height: 0;
  }

  :root :is(.logo, .header-info, .site-header__actions) {
    padding-block: 10px;
  }

  :root .logo {
    grid-area: logo;
    align-self: center;
  }

  :root .header-info {
    grid-area: info;
    align-items: center;
  }

  :root .site-header__actions {
    grid-area: actions;
    align-self: stretch;
    gap: 16px;
    padding-left: clamp(16px, 1.8vw, 26px);
    border-left: 0;
  }

  :root .nav {
    grid-area: nav;
    margin: 0;
    border-top: 1px solid var(--line);
  }

  :root .nav__list {
    justify-content: center;
    gap: clamp(20px, 3.2vw, 48px);
    min-height: 52px;
  }

  :root .nav__link {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  :root .nav__link::after {
    bottom: -15px;
    height: 3px;
    border-radius: 0;
    background: var(--b-blue);
  }

  :root .nav__link:hover {
    color: var(--b-blue-deep);
  }

  :root .site-header__cta {
    display: none;
  }
}

/* ---------- Services submenu in the nav ---------- */
:root .nav__sub-toggle {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
  transition: color 0.2s;
}

:root .nav__sub-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

:root .nav__item--has-sub.is-open .nav__sub-toggle svg {
  transform: rotate(180deg);
}

:root .nav__sub-group {
  min-width: 0;
}

:root .nav__sub-title {
  padding: 0 10px 12px;
  color: var(--b-blue-deep);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
}

:root .nav__sub-more {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

:root .nav__sub-more .nav__sub-link {
  color: var(--b-blue-deep);
}

:root .nav__sub-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s, background 0.2s;
}

:root .nav__sub-link:hover,
:root .nav__sub-link[aria-current] {
  color: var(--b-blue-deep);
}

/* Desktop: a dropdown panel under the nav row — opens on hover and by the arrow button */
@media (min-width: 1081px) {
  :root .nav__item--has-sub {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 3px;
  }

  :root .nav__sub-toggle {
    width: 22px;
    height: 22px;
    margin-right: -6px;
    border-radius: var(--radius-sm);
  }

  :root .nav__item--has-sub:hover .nav__sub-toggle {
    color: var(--b-blue-deep);
  }

  :root .nav__sub {
    position: absolute;
    top: 100%;
    left: -22px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 720px;
    max-width: calc(100vw - 2 * var(--gutter));
    max-height: calc(100dvh - 176px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px;
    background: #fff;
    border-top: 3px solid var(--b-blue);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--b-card-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
  }

  :root:not(.js) .nav__item--has-sub:hover .nav__sub,
  :root:not(.js) .nav__item--has-sub:focus-within .nav__sub,
  :root .nav__item--has-sub.is-open .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  :root .nav__sub-group + .nav__sub-group {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  :root .nav__sub-link {
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    white-space: normal;
  }

  :root .nav__sub-link:hover,
  :root .nav__sub-link[aria-current] {
    background: var(--b-soft);
  }
}

/* Mobile menu: the list of services unfolds under «Услуги» */
@media (max-width: 1080px) {
  :root .nav__item--has-sub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  :root .nav__item--has-sub>.nav__link {
    border-bottom: 0;
  }

  :root .nav__sub-toggle {
    width: 42px;
    height: 42px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
  }

  :root .nav__sub-toggle svg {
    width: 22px;
    height: 22px;
  }

  :root .nav__sub {
    display: none;
    grid-column: 1 / -1;
    padding: 10px 0 16px;
  }

  :root .nav__item--has-sub.is-open .nav__sub {
    display: block;
  }

  :root .nav__sub-group + .nav__sub-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  :root .nav__sub-title {
    padding: 0 8px 8px;
    font-size: 0.9rem;
  }

  :root .nav__sub-link {
    padding: 10px 8px;
    font-size: 0.87rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
:root .hero {
  padding-block: clamp(48px, 6vw, 92px) clamp(118px, 10vw, 148px);
  background: var(--b-hero);
}

:root .hero__blob,
:root :is(.hero__benefits, .hero__messengers, .hero__image, .hero__badge) {
  display: none;
}

:root .hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}

:root .hero__photo picture,
:root .hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 40%;
}

:root .hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--b-hero) 0%, rgb(233 239 246 / 72%) 16%, rgb(233 239 246 / 0%) 48%);
}

:root .hero__grid {
  display: block;
}

:root .hero__content {
  max-width: 640px;
}

:root .hero__eyebrow {
  gap: 0.6em;
  padding: 0;
  color: var(--b-blue-deep);
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:root .hero__eyebrow svg {
  color: var(--b-blue);
}

:root .hero__title {
  margin-top: 0.55em;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.15;
}

/* Keep the city intact while allowing a break before it at any viewport width. */
:root .hero__location {
  white-space: nowrap;
}

:root .hero__title-accent {
  display: block;
  color: var(--b-blue-deep);
}

:root .hero__lead {
  max-width: 48ch;
  margin-top: 1em;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

/* Two buttons instead of a form: request (opens the modal) and the phone number */
:root .hero__actions {
  gap: 12px;
  margin-top: clamp(26px, 3vw, 36px);
}

:root .hero__actions .btn {
  min-height: 56px;
  font-size: 1rem;
}

:root .hero__actions .btn--outline {
  padding-inline: 1.5em;
}

/* Promo pill sits on the photo, bottom right */
:root .hero__media {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
}

:root .hero__promo {
  position: static;
  max-width: 320px;
  padding: 14px 18px 14px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

:root .hero__promo:hover {
  transform: translateY(-2px);
}

:root .hero__promo-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--b-blue);
}

:root .hero__promo-ic svg {
  width: 22px;
  height: 22px;
}

:root .hero__promo-text strong {
  color: var(--b-blue-deep);
}

:root .hero__promo-arrow {
  color: var(--ink);
}

/* ---------- Advantages: white card overlapping the hero ---------- */
:root .advantages {
  position: relative;
  z-index: 2;
  margin-top: -76px;
  background: none;
  border: 0;
}

:root .advantages__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

:root .advantages__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px clamp(14px, 1.6vw, 22px);
  border-inline-start: 1px solid var(--line);
  border-bottom: 0;
}

:root .advantages__item:first-child {
  padding-inline-start: clamp(18px, 2vw, 26px);
  border-inline-start: 0;
}

:root .advantages__item:last-child {
  padding-inline-end: clamp(18px, 2vw, 26px);
}

:root .advantages__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--b-blue);
  border: 0;
  border-radius: 50%;
}

:root .advantages__ic svg {
  width: 22px;
  height: 22px;
}

:root .advantages__text {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================================
   Sections
   ========================================================================== */
:root .section {
  padding-block: clamp(64px, 7.5vw, 112px);
  overflow-x: clip;
}

:root .section__eyebrow {
  display: none;
}

:root .section__head {
  max-width: none;
  margin-bottom: clamp(30px, 3.6vw, 50px);
  text-align: left;
}

/* Heading with a blue underline; in full-width heads a thin grey line runs on to the edge */
:root :is(.section__title, .cta-band__title, .certs__title) {
  position: relative;
  display: inline-block;
  margin-top: 0;
  padding-bottom: 0.55em;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  background: linear-gradient(var(--b-blue), var(--b-blue)) left bottom / 100% 3px no-repeat;
}

:root .section__head .section__title::after {
  content: "";
  position: absolute;
  left: 100%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: var(--line);
}

:root .section__subtitle {
  max-width: 62ch;
  margin: 1.2em 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

:root .section__head--center .section__subtitle {
  margin-inline: 0;
}

/* ---------- Homepage services: one catalog, two independent service groups ---------- */
:root .services {
  padding-top: clamp(72px, 8vw, 120px);
  background: var(--b-soft);
}

:root .services__groups {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

:root .service-group {
  display: grid;
  grid-template-columns: minmax(0, 292px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px);
}

:root .service-group + .service-group {
  border-top: 1px solid var(--line);
}

:root .service-group__title {
  color: var(--b-blue-deep);
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  line-height: 1.2;
}

:root .service-group__description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

:root .service-group__photo {
  margin-top: 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--b-soft);
}

:root .service-group__photo :is(picture, img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root .service-group__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--b-blue-deep);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

:root .service-group__more svg {
  flex: none;
  width: 18px;
  height: 18px;
}

:root .service-group__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0 32px;
}

:root .service-group__item {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

:root .service-group__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-content: start;
  align-items: start;
  gap: 10px 14px;
  min-height: 132px;
  height: 100%;
  padding-block: 20px;
}

:root .service-group__name {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s;
}

:root .service-group__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--b-blue-deep);
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

:root .service-group__arrow svg {
  width: 16px;
  height: 16px;
}

:root .service-group__detail {
  grid-column: 1 / -1;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

:root .service-group__link:is(:hover, :focus-visible) .service-group__name {
  color: var(--b-blue-deep);
}

:root .service-group__link:is(:hover, :focus-visible) .service-group__arrow {
  color: #fff;
  background: var(--b-blue);
}

:root .service-group__link:active .service-group__arrow {
  background: var(--b-blue-night);
}

:root :is(.service-group__link, .service-group__more):focus-visible {
  outline: 2px solid var(--b-blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

:root .services__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

:root .services__help-title {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
}

:root .services__help-text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

:root .services__help .btn {
  flex: none;
}

@media (max-width: 1024px) {
  :root .service-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  :root .service-group__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-content: start;
    column-gap: 32px;
  }

  :root .service-group__photo {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  :root .service-group__more {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  :root .service-group {
    padding: 24px 20px;
    gap: 12px;
  }

  :root .service-group__intro,
  :root .service-group__list {
    display: block;
  }

  :root .service-group__photo {
    margin-top: 18px;
    aspect-ratio: 16 / 9;
  }

  :root .service-group__link {
    min-height: 112px;
    padding-block: 18px;
  }

  :root .services__help {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 20px;
  }

  :root .services__help .btn {
    padding-left: 1em;
    font-size: 0.84rem;
  }
}

/* Image cards remain in related-services sections on individual service pages. */
:root .services__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

/* hairlines between tiles; the outer ones are clipped by the panel */
:root .service-card {
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
}

:root .service-card__link {
  padding: 14px 14px 24px;
  background: #fff;
  border: 0;
  border-radius: 0;
  transition: background 0.3s var(--ease);
}

:root .service-card__link:hover {
  transform: none;
  box-shadow: none;
  background: #f5f8fb;
}

:root .service-card__link:focus-visible {
  outline-offset: -3px;
}

:root .service-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
}

:root .service-card__media picture {
  height: 100%;
}

:root .service-card__img {
  transition: transform 0.7s var(--ease);
}

:root .service-card__link:hover .service-card__img {
  transform: scale(1.04);
}

:root .service-card__body {
  gap: 0.6em;
  padding: 18px 8px 0;
}

:root .service-card__title {
  font-size: 1.02rem;
  line-height: 1.3;
}

:root .service-card__excerpt {
  display: -webkit-box;
  flex: none;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

:root .service-card__excerpt {
  margin-bottom: 0.7em;
}

:root .service-card__more {
  margin-top: auto;
}

/* ---------- Steps: a timeline — numbers on one connecting line, no tiles ---------- */
:root .steps {
  background: #fff;
}

/* --steps is set in the markup: one column per step */
:root .steps__list {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 0;
}

:root .steps__item {
  position: relative;
  padding: 0 28px 0 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* the connector runs from this step's number to the next one */
:root .steps__item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 58px;
  right: 12px;
  height: 2px;
  background: var(--line-2);
}

:root .steps__item:last-child::before {
  display: none;
}

:root .steps__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--b-blue);
  border-radius: 50%;
  font: 600 1.1rem/1 var(--font);
}

:root .steps__item:last-child .steps__num {
  background: var(--b-dark);
}

:root .steps__title {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.3;
}

:root .steps__text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* three in a row: the last step of each row has no connector */
@media (min-width: 901px) and (max-width: 1180px) {
  :root .steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  :root .steps__item:nth-child(3n)::before {
    display: none;
  }
}

/* narrow screens: a vertical timeline */
@media (max-width: 900px) {
  :root .steps__list {
    grid-template-columns: 1fr;
  }

  :root .steps__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 18px;
    padding: 0 0 30px;
  }

  :root .steps__item:last-child {
    padding-bottom: 0;
  }

  :root .steps__item::before {
    top: 52px;
    bottom: 6px;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
  }

  :root .steps__num {
    grid-row: 1 / span 2;
  }

  :root .steps__title {
    margin-top: 10px;
  }

  :root .steps__text {
    grid-column: 2;
  }
}

/* ---------- Promos ---------- */
:root .promos {
  background: var(--b-soft);
}

:root .promos__grid {
  gap: 20px;
}

:root .promo-card {
  gap: 0.7em;
  padding: 28px 26px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

:root .promo-card::before {
  display: none;
}

:root .promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--b-card-shadow-hover);
}

:root .promo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.5em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

:root .promo-card__figure {
  color: var(--b-blue-deep);
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

:root .promo-card__icon {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--b-blue-deep);
  background: var(--bg-tint);
  border-radius: 50%;
}

:root .promo-card__icon svg {
  width: 22px;
  height: 22px;
}

:root .promo-card__title {
  font-size: 1.08rem;
  line-height: 1.3;
}

:root .promo-card__descr {
  font-size: 0.88rem;
}

:root .promo-card__btn {
  margin-top: 0.8em;
}

/* ---------- CTA band: full-width blue, a contact card on pipe-section rings ---------- */
:root .cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 6vw, 84px);
  background: linear-gradient(120deg, #1d64ad, #154a84);
}

:root .cta-band .container {
  position: relative;
}

:root .cta-band__inner {
  flex-wrap: nowrap;
  gap: clamp(32px, 4.4vw, 64px);
  overflow: visible;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

:root .cta-band__inner::after {
  display: none;
}

:root .cta-band__content {
  max-width: 600px;
}

:root .cta-band__title {
  color: #fff;
  background-image: linear-gradient(#fff, #fff);
}

:root .cta-band__text {
  margin-top: 1em;
  color: rgb(255 255 255 / 92%);
}

:root .cta-band__facts {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

:root .cta-band__facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
}

:root .cta-band__fact-ic {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 6px;
  color: var(--b-blue-deep);
  background: #fff;
  border-radius: 50%;
}

/* the rings sit behind the card and are clipped by the band */
:root .cta-band__aside {
  position: relative;
  flex: none;
  width: min(380px, 100%);
}

:root .cta-band__aside::before,
:root .cta-band__aside::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

:root .cta-band__aside::before {
  width: 560px;
  height: 560px;
  box-shadow: 0 0 0 70px rgb(255 255 255 / 4%), inset 0 0 0 70px rgb(255 255 255 / 5%);
}

:root .cta-band__aside::after {
  width: 260px;
  height: 260px;
}

:root .cta-band__card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 30px 32px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgb(16 58 105 / 30%);
}

:root .cta-band__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:root .cta-band__phone {
  color: var(--ink);
  font-size: clamp(1.6rem, 2.3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.2s;
}

:root .cta-band__phone:hover {
  color: var(--b-blue-deep);
}

:root .cta-band__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

:root .cta-band__hours svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--b-blue);
}

:root .cta-band__btn {
  width: 100%;
  margin-top: 16px;
}

:root .cta-band__max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: #5533ee;
  font-size: 0.9rem;
  font-weight: 600;
}

:root .cta-band__max:hover {
  text-decoration: underline;
}

:root .cta-band__max svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  :root .cta-band__inner {
    flex-direction: column;
    align-items: stretch;
  }

  :root .cta-band__content {
    max-width: none;
  }

  :root .cta-band__aside {
    width: 100%;
    max-width: 460px;
  }
}

@media (max-width: 600px) {
  :root .cta-band__card {
    padding: 24px 22px;
  }
}

/* ---------- About, figures, letters of thanks ---------- */
:root .about {
  background: var(--b-soft);
}

:root .about__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
}

:root .about__text {
  margin-top: 1.4em;
}

:root .about__docs {
  gap: 12px;
}

:root .about__image {
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

:root .about__image picture {
  height: 100%;
}

:root .about__motto {
  left: 28px;
  bottom: -24px;
  padding: 0.85em 1.3em;
  border-radius: var(--radius-sm);
  box-shadow: var(--b-card-shadow);
  transform: none;
}

:root .about__motto span {
  color: var(--b-blue-deep);
  font-weight: 600;
}

:root .stats {
  gap: 0;
  margin-top: clamp(60px, 6.4vw, 88px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

:root .stats__item {
  padding: 28px 26px;
  text-align: left;
  background: none;
  border: 0;
  border-inline-start: 1px solid var(--line);
  border-radius: 0;
}

:root .stats__item:first-child {
  border-inline-start: 0;
}

:root .stats__num {
  color: var(--b-blue);
  font-size: clamp(2.1rem, 3.1vw, 2.75rem);
  font-weight: 700;
}

:root .stats__num i {
  color: var(--ink);
  font-size: 0.42em;
  font-weight: 600;
}

:root .stats__label {
  color: var(--muted);
  font-size: 0.86rem;
}

/* The letters panel bleeds to the left edge of the screen */
:root .certs {
  margin-top: clamp(56px, 6vw, 88px);
  margin-left: calc(-1 * var(--b-bleed));
  padding: 36px clamp(20px, 3vw, 40px) 40px var(--b-bleed);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--b-card-shadow);
}

:root .certs__title {
  margin-bottom: 28px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  text-align: left;
}

:root .certs__link {
  border-radius: var(--radius-sm);
  box-shadow: none;
}

:root .certs__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--b-card-shadow);
}

:root .certs__from {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

:root .slider-nav {
  color: #fff;
  background: var(--b-dark);
  border: 0;
  box-shadow: none;
  transition: background 0.25s;
}

:root .slider-nav:hover {
  transform: none;
  background: var(--b-blue);
}

/* ---------- For organisations: the one dark band ---------- */
:root .contract {
  color: rgb(255 255 255 / 76%);
  background: var(--b-dark);
}

/* a faint pipeline scheme in the bottom-left corner of the dark band (the blue band has rings — this one has lines) */
:root .contract::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 820px;
  height: 280px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='820' height='280' viewBox='0 0 820 280' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M0 40H260l100 100H760m0-8v16M0 66H249.2l100 100H660m0-8v16M0 92H238.5l100 100H710m0-8v16M0 118H227.7l100 100H580m0-8v16M0 144H216.9l100 100H640m0-8v16'/></svg>") left bottom / 820px 280px no-repeat;
  opacity: 0.11;
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 97%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 97%);
  pointer-events: none;
}

:root .contract .container {
  position: relative;
  z-index: 1;
}

/* below this width the text column grows down into the scheme — hide it */
@media (max-width: 1280px) {
  :root .contract::before {
    display: none;
  }
}

:root .contract__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

:root .contract .section__title {
  color: #fff;
}

:root .contract__lead {
  margin-top: 24px;
  color: rgb(255 255 255 / 82%);
  line-height: 1.65;
}

:root .contract__segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

:root .contract__segments li {
  padding: 8px 12px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
}

:root .contract__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

:root .contract .btn--accent {
  background: var(--b-blue);
}

:root .contract .btn--accent:hover {
  background: var(--b-blue-deep);
}

:root .contract__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

:root .contract__point {
  padding: 26px;
  background: rgb(255 255 255 / 5%);
  border: 0;
  border-radius: var(--radius);
}

:root .contract__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--b-blue);
  border: 0;
  border-radius: 50%;
}

:root .contract__ic svg {
  width: 22px;
  height: 22px;
}

:root .contract__title {
  margin-top: 18px;
  color: #fff;
  font-size: 1.04rem;
}

:root .contract__text {
  margin-top: 8px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------- Request form ---------- */
:root .cta-form {
  overflow: hidden;
  background: var(--b-soft);
}

/* the same rings as in the blue band, in pale blue — behind the form card */
:root .cta-form .container {
  position: relative;
  z-index: 0;
}

:root .cta-form__card {
  position: relative;
}

:root .cta-form__card::before,
:root .cta-form__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(29 100 173 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

:root .cta-form__card::before {
  width: 780px;
  height: 780px;
  box-shadow: 0 0 0 80px rgb(29 100 173 / 4%), inset 0 0 0 80px rgb(29 100 173 / 5%);
}

:root .cta-form__card::after {
  width: 1100px;
  height: 1100px;
}

:root .cta-form__inner {
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

:root .cta-form__text {
  margin-top: 1.2em;
}

:root .cta-form__list li {
  font-weight: 500;
}

:root .cta-form__list svg {
  width: 26px;
  height: 26px;
  padding: 6px;
  color: #fff;
  background: var(--b-blue);
  border-radius: 50%;
}

:root .cta-form__card {
  padding: clamp(24px, 3vw, 40px);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
}

:root :is(.lead-form input, .lead-form textarea) {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}

:root :is(.lead-form input:focus, .lead-form textarea:focus) {
  border-color: var(--b-blue);
  box-shadow: 0 0 0 3px rgb(29 100 173 / 16%);
}

:root .lead-form__consent input {
  accent-color: var(--b-blue);
}

:root .lead-form__submit {
  min-height: 54px;
}

/* ---------- FAQ ---------- */
:root .faq {
  background: #fff;
}

:root .faq__list {
  gap: 12px;
}

:root .faq__item {
  background: var(--b-soft);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
  transition: background 0.25s, box-shadow 0.25s;
}

:root .faq__item.is-open {
  background: #fff;
  box-shadow: var(--b-card-shadow);
}

:root .faq__question {
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 600;
}

:root .faq__icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  color: #fff;
  background: var(--b-blue);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s;
}

:root .faq__item.is-open .faq__icon {
  background: var(--b-dark);
}

:root .faq__answer>p {
  padding: 0 24px;
}

:root .faq__item.is-open .faq__answer>p {
  padding-bottom: 22px;
}

/* ---------- Portfolio: centred heading, cards with shadow ---------- */
:root .portfolio {
  background: var(--b-soft);
}

:root .portfolio .section__head {
  text-align: center;
}

:root .portfolio .section__title::after {
  display: none;
}

:root .portfolio .section__subtitle {
  margin-inline: auto;
}

:root .portfolio__grid {
  gap: 22px;
}

:root .work-card__link {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--b-card-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

:root .work-card__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--b-card-shadow-hover);
}

:root .work-card__media picture {
  height: 100%;
}

:root .work-card__img {
  transition: transform 0.7s var(--ease);
}

:root .work-card__link:hover .work-card__img {
  transform: scale(1.04);
}

:root .work-card__tag {
  color: #fff;
  background: var(--b-blue);
  border-radius: var(--radius-sm);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

:root .work-card__body {
  gap: 1em;
  padding: 22px 24px 24px;
}

:root .work-card__title {
  font-size: 1.04rem;
  line-height: 1.35;
}

/* ---------- Contacts + where we work ---------- */
:root .contacts {
  background: #fff;
}

:root .contacts__card {
  background: var(--b-soft);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

:root .contacts__card--accent {
  color: rgb(255 255 255 / 80%);
  background: var(--b-dark);
}

:root .contacts__card--accent .contacts__card-title {
  color: rgb(255 255 255 / 60%);
}

:root .contacts__card--accent .contacts__row {
  color: #fff;
}

:root .contacts__card--accent .btn--accent {
  background: var(--b-blue);
}

:root .contacts__card--accent .btn--accent:hover {
  background: var(--b-blue-deep);
}

:root :is(.contacts__big, .contacts__row) svg {
  color: var(--b-blue);
}

:root .contacts__big {
  font-weight: 600;
}

:root .contacts__map {
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

:root .map-embed__btn {
  border-radius: var(--radius-sm);
}

:root .areas {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 12px clamp(24px, 4vw, 56px);
  margin-top: 24px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--b-soft);
  border-radius: var(--radius);
  box-shadow: none;
}

:root .areas__title {
  font-size: 1.3rem;
}

:root .areas__lead {
  grid-column: 1;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

:root .areas__list {
  grid-area: 1 / 2 / 3 / 3;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

:root .areas__list li {
  padding: 0.45em 0.95em;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font: 500 0.86rem/1.3 var(--font);
  text-transform: none;
}

:root .areas__list li:not(:last-child)::after {
  content: none;
}

/* ---------- Footer: solid blue ---------- */
:root .site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  color: rgb(255 255 255 / 84%);
  background: var(--b-blue-deep);
}

:root .site-footer .container {
  position: relative;
  z-index: 1;
}

:root .site-footer::before,
:root .site-footer::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  pointer-events: none;
}

:root .site-footer::before {
  right: -170px;
  bottom: -300px;
  width: 680px;
  height: 680px;
  box-shadow: 0 0 0 80px rgb(255 255 255 / 3.5%), inset 0 0 0 80px rgb(255 255 255 / 4.5%);
}

:root .site-footer::after {
  right: -10px;
  bottom: -140px;
  width: 360px;
  height: 360px;
}

:root .site-footer__legal {
  color: rgb(255 255 255 / 72%);
  white-space: nowrap;
}

:root .site-footer__top {
  border-color: rgb(255 255 255 / 22%);
}

:root .footer-logo {
  background: #fff;
  border-radius: var(--radius);
}

:root .footer-logo {
  gap: 10px;
  padding: 8px 16px 8px 10px;
}

:root .footer-logo__mark {
  width: 42px;
  height: 42px;
}

:root .footer-logo__text {
  font-size: 1.08rem;
}

:root .site-footer__about {
  color: rgb(255 255 255 / 80%);
}

:root .site-footer__heading {
  color: #fff;
}

:root .site-footer__nav a {
  color: rgb(255 255 255 / 86%);
}

:root .site-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}

:root .site-footer__phone {
  color: #fff;
  font-weight: 600;
}

:root .site-footer__phone:hover {
  color: #d9e6f4;
}

:root .site-footer__link {
  color: rgb(255 255 255 / 86%);
}

:root :is(.site-footer__link svg, .site-footer__ic svg) {
  color: #fff;
}

:root .site-footer .btn--primary {
  color: var(--b-dark);
  background: #fff;
}

:root .site-footer .btn--primary::after {
  background: var(--b-dark) var(--b-arrow-white) center / 15px no-repeat;
}

:root .site-footer .btn--primary:hover {
  background: #e6eef8;
}

:root .site-footer__bottom {
  color: rgb(255 255 255 / 72%);
}

/* ---------- Modal, inner pages ---------- */
:root .modal__badge {
  color: var(--b-blue-deep);
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
}

:root .modal__close {
  border-radius: var(--radius-sm);
}

:root :is(.service__hero, .work__hero) {
  background: var(--b-hero);
}

:root :is(.service__title, .work__title) {
  font-weight: 600;
}

:root .service__cover {
  box-shadow: var(--b-card-shadow);
}

/* Portfolio case first screen: the same gradient, rings on the empty right side */
:root .work__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #f1f5f9 0%, var(--b-hero) 45%, #dde6f0 100%);
}

:root .work__hero .container {
  position: relative;
  z-index: 1;
}

:root .work__hero::before,
:root .work__hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 78%;
  border: 1px solid rgb(29 100 173 / 22%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

:root .work__hero::before {
  width: 520px;
  height: 520px;
  box-shadow: 0 0 0 70px rgb(29 100 173 / 4%), inset 0 0 0 70px rgb(29 100 173 / 5%);
}

:root .work__hero::after {
  width: 240px;
  height: 240px;
}

@media (max-width: 900px) {

  :root .work__hero::before,
  :root .work__hero::after {
    display: none;
  }
}

/* 404: rings behind the digits */
:root .error-page {
  position: relative;
  overflow: hidden;
}

:root .error-page .container {
  position: relative;
  z-index: 1;
}

:root .error-page::before,
:root .error-page::after {
  content: "";
  position: absolute;
  top: 44%;
  left: 50%;
  border: 1px solid rgb(29 100 173 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

:root .error-page::before {
  width: 560px;
  height: 560px;
  box-shadow: 0 0 0 70px rgb(29 100 173 / 4%), inset 0 0 0 70px rgb(29 100 173 / 5%);
}

:root .error-page::after {
  width: 860px;
  height: 860px;
}

/* Service first screen: a soft gradient and pipe-section rings behind the photo */
:root .service__hero {
  background: linear-gradient(100deg, #f1f5f9 0%, var(--b-hero) 45%, #dde6f0 100%);
}

:root .service__hero-media::before,
:root .service__hero-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(29 100 173 / 22%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

:root .service__hero-media::before {
  width: 760px;
  height: 760px;
  box-shadow: 0 0 0 80px rgb(29 100 173 / 4%), inset 0 0 0 80px rgb(29 100 173 / 5%);
}

:root .service__hero-media::after {
  width: 1080px;
  height: 1080px;
}

/* Hero bullet points with round blue checks (service landings, plumbing page) */
:root .lp-points {
  display: grid;
  gap: 0.7em;
  margin-top: 1.4em;
}

:root .lp-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

:root .lp-points__ic {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  padding: 6px;
  color: #fff;
  background: var(--b-blue);
  border-radius: 50%;
}

/* The discount: a round blue badge on the corner of the photo */
:root .service__discount {
  right: -22px;
  bottom: -26px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 136px;
  height: 136px;
  max-width: none;
  padding: 0 14px;
  color: #fff;
  text-align: center;
  background: var(--b-blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgb(21 74 132 / 38%);
}

:root .service__discount-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

:root .service__discount-text {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 900px) {
  :root .service__hero-media::before {
    width: 560px;
    height: 560px;
    box-shadow: 0 0 0 60px rgb(29 100 173 / 4%), inset 0 0 0 60px rgb(29 100 173 / 5%);
  }

  :root .service__hero-media::after {
    width: 800px;
    height: 800px;
  }

  :root .service__hero {
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  :root .service__discount {
    right: 10px;
    bottom: -30px;
    width: 120px;
    height: 120px;
  }

  :root .service__discount-num {
    font-size: 1.9rem;
  }
}

:root .why {
  background: #fff;
  border: 0;
  box-shadow: var(--b-card-shadow);
}

:root .why__ic {
  background: var(--b-blue);
}

:root .prose ul li::before {
  background: var(--b-blue);
  border: 0;
  width: 8px;
  height: 8px;
  top: 0.62em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  :root .header-info__tagline {
    display: none;
  }

}

@media (max-width: 1080px) {
  html:root {
    --header-h: 64px;
  }

  :root .header-info {
    display: none;
  }

  :root .logo__mark {
    width: 42px;
    height: 42px;
  }

  :root .logo__text {
    font-size: 1.1rem;
  }

  :root .advantages__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    padding: 6px clamp(18px, 3vw, 28px);
  }

  :root .advantages__item,
  :root .advantages__item:first-child,
  :root .advantages__item:last-child {
    padding: 16px 0;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  :root .advantages__item:last-child {
    border-bottom: 0;
  }

  :root .contract__grid {
    grid-template-columns: 1fr;
  }

  :root .nav__close {
    border-radius: var(--radius-sm);
  }

  :root .nav__phone-ic,
  :root .nav__schedule svg {
    color: var(--b-blue);
  }
}

@media (max-width: 900px) {
  :root .header-hours {
    display: none;
  }

  :root .topbar {
    display: none;
  }

  :root .hero {
    padding-block: 0 104px;
  }

  :root .hero__photo {
    bottom: auto;
    width: 100%;
    height: 240px;
  }

  :root .hero__photo::after {
    background: linear-gradient(180deg, rgb(233 239 246 / 0%) 45%, var(--b-hero) 100%);
  }

  :root .hero>.container {
    padding-top: 220px;
  }

  :root .hero__media {
    position: static;
    margin-top: 20px;
  }

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

  :root .about__grid {
    grid-template-columns: 1fr;
  }

  :root .about__media {
    max-width: none;
  }

  :root .about__image {
    aspect-ratio: 4 / 3;
  }

  :root .stats__item:nth-child(odd) {
    border-inline-start: 0;
  }

  :root .stats__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  :root .areas {
    grid-template-columns: 1fr;
  }

  :root .areas__list {
    grid-area: auto;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  :root .section {
    padding-block: 56px;
  }

  :root .hero__title {
    font-size: clamp(1.75rem, 7.6vw, 2.2rem);
  }

  :root .hero__actions {
    flex-direction: column;
  }

  :root .hero__actions .btn {
    width: 100%;
  }

  :root .hero__promo {
    max-width: none;
  }

  :root .advantages__list {
    grid-template-columns: 1fr;
  }

  :root .advantages__item:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  :root .services__grid {
    grid-template-columns: 1fr;
  }

  :root .contract__points {
    grid-template-columns: 1fr;
  }

  :root .contract__actions .btn {
    width: 100%;
  }

  :root .stats__item {
    padding: 22px 18px;
  }

  :root .certs {
    padding-right: 20px;
  }

  :root .about__motto {
    left: 16px;
  }
}

/* ==========================================================================
   Mobile call bar + cookie notice
   ========================================================================== */
:root .callbar {
  display: none;
}

:root .cookie {
  position: fixed;
  z-index: 46;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 16px 18px;
  color: var(--ink-2);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  line-height: 1.5;
}

:root .cookie[hidden] {
  display: none;
}

:root .cookie__text a {
  color: var(--b-blue-deep);
  text-decoration: underline;
}

:root .cookie__accept {
  flex: none;
}

@media (max-width: 900px) {

  /* call + request are always at hand; the floating messenger button gives way to the bar */
  :root .callbar {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 24px rgb(22 35 45 / 12%);
    transform: translateY(105%);
    transition: transform 0.3s var(--ease);
  }

  :root .callbar.is-visible {
    transform: none;
  }

  :root .callbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
  }

  :root .callbar__btn svg {
    width: 18px;
    height: 18px;
  }

  :root .callbar__btn--call {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-2);
  }

  :root .callbar__btn--call svg {
    color: var(--b-blue);
  }

  :root .callbar__btn--order {
    color: #fff;
    background: var(--b-dark);
  }

  :root .quick-contact {
    display: none;
  }

  :root .site-footer {
    padding-bottom: 92px;
  }

  :root .cookie {
    left: 12px;
    right: 12px;
    bottom: 80px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  :root .cookie {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}


/* ==========================================================================
   Logo variants + switcher (temporary, until the client chooses)
   ========================================================================== */
:root .logo__mark--waves { display: none; }
:root[data-logo="waves"] .logo__mark--drop { display: none; }
:root[data-logo="waves"] .logo__mark--waves { display: block; }

:root .logo-switch {
  position: fixed;
  z-index: 44;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
}
:root .logo-switch__label { margin-right: 6px; color: var(--muted); font-weight: 500; }
:root .logo-switch__btn {
  padding: 7px 14px;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
:root .logo-switch__btn:hover { background: var(--b-soft); }
:root .logo-switch__btn[aria-pressed="true"] { color: #fff; background: var(--b-dark); }

@media (max-width: 900px) {
  :root .logo-switch { bottom: 84px; }
}
