:root {
  --brand-blue: #0f5f8f;
  --brand-blue-dark: #063a67;
  --brand-cyan: #16a3c7;
  --brand-red: #f02b12;
  --brand-ink: #202933;
  --brand-muted: #65717b;
  --brand-soft: #f5f7f8;
  --material-surface: #ffffff;
  --material-surface-2: #f7fafc;
  --material-button-shadow: 0 0.55rem 1.25rem rgba(31, 45, 61, 0.16);
  --material-button-shadow-hover: 0 0.75rem 1.65rem rgba(31, 45, 61, 0.2);
  --material-shadow: 0 0.65rem 1.8rem rgba(31, 45, 61, 0.12);
  --material-shadow-strong: 0 1.35rem 3rem rgba(31, 45, 61, 0.18);
  --bs-primary: #0f5f8f;
  --bs-primary-rgb: 15, 95, 143;
  --bs-body-color: #202933;
  --bs-body-bg: #fff;
  --bs-border-radius: 0.5rem;
  --bs-border-color: #e2e7eb;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--brand-ink);
  line-height: 1.55;
  background: var(--material-surface);
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid rgba(22, 163, 199, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 2000;
  transform: translateY(-160%);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--brand-blue);
  padding: 0.75rem 1rem;
  font-weight: 900;
  box-shadow: var(--material-shadow-strong);
}

.skip-link:focus {
  transform: translateY(0);
}

.fw-black {
  font-weight: 900;
}

.section-padding {
  padding: 86px 0;
}

.section-heading {
  max-width: 840px;
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--brand-cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.btn-brand {
  --bs-btn-bg: var(--brand-red);
  --bs-btn-border-color: var(--brand-red);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #d92712;
  --bs-btn-hover-border-color: #d92712;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #bd220f;
  --bs-btn-active-border-color: #bd220f;
  font-weight: 800;
  border-radius: 0.35rem;
  box-shadow: var(--material-button-shadow);
  text-transform: none;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
  font-weight: 800;
  border-radius: 0.35rem;
  text-transform: none;
}

.btn,
.form-control,
.form-select,
.card,
.modal-content,
.accordion,
.accordion-item,
.list-group-item,
.breadcrumb {
  border-radius: 0.35rem;
}

.btn {
  letter-spacing: 0;
}

.form-control,
.form-select {
  border-color: #d5dee5;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 95, 143, 0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.16rem rgba(15, 95, 143, 0.18);
}

.topbar {
  background: var(--brand-ink) !important;
}

.site-header {
  z-index: 1030;
  box-shadow: 0 0.35rem 1.4rem rgba(31, 45, 61, 0.12) !important;
}

.brand-logo {
  width: 150px;
  height: 72px;
  object-fit: contain;
}

.navbar .nav-link {
  color: #35424c;
}

.navbar i,
.mobile-nav-links i,
.topbar i {
  color: currentColor;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.header-phone,
.topbar-phone:hover {
  color: var(--brand-blue) !important;
}

.offcanvas .nav-link {
  border-bottom: 1px solid var(--bs-border-color);
  color: var(--brand-ink);
  font-weight: 800;
  padding: 0.85rem 0;
}

.hero-carousel,
.hero-slide-bs {
  min-height: calc(100vh - 122px);
  background: var(--brand-ink);
}

.hero-slide-bs {
  position: relative;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 26, 0.88), rgba(12, 18, 26, 0.58), rgba(12, 18, 26, 0.28));
}

.hero-slide-bs .btn {
  position: relative;
  isolation: isolate;
  border-width: 2px;
  box-shadow: 0 0.75rem 1.65rem rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-slide-bs .btn-brand {
  border-color: #fff;
  background: #f02b12;
  color: #fff;
}

.hero-slide-bs .btn-brand:hover,
.hero-slide-bs .btn-brand:focus {
  border-color: #fff;
  background: #d92712;
}

.hero-slide-bs .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.94);
  color: #12344a;
}

.hero-slide-bs .btn-outline-light:hover,
.hero-slide-bs .btn-outline-light:focus {
  border-color: #fff;
  background: #fff;
  color: #0f5f8f;
}

