:root {
  --kr-bg: #1f1f1f;
  --kr-bg-soft: #2a2a2a;
  --kr-bg-panel: #242424;
  --kr-line: rgba(255, 255, 255, 0.08);
  --kr-line-strong: rgba(255, 255, 255, 0.14);
  --kr-text: #ffffff;
  --kr-muted: #d9d9d9;
  --kr-accent: #f05a28;
  --kr-accent-soft: #ff8b5f;
  --kr-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --kr-radius: 16px;
  --kr-container: 1280px;
}

body.kr-page {
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.035), transparent 24%),
    radial-gradient(circle at 100% 12%, rgba(240, 90, 40, 0.08), transparent 20%),
    linear-gradient(180deg, #181818 0%, #1f1f1f 44%, #242424 100%);
  color: var(--kr-text);
  font-family: 'Inter', sans-serif;
}

body.kr-page::before {
  opacity: 0.14;
  background-size: 88px 88px;
}

body.kr-page .container {
  width: min(var(--kr-container), calc(100% - 40px));
}

body.kr-page h1,
body.kr-page h2,
body.kr-page h3,
body.kr-page h4,
body.kr-page h5 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

body.kr-page p,
body.kr-page li,
body.kr-page .kr-inner-lead,
body.kr-page .kr-hero-text,
body.kr-page .kr-hero-subtitle,
body.kr-page .content,
body.kr-page .content p {
  color: var(--kr-muted);
}

body.kr-page .surface,
body.kr-page .site-footer .surface,
body.kr-page .trust-card,
body.kr-page .contact-info-card,
body.kr-page .review-card,
body.kr-page .lead-modal-dialog,
body.kr-page .form-card,
body.kr-page .max-widget,
body.kr-page .cookie-banner,
body.kr-page .promo-toast {
  border-radius: var(--kr-radius);
  border-color: var(--kr-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(36, 36, 36, 0.98), rgba(28, 28, 28, 0.98));
  box-shadow: var(--kr-shadow);
}

body.kr-page .button,
body.kr-page .mobile-actions-bar a,
body.kr-page .max-widget-cta,
body.kr-page .cookie-button {
  border-radius: 12px;
  min-height: 54px;
  font-weight: 700;
}

body.kr-page .button-accent,
body.kr-page .cookie-button-accept {
  background: linear-gradient(135deg, var(--kr-accent-soft) 0%, var(--kr-accent) 52%, #d84d1e 100%);
  box-shadow: 0 14px 32px rgba(240, 90, 40, 0.28);
}

body.kr-page .button-max,
body.kr-page .mobile-action-max,
body.kr-page .max-widget-cta {
  background: linear-gradient(45deg, #3593fc 0%, #275af2 24%, #4f34e2 55%, #7a33de 100%);
  box-shadow: 0 14px 30px rgba(78, 55, 227, 0.32);
}

body.kr-page .button-call,
body.kr-page .mobile-action-call {
  background: linear-gradient(135deg, #60d97f 0%, #2fb967 100%);
}

.kr-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(16, 16, 16, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.kr-header-shell {
  min-height: 84px;
  gap: 18px;
}

.kr-brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.kr-main-nav {
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 14px;
}

.kr-main-nav a {
  font-weight: 600;
  opacity: 0.86;
}

.kr-main-nav a:hover,
.kr-main-nav a:focus-visible {
  color: var(--kr-accent);
  opacity: 1;
}

.kr-header-actions {
  gap: 10px;
}

.kr-online-pill {
  min-height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
}

.kr-phone-wrap {
  padding: 6px 0;
}

.kr-phone-wrap .desktop-phone {
  font-weight: 700;
  font-size: 15px;
}

.kr-header-cta {
  min-width: 190px;
}

.kr-mobile-panel {
  background: rgba(18, 18, 18, 0.98);
}

.kr-main {
  overflow: hidden;
}

.kr-section {
  padding: 88px 0;
  position: relative;
}

.kr-hero {
  position: relative;
  min-height: calc(100svh - 84px);
  padding: 120px 0 90px;
  background: var(--kr-hero-image) center / cover no-repeat;
  overflow: hidden;
}

.kr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.76) 34%, rgba(10, 10, 10, 0.42) 68%, rgba(10, 10, 10, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.22));
}

.kr-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  gap: 36px;
  align-items: end;
}

.kr-hero-copy h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1;
  max-width: 760px;
}

.kr-hero-subtitle {
  margin-top: 22px;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.42;
  max-width: 620px;
}

