@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --rk-bg: #f3f3f0;
  --rk-bg-soft: #fafaf8;
  --rk-card: #ffffff;
  --rk-ink: #181817;
  --rk-muted: #6d6d67;
  --rk-line: #dfdfd8;
  --rk-primary: #ec6608;
  --rk-primary-dark: #c94f00;
  --rk-secondary: #ffb000;
  --rk-accent: #ffd047;
  --rk-night: #1d1d1b;
  --rk-radius-sm: 12px;
  --rk-radius: 20px;
  --rk-radius-lg: 30px;
  --rk-shadow: 0 18px 55px rgba(24, 24, 23, 0.1);
  --rk-shadow-hover: 0 24px 68px rgba(24, 24, 23, 0.16);
  --rk-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rk-ink);
  background: var(--rk-bg-soft);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.rk-page-inner {
  overflow-x: clip;
}

body.rk-menu-open {
  overflow: hidden;
}

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

a {
  color: var(--rk-primary);
  text-decoration: none;
}

a:hover {
  color: var(--rk-primary-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--rk-ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

p {
  color: var(--rk-muted);
}

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

.rk-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  color: #fff;
  background: var(--rk-night);
  border-radius: 10px;
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

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

.rk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 34px rgba(24, 24, 23, 0.07);
  backdrop-filter: blur(18px);
}

.rk-header.is-scrolled {
  box-shadow: 0 12px 42px rgba(24, 24, 23, 0.14);
}

.rk-topbar {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.82);
  background: #1d1d1b;
}

.rk-topbar__inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.rk-topbar__left,
.rk-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rk-topbar a {
  color: rgba(255, 255, 255, 0.92);
}

.rk-nav-wrap {
  border-bottom: 1px solid rgba(227, 228, 237, 0.72);
}

.rk-nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 24px;
}

.rk-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--rk-ink);
}

.rk-brand:hover {
  color: var(--rk-ink);
}

.rk-brand__mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 16px;
}

