:root {
  --brand: #008BEA;
  --brand-dark: #002CA1;
  --brand-light: rgba(1, 141, 234, 0.09);
  --ink: #1B2733;
  --muted: #6C757D;
  --bg-soft: #F5F6F8;
  --border: #E6E8EC;
  --white: #FFFFFF;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 14px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 6px 12px rgba(0,0,0,0.08), 0 16px 36px rgba(0,0,0,0.12);
  --radius: 0;

  --bs-primary: #018DEA;
  --bs-primary-rgb: 1, 141, 234;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-dark);

  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-btn-border-radius: 0;
  --bs-btn-border-radius-sm: 0;
  --bs-btn-border-radius-lg: 0;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 1, 141, 234;
  background-color: var(--brand);
  border-color: var(--brand);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 1, 141, 234;
}

.text-primary { color: var(--brand) !important; }

main {
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  color: var(--ink);
}

h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bg-soft { background-color: var(--bg-soft) !important; }

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .section-py {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  box-shadow: 0 1px 0 var(--border);
  padding-top: 0.875rem;
  padding-bottom: 0;
  background: #fff !important;
}

@media (min-width: 992px) {
  .navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.navbar > .container {
  flex-wrap: wrap;
}

.navbar-row-top {
  padding-bottom: 0.875rem;
}

@media (min-width: 992px) {
  .navbar-collapse.collapse {
    display: flex !important;
    width: 100%;
    padding: 0.375rem 0;
    justify-content: center;
    border-top: 1px solid var(--border);
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
}

.navbar-brand__logo {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .navbar-brand__logo {
    height: 30px;
  }

  .navbar-brand__name {
    font-size: 0.9375rem;
  }

  .navbar-collapse,
  .navbar .collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.25rem 1.25rem;
    z-index: 1030;
    border-top: 1px solid var(--border);
    transform: translateZ(0);
  }

  .navbar .collapsing {
    transition: height 0.15s ease-out;
  }
}

.navbar-brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-brand__miy {
  color: var(--brand);
}

.navbar-brand__budynok {
  color: var(--brand-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ink);
  padding: 0.375rem 0.75rem;
  border-radius: 0;
  transition: color 0.2s, background-color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--brand);
  background-color: var(--brand-light);
}

.navbar-btn {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  border-radius: 0;
}

.navbar-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--brand);
  font-size: 1.9rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.navbar-phone-btn:hover,
.navbar-phone-btn[aria-expanded="true"] {
  color: var(--brand-dark);
}

.navbar-phone-dropdown {
  min-width: 215px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
  padding: 0.375rem 0;
  margin-top: 0.625rem !important;
}

.navbar-phone-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.navbar-phone-item i {
  color: var(--brand);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.navbar-phone-item:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.navbar-mobile-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  margin-top: 0.375rem;
  gap: 1rem;
}

.navbar-mobile-phone {
  flex: 1;
}

.navbar-mobile-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.navbar-mobile-phone-btn:hover {
  background: var(--brand-dark);
}

.navbar-mobile-phone-btn i:first-child {
  font-size: 1.1rem;
}

.navbar-mobile-phone-chevron {
  font-size: 0.75rem;
  margin-left: auto;
  transition: transform 0.2s;
}

.navbar-mobile-phone-btn[aria-expanded="true"] .navbar-mobile-phone-chevron {
  transform: rotate(180deg);
}

.navbar-mobile-social {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.navbar-toggler {
  padding: 0.25rem;
  box-shadow: none !important;
  outline: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23018DEA' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #000e38 0%, #001a61 50%, #000820 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  rgba(1,141,234,0.06) 0, rgba(1,141,234,0.06) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(1,141,234,0.06) 0, rgba(1,141,234,0.06) 1px, transparent 1px, transparent 64px);
  pointer-events: none;
}


.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(1,141,234,0.07) 0%, transparent 65%);
  right: 0;
  top: 50%;
  transform: translate(30%, -50%);
  pointer-events: none;
}


.hero__container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(1,141,234,0.18);
  border: 1px solid rgba(1,141,234,0.35);
  padding: 0.35rem 0.875rem;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  color: #fff;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1.75rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
}

.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
}

.hero__check-icon {
  color: var(--brand) !important;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero__buttons .btn {
  min-width: 200px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 2rem;
}

.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(1,141,234,0.22);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.25rem 0;
}

.hero__stats-inner {
  display: flex;
  align-items: center;
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.1);
}

.hero__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero__stat-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 575.98px) {
  .hero__checklist {
    grid-template-columns: 1fr;
  }

  .hero__buttons .btn {
    width: 100%;
    min-width: unset;
  }

  .hero__stat-num {
    font-size: 1.25rem;
  }

  .hero__corner {
    width: 28px;
    height: 28px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-about h2 {
  margin-bottom: 1rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--brand);
  transition: height 0.35s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(1, 141, 234, 0.2);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card__icon {
  font-size: 1.625rem;
  color: var(--brand);
  display: block;
  margin-bottom: 0.875rem;
}

.feature-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
  line-height: 1.4;
}

.feature-card__desc {
  font-size: 0.8375rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
  border-color: rgba(1, 141, 234, 0.15);
}

.service-card__img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d8e8f5 0%, #c4d6ea 50%, #b0c6de 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #7aaac4;
  position: relative;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}


