:root {
  --red: #ec0013;
  --red-dark: #bf0010;
  --red-soft: #fff1f2;
  --ink: #202124;
  --text: #505968;
  --muted: #798292;
  --line: #e8ebef;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --shadow: 0 14px 34px rgba(24, 28, 35, 0.09);
  --radius: 8px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(24, 28, 35, 0.05);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(214px, 22vw, 300px);
  height: auto;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  user-select: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.nav-cta {
  color: #fff;
  background: var(--red);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff;
  background: var(--red-dark);
}

.nav-has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.submenu a {
  display: block;
  padding: 9px 11px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  user-select: none;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--red);
  background: var(--red-soft);
}

.nav-has-submenu:hover .submenu,
.nav-has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  min-width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.nav-toggle-text {
  display: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.nav-toggle .icon-close {
  display: none;
}

i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

i[data-lucide="menu"]::before {
  content: "\2630";
}

i[data-lucide="x"]::before {
  content: "\00d7";
  font-size: 24px;
}

i[data-lucide="check"]::before {
  content: "\2713";
}

i[data-lucide="phone"]::before,
i[data-lucide="phone-call"]::before {
  content: "\260e";
}

i[data-lucide="mail"]::before {
  content: "\2709";
}

i[data-lucide="map-pin"]::before {
  content: "\2316";
}

i[data-lucide="user"]::before {
  content: "\2022";
}

i[data-lucide="layers"]::before {
  content: "\25a3";
}

i[data-lucide="award"]::before {
  content: "\2605";
}

i[data-lucide="star"]::before {
  content: "\2605";
}

i[data-lucide="home"]::before {
  content: "\2302";
}

i[data-lucide="search-x"]::before {
  content: "\2315";
}

i[data-lucide="triangle-alert"]::before {
  content: "!";
  font-weight: 900;
}

i[data-lucide="chevron-left"]::before {
  content: "\2039";
  font-size: 28px;
}

i[data-lucide="chevron-right"]::before {
  content: "\203a";
  font-size: 28px;
}

i[data-lucide="pause"]::before {
  content: "\275A\275A";
  font-size: 17px;
}

i[data-lucide="play"]::before {
  content: "\25B6";
  font-size: 17px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 13px 24px rgba(236, 0, 19, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 15px 28px rgba(236, 0, 19, 0.26);
}

.button-light {
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(236, 0, 19, 0.18);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--red-dark);
  border-color: rgba(236, 0, 19, 0.34);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.12);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-track {
  position: relative;
  height: clamp(190px, 15.5vw, 265px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.hero-slide.is-current {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide.is-next {
  z-index: 2;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
}

.hero-slide.is-next.is-fading-in {
  opacity: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 19, 18, 0.45), rgba(20, 19, 18, 0.2)),
    linear-gradient(0deg, rgba(20, 19, 18, 0.18), rgba(20, 19, 18, 0.03));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-title {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.55vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: width 0.18s ease, background-color 0.18s ease;
}

.hero-dots button.is-active {
  width: 42px;
  background: var(--red);
}

.section {
  padding: clamp(52px, 6vw, 76px) 0;
}

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

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading h1 span {
  display: block;
}

.headline-accent {
  width: fit-content;
  margin: 10px auto 0;
  padding: 5px 14px 7px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--red), var(--red-dark)),
    var(--red);
  border-radius: 999px;
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(236, 0, 19, 0.22);
}

.headline-accent strong {
  font-size: 1.16em;
  letter-spacing: 0;
}

.section-heading::after,
.about-card h2::after,
.contact-panel h2::after,
.content-block h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 15px auto 0;
  background: var(--red);
}

.about-section {
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.about-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.about-card,
.benefit-card,
.side-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 28, 35, 0.06);
}

.about-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
}

.about-card-primary {
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.08), rgba(255, 255, 255, 0) 44%),
    #fff;
}

.about-card-wide {
  grid-column: 1 / -1;
  display: block;
}

.about-card h2,
.side-panel h2,
.contact-panel h2,
.content-block h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0;
}

.about-card h2 {
  font-size: clamp(23px, 2.1vw, 28px);
}

.about-card h2::after,
.contact-panel h2::after,
.content-block h2::after {
  margin-left: 0;
  margin-right: 0;
}