.rk-brand__mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.rk-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.rk-brand__text strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.rk-brand__text small {
  margin-top: 5px;
  color: var(--rk-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rk-menu {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

.rk-menu .mod-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.rk-menu .mod-menu > li {
  position: relative;
}

.rk-menu .mod-menu > li > a,
.rk-menu .mod-menu > li > span {
  display: inline-flex;
  min-height: 44px;
  padding: 0 13px;
  align-items: center;
  color: var(--rk-ink);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.rk-menu .mod-menu > li.active > a,
.rk-menu .mod-menu > li.current > a,
.rk-menu .mod-menu > li > a:hover {
  color: var(--rk-primary);
  background: rgba(236, 102, 8, 0.1);
}

.rk-menu .mod-menu .mod-menu__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  width: 260px;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 15px;
  box-shadow: var(--rk-shadow);
  list-style: none;
}

.rk-menu .mod-menu li:hover > .mod-menu__sub,
.rk-menu .mod-menu li:focus-within > .mod-menu__sub {
  display: block;
}

.rk-menu .mod-menu__sub a {
  display: block;
  padding: 9px 10px;
  color: var(--rk-ink);
  border-radius: 9px;
  font-size: 13px;
}

.rk-menu .mod-menu__sub a:hover {
  color: var(--rk-primary);
  background: rgba(236, 102, 8, 0.08);
}

.rk-header-cta,
.rk-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rk-primary), #f68a1f);
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(236, 102, 8, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rk-header-cta:hover,
.rk-button:hover {
  color: #fff;
  box-shadow: 0 16px 34px rgba(236, 102, 8, 0.32);
  transform: translateY(-2px);
}

.rk-button--secondary {
  color: var(--rk-ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.rk-button--secondary:hover {
  color: var(--rk-primary);
  background: #fff;
}

.rk-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--rk-bg);
  border: 0;
  border-radius: 13px;
}

.rk-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--rk-ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rk-main {
  min-height: 40vh;
}

.rk-page-home .rk-main {
  min-height: 0;
}

.rk-page-inner .rk-main {
  padding: 26px 0 0;
}

.rk-breadcrumbs {
  margin-top: 8px;
  margin-bottom: 15px;
}

.rk-breadcrumbs ol,
.rk-breadcrumbs ul {
  display: flex;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 11px;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 10px;
  list-style: none;
  font-size: 11px;
}

.rk-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.rk-content-layout.has-sidebar {
  grid-template-columns: 280px minmax(0, 1fr);
}

.rk-page-inner .rk-content-layout:not(.has-sidebar) .rk-component {
  min-width: 0;
}

.rk-page-inner .rk-inner-page > .rk-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(20px, calc((100vw - var(--rk-container)) / 2));
  padding-left: max(20px, calc((100vw - var(--rk-container)) / 2));
}

.rk-page-inner .rk-inner-page > .rk-section:not(.rk-section--soft):not(.rk-section--night) {
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ee 100%);
}

.rk-page-inner .rk-inner-page > .rk-section--soft {
  background: linear-gradient(180deg, #f5f4f0 0%, #fbf7f1 100%);
}

.rk-page-inner .rk-inner-page > .rk-section:first-child {
  padding-top: 70px;
}

.rk-sidebar,
.rk-component > article,
.rk-component .blog,
.rk-component .contact,
.rk-component .com-content-article,
.rk-card-module {
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  box-shadow: 0 12px 36px rgba(24, 24, 23, 0.06);
}

.rk-sidebar {
  align-self: start;
  padding: 20px;
}

.rk-component > article,
.rk-component .com-content-article,
.rk-component .contact {
  padding: clamp(22px, 4vw, 44px);
}

.rk-component h1,
.rk-component .page-header h1,
.rk-component .page-header h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.rk-component img {
  border-radius: 16px;
}

.rk-component table {
  width: 100%;
  border-collapse: collapse;
}

.rk-component th,
.rk-component td {
  padding: 12px;
  border-bottom: 1px solid var(--rk-line);
  text-align: left;
}

.rk-component input:not([type="checkbox"]):not([type="radio"]),
.rk-component textarea,
.rk-component select {
  width: 100%;
  padding: 13px 14px;
  color: var(--rk-ink);
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 11px;
}

.rk-component input:focus,
.rk-component textarea:focus,
.rk-component select:focus {
  outline: 3px solid rgba(236, 102, 8, 0.16);
  border-color: var(--rk-primary);
}

.rk-home-position {
  overflow: hidden;
}

.rk-home {
  background: #fff;
}

.rk-section {
  padding: 96px 0;
}

.rk-section--soft {
  background: var(--rk-bg);
}

.rk-section--night {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(236, 102, 8, 0.46), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(255, 176, 0, 0.2), transparent 34%),
    var(--rk-night);
}

.rk-section-head {
  display: flex;
  margin-bottom: 42px;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.rk-section-head__copy {
  max-width: 760px;
}

.rk-section-head h2 {
  margin-bottom: 13px;
  font-size: clamp(36px, 5vw, 62px);
}

.rk-section-head p {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
}

.rk-kicker {
  display: inline-flex;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 12px;
  align-items: center;
  color: var(--rk-primary);
  background: rgba(236, 102, 8, 0.1);
  border: 1px solid rgba(236, 102, 8, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Компактная плашка только в первом экране главной страницы. */
.rk-hero .rk-kicker {
  min-height: 26px;
  margin-bottom: 14px;
  padding: 0 9px;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.rk-section--night .rk-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.rk-hero {
  padding: 22px 0 28px;
  background: #fff;
}

.rk-hero__panel {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: clamp(32px, 6vw, 74px);
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 0%, rgba(255, 176, 0, 0.2), transparent 26rem),
    linear-gradient(140deg, #fff8ef, #f7f4ed 55%, #fff0dc);
  border: 1px solid rgba(236, 102, 8, 0.13);
  border-radius: var(--rk-radius-lg);
}

.rk-hero__panel::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -13rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(236, 102, 8, 0.22), transparent 67%);
  border-radius: 50%;
  pointer-events: none;
}

.rk-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rk-hero h1 {
  max-width: 100%;
  margin-bottom: 23px;
  font-size: clamp(42px, 4vw, 54px);
  letter-spacing: -0.065em;
}

.rk-hero__lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: #5f5f5a;
  font-size: clamp(17px, 1.5vw, 21px);
}

.rk-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.rk-hero__actions .rk-button {
  min-height: 54px;
  padding-inline: 23px;
}

.rk-hero__visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rk-hero__visual::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  background: linear-gradient(145deg, var(--rk-primary), var(--rk-secondary));
  border-radius: 28px;
  transform: rotate(-3deg);
}

.rk-hero__visual img {
  position: relative;
  width: 100%;
  min-height: 450px;
  object-fit: cover;
  border: 7px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(56, 43, 31, 0.2);
}

.rk-hero__badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  display: flex;
  width: 178px;
  min-height: 92px;
  padding: 15px;
  align-items: center;
  gap: 12px;
  color: var(--rk-ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  box-shadow: var(--rk-shadow);
  backdrop-filter: blur(14px);
}

.rk-hero__badge strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.rk-hero__badge span {
  color: var(--rk-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.rk-stats {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rk-stat {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 18px;
}

.rk-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rk-ink);
  font-size: 24px;
  line-height: 1.2;
}

.rk-stat span {
  color: var(--rk-muted);
  font-size: 12px;
}

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

.rk-service-card,
.rk-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--rk-ink);
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  box-shadow: 0 12px 36px rgba(24, 24, 23, 0.055);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.rk-service-card:hover,
.rk-product-card:hover {
  color: var(--rk-ink);
  border-color: rgba(236, 102, 8, 0.32);
  box-shadow: var(--rk-shadow-hover);
  transform: translateY(-6px);
}

.rk-service-card__image,
.rk-product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ecece7;
}