.min-vh-hero {
  min-height: calc(100vh - 122px);
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.text-info-emphasis {
  color: #70d7ee !important;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--brand-red);
}

.carousel-control-bi {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(15, 25, 35, 0.36);
  color: #fff;
  font-size: 1.85rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f7fb;
  color: var(--brand-cyan);
  box-shadow: 0 0.55rem 1.2rem rgba(22, 163, 199, 0.16);
}

.icon-badge i {
  font-size: 2rem;
  line-height: 1;
}

.icon-badge-dark {
  border-radius: 0.5rem;
  background: var(--brand-blue);
  color: #fff;
}

.service-card-bs,
.related-card,
.price-card {
  border-radius: 0.45rem;
  box-shadow: var(--material-shadow) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card-bs:hover,
.related-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--material-shadow-strong) !important;
}

.link-accent {
  color: var(--brand-red);
}

.stat-item {
  position: relative;
  border-left: 4px solid var(--brand-red);
  padding-left: 3.4rem;
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  line-height: 1.1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.74);
}

.stat-icon {
  position: absolute;
  left: 1.1rem;
  top: 0.15rem;
  color: #70d7ee;
  font-size: 1.45rem;
}

.work-photo {
  min-height: 520px;
  background-image: image-set(
    url("/uploads/20260515-032327-c6c6765e0e.webp") type("image/webp"),
    url("/uploads/20260515-032327-c6c6765e0e.jpg") type("image/jpeg")
  );
  background-position: center;
  background-size: cover;
  box-shadow: var(--material-shadow-strong);
}

.check-mark {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--brand-red);
  font-size: 1.05rem;
  line-height: 1;
}

.price-value {
  color: var(--brand-blue);
  font-size: 1.35rem;
  white-space: nowrap;
}

.portfolio-img {
  height: 260px;
  object-fit: cover;
}

.portfolio-placeholder {
  display: grid;
  place-items: center;
  height: 260px;
  background: linear-gradient(135deg, #eef7fb, #ffffff);
  color: var(--brand-blue);
  padding: 1.5rem;
  text-align: center;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(15, 95, 143, 0.1);
}

.quiz-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quiz-step.is-active {
  display: block;
}

.quiz-card {
  overflow: hidden;
}

.quiz-progress {
  height: 0.55rem;
  border-radius: 999px;
  background: #e5eef4;
}

.quiz-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transition: width 0.25s ease;
}

.quiz-step-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid rgba(220, 53, 69, 0.28);
  border-left-width: 4px;
  border-radius: 0.6rem;
  background: #fff5f6;
  color: #a61e2c;
  padding: 0.85rem 1rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 0.55rem 1.4rem rgba(220, 53, 69, 0.08);
}

.quiz-step-alert i {
  margin-top: 0.1rem;
}

.quiz-step-counter {
  align-self: flex-start;
  border-radius: 999px;
  background: #eef7fb;
  color: var(--brand-blue);
  padding: 0.4rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.quiz-benefits {
  color: var(--brand-ink);
}

.quiz-benefits div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-left: 4px solid var(--brand-cyan);
  background: #fff;
  padding: 0.95rem 1rem;
  box-shadow: 0 0.55rem 1.5rem rgba(23, 35, 47, 0.07);
}

.quiz-benefits i {
  color: var(--brand-blue);
}

.quiz-choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 50px;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: #fff;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  margin: 0;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.quiz-choice-card {
  align-items: flex-start;
  min-height: 92px;
  gap: 0.8rem;
}

.quiz-choice__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.45rem;
  background: #eef7fb;
  color: var(--brand-blue);
}

.quiz-choice__body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.quiz-choice__title {
  color: var(--brand-ink);
  font-weight: 900;
}