.kr-hero-text {
  margin-top: 22px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.72;
}

.kr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.kr-hero-side {
  display: grid;
  gap: 14px;
}

.kr-hero-feature {
  padding: 22px 24px;
}

.kr-hero-feature strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  color: #fff;
}

.kr-hero-feature span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.kr-num-section {
  padding-top: 56px;
}

.kr-num-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.kr-num-slogan {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 600;
  color: #fff;
}

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

.kr-num-item {
  padding: 28px 24px;
}

.kr-num-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--kr-accent);
}

.kr-num-value span {
  color: var(--kr-accent);
}

.kr-num-value-full {
  font-size: 26px;
}

.kr-num-text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #fff;
}

.kr-about-section::before,
.kr-services-section::before,
.kr-gallery-section::before,
.kr-features-section::before,
.kr-map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.02), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(240, 90, 40, 0.05), transparent 22%);
  pointer-events: none;
}

.kr-about-layout,
.kr-map-grid {
  position: relative;
  z-index: 1;
}

.kr-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.kr-about-copy h2,
.kr-about-panel h3 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.02;
}

.kr-about-copy p,
.kr-about-panel p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.72;
}

.kr-highlight-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.kr-highlight-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

.kr-highlight-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb292, var(--kr-accent));
}

.kr-about-side {
  display: grid;
  gap: 16px;
}

.kr-about-panel,
.kr-about-image {
  overflow: hidden;
}

.kr-about-panel {
  padding: 34px 32px;
}

.kr-about-image {
  min-height: 620px;
}

.kr-about-image img,
.kr-inner-hero-image img,
.kr-service-image img,
.kr-gallery-card img,
.kr-content-blocks .item-img img,
.kr-video-frame video,
.kr-review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kr-services-section h2,
.kr-gallery-section h2,
.kr-features-section h2,
.kr-reviews-section h2,
.kr-application-box h2,
.kr-inner-top h1,
.kr-service-copy-section h2,
.kr-video-copy h2,
.kr-policy-item h2,
.kr-map-section h3 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
}

.kr-services-section h2 span,
.kr-gallery-section h2 span,
.kr-features-section h2 span {
  color: var(--kr-accent);
}

.kr-services-grid,
.kr-gallery-grid,
.kr-contact-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.kr-services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.kr-service-card {
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--kr-radius);
  border: 1px solid var(--kr-line);
  background: linear-gradient(180deg, rgba(34,34,34,0.98), rgba(27,27,27,0.98));
}

.kr-service-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.kr-service-image {
  aspect-ratio: 0.82 / 1;
  overflow: hidden;
}

.kr-service-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.kr-service-body h3 {
  font-size: 23px;
  line-height: 1.15;
}

.kr-service-body p {
  font-size: 15px;
  line-height: 1.6;
}

.kr-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kr-service-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.kr-service-btn {
  margin-top: auto;
  width: 100%;
}

.kr-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.kr-gallery-card,
.kr-review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kr-line);
  border-radius: var(--kr-radius);
  background: rgba(255, 255, 255, 0.02);
}

.kr-gallery-card {
  aspect-ratio: 1 / 1;
}

.kr-review-card {
  aspect-ratio: 0.86 / 1;
}

.kr-gallery-card::after,
.kr-review-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.kr-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.kr-feature-card {
  min-height: 170px;
  padding: 24px 22px;
  justify-content: flex-start;
  text-align: left;
}

.kr-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(240, 90, 40, 0.24);
  background: rgba(240, 90, 40, 0.08);
}

.kr-feature-card p {
  margin-top: 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
}

.kr-reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.kr-application-section {
  padding-top: 36px;
}

.kr-application-box {
  padding: 42px 36px;
  text-align: center;
}

.kr-application-box p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.65;
}

.kr-application-form {
  margin-top: 28px;
}

.kr-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.kr-field {
  text-align: left;
}

.kr-field span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.kr-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.kr-agreement {
  justify-content: center;
  margin-top: 18px;
}

.kr-agreement span {
  color: var(--kr-muted);
}

.kr-map-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.map-section-contacts-block {
  padding: 30px;
}

.map-section-contacts-block h3 {
  font-size: 34px;
  line-height: 1.08;
}

.item-address,
.item-schedule,
.kr-contact-items .item-value,
.messengers-item-title {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
}

.messengers-item-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.messengers-item-buttons a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.kr-map-frame,
.kr-map-shell {
  min-height: 100%;
}

.kr-map-frame {
  overflow: hidden;
  border-radius: var(--kr-radius);
}