.service-card__img i {
  position: relative;
  z-index: 1;
}

.service-card__body {
  padding: 1.25rem 1.125rem 1.125rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.service-card__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__icon {
  font-size: 1.25rem;
  color: var(--brand);
}

.service-card__content {
  flex: 1;
  min-width: 0;
}

.service-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.service-card__text {
  font-size: 0.8375rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.service-card__chevron {
  font-size: 0.875rem;
  color: var(--border);
  flex-shrink: 0;
  margin-top: 0.375rem;
  transition: color 0.2s, transform 0.2s;
}

.service-card:hover .service-card__chevron {
  color: var(--brand);
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .service-card {
    display: flex;
    flex-direction: row;
  }

  .service-card__img {
    aspect-ratio: unset;
    width: 90px;
    min-width: 90px;
    flex-shrink: 0;
    border-radius: 0;
    font-size: 1.75rem;
  }

  .service-card__body {
    flex: 1;
    align-items: center;
    padding: 0.875rem 1rem;
  }

  .service-card__icon-wrap {
    display: none;
  }
}

.section-advantages {
  background: linear-gradient(140deg, var(--brand) 0%, #0069C0 60%, #004E8A 100%);
}

.section-advantages .row > * {
  display: flex;
  flex-direction: column;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.advantage-card__icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 1rem;
}

.advantage-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.advantage-card__text {
  font-size: 0.8375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.55;
}

.works-slider-wrap {
  position: relative;
}

.works-slider {
  overflow: hidden;
}

.works-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.works-slider__slide {
  flex: 0 0 auto;
  cursor: pointer;
}

.works-slider__thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #dce8f4 0%, #ccd8ea 50%, #bcc8da 100%);
}

.works-slider__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.14) 18px,
    rgba(255,255,255,0.14) 19px
  );
  z-index: 0;
}

.works-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.works-slider__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 141, 234, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.works-slider__thumb:hover .works-slider__overlay {
  opacity: 1;
}

.works-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.works-slider-btn:hover:not(:disabled) {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.works-slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.works-slider-btn--prev { left: 16px; }
.works-slider-btn--next { right: 16px; }

.works-lightbox-dialog {
  max-width: min(92vw, 1100px);
  margin: auto;
}

.works-lightbox-content {
  background: transparent;
  border: none;
  position: relative;
  padding: 0;
  --bs-modal-padding: 0;
}

.works-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s;
  z-index: 10;
}

.works-lightbox-close:hover {
  background: rgba(0,0,0,0.65);
}

.works-lightbox-img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
}


.steps {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1rem;
  top: 2rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(1,141,234,0.18);
}

.step__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.2rem;
}

.step__icon {
  font-size: 1.25rem;
  color: var(--brand);
  display: none;
}

.step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--ink);
}

.step__text {
  font-size: 0.8375rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.55;
}

@media (min-width: 992px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .steps::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }

  .step {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 0.625rem;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step__badge {
    margin-bottom: 1rem;
  }

  .step__inner {
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.375rem 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    width: 100%;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex: 1;
  }

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

  .step__icon {
    display: block;
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.875rem 1.625rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.review-card:hover::before {
  transform: scaleX(1);
}

.review-card__quote {
  font-size: 3rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.875rem;
  display: block;
  opacity: 0.5;
}

.review-card__text {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand);
}

.review-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 0;
}

.review-card__city {
  font-size: 0.8125rem;
  color: var(--muted);
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  opacity: 1;
  transition: background-color 0.2s;
}

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

.section-contacts {
  background: linear-gradient(140deg, var(--brand) 0%, #0069C0 60%, #004E8A 100%);
}

.section-contacts h2 {
  color: var(--white);
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.contacts__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contacts__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacts__icon {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.contacts__link {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.contacts__link:hover {
  opacity: 0.8;
  color: var(--white);
}

.contacts__form-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 2rem;
}

.contacts__input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  font-size: 0.9375rem !important;
}

.contacts__input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.contacts__input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
}

.contacts__submit {
  font-weight: 600;
  border-radius: 0;
  background: var(--white);
  color: var(--brand-dark);
  border: none;
  transition: background-color 0.2s, transform 0.15s;
}

.contacts__submit:hover {
  background-color: #EAF4FF;
  transform: translateY(-2px);
}

.footer {
  background: var(--ink);
  border-top: 3px solid var(--brand);
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__policy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__policy:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--brand);
  font-size: 1.6rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__social-link:hover {
  opacity: 0.75;
}

.navbar-icons {
  gap: 0.25rem;
}

.navbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--brand);
  font-size: 1.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar-social-link:hover {
  opacity: 0.75;
}

.contacts__social {
  display: flex;
  gap: 0.75rem;
}

.contacts__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.contacts__social-link i {
  font-size: 1.6rem;
  color: #fff;
}

.contacts__social-link:hover {
  opacity: 0.75;
}