.rk-service-card img,
.rk-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-service-card:hover img,
.rk-product-card:hover img {
  transform: scale(1.035);
}

.rk-service-card__body,
.rk-product-card__body {
  display: flex;
  min-height: 150px;
  padding: 21px;
  flex: 1 1 auto;
  flex-direction: column;
}

.rk-service-card h3,
.rk-product-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}

.rk-service-card p,
.rk-product-card p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
}

.rk-card-link {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  color: var(--rk-primary);
  font-size: 13px;
  font-weight: 800;
}

.rk-card-link::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.2s ease;
}

.rk-service-card:hover .rk-card-link::after,
.rk-product-card:hover .rk-card-link::after {
  transform: translateX(4px);
}

.rk-product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  color: #fff;
  background: rgba(29, 29, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.rk-grade-box {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 14px 17px;
  flex-direction: column;
  gap: 5px;
  color: var(--rk-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rk-line);
  border-radius: 14px;
}

.rk-grade-box strong {
  color: var(--rk-primary);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rk-grade-box span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* Единый компактный вид карточек продукции, услуг и металлопроката. */
.rk-detail-page > .rk-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.rk-page-inner .rk-detail-page > .rk-section:first-child {
  padding-top: 38px;
}

.rk-detail-page .rk-hero__panel {
  min-height: 460px;
  padding: 42px 48px;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 42px;
}

.rk-detail-page .rk-hero__lead {
  margin-bottom: 0;
  font-size: clamp(16px, 1.35vw, 19px);
}

.rk-detail-page .rk-grade-box {
  margin-top: 20px;
}

.rk-detail-page .rk-hero__actions {
  margin-top: 26px;
  gap: 12px;
}

.rk-detail-page .rk-hero__actions .rk-button {
  min-height: 50px;
  padding-inline: 21px;
}

.rk-detail-page .rk-button--secondary {
  color: var(--rk-primary);
  background: rgba(236, 102, 8, 0.08);
  border: 1px solid rgba(236, 102, 8, 0.36);
  box-shadow: 0 8px 22px rgba(236, 102, 8, 0.1);
}

.rk-detail-page .rk-button--secondary::after {
  content: "→";
  margin-left: 10px;
  font-size: 17px;
}

.rk-detail-page .rk-button--secondary:hover {
  color: #fff;
  background: var(--rk-primary);
  border-color: var(--rk-primary);
  box-shadow: 0 12px 28px rgba(236, 102, 8, 0.24);
}

.rk-detail-page .rk-hero__visual img {
  min-height: 340px;
  max-height: 390px;
}

.rk-detail-page .rk-section-head {
  margin-bottom: 28px;
}

.rk-detail-page .rk-section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
}

.rk-detail-page .rk-section-head p {
  font-size: 16px;
}

.rk-detail-page .rk-benefit {
  min-height: 138px;
  padding: 20px;
}

.rk-detail-page .rk-benefit__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  font-size: 18px;
}