.about-card p,
.content-block p {
  margin: 20px 0 0;
  font-size: 16px;
}

.about-card strong {
  color: var(--ink);
  font-weight: 900;
}

.about-cta {
  margin-top: 24px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.09), rgba(236, 0, 19, 0.02)),
    #fff;
  border: 1px solid rgba(236, 0, 19, 0.12);
  border-radius: var(--radius);
}

.about-cta .button {
  width: 100%;
  margin: 0;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-section {
  padding: clamp(42px, 4vw, 56px) 0;
  background: var(--surface-soft);
  border-top: 1px solid #edf0f4;
}

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

.benefit-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
}

.benefit-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  flex: 0 0 auto;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}

.benefit-card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 30%),
    linear-gradient(90deg, rgba(18, 20, 23, 0.72), rgba(18, 20, 23, 0.3) 58%, rgba(18, 20, 23, 0.1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #44474c 0%, #747982 48%, #b7bbc2 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.page-hero-inner {
  min-height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-block: 32px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #fff;
}

.breadcrumbs a,
.breadcrumbs span {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a + a::before,
.breadcrumbs a + span::before {
  content: "/";
  margin-right: 9px;
  color: rgba(255, 255, 255, 0.45);
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.inner-section {
  background: #fff;
}

.inner-layout {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 24px;
}

.side-panel,
.contact-panel,
.sidebar-promo {
  overflow: hidden;
}

.side-panel h2,
.contact-panel h2 {
  padding: 20px 22px 18px;
  font-size: 21px;
}

.side-panel > a,
.side-parent {
  display: block;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  user-select: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.side-panel a:hover,
.side-panel a:focus-visible,
.side-panel a.is-active {
  color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 4px 0 0 var(--red);
}

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

.side-group .side-parent {
  border-top: 0;
}

.side-submenu {
  display: grid;
  gap: 2px;
  margin: 0 16px 12px 24px;
  padding: 3px 0 3px 14px;
  border-left: 1px solid var(--line);
}

.side-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  user-select: none;
}

.side-submenu a:hover,
.side-submenu a:focus-visible {
  color: var(--red);
  background: var(--red-soft);
  box-shadow: none;
}

.side-submenu a.is-active {
  color: #fff;
  background: var(--red);
  box-shadow: none;
}

.contact-panel {
  padding-bottom: 10px;
}

.contact-panel ul {
  margin: 0;
  padding: 2px 22px 14px;
  list-style: none;
}

.contact-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
}

.contact-panel svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--red);
  margin-top: 3px;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--red);
}

.sidebar-promo {
  padding: 24px 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(236, 0, 19, 0.22);
}

.promo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
}

.promo-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.sidebar-promo h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.18;
}

.sidebar-promo p {
  margin: 14px 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.sidebar-promo a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  color: var(--red);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-promo a:hover,
.sidebar-promo a:focus-visible {
  color: var(--red-dark);
}

.article-content {
  min-width: 0;
}

.services-grid {
  display: grid;
  gap: 22px;
}

.service-overview-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 24px 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.055), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: 0 13px 32px rgba(24, 28, 35, 0.07);
}

.service-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.service-overview-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.2;
  letter-spacing: 0;
}

.service-overview-card p {
  margin: 12px 0 18px;
  font-size: 16px;
}

.service-overview-card .button {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

.content-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, #fff, #f1f3f6),
    #fff;
  box-shadow: 0 18px 34px rgba(24, 28, 35, 0.1);
}

.content-media::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
}

.content-media {
  width: min(var(--media-width, 680px), 100%);
  margin: 30px auto 0;
  padding: 8px;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.content-media-wide {
  width: 100%;
  margin: 30px auto 0;
}

.content-media figcaption {
  padding: 10px 5px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.content-subheading {
  font-size: clamp(23px, 2.5vw, 30px) !important;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.grade-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 28, 35, 0.06);
}

.grade-card img {
  width: 200px;
  max-width: 100%;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
}

.grade-card div {
  padding: 0;
}

.grade-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.grade-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.gallery-viewer {
  display: grid;
  gap: 22px;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, #fff, #f5f6f8),
    #fff;
  box-shadow: 0 18px 36px rgba(24, 28, 35, 0.1);
}

.gallery-image-button {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #f2f3f5;
  cursor: pointer;
}

.gallery-image-button img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 720px);
  height: auto;
  border-radius: var(--radius);
  opacity: 1;
  transition: opacity 0.28s ease;
}

