﻿/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --type-hero-title: 34px;
  --type-section-title: 32px;
  --type-subsection-title: 24px;
  --type-body: 16px;
  --type-body-small: 14px;
  --type-ui: 16px;
  --line-heading: 1.3;
  --line-body: 1.6;
  --button-height: 64px;
  --button-radius: 32px;
  --button-min-width: 320px;
  --button-padding-x: 32px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;

  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;

  color: #ffffff;

  /* GLOBAL GRADIENT BACKGROUND */
  background: linear-gradient(
    180deg,
    #050A15 0%,
    #999999 100%
  );

  background-attachment: fixed;

  /* layout to pin footer to bottom */
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

/* ===== HEADER CONTAINER ===== */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== LIQUID GLASS BASE ===== */
.logo-capsule,
.nav-capsule,
.icon-capsule,
.order-capsule {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );

  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ===== LOGO ===== */
.logo-capsule {
  width: 299px;
  height: 71px;
  border-radius: 35px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  max-width: 90%;
  max-height: 70%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.logo-text span {
  color: #37D5C8;
}

/* ===== NAV ===== */
.nav-capsule {
  height: 71px;
  padding: 0 28px;
  border-radius: 35px;

  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-item:hover {
  opacity: 1;
}

.nav-item.active {
  color: #37D5C8;
  opacity: 1;
}

/* ===== TELEGRAM ICON ===== */
.icon-capsule {
  width: 71px;
  height: 71px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-capsule--link {
  text-decoration: none;
}

/* ===== ORDER BUTTON ===== */
.order-capsule {
  height: 71px;
  padding: 0 28px;
  border-radius: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 500;
  color: #37D5C8;
  text-decoration: none;
  white-space: nowrap;

  transition: opacity 0.2s ease;
}

.order-capsule:hover {
  opacity: 0.9;
}

/* ===== MAIN LAYOUT ===== */
.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 120px;
}

/* ===== PRINTING PAGE ===== */
.hero-section {
  max-width: 1280px;
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-inner {
  text-align: center;
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: var(--type-hero-title);
  line-height: var(--line-heading);
  font-weight: 500;
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: var(--type-body);
  line-height: var(--line-body);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--button-min-width));
  padding: 0 var(--button-padding-x);
  height: var(--button-height);
  border-radius: var(--button-radius);
  font-size: var(--type-ui);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}

.hero-button--primary {
  background: rgba(217, 217, 217, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-button--secondary {
  background: rgba(217, 217, 217, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.hero-button:active {
  transform: translateY(0);
  opacity: 0.9;
}

.hero-image-card {
  border-radius: 35px;
  background: rgba(217, 217, 217, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 24px;
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: contain;
}

.print-section {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 120px;
}

.section-title {
  margin: 0 0 32px;
  font-size: var(--type-section-title);
  line-height: var(--line-heading);
  font-weight: 500;
  text-align: center;
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.tech-layout--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.tech-block {
  font-size: var(--type-body);
  line-height: var(--line-body);
}

.tech-title {
  margin: 0 0 12px;
  font-size: var(--type-subsection-title);
  line-height: var(--line-heading);
  font-weight: 500;
}

.tech-text {
  margin: 0 0 16px;
  opacity: 0.9;
}

.tech-subtitle {
  margin: 0 0 4px;
  font-weight: 500;
}

.tech-list {
  margin: 0 0 16px 20px;
  padding-left: 12px;
}

.tech-list li {
  margin-bottom: 4px;
}

.tech-image-card {
  border-radius: 24px;
  background: rgba(217, 217, 217, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 20px;
}

.tech-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}

.materials-card {
  margin-top: 32px;
  border-radius: 20px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.materials-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--type-body-small);
}

.materials-table th,
.materials-table td {
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  text-align: left;
}

.materials-table th:last-child,
.materials-table td:last-child {
  border-right: none;
}

.materials-table thead th {
  font-weight: 500;
  text-align: left;
}

.materials-table tbody tr:last-child td {
  border-bottom: none;
}

.examples-card {
  margin: 32px auto 0;
  border-radius: 24px;
  background: rgba(217, 217, 217, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 40px 80px;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 880px;
}

.examples-track {
  position: relative;
  width: 600px;
  height: 600px;
  display: flex;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.examples-image {
  width: 600px;
  height: 600px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.examples-slide {
  flex: 0 0 100%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(217, 217, 217, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  color: #111;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.carousel-arrow--prev {
  left: calc(50% - 350px); /* 300px (РїРѕР»РѕРІРёРЅР° С€РёСЂРёРЅС‹ С„РѕС‚Рѕ) + 50px РѕС‚СЃС‚СѓРї */
  transform: translateY(-50%);
}

.carousel-arrow--next {
  left: calc(50% + 350px);
  transform: translateY(-50%);
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.95;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.97);
  opacity: 0.9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.model-carousel {
  position: relative;
  width: min(100%, 1160px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 90px;
}

.model-carousel-stage {
  position: relative;
  width: 100%;
  height: 640px;
}

.model-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 600px);
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
}

.model-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-slide.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.model-slide.is-left {
  transform: translate(-102%, -50%) scale(0.92);
  opacity: 0.9;
  z-index: 2;
}

.model-slide.is-right {
  transform: translate(2%, -50%) scale(0.92);
  opacity: 0.9;
  z-index: 2;
}

.model-slide.is-hidden {
  transform: translate(-50%, -50%) scale(0.84);
  opacity: 0;
  z-index: 1;
}

.model-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.35);
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 5;
}

.model-arrow:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.03);
}

.model-arrow:active {
  opacity: 0.8;
  transform: translateY(-50%) scale(0.97);
}

.model-arrow--prev {
  left: 10px;
}

.model-arrow--next {
  right: 10px;
}

.section-cta {
  display: flex;
  justify-content: center;
}

.request-section {
  max-width: 1440px;
  margin: 0 auto;
}

.request-card {
  background: rgba(217, 217, 217, 0.18);
  border-radius: 35px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 40px 56px 48px;
}

.request-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: var(--type-subsection-title);
  line-height: var(--line-heading);
  font-weight: 500;
}

.request-subtitle {
  margin: 0 auto 40px;
  max-width: 820px;
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  opacity: 0.9;
}

.request-feedback {
  margin: 0 auto 28px;
  max-width: 760px;
  padding: 12px 18px;
  border-radius: 16px;
  text-align: center;
  font-size: var(--type-body-small);
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(217, 217, 217, 0.18);
}

.request-feedback--ok {
  border-color: rgba(89, 199, 120, 0.5);
  background: rgba(89, 199, 120, 0.16);
}

.request-feedback--error {
  border-color: rgba(234, 120, 120, 0.55);
  background: rgba(234, 120, 120, 0.16);
}

.request-feedback--info {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(217, 217, 217, 0.2);
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: stretch;
}

.request-column {
  display: flex;
  flex-direction: column;
}

.request-column--left {
  gap: 24px;
}

.request-column--right {
  justify-content: stretch;
}

/* ===== FORM FIELDS ===== */
.field-pill {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 71px;
  border-radius: 35px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  cursor: text;
}

.field-pill-label {
  font-size: var(--type-body-small);
  opacity: 0.9;
  margin-right: 16px;
  white-space: nowrap;
}

.field-pill-meta {
  margin-left: auto;
  padding-left: 10px;
  font-size: var(--type-body-small);
  opacity: 0.78;
  white-space: nowrap;
}

.field-pill-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: var(--type-body-small);
  outline: none;
}

.field-pill-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* select РІ СЃС‚РёР»Рµ РёРЅРїСѓС‚Р° */
.field-pill-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.field-pill-select option {
  color: #000000;
}

.field-pill--file {
  position: relative;
  overflow: hidden;
}

.field-pill--file .field-pill-input {
  opacity: 0;
  cursor: pointer;
}

.field-pill--file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.request-files-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -8px;
}

.request-files-actions {
  display: flex;
  justify-content: flex-start;
}

.file-add-button {
  height: 42px;
  border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 18px;
  background: rgba(217, 217, 217, 0.16);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.file-add-button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.file-add-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.request-files-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 8px 12px;
  background: rgba(217, 217, 217, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.request-file-name {
  min-width: 0;
  flex: 1;
  font-size: var(--type-body-small);
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.request-file-remove {
  height: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(217, 217, 217, 0.18);
  color: #ffffff;
  font-size: 12px;
  padding: 0 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.request-file-remove:hover {
  opacity: 0.92;
}

.field-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.field-area-label {
  font-size: var(--type-body-small);
  opacity: 0.9;
}

.field-area-input {
  flex: 1;
  min-height: 260px;
  border-radius: 24px;
  border: none;
  padding: 18px 22px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: var(--type-body-small);
  resize: vertical;
  outline: none;
}

.field-area-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.request-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.primary-button {
  width: min(100%, var(--button-min-width));
  height: var(--button-height);
  padding: 0 var(--button-padding-x);
  border-radius: var(--button-radius);
  border: none;
  cursor: pointer;
  background: rgba(217, 217, 217, 0.18);
  color: #ffffff;
  font-size: var(--type-ui);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0.95;
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  padding: 0 24px;
}

.footer-panel {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 48px 28px;
  border-radius: 16px 16px 0 0;
  background: rgba(217, 217, 217, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
}

.footer-left {
  min-width: 220px;
  margin-right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.footer-logo span {
  color: #37d5c8;
}

.footer-logo-image {
  max-width: 160px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
  justify-content: space-between;
}

.footer-column {
  min-width: 180px;
}

.footer-title {
  margin: 0 0 8px;
  font-size: var(--type-body);
  line-height: var(--line-heading);
  font-weight: 500;
}

.footer-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  font-size: var(--type-body-small);
  line-height: var(--line-body);
  opacity: 0.9;
}

.footer-list li {
  margin-bottom: 4px;
}

.footer-list a {
  color: inherit;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  :root {
    --type-hero-title: 30px;
    --type-section-title: 30px;
    --type-subsection-title: 22px;
    --button-min-width: 280px;
  }

  .model-carousel {
    padding: 0 64px;
  }

  .model-carousel-stage {
    height: 520px;
  }

  .model-slide {
    width: min(100%, 470px);
  }

  .model-slide.is-left {
    transform: translate(-92%, -50%) scale(0.9);
  }

  .model-slide.is-right {
    transform: translate(-8%, -50%) scale(0.9);
  }
}

@media (max-width: 700px) {
  :root {
    --type-hero-title: 24px;
    --type-section-title: 26px;
    --type-subsection-title: 20px;
    --type-body: 14px;
    --type-body-small: 13px;
    --type-ui: 15px;
    --button-height: 56px;
    --button-radius: 28px;
    --button-padding-x: 24px;
    --button-min-width: 240px;
  }

  .model-carousel {
    padding: 0 0 68px;
  }

  .model-carousel-stage {
    height: min(82vw, 390px);
  }

  .model-slide {
    width: min(100%, 390px);
    border-radius: 24px;
  }

  .model-slide.is-left,
  .model-slide.is-right,
  .model-slide.is-hidden {
    opacity: 0;
    z-index: 1;
  }

  .model-slide.is-active {
    z-index: 3;
  }

  .model-arrow {
    top: auto;
    bottom: 0;
    width: 46px;
    height: 46px;
    font-size: 24px;
    transform: none;
  }

  .model-arrow:hover,
  .model-arrow:active {
    transform: none;
  }

  .model-arrow--prev {
    left: calc(50% - 58px);
  }

  .model-arrow--next {
    right: calc(50% - 58px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-capsule {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-main {
    padding: 72px 16px 96px;
  }

  .request-card {
    padding: 32px 24px 40px;
  }

  .request-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-panel {
    padding: 20px 24px 24px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-inner {
    order: 1;
  }

  .hero-image-card {
    order: 0;
  }

  .tech-layout,
  .tech-layout--reverse {
    grid-template-columns: 1fr;
  }

  .examples-track {
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .examples-image {
    width: 100%;
    height: auto;
  }

  .carousel-arrow--prev {
    left: 16px;
    transform: translateY(-50%);
  }

  .carousel-arrow--next {
    right: 16px;
    left: auto;
    transform: translateY(-50%);
  }
}

/* ===== REQUEST PAGE FIGMA 11:466 ===== */
.request-page .page-main {
  justify-content: flex-start;
  padding: 164px 24px 64px;
}

.request-page .request-section {
  width: 100%;
  max-width: 1280px;
}

.request-page .request-card {
  width: 100%;
  min-height: 720px;
  padding: 22px 68px 56px;
  border-radius: 35px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.request-page .request-title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.request-page .request-subtitle {
  margin: 0 auto 63px;
  max-width: 1105px;
  font-size: var(--type-body);
  line-height: 1.2;
  font-weight: 400;
}

.request-page .request-form {
  gap: 40px;
}

.request-page .request-grid {
  grid-template-columns: 480px 618px;
  gap: 44px;
  justify-content: center;
}

.request-page .request-column--left {
  gap: 28px;
}

.request-page .field-pill {
  height: 71px;
  padding: 0 22px;
  border-radius: 35px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.request-page .field-pill-label,
.request-page .field-pill-input,
.request-page .field-area-input {
  font-size: var(--type-body);
  line-height: 1.2;
}

.request-page .field-pill-input::placeholder,
.request-page .field-area-input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.request-page .field-area-input {
  min-height: 368px;
  height: 368px;
  border-radius: 35px;
  padding: 20px 27px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  resize: none;
}

.request-page .request-actions {
  margin-top: 22px;
}

.request-page .primary-button {
  width: min(100%, var(--button-min-width));
  height: var(--button-height);
  border-radius: var(--button-radius);
  font-size: var(--type-ui);
  font-weight: 500;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.request-page .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  opacity: 0.95;
}

.request-page .primary-button:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* ===== CALCULATOR PAGE ===== */
.calculator-page .page-main {
  justify-content: flex-start;
  padding: 164px 24px 64px;
}

.calc-section {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.calc-card {
  width: 100%;
  border-radius: 35px;
  background: rgba(217, 217, 217, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 28px 36px 40px;
}

.calc-subtitle {
  margin: 0 auto 26px;
  max-width: 800px;
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--line-body);
  opacity: 0.9;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-mode-switch {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.calc-radio {
  height: 46px;
  border-radius: 23px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 217, 217, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--type-body-small);
}

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

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field span {
  font-size: var(--type-body-small);
  opacity: 0.9;
}

.calc-hint {
  font-size: 12px;
  line-height: 1.25;
  opacity: 0.76;
}

.calc-field input,
.calc-field select {
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 15, 27, 0.45);
  color: #ffffff;
  padding: 0 12px;
  font-size: var(--type-body-small);
}

.calc-field input[type="file"] {
  padding-top: 12px;
}

.calc-field input[type="file"]:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.calc-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.calc-preview {
  margin-top: 28px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(217, 217, 217, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stl-preview {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(120, 170, 220, 0.22), rgba(10, 15, 27, 0.78)),
    rgba(10, 15, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stl-preview canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.stl-preview canvas:active {
  cursor: grabbing;
}

.stl-preview-note {
  margin: 10px 0 0;
  font-size: var(--type-body-small);
  opacity: 0.88;
}

.stl-preview-note.is-error {
  color: #ffc6c6;
}

.calc-result {
  margin-top: 28px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(217, 217, 217, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.calc-result-grid {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: baseline;
}

.calc-result-grid dt {
  margin: 0;
  opacity: 0.86;
  font-size: var(--type-body-small);
}

.calc-result-grid dd {
  margin: 0;
  font-size: var(--type-body);
  text-align: right;
}

.calc-result-total {
  font-size: var(--type-subsection-title);
  font-weight: 600;
}

@media (max-width: 1500px) {
  .request-page .page-main {
    padding-top: 120px;
  }

  .request-page .request-card {
    padding: 28px 34px 44px;
  }

  .request-page .request-grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 32px;
  }

}

@media (max-width: 1180px) {
  .request-page .page-main {
    padding: 72px 16px 44px;
  }

  .request-page .request-title {
    font-size: 22px;
  }

  .request-page .request-subtitle {
    margin-bottom: 32px;
  }

  .request-page .request-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .request-page .field-area-input {
    min-height: 240px;
    height: 240px;
  }

  .request-page .primary-button {
    max-width: none;
  }

  .calculator-page .page-main {
    padding: 90px 16px 44px;
  }

  .calc-card {
    padding: 24px 18px 28px;
  }

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

  .stl-preview {
    height: 260px;
  }

}

@media (max-width: 960px) {
  .request-page .request-card {
    min-height: 0;
    padding: 24px 18px 28px;
  }

  .request-page .request-title {
    font-size: var(--type-subsection-title);
  }

  .request-page .request-subtitle {
    line-height: 1.35;
    margin-bottom: 24px;
  }

  .request-page .field-pill-label,
  .request-page .field-pill-input,
  .request-page .field-area-input,
  .request-page .primary-button {
    font-size: var(--type-ui);
  }

  .request-page .request-column--left {
    gap: 16px;
  }

}


@media (max-width: 560px) {
  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .hero-button {
    width: 100%;
    max-width: 360px;
  }
}