.rk-detail-page .rk-benefit h3 {
  margin-bottom: 0;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .rk-detail-page .rk-hero__panel {
    min-height: 0;
    padding: 38px;
    grid-template-columns: 1fr;
  }

  .rk-detail-page .rk-hero__visual img {
    min-height: 0;
    max-height: 410px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .rk-detail-page > .rk-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .rk-page-inner .rk-detail-page > .rk-section:first-child {
    padding-top: 28px;
  }

  .rk-detail-page .rk-hero__panel {
    padding: 28px 18px 24px;
    gap: 30px;
  }

  .rk-detail-page .rk-grade-box {
    width: 100%;
  }

  .rk-detail-page .rk-hero__actions {
    margin-top: 22px;
  }

  .rk-detail-page .rk-section-head {
    margin-bottom: 24px;
  }

  .rk-detail-page .rk-benefit {
    min-height: 0;
  }
}

.rk-steps {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 24px;
}

.rk-step-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rk-step-button {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 13px 15px;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rk-step-button:hover,
.rk-step-button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.rk-step-button strong {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  font-size: 12px;
}

.rk-step-button.is-active strong {
  background: linear-gradient(135deg, var(--rk-primary), #f89a35);
}

.rk-step-button span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.rk-step-panels {
  min-width: 0;
}

.rk-step-panel {
  display: none;
  min-height: 410px;
  padding: 24px;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  backdrop-filter: blur(16px);
}

.rk-step-panel.is-active {
  display: grid;
}

.rk-step-panel h3 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
}

.rk-step-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.rk-step-panel img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.28));
}

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

.rk-benefit-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rk-benefit {
  min-height: 190px;
  padding: 25px;
  background: linear-gradient(145deg, #fff, #f7f3eb);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
}

.rk-benefit__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  color: var(--rk-primary);
  background: rgba(236, 102, 8, 0.11);
  border-radius: 14px;
  font-size: 21px;
  font-weight: 800;
}

.rk-benefit h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.rk-benefit p {
  margin: 0;
  font-size: 13px;
}

.rk-slider {
  position: relative;
}

.rk-slider__viewport {
  margin: -8px -4px 0;
  padding: 8px 4px 22px;
  overflow: hidden;
  touch-action: pan-y;
}

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

.rk-slide {
  flex: 0 0 calc((100% - 36px) / 3);
}

.rk-product-slider .rk-product-card__image {
  aspect-ratio: 4 / 3;
}

.rk-slider__controls {
  display: flex;
  margin-bottom: 16px;
  justify-content: flex-end;
  gap: 8px;
}

.rk-slider__button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--rk-ink);
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(24, 24, 23, 0.08);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rk-slider__button:hover:not(:disabled) {
  color: #fff;
  background: var(--rk-primary);
  border-color: var(--rk-primary);
  transform: translateY(-2px);
}

.rk-slider__button:disabled {
  opacity: 0.38;
  cursor: default;
}