.kr-map-frame > *,
.kr-map-frame [style] {
  height: 100% !important;
}

.kr-footer-top {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
}

.kr-footer-copy {
  align-content: start;
}

.kr-footer-contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kr-footer-bottom {
  padding-bottom: 32px;
}

.kr-inner-top {
  padding-top: 120px;
  padding-bottom: 34px;
}

.kr-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.kr-breadcrumbs a {
  color: var(--kr-muted);
}

.kr-inner-lead {
  max-width: 860px;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.6;
}

.kr-inner-hero-image {
  margin-top: 28px;
  overflow: hidden;
  min-height: 440px;
}

.kr-page-top-btn {
  margin-top: 24px;
}

.kr-content-blocks .item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 26px;
  align-items: center;
  margin-bottom: 22px;
}

.kr-content-blocks .item:nth-child(even) {
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
}

.kr-content-blocks .item:nth-child(even) .item-content {
  order: 2;
}

.kr-content-blocks .item:nth-child(even) .item-img {
  order: 1;
}

.kr-content-blocks .item-img {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--kr-radius);
  border: 1px solid var(--kr-line);
}

.kr-content-blocks .item-content h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  margin-bottom: 14px;
}

.kr-content-blocks .item-content p,
.kr-service-copy-section .content p,
.kr-service-intro-section .content p,
.kr-video-copy p,
.kr-policy-item p {
  font-size: 17px;
  line-height: 1.72;
}

.kr-video-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
}

.kr-video-frame {
  overflow: hidden;
  border-radius: 16px;
}

.kr-video-frame video {
  aspect-ratio: 9 / 16;
  background: #111;
}

.kr-policy-list,
.kr-thanks-box {
  padding: 34px 30px;
}

.kr-policy-item + .kr-policy-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--kr-line);
}

.kr-thanks-box {
  text-align: center;
}

.kr-thanks-actions {
  justify-content: center;
}

.kr-contact-cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.kr-page .contact-info-card,
body.kr-page .footer-contact-list div {
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    'icon label'
    'icon value'
    'icon action';
  gap: 5px 14px;
}

@media (max-width: 1180px) {
  .kr-hero-inner,
  .kr-about-layout,
  .kr-map-grid,
  .kr-video-layout,
  .kr-footer-top,
  .kr-num-layout,
  .kr-content-blocks .item,
  .kr-content-blocks .item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .kr-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kr-gallery-grid,
  .kr-contact-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .kr-num-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .kr-header-shell {
    min-height: 74px;
  }

  .kr-brand {
    font-size: 18px;
  }

  .kr-main-nav {
    display: none;
  }

  .kr-hero {
    min-height: auto;
    padding: 100px 0 70px;
  }

  .kr-hero-copy h1,
  .kr-about-copy h2,
  .kr-about-panel h3,
  .kr-services-section h2,
  .kr-gallery-section h2,
  .kr-features-section h2,
  .kr-reviews-section h2,
  .kr-inner-top h1,
  .kr-map-section h3 {
    font-size: clamp(30px, 7vw, 46px);
  }

  .kr-services-grid,
  .kr-gallery-grid,
  .kr-contact-cards-grid,
  .kr-footer-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kr-num-grid,
  .kr-features-grid,
  .kr-reviews-grid {
    grid-template-columns: 1fr;
  }

  .kr-form-row {
    grid-template-columns: 1fr;
  }

  .kr-map-frame {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  body.kr-page .container {
    width: min(var(--kr-container), calc(100% - 24px));
  }

  .kr-hero::before {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.56) 42%, rgba(10, 10, 10, 0.52) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.22));
  }

  .kr-section {
    padding: 72px 0;
  }

  .kr-hero {
    padding: 92px 0 56px;
  }

  .kr-hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .kr-hero-subtitle,
  .kr-inner-lead {
    font-size: 17px;
  }

  .kr-hero-actions,
  .kr-thanks-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kr-services-grid,
  .kr-gallery-grid,
  .kr-contact-cards-grid,
  .kr-footer-contact-list {
    grid-template-columns: 1fr;
  }

  .kr-service-image {
    aspect-ratio: 1.15 / 1;
  }

  .kr-content-blocks .item-img,
  .kr-inner-hero-image,
  .kr-about-image {
    min-height: 300px;
  }

  .kr-map-frame {
    min-height: 300px;
  }

  .messengers-item-buttons {
    flex-direction: column;
  }

  .messengers-item-buttons a {
    justify-content: center;
  }
}