.quiz-choice__hint {
  color: var(--brand-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.quiz-choice:has(input:checked) {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.18rem rgba(15, 95, 143, 0.12);
}

.quiz-choice:has(input:checked) .quiz-choice__icon {
  background: var(--brand-blue);
  color: #fff;
}

.quiz-choice.is-invalid {
  border-color: #dc3545;
  background: #fff8f8;
  box-shadow: 0 0 0 0.18rem rgba(220, 53, 69, 0.12);
}

.quiz-choice.is-invalid .quiz-choice__icon {
  background: #fde7ea;
  color: #c92a2a;
}

.quiz-choice .form-check-input[type="radio"] {
  flex: 0 0 1.25rem;
  float: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125em 0 0;
  margin-left: 0;
  margin-right: 0;
  box-shadow: none;
}

.quiz-choice .form-check-input[type="radio"]::before {
  display: none;
}

.quiz-choice .form-check-input[type="radio"]:focus {
  border-color: var(--mdb-form-control-border-color);
  box-shadow: none;
}

.quiz-choice .form-check-input[type="radio"]:checked {
  background-color: var(--mdb-body-bg);
  background-image: none;
  border-color: #3b71ca;
}

.quiz-choice .form-check-input[type="radio"]:checked::after {
  background-color: #3b71ca;
  border-color: #3b71ca;
  border-radius: 50%;
  height: 0.625rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.625rem;
}

.quiz-choice.is-invalid .form-check-input[type="radio"] {
  border-color: #dc3545;
}

.quiz-choice span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.form-label {
  width: 100%;
  color: #34424d;
  font-weight: 800;
}

.form-control,
.form-select {
  border-color: var(--bs-border-color);
  padding: 0.82rem 0.95rem;
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: 0 0.08rem 0.2rem rgba(31, 45, 61, 0.04);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 0.2rem rgba(22, 163, 199, 0.18);
}

[aria-invalid="true"] {
  border-color: var(--brand-red) !important;
}

.calc-result {
  background: linear-gradient(135deg, #eef7fb, #fff);
  box-shadow: inset 0 0 0 1px rgba(15, 95, 143, 0.08);
}

.material-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border-left: 4px solid var(--brand-blue);
  border-radius: 0.45rem;
  background: #fff;
  padding: 1rem 1.15rem;
  color: var(--bs-secondary-color);
  box-shadow: var(--material-shadow);
}

.material-note i {
  margin-top: 0.2rem;
  color: var(--brand-blue);
}

.warm-floor-calc .table {
  min-width: 680px;
}

.material-table thead th {
  color: var(--brand-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.material-table tbody td {
  vertical-align: middle;
}

.pipe-comparison {
  border-top: 1px solid rgba(15, 95, 143, 0.14);
  padding-top: 1rem;
}

.pipe-comparison-table {
  min-width: 760px;
  font-size: 0.88rem;
}

.pipe-comparison-table thead th {
  color: var(--brand-dark);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.pipe-comparison-table td:first-child {
  min-width: 300px;
}

.pipe-comparison-table .table-primary > * {
  background-color: #e8f7fb;
}

.accordion-button {
  font-weight: 800;
  letter-spacing: 0;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-blue);
  background: #e8f7fb;
}

.contacts-section,
.request-section {
  background: var(--brand-blue);
}

.contact-card-bs {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.16);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #70d7ee;
  font-size: 1.25rem;
}

.contact-card-bs span {
  display: block;
  color: #70d7ee;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card-bs strong {
  display: block;
  margin: 0.45rem 0;
  font-size: 1.35rem;
}

.contact-card-bs a {
  color: #fff;
}

.contact-card-bs p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
  filter: saturate(0.88);
}

.detail-hero {
  overflow: hidden;
}

.breadcrumb a {
  color: var(--brand-blue);
  font-weight: 800;
}

.footer {
  background: #141c24 !important;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.to-top.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shadow-sm,
.shadow {
  box-shadow: var(--material-shadow) !important;
}

.modal-content {
  box-shadow: var(--material-shadow-strong);
}

.request-section .card,
#quiz .card,
#calculator .card,
.detail-hero .card {
  border-radius: 0.45rem;
  box-shadow: var(--material-shadow-strong) !important;
}

.list-group-flush > .list-group-item {
  background: transparent;
}

.service-item-link {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.service-item-link:hover,
.service-item-link:focus-visible {
  color: var(--brand-blue);
  padding-left: 0.35rem !important;
}

.service-item-link__icon {
  margin-left: auto;
  color: var(--brand-blue);
  opacity: 0.55;
  transform: translateX(-0.15rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-item-link:hover .service-item-link__icon,
.service-item-link:focus-visible .service-item-link__icon {
  opacity: 1;
  transform: translateX(0);
}

.commercial-card {
  border-top: 4px solid var(--brand-blue);
  border-radius: 0.45rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--material-shadow);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--brand-muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.12rem;
  color: var(--brand-red);
  content: "✓";
  font-weight: 900;
}

.expert-article-list {
  display: grid;
  gap: 1.5rem;
}

.expert-article {
  border-radius: 0.45rem;
  background: #fff;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--material-shadow);
}

.expert-article h2 {
  max-width: 980px;
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.expert-block {
  border-top: 1px solid var(--bs-border-color);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.expert-block h3 {
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.28;
}

.expert-block p:last-child,
.expert-lead p:last-child {
  margin-bottom: 0;
}

.expert-check-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.expert-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 0.35rem;
  background: #f2fbfd;
  color: #315260;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  font-weight: 700;
}

.expert-note i {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--brand-blue);
}

.expert-links {
  border-top: 1px solid var(--bs-border-color);
  margin-top: 1.35rem;
  padding-top: 1.1rem;
}

.expert-links__label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand-muted);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expert-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.expert-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(15, 95, 143, 0.22);
  border-radius: 0.35rem;
  color: var(--brand-blue);
  padding: 0.62rem 0.78rem;
  font-weight: 800;
}

.expert-link:hover,
.expert-link:focus-visible {
  border-color: var(--brand-blue);
  background: #eef7fb;
  color: var(--brand-blue-dark);
}

.article-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.article-card__meta,
.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: var(--brand-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.article-card__meta {
  margin-bottom: 1rem;
}

.article-card__meta span,
.article-meta-line span {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.article-card__meta i,
.article-meta-line i {
  color: var(--brand-blue);
}

.article-card .link-accent {
  margin-top: auto;
}

.article-body {
  max-width: 920px;
}

.article-section + .article-section {
  border-top: 1px solid var(--bs-border-color);
  margin-top: 1.65rem;
  padding-top: 1.65rem;
}

.article-section h2 {
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-size: clamp(1.45rem, 2.35vw, 2rem);
  font-weight: 900;
  line-height: 1.18;
}

.article-section p {
  font-size: 1.04rem;
  line-height: 1.72;
}

.privacy-content {
  max-width: 880px;
}

.privacy-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  font-weight: 900;
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 100px;
  }

  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

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

  .brand-logo {
    width: 116px;
    height: 64px;
  }

  .hero-carousel,
  .hero-slide-bs,
  .min-vh-hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: rgba(12, 18, 26, 0.76);
  }

  .display-3 {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  .work-photo {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .btn-lg,
  .d-flex.flex-wrap.gap-3 > .btn {
    width: 100%;
  }

  .section-padding {
    padding: 56px 0;
  }

  .hero-carousel,
  .hero-slide-bs,
  .min-vh-hero {
    min-height: 590px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .topbar {
    font-size: 0.78rem;
  }
}

@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;
  }
}

/* UI/UX polish: readable rhythm, predictable controls, accessible states. */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid rgba(22, 163, 199, 0.42);
  outline-offset: 3px;
}

.container {
  --bs-gutter-x: 1.5rem;
}

.section-padding {
  padding: clamp(64px, 7vw, 96px) 0;
}

.section-heading .lead {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.section-title {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.lead {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 0.5rem;
  padding: 0.72rem 1.05rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--material-button-shadow-hover);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  min-height: 52px;
  padding: 0.86rem 1.18rem;
  font-size: 1rem;
}

.btn-brand {
  box-shadow: var(--material-button-shadow);
}

.btn-outline-light,
.btn-outline-brand {
  background: rgba(255, 255, 255, 0.04);
}

.site-header {
  border-bottom: 1px solid rgba(18, 32, 43, 0.08);
}

.topbar {
  line-height: 1.35;
}

.navbar {
  min-height: 76px;
}

.navbar .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 0.5rem;
  padding-right: 0.7rem;
  padding-left: 0.7rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  background: rgba(15, 95, 143, 0.08);
}

.brand-logo {
  width: 132px;
  height: 62px;
}

.hero-carousel,
.hero-slide-bs,
.min-vh-hero {
  min-height: clamp(600px, calc(100svh - 170px), 760px);
}

.hero-slide-bs .container {
  min-height: 0;
}

.hero-carousel .display-3 {
  max-width: 880px;
  font-size: clamp(3.15rem, 5.1vw, 5.25rem);
  line-height: 1.04;
}

.min-vh-hero {
  min-height: clamp(500px, calc(100svh - 260px), 660px);
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1.12rem, 1.45vw, 1.28rem);
  line-height: 1.62;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(12, 18, 26, 0.86), rgba(12, 18, 26, 0.58), rgba(12, 18, 26, 0.2));
}