.rk-slider__dots {
  display: flex;
  min-height: 10px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rk-slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #c7c7c0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.rk-slider__dots button.is-active {
  width: 28px;
  background: var(--rk-primary);
}

.rk-gallery-slide {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ecece7;
  border-radius: 20px;
  cursor: zoom-in;
}

.rk-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rk-gallery-slide:hover img {
  transform: scale(1.04);
}

body.rk-lightbox-open {
  overflow: hidden;
}

.rk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  padding: 28px;
  place-items: center;
}

.rk-lightbox[hidden] {
  display: none;
}

.rk-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, 0.86);
  backdrop-filter: blur(5px);
  cursor: zoom-out;
}

.rk-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(94vw, 1440px);
  max-height: 92vh;
  place-items: center;
  pointer-events: none;
}

.rk-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  background: #171716;
  border-radius: 18px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
  pointer-events: auto;
}

.rk-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #171716;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.rk-lightbox__close:hover,
.rk-lightbox__close:focus-visible {
  color: #fff;
  background: var(--rk-primary);
  outline: none;
}

.rk-contact-card {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: clamp(30px, 6vw, 70px);
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.24), transparent 26rem),
    linear-gradient(140deg, #2a2926, #171716 72%);
  border-radius: var(--rk-radius-lg);
  box-shadow: 0 28px 85px rgba(24, 24, 23, 0.23);
}

.rk-contact-card h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
}

.rk-contact-card p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.rk-contact-card__details {
  display: flex;
  padding: 26px;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  backdrop-filter: blur(14px);
}

.rk-contact-card__details a {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.rk-contact-card__details span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.rk-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
  align-items: stretch;
  gap: 22px;
}

.rk-contact-form,
.rk-company-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  box-shadow: 0 16px 48px rgba(24, 24, 23, 0.08);
}

.rk-contact-form {
  padding: 16px;
}

.rk-contact-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 760px;
  margin: 0 auto;
  border: 0;
  border-radius: calc(var(--rk-radius) - 12px);
}

.rk-company-card {
  display: flex;
  padding: clamp(28px, 4vw, 46px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #fff, #fff4e7);
}

.rk-company-card__label {
  margin-bottom: 20px;
  color: var(--rk-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rk-company-card h2,
.rk-company-card h3 {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 30px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.16;
  text-align: center;
}

.rk-company-card__contacts {
  display: flex;
  width: min(100%, 270px);
  margin-bottom: 34px;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.rk-company-card__contacts span {
  margin-top: 13px;
  color: var(--rk-muted);
  font-size: 12px;
}

.rk-company-card__contacts a,
.rk-company-card__contacts strong {
  color: var(--rk-ink);
  font-size: 17px;
  font-weight: 700;
}

.rk-company-card .rk-button {
  align-self: center;
}

.rk-privacy-card {
  max-width: 920px;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius);
  box-shadow: 0 18px 56px rgba(24, 24, 23, 0.08);
}

.rk-privacy-card h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.rk-privacy-card p,
.rk-privacy-card li {
  color: var(--rk-muted);
}

.rk-privacy-card ul {
  padding-left: 22px;
}

.rk-company-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 20px;
  place-items: center;
  overflow-y: auto;
}

.rk-company-modal[hidden] {
  display: none;
}

.rk-company-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 23, 0.72);
  backdrop-filter: blur(5px);
}

.rk-company-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  max-height: calc(100vh - 40px);
  padding: clamp(26px, 5vw, 50px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.rk-company-modal__dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 54px);
}