.gallery-image-button img.is-changing {
  opacity: 0.22;
}

.gallery-control,
.gallery-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: rgba(236, 0, 19, 0.92);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(24, 28, 35, 0.18);
  transform: translateY(-50%);
}

.gallery-control:hover,
.gallery-control:focus-visible,
.gallery-toggle:hover,
.gallery-toggle:focus-visible {
  background: var(--red-dark);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.gallery-control svg,
.gallery-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.gallery-control-prev {
  left: 22px;
}

.gallery-control-next {
  right: 22px;
}

.gallery-status {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  color: #fff;
  background: rgba(24, 28, 35, 0.76);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.gallery-status span {
  min-width: 58px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.gallery-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}

.gallery-thumb {
  overflow: hidden;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 28, 35, 0.06);
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  border-color: var(--red);
  opacity: 1;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.price-intro {
  margin-bottom: 24px;
  padding: 18px 20px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.08), rgba(236, 0, 19, 0.02)),
    #fff;
  border: 1px solid rgba(236, 0, 19, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(24, 28, 35, 0.055);
}

.price-intro p {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.price-sections {
  display: grid;
  gap: 26px;
}

.price-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(24, 28, 35, 0.06);
}

.price-section h2 {
  margin: 0;
  padding: 22px 24px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.075), rgba(255, 255, 255, 0) 46%),
    var(--surface-soft);
  border-bottom: 1px solid var(--line);
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.2;
}

.price-list {
  display: grid;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.price-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.price-value {
  justify-self: end;
  min-width: 150px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--red);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
}

.price-value span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-note-row {
  background: linear-gradient(135deg, rgba(236, 0, 19, 0.055), rgba(255, 255, 255, 0));
}

.price-summary {
  margin-top: 28px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 18px 34px rgba(236, 0, 19, 0.18);
}

.price-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.price-summary p + p {
  margin-top: 12px;
}

.price-summary strong {
  color: #fff;
  font-weight: 900;
}

.contact-main {
  display: grid;
  gap: 26px;
}

.contact-lead {
  padding: 22px 24px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
  border: 1px solid rgba(236, 0, 19, 0.14);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 28px rgba(24, 28, 35, 0.055);
}

.contact-lead p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.contact-card-main,
.map-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(24, 28, 35, 0.06);
}

.contact-card-main h2,
.map-section h2 {
  margin: 0;
  padding: 22px 24px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.075), rgba(255, 255, 255, 0) 46%),
    var(--surface-soft);
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 2.5vw, 31px);
  line-height: 1.2;
}

.contact-card-main dl {
  display: grid;
  margin: 0;
}

.contact-card-main dl > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.contact-card-main dl > div:first-child {
  border-top: 0;
}

.contact-card-main dt {
  color: var(--ink);
  font-weight: 900;
}

.contact-card-main dd {
  margin: 0;
}

.contact-card-main a {
  color: var(--red);
  font-weight: 900;
}

.contact-card-main a:hover,
.contact-card-main a:focus-visible {
  color: var(--red-dark);
  text-decoration: underline;
}

.map-frame {
  padding: 10px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.error-section {
  background: #fff;
}

.error-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(236, 0, 19, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.error-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--red-soft);
}

.error-icon svg {
  width: 26px;
  height: 26px;
}

.error-card h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.error-card p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 22px rgba(24, 28, 35, 0.045);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
}

.content-block {
  padding: 0 0 clamp(34px, 5vw, 56px);
}

.content-block::after {
  content: "";
  display: block;
  clear: both;
}

.content-block + .content-block {
  padding-top: clamp(28px, 3vw, 38px);
  border-top: 1px solid var(--line);
}

.content-block h2 {
  color: var(--red);
  font-size: clamp(26px, 3vw, 34px);
}

.content-block > p:first-child {
  margin-top: 0;
}

.site-footer {
  background: #191817;
  color: rgba(255, 255, 255, 0.7);
}