.carousel-control-prev,
.carousel-control-next {
  width: 9%;
}

.carousel-control-bi {
  width: 50px;
  height: 50px;
  font-size: 1.55rem;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.carousel-control-prev:hover .carousel-control-bi,
.carousel-control-next:hover .carousel-control-bi {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(15, 25, 35, 0.58);
  transform: scale(1.04);
}

.carousel-indicators {
  bottom: 1.2rem;
  gap: 0.45rem;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border: 0;
}

.card,
.modal-content,
.accordion,
.contact-card-bs,
.calc-result,
.work-photo {
  border-radius: 0.5rem !important;
}

.service-card-bs,
.related-card,
.price-card,
.contact-card-bs,
.accordion,
.card {
  box-shadow: 0 0.75rem 2rem rgba(23, 35, 47, 0.08) !important;
}

.service-card-bs:not(.text-center) .card-body,
.related-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card-bs .link-accent,
.related-card .link-accent {
  margin-top: auto;
}

.icon-badge {
  width: 58px;
  height: 58px;
}

.icon-badge i {
  font-size: 1.8rem;
}

.price-card .card-body {
  row-gap: 1rem;
}

.price-value {
  font-size: clamp(1.14rem, 1.5vw, 1.32rem);
}

.portfolio-img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.quiz-choice,
.form-control,
.form-select {
  min-height: 48px;
}

.quiz-choice {
  align-items: center;
  padding: 0.9rem 1rem;
  gap: 0.7rem;
  border-radius: 0.5rem;
  box-shadow: none;
}

.quiz-choice-card {
  align-items: flex-start;
  min-height: 92px;
  gap: 0.8rem;
}

.quiz-choice:hover {
  border-color: rgba(15, 95, 143, 0.46);
  background: #f8fbfd;
}

.form-label + .form-label,
.panel-form .form-label + .form-label,
.panel-form .form-outline + .form-outline,
.panel-form .form-label + .form-outline,
.panel-form .form-outline + .form-label {
  margin-top: 0.85rem;
}

.form-outline .form-label {
  display: block;
  margin-bottom: 0;
}

.form-label .form-select {
  display: block;
  margin-top: 0.36rem;
}

.form-control,
.form-select {
  margin-top: 0.36rem;
  font-size: 1rem;
}

.form-text {
  max-width: 620px;
}

.accordion-button {
  min-height: 58px;
  padding: 1.05rem 1.2rem;
  font-size: 1rem;
}

.accordion-body {
  color: var(--brand-muted);
  line-height: 1.7;
  padding: 1rem 1.2rem 1.25rem;
}

.contact-card-bs {
  min-height: 190px;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(32, 41, 51, 0.42);
  row-gap: 0.35rem;
}

.to-top {
  right: 18px;
  bottom: 18px;
  display: none;
  width: 46px;
  height: 46px;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.18);
}