.rk-company-modal__dialog h3 {
  margin-bottom: 28px;
  color: var(--rk-muted);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.rk-company-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--rk-ink);
  background: var(--rk-bg);
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.rk-company-details {
  display: grid;
  margin: 0 0 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rk-company-details > div {
  padding: 15px 17px;
  background: var(--rk-bg-soft);
  border: 1px solid var(--rk-line);
  border-radius: 13px;
}

.rk-company-details dt {
  margin-bottom: 5px;
  color: var(--rk-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.rk-company-details dd {
  margin: 0;
  color: var(--rk-ink);
  font-size: 14px;
  font-weight: 600;
}

.rk-company-details a {
  color: var(--rk-primary-dark);
}

.rk-button--dark {
  background: var(--rk-night);
  box-shadow: none;
}

.rk-footer {
  padding: 70px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 80% 0%, rgba(236, 102, 8, 0.2), transparent 28rem),
    #171716;
}

.rk-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 48px;
}

.rk-brand--footer {
  color: #fff;
}

.rk-brand--footer:hover {
  color: #fff;
}

.rk-brand--footer .rk-brand__mark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.11);
}

.rk-brand--footer .rk-brand__text small,
.rk-footer p {
  color: rgba(255, 255, 255, 0.58);
}

.rk-footer__grid > div:first-child > p {
  max-width: 420px;
  margin-top: 22px;
}

.rk-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.rk-footer__contacts > span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rk-footer__contacts a {
  color: #fff;
  font-weight: 700;
}

.rk-footer__contacts p {
  margin: 8px 0 0;
  font-size: 13px;
}

.rk-footer .mod-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rk-footer .mod-menu a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.rk-footer__bottom {
  display: flex;
  margin-top: 52px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.rk-footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.rk-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--rk-line);
  border-radius: 16px;
  box-shadow: var(--rk-shadow);
  backdrop-filter: blur(16px);
}

.rk-fab a {
  display: inline-flex;
  min-height: 46px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.rk-fab__call {
  background: #dd3b45;
}

.rk-fab__mail {
  background: var(--rk-primary);
}

.rk-to-top {
  position: fixed;
  right: 26px;
  bottom: 88px;
  z-index: 890;
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--rk-night);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(24, 24, 23, 0.24);
  cursor: pointer;
}

.rk-to-top.is-visible {
  display: block;
}