.footer-simple {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-simple strong {
  color: #fff;
  font-size: 15px;
}

.footer-simple nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-simple a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-simple a:hover,
.footer-simple a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    min-width: 104px;
    padding: 0 14px;
    border-color: var(--red);
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 22px rgba(236, 0, 19, 0.22);
  }

  .nav-toggle-text {
    display: inline;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--red-dark);
    border-color: var(--red-dark);
  }

  .primary-nav {
    position: fixed;
    top: 74px;
    right: 12px;
    width: min(312px, calc(100vw - 24px));
    max-height: calc(100vh - 88px);
    overflow: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-header.is-nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-nav-open .nav-toggle .icon-menu {
    display: none;
  }

  .site-header.is-nav-open .nav-toggle .icon-close {
    display: block;
  }

  .primary-nav > ul {
    display: grid;
    justify-content: stretch;
    align-items: stretch;
    gap: 2px;
  }

  .primary-nav li {
    min-width: 0;
  }

  .nav-link {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding-inline: 12px;
    font-size: 14px;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    gap: 2px;
    margin: 2px 0 8px;
    padding: 2px 0 6px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }

  .submenu a {
    position: relative;
    padding: 8px 9px 8px 20px;
    font-size: 13.5px;
    white-space: normal;
  }

  .submenu a::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .about-cards,
  .inner-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .article-content {
    order: 1;
  }

  .side-panel {
    display: none;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: clamp(172px, 48vw, 225px);
  }

  .nav-toggle {
    min-width: 96px;
    height: 40px;
    padding-inline: 12px;
  }

  .nav-toggle-text {
    font-size: 13px;
  }

  .hero-track {
    height: 235px;
  }

  .hero-title {
    max-width: 92%;
    font-size: clamp(24px, 7vw, 32px);
  }

  .section {
    padding-block: 46px;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: center;
  }

  .section-heading h1 {
    font-size: 30px;
  }

  .headline-accent {
    margin-left: auto;
    margin-right: auto;
  }

  .about-card {
    padding: 22px;
  }

  .about-card h2,
  .content-block h2 {
    font-size: 26px;
  }

  .about-card p,
  .content-block p {
    font-size: 16px;
  }

  .benefit-section {
    padding-block: 40px;
  }

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

  .services-grid {
    gap: 18px;
  }

  .service-overview-card {
    padding: 16px;
  }

  .service-overview-card .button {
    width: 100%;
  }

  .grade-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .grade-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .content-media,
  .content-media-wide {
    float: none;
    width: 100%;
    margin: 34px auto 22px;
    padding: 7px;
  }

  .gallery-stage {
    padding: 7px;
  }

  .gallery-control {
    width: 40px;
    height: 40px;
  }

  .gallery-control-prev {
    left: 14px;
  }

  .gallery-control-next {
    right: 14px;
  }

  .gallery-status {
    right: 14px;
    bottom: 14px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .price-intro {
    padding: 16px;
  }

  .price-section h2 {
    padding: 19px 18px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 17px 18px;
  }

  .price-value {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .price-summary {
    padding: 22px 18px;
  }

  .contact-lead {
    padding: 18px;
  }

  .contact-lead p {
    font-size: 17px;
  }

  .contact-card-main h2,
  .map-section h2 {
    padding: 19px 18px;
  }

  .contact-card-main dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }

  .map-frame {
    padding: 7px;
  }

  .map-frame iframe {
    min-height: 320px;
  }

  .error-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px;
  }

  .error-card h2 {
    font-size: 26px;
  }

  .error-card p:not(.eyebrow) {
    font-size: 16px;
  }

  .error-actions {
    gap: 10px;
  }

  .content-media img,
  .content-media-wide img {
    aspect-ratio: auto;
  }

  .benefit-card {
    min-height: 0;
    align-items: center;
    text-align: center;
  }

  .button {
    width: 100%;
    padding-inline: 14px;
  }

  .about-cta {
    padding: 12px;
  }

  .about-cta .button {
    min-height: 48px;
    font-size: 14px;
    gap: 7px;
  }

  .about-cta .button svg {
    width: 16px;
    height: 16px;
  }

  .page-hero-inner {
    min-height: 132px;
    padding-block: 25px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .footer-simple {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .footer-simple nav {
    justify-content: center;
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-slide.is-next {
    transition: opacity 1.15s ease-in-out !important;
  }
}