@media (max-width: 1199.98px) {
  .hero-carousel .display-3 {
    font-size: clamp(2.85rem, 6vw, 4.4rem);
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 104px;
  }

  .navbar {
    min-height: 72px;
  }

  .brand-logo {
    width: 110px;
    height: 58px;
  }

  .hero-carousel,
  .hero-slide-bs {
    min-height: clamp(590px, calc(100svh - 150px), 680px);
  }

  .min-vh-hero {
    min-height: clamp(510px, calc(100svh - 230px), 600px);
  }

  .hero-carousel .display-3 {
    font-size: clamp(2.45rem, 8vw, 3.7rem);
  }

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

@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 92px;
  }

  body {
    font-size: 15.5px;
  }

  .container {
    --bs-gutter-x: 1.25rem;
    overflow-x: hidden;
  }

  .topbar .container {
    gap: 0.35rem !important;
  }

  .navbar {
    min-height: 76px;
  }

  .brand-logo {
    width: 96px;
    height: 52px;
  }

  .navbar-toggler {
    width: 56px;
    height: 44px;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
  }

  .hero-carousel,
  .hero-slide-bs {
    min-height: clamp(580px, calc(100svh - 175px), 640px);
  }

  .min-vh-hero {
    min-height: clamp(500px, calc(100svh - 250px), 560px);
  }

  .hero-slide-bs .container {
    padding-top: 2rem !important;
    padding-bottom: 2.8rem !important;
  }

  .hero-carousel .display-3 {
    font-size: clamp(2.25rem, 9vw, 3.05rem);
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 1.08rem;
    line-height: 1.58;
  }

  .section-title {
    font-size: clamp(1.62rem, 7vw, 2.1rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .btn,
  .btn-lg {
    min-height: 48px;
    padding: 0.78rem 1rem;
  }

  .d-flex.flex-wrap.gap-3 > .btn {
    width: 100%;
  }

  .icon-badge {
    width: 54px;
    height: 54px;
  }

  .stat-item {
    padding-left: 3rem;
  }

  .contact-card-bs {
    min-height: auto;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