.rk-error-page {
  display: grid;
  min-height: 100vh;
  padding: 20px;
  place-items: center;
  background: linear-gradient(140deg, #fff7ec, #f3f3ef);
}

.rk-error-card {
  width: min(100%, 620px);
  padding: clamp(30px, 7vw, 70px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--rk-line);
  border-radius: var(--rk-radius-lg);
  box-shadow: var(--rk-shadow);
}

.rk-error-card h1 {
  font-size: clamp(42px, 8vw, 74px);
}

.rk-component-only {
  padding: 22px;
  background: #fff;
}

@media (max-width: 1100px) {
  .rk-menu .mod-menu > li > a,
  .rk-menu .mod-menu > li > span {
    padding-inline: 9px;
    font-size: 12px;
  }

  .rk-header-cta {
    display: none;
  }

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

  .rk-hero__panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .rk-hero__visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .rk-section {
    padding: 80px 0;
  }

  .rk-hero__panel {
    padding: clamp(38px, 7vw, 64px);
  }

  .rk-hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 7vw, 62px);
  }

  .rk-hero__lead {
    max-width: 720px;
  }

  .rk-contact-form iframe {
    height: 660px;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 66px;
  }

  .rk-topbar__right {
    display: none;
  }

  .rk-topbar__inner {
    justify-content: center;
  }

  .rk-nav {
    min-height: 72px;
  }

  .rk-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .rk-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    display: block;
    width: min(88vw, 390px);
    height: 100vh;
    padding: 92px 24px 32px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 70px rgba(24, 24, 23, 0.22);
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }

  .rk-menu.is-open {
    transform: translateX(0);
  }

  .rk-menu .mod-menu {
    display: block;
  }

  .rk-menu .mod-menu > li > a,
  .rk-menu .mod-menu > li > span {
    width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .rk-menu .mod-menu .mod-menu__sub {
    position: static;
    display: block;
    width: auto;
    margin: 0 0 8px 12px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .rk-menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1300;
  }

  .rk-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .rk-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .rk-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .rk-hero__panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .rk-hero__visual img {
    min-height: 360px;
  }

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

  .rk-slide {
    flex-basis: calc((100% - 18px) / 2);
  }

  .rk-steps {
    grid-template-columns: 1fr;
  }

  .rk-step-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-content-layout.has-sidebar,
  .rk-footer__grid,
  .rk-contact-card,
  .rk-contact-grid {
    grid-template-columns: 1fr;
  }

  .rk-sidebar {
    order: 2;
  }

  .rk-footer__grid {
    gap: 30px;
  }
}

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

  .rk-brand__mark {
    width: 45px;
    height: 45px;
    border-radius: 13px;
  }

  .rk-brand__mark img {
    width: 37px;
    height: 37px;
  }

  .rk-brand__text strong {
    font-size: 16px;
  }

  .rk-brand__text small {
    display: none;
  }

  .rk-section {
    padding: 68px 0;
  }

  .rk-section-head {
    display: block;
    margin-bottom: 30px;
  }

  .rk-section-head h2 {
    font-size: clamp(30px, 9vw, 36px);
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .rk-section-head p {
    font-size: 15px;
  }

  .rk-hero {
    padding-top: 12px;
  }

  .rk-hero__panel {
    padding: 28px 18px 22px;
    border-radius: 22px;
  }

  .rk-hero h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.9vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .rk-hero__lead {
    font-size: 16px;
  }

  .rk-hero__visual::before {
    inset: -10px 10px 10px -10px;
  }

  .rk-hero__visual img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .rk-hero__badge {
    right: 8px;
    bottom: 14px;
  }

  .rk-stats,
  .rk-service-grid,
  .rk-benefit-grid,
  .rk-benefit-grid--three,
  .rk-step-nav {
    grid-template-columns: 1fr;
  }

  .rk-slide {
    flex-basis: 100%;
  }

  .rk-step-panel,
  .rk-step-panel.is-active {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .rk-slider__controls {
    justify-content: flex-start;
  }

  .rk-contact-card {
    padding: 30px 23px;
    border-radius: 22px;
  }

  .rk-contact-card h2 {
    font-size: 39px;
  }

  .rk-contact-form iframe {
    height: 580px;
  }

  .rk-contact-form {
    padding: 6px;
    border-radius: 16px;
  }

  .rk-contact-grid {
    gap: 16px;
  }

  .rk-company-card {
    padding: 30px 20px;
  }

  .rk-company-card h2,
  .rk-company-card h3 {
    max-width: 250px;
    margin-bottom: 22px;
    font-size: 22px;
  }

  .rk-page-inner .rk-main {
    padding-top: 18px;
  }

  .rk-page-inner .rk-inner-page > .rk-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .rk-page-inner .rk-inner-page > .rk-section:first-child {
    padding-top: 48px;
  }

  .rk-company-details {
    grid-template-columns: 1fr;
  }

  .rk-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rk-fab {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .rk-fab a {
    flex: 1 1 50%;
  }

  .rk-to-top {
    right: 12px;
    bottom: 76px;
  }

  .rk-lightbox {
    padding: 12px;
  }

  .rk-lightbox__dialog {
    width: 100%;
  }

  .rk-lightbox__image {
    max-height: 84vh;
    border-radius: 12px;
  }

  .rk-lightbox__close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}

@media (max-width: 390px) {
  .rk-topbar__inner {
    gap: 8px;
    font-size: 10px;
  }

  .rk-topbar__left {
    gap: 7px;
  }

  .rk-nav {
    gap: 12px;
  }

  .rk-brand {
    gap: 8px;
  }

  .rk-hero__panel {
    padding-inline: 16px;
  }

  .rk-hero h1 {
    font-size: clamp(27px, 8.7vw, 33px);
  }

  .rk-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rk-hero__actions .rk-button {
    width: 100%;
    justify-content: center;
  }

  .rk-contact-form iframe {
    height: 540px;
  }
}

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