:root {
  --orange: #ff7a00;
  --orange-soft: #ff9a2b;
  --steel: #cfd2d6;
  --panel: rgba(24, 26, 29, 0.78);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #f5f6f7;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 122, 0, 0.18), transparent 24rem),
    radial-gradient(circle at 78% 20%, rgba(210, 215, 222, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px),
    linear-gradient(155deg, #26292d 0%, #151719 38%, #0c0d0f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.back-button {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 2;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #f7f8f9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(calc(-100% - 10px));
}

.quote-button {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  z-index: 2;
  padding: 11px 16px;
  border: 1px solid rgba(255, 122, 0, 0.58);
  border-radius: 8px;
  color: #111315;
  background: linear-gradient(180deg, #ff9a2b, #ff7a00);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 122, 0, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(10px);
}

.back-button:hover,
.back-button:focus-visible,
.quote-button:hover,
.quote-button:focus-visible {
  border-color: rgba(255, 122, 0, 0.72);
  outline: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34), 0 0 18px rgba(255, 122, 0, 0.2);
}

.form-stage {
  width: min(860px, 100%);
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  display: none;
}

.quote-form h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.quote-form p {
  margin: 0 0 10px;
  color: #d7dadf;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #f2f3f4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 13px;
  color: #f7f8f9;
  background: rgba(7, 8, 9, 0.62);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 122, 0, 0.74);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.14);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 190px;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  color: #111315;
  background: linear-gradient(180deg, #ff9a2b, #ff7a00);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.home-stage {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(960px, 100%);
}

.home-logo {
  display: block;
  width: min(900px, 96%);
  height: auto;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.5));
}

.home-contact {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  width: min(780px, 86%);
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7f8f9;
  background: rgba(7, 8, 9, 0.68);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: clamp(0.74rem, 1.4vw, 0.92rem);
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%);
}

.home-contact a {
  color: var(--orange-soft);
  text-decoration: none;
}

.home-contact a:hover,
.home-contact a:focus-visible {
  color: #ffffff;
  outline: none;
}

.language-links {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: min(520px, 90%);
  transform: translate(-50%, -50%);
}

.language-links a {
  min-width: 180px;
  padding: 15px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #f7f8f9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.language-links a:hover,
.language-links a:focus-visible {
  border-color: rgba(255, 122, 0, 0.72);
  outline: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 122, 0, 0.22);
}

.stage {
  width: min(1180px, 100%);
}

.detail-stage {
  display: grid;
  width: min(1280px, 100%);
}

.service-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.service-image {
  display: block;
  width: 100%;
  height: auto;
}

.service-copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-height: none;
  padding: clamp(22px, 2.8vw, 38px) clamp(26px, 4.2vw, 56px);
  background: linear-gradient(0deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.72), rgba(8, 9, 10, 0.24));
  clip-path: none;
  color: #f7f8f9;
  overflow: visible;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transform: none;
}

.service-copy p,
.service-copy ul {
  margin: 0 0 11px;
}

.service-copy p {
  font-size: clamp(0.92rem, 1.08vw, 1.08rem);
  line-height: 1.38;
}

.service-copy ul {
  padding-left: 1.1em;
  font-size: clamp(0.9rem, 1.04vw, 1.04rem);
  line-height: 1.34;
}

.service-copy li {
  margin: 0 0 3px;
}

.service-copy strong {
  color: #ffffff;
  font-weight: 800;
}

.service-copy.compact p,
.service-copy.compact ul {
  margin-bottom: 9px;
}

.service-copy.compact p,
.service-copy.compact ul {
  font-size: clamp(0.84rem, 0.98vw, 0.98rem);
  line-height: 1.28;
}

.service-copy.dense {
  padding: clamp(18px, 2.4vw, 30px) clamp(24px, 4vw, 48px);
}

.service-copy.dense p,
.service-copy.dense ul {
  margin-bottom: 7px;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  line-height: 1.24;
}

.service-copy.dense li {
  margin-bottom: 2px;
}

.accent-rule {
  display: grid;
  grid-template-columns: 1fr minmax(86px, 160px) 1fr;
  align-items: center;
  gap: 18px;
  width: min(760px, 92%);
  margin: 0 auto clamp(26px, 4vw, 48px);
}

.accent-rule::before,
.accent-rule::after {
  content: "";
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--steel));
  box-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.accent-rule::after {
  background: linear-gradient(90deg, var(--steel), var(--orange), transparent);
}

.accent-mark {
  height: 9px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  background: linear-gradient(90deg, var(--orange), var(--orange-soft), #ffffff);
}

.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(126px, 1fr));
  gap: 14px;
  width: 100%;
}

.service {
  display: grid;
  grid-template-rows: 78px auto;
  place-items: center;
  min-height: 142px;
  padding: 22px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service:hover,
.service:focus-visible {
  border-color: rgba(255, 122, 0, 0.72);
  outline: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 122, 0, 0.18);
  transform: translateY(-2px);
}

.icon {
  width: 72px;
  height: 72px;
  color: var(--steel);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.icon .hot {
  color: var(--orange);
}

.service span {
  max-width: 100%;
  color: #f2f3f4;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 860px) {
  .service-hero {
    display: grid;
  }

  .service-copy {
    position: static;
    width: 100%;
    max-height: none;
    padding: 18px 16px;
    background: rgba(10, 11, 12, 0.74);
    clip-path: none;
    transform: none;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 22px 14px;
  }

  .back-button {
    top: 12px;
    left: 50%;
    padding: 10px 12px;
    font-size: 0.66rem;
  }

  .quote-button {
    top: 12px;
    left: 50%;
    right: auto;
    padding: 10px 12px;
    font-size: 0.66rem;
  }

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

  .home-stage {
    width: 100%;
  }

  .home-logo {
    width: 100%;
  }

  .language-links {
    width: 92%;
    gap: 10px;
  }

  .home-contact {
    bottom: 4%;
    width: 92%;
    padding: 10px 12px;
  }

  .language-links a {
    min-width: 0;
    flex: 1 1 140px;
    padding: 14px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .accent-rule {
    grid-template-columns: 1fr 80px 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service {
    grid-template-rows: 64px auto;
    min-height: 126px;
    padding: 17px 8px 14px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .service span {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

}
