@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Peyda";
  src: url("../fonts/peyda-bold.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #470068;
  --purple-2: #68118c;
  --purple-3: #2c0938;
  --purple-soft: #fbf7ff;
  --gold: #c99712;
  --gold-2: #e8c654;
  --gold-deep: #8a5c00;
  --gold-soft: #fff4d2;
  --ink: #221a28;
  --ink-2: #6c6473;
  --canvas: #ffffff;
  --soft: #fbfaf7;
  --border: #ece7de;
  --dark: #19101f;
  --danger: #a43131;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(71, 0, 104, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Peyda", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.announce {
  color: #5c4a10;
  background: var(--gold-soft);
  border-bottom: 1px solid #f0e6c8;
  font-size: 14px;
}

.announce .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  text-align: center;
}

.announce strong {
  color: var(--gold-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(236, 231, 222, 0.88);
  box-shadow: 0 8px 28px rgba(46, 9, 56, 0.05);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo img {
  width: auto;
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 5px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border: 1px solid rgba(201, 151, 18, 0.38);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(71, 0, 104, 0.16);
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 17px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #2b1032;
  background: linear-gradient(135deg, #f4dc82, var(--gold));
}

.nav-spacer {
  flex: 1;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  color: var(--purple);
  background: #fff;
  border: 1px solid #dfca8b;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.22s ease;
}

.header-contact:hover {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--purple);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: 0.2s ease;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 82% 10%, rgba(201, 151, 18, 0.25), transparent 27%),
    linear-gradient(135deg, #fff 0%, #fbf7ee 52%, #f1e0ad 100%);
  border-bottom: 1px solid rgba(201, 151, 18, 0.3);
}

.page-hero::after {
  position: absolute;
  bottom: -140px;
  left: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(71, 0, 104, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(71, 0, 104, 0.025), 0 0 0 76px rgba(71, 0, 104, 0.018);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--purple);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  color: var(--purple);
  background: linear-gradient(135deg, #fffaf0, var(--gold-soft));
  border: 1px solid #e8d5aa;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  max-width: 800px;
  margin: 14px 0 10px;
  color: var(--purple);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.5;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #594f5f;
  font-size: 18px;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: #4f4555;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(201, 151, 18, 0.28);
  border-radius: 999px;
  font-size: 14px;
}

.metric-chip b {
  color: var(--purple);
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
  border-block: 1px solid var(--border);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 151, 18, 0.2), transparent 25%),
    linear-gradient(145deg, #170b1d, #2b0a38 58%, #410552);
}

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

.section-head h2 {
  margin: 10px 0 0;
  color: var(--purple);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.55;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-2);
}

.gold-line {
  width: 64px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold-deep), #f0cb53);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border-color: rgba(201, 151, 18, 0.42);
  box-shadow: 0 10px 24px rgba(71, 0, 104, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(71, 0, 104, 0.25);
}

.btn-gold {
  color: #2d1733;
  background: linear-gradient(135deg, #f4df8b, var(--gold));
  border-color: #bd8b09;
}

.btn-outline {
  color: var(--purple);
  background: #fff;
  border-color: #d8bd71;
}

.btn-outline:hover {
  background: var(--gold-soft);
}

.btn[disabled],
.btn.is-disabled {
  color: #8b838f;
  background: #f4f2ef;
  border-color: #e1ddd7;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(170px, 0.7fr));
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(71, 0, 104, 0.06);
}

.field {
  position: relative;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ded8cf;
  border-radius: 12px;
  outline: none;
  transition: 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 151, 18, 0.12);
}

.field-search input {
  padding-right: 45px;
}

.field-search::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 17px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
}

.field-search::after {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 30px;
  width: 8px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  content: "";
  transform: rotate(45deg);
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.results-meta strong {
  color: var(--purple);
}

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

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 344px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(71, 0, 104, 0.07);
  transition: 0.25s ease;
}

.brand-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--purple));
  content: "";
  transform: scaleX(0);
  transition: 0.3s ease;
}

.brand-card:hover {
  border-color: rgba(201, 151, 18, 0.55);
  box-shadow: 0 22px 52px rgba(71, 0, 104, 0.13);
  transform: translateY(-6px);
}

.brand-card:hover::after {
  transform: scaleX(1);
}

.brand-logo-wrap {
  display: grid;
  min-height: 132px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 100%, rgba(201, 151, 18, 0.12), transparent 52%),
    #fff;
  border-bottom: 1px solid var(--border);
  place-items: center;
}

.brand-logo-wrap img {
  max-width: 180px;
  max-height: 82px;
  object-fit: contain;
}

.brand-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.brand-card h3 {
  margin: 0 0 3px;
  color: var(--purple);
  font-size: 20px;
}

.brand-card p {
  flex: 1;
  margin: 8px 0 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.card-kicker {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .btn {
  min-height: 40px;
  padding: 6px 10px;
  font-size: 13px;
}

.catalog-dialog {
  width: min(1040px, calc(100% - 28px));
  height: min(760px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(25, 16, 31, 0.42);
}

.catalog-dialog::backdrop {
  background: rgba(25, 16, 31, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.dialog-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-3), var(--purple-2));
  border-bottom: 2px solid var(--gold);
}

.dialog-head h2 {
  margin: 0;
  font-size: 20px;
}

.dialog-head .spacer {
  flex: 1;
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  place-items: center;
}

.dialog-download {
  min-height: 40px;
  padding: 5px 16px;
  font-size: 14px;
}

.catalog-frame {
  width: 100%;
  height: 100%;
  background: #ece8e1;
  border: 0;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(71, 0, 104, 0.075);
  transition: 0.25s ease;
}

.product-card:hover {
  border-color: rgba(201, 151, 18, 0.6);
  box-shadow: 0 24px 55px rgba(71, 0, 104, 0.14);
  transform: translateY(-6px);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 238px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(201, 151, 18, 0.25), transparent 33%),
    linear-gradient(145deg, #fff, #f9f4e8);
  border-bottom: 1px solid var(--border);
  place-items: center;
}

.product-visual img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.product-placeholder {
  display: grid;
  width: 118px;
  height: 118px;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(201, 151, 18, 0.52);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(71, 0, 104, 0.1);
  font-size: 43px;
  font-weight: 900;
  place-items: center;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  color: var(--purple);
  background: var(--gold-soft);
  border: 1px solid #ead792;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-body {
  padding: 21px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
}

.product-meta span + span::before {
  margin-left: 7px;
  color: #c5bcae;
  content: "•";
}

.product-card h3 {
  min-height: 62px;
  margin: 8px 0 6px;
  color: var(--purple);
  font-size: 19px;
  line-height: 1.65;
}

.product-card p {
  min-height: 54px;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.product-code {
  color: #7a727e;
  font-size: 12px;
}

.empty-state {
  display: none;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d9c89a;
  border-radius: 18px;
}

.empty-state.show {
  display: block;
}

.empty-state h3 {
  margin: 0 0 5px;
  color: var(--purple);
}

.empty-state p {
  margin: 0;
  color: var(--ink-2);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.about-hero-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 32px;
  background: linear-gradient(145deg, #fff, #f5e9c7);
  border: 1px solid rgba(201, 151, 18, 0.36);
  border-radius: 30px;
  box-shadow: var(--shadow);
  place-items: center;
}

.about-hero-visual img {
  width: min(360px, 92%);
  filter: drop-shadow(0 22px 35px rgba(71, 0, 104, 0.16));
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.about-stat {
  padding: 28px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(201, 151, 18, 0.32);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(71, 0, 104, 0.07);
}

.about-stat strong {
  display: block;
  color: var(--purple);
  font-size: 34px;
  line-height: 1.3;
}

.about-stat span {
  color: var(--ink-2);
  font-size: 14px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.story-media {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: var(--dark);
  border: 1px solid #ddbd64;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.story-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 16, 31, 0.85), transparent 55%);
  content: "";
}

.story-quote {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  color: #fff;
  background: rgba(35, 12, 44, 0.76);
  border: 1px solid rgba(232, 198, 84, 0.4);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.story-quote strong {
  display: block;
  color: #f0d574;
  font-size: 22px;
}

.story-copy h2 {
  margin: 12px 0;
  color: var(--purple);
  font-size: 36px;
  line-height: 1.55;
}

.story-copy p {
  color: var(--ink-2);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li::before {
  display: grid;
  width: 23px;
  height: 23px;
  margin-top: 5px;
  color: var(--purple);
  background: linear-gradient(145deg, #f6df86, var(--gold));
  border-radius: 50%;
  content: "✓";
  flex: none;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(71, 0, 104, 0.07);
}

.pillar-card::before {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  color: var(--purple);
  background: linear-gradient(145deg, #fff0b4, var(--gold));
  border-radius: 15px;
  content: attr(data-index);
  font-size: 18px;
  font-weight: 900;
  place-items: center;
}

.pillar-card h3 {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 22px;
}

.pillar-card p {
  margin: 0;
  color: var(--ink-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.process-card {
  padding: 27px 23px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 198, 84, 0.28);
  border-radius: 18px;
}

.process-card b {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  color: var(--purple-3);
  background: linear-gradient(145deg, #ffe79a, var(--gold));
  border-radius: 12px;
  place-items: center;
}

.process-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.team-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #fff, #f9f0d7);
  border: 1px solid rgba(201, 151, 18, 0.36);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.team-card .team-photo {
  width: 100%;
  border-radius: 18px;
}

.team-card .team-message {
  width: min(260px, 100%);
  margin-inline: auto;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.office-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.office-card h3 {
  margin: 0 0 8px;
  color: var(--purple);
}

.office-card p {
  margin: 0;
  color: var(--ink-2);
}

/* careers and recruitment form */
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.career-form-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: #f8f5ef;
  border-bottom: 1px solid var(--border);
}

.progress-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 72px;
  padding: 12px 8px;
  color: #7a727e;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.progress-step + .progress-step::before {
  position: absolute;
  top: 20px;
  right: 0;
  bottom: 20px;
  width: 1px;
  background: #e1dbd0;
  content: "";
}

.progress-step b {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--purple);
  background: #fff;
  border: 1px solid #d8c99c;
  border-radius: 50%;
  line-height: 1;
  place-items: center;
}

.progress-step.active {
  color: var(--purple);
  background: linear-gradient(145deg, #fffdf7, var(--gold-soft));
}

.progress-step.active b,
.progress-step.done b {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.progress-step.done {
  color: var(--gold-deep);
}

.recruitment-form {
  padding: 34px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: formStepIn 0.35s ease both;
}

@keyframes formStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.form-step-head {
  margin-bottom: 25px;
}

.form-step-head h2 {
  margin: 0 0 4px;
  color: var(--purple);
  font-size: 27px;
}

.form-step-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label,
.group-label {
  color: #352b3a;
  font-size: 14px;
  font-weight: 800;
}

.required-mark {
  color: var(--danger);
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcd5cc;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 151, 18, 0.12);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: rgba(164, 49, 49, 0.65);
}

.field-hint {
  color: #7c7480;
  font-size: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 8px 10px;
  color: #5f5665;
  background: #fff;
  border: 1px solid #ddd7ce;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(201, 151, 18, 0.24);
  outline-offset: 2px;
}

.choice-card input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(71, 0, 104, 0.15);
}

.file-drop {
  display: grid;
  min-height: 150px;
  padding: 24px;
  color: var(--purple);
  background: linear-gradient(145deg, #fff, #fbf6e9);
  border: 1px dashed #cfae51;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  place-items: center;
  transition: 0.2s ease;
}

.file-drop:hover,
.file-drop:focus-within {
  background: var(--gold-soft);
  border-color: var(--purple);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-drop strong {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
}

.file-drop small {
  display: block;
  color: var(--ink-2);
}

.file-name {
  display: inline-flex;
  max-width: 100%;
  margin-top: 10px;
  padding: 4px 12px;
  overflow: hidden;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid #e7d69e;
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  color: #5b5260;
  background: var(--purple-soft);
  border: 1px solid #eadcf0;
  border-radius: 14px;
  font-size: 14px;
}

.privacy-box input {
  width: 19px;
  height: 19px;
  margin-top: 5px;
  accent-color: var(--purple);
  flex: none;
}

.review-card {
  padding: 20px;
  background: #faf8f3;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.review-card h3 {
  margin: 0 0 13px;
  color: var(--purple);
  font-size: 18px;
}

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

.review-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e2d9;
}

.review-item span {
  color: #817985;
  font-size: 12px;
}

.review-item strong {
  color: #3b313f;
  font-size: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.form-actions .left-actions,
.form-actions .right-actions {
  display: flex;
  gap: 10px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.form-status.show {
  display: block;
}

.form-status.info {
  color: #59440a;
  background: var(--gold-soft);
  border: 1px solid #e6cd7e;
}

.form-status.error {
  color: #7c2525;
  background: #fff0f0;
  border: 1px solid #e7b9b9;
}

.form-status.success {
  color: #215e3b;
  background: #edf9f2;
  border: 1px solid #b7dfc7;
}

.career-aside {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 16px;
}

.career-aside-card {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(71, 0, 104, 0.07);
}

.career-aside-card.accent {
  color: #fff;
  background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
  border-color: rgba(201, 151, 18, 0.45);
}

.career-aside-card h2,
.career-aside-card h3 {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 20px;
}

.career-aside-card.accent h2,
.career-aside-card.accent h3 {
  color: #f3d873;
}

.career-aside-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.career-aside-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.career-feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.career-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
}

.career-feature-list li::before {
  color: var(--gold-2);
  content: "✓";
  font-weight: 900;
}

.form-noscript {
  margin: 0 0 18px;
  padding: 14px;
  color: #7c2525;
  background: #fff0f0;
  border: 1px solid #e7b9b9;
  border-radius: 12px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  color: #fff;
  text-align: center;
  background: var(--dark);
}

.final-cta::before {
  position: absolute;
  top: -170px;
  right: 50%;
  width: 560px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(122, 44, 168, 0.44), transparent);
  border-radius: 50%;
  content: "";
  transform: translateX(50%);
}

.final-cta .container {
  position: relative;
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(27px, 4vw, 38px);
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.7);
}

.final-cta .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  padding: 58px 0 22px;
  color: rgba(255, 255, 255, 0.68);
  background: #110c14;
  border-top: 1px solid rgba(232, 198, 84, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.75fr);
  gap: 34px;
}

.footer-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
}

.site-footer h3 {
  margin: 0 0 13px;
  color: #f0d574;
  font-size: 17px;
}

.site-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand-card,
  .product-card,
  .btn {
    transition: none;
  }
}

@media (max-width: 1040px) {
  .header-contact {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-grid > :last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
    border-radius: 18px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
    width: 100%;
  }

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

  .toolbar .field-search {
    grid-column: 1 / -1;
  }

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

  .about-hero-grid,
  .story-grid,
  .team-card {
    grid-template-columns: 1fr;
  }

  .about-hero-visual {
    min-height: 320px;
  }

  .about-stat-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .career-layout {
    grid-template-columns: 1fr;
  }

  .career-aside {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .announce {
    font-size: 12px;
  }

  .nav {
    min-height: 68px;
  }

  .logo img {
    height: 34px;
  }

  .main-nav {
    right: 14px;
    left: 14px;
  }

  .page-hero {
    padding: 44px 0 42px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .toolbar,
  .product-grid,
  .brand-grid,
  .about-stat-grid,
  .process-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .toolbar .field-search {
    grid-column: auto;
  }

  .brand-card {
    min-height: auto;
  }

  .product-visual {
    min-height: 210px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .dialog-head h2 {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dialog-download {
    padding-inline: 11px;
    font-size: 12px;
  }

  .story-media,
  .story-media img {
    min-height: 390px;
    height: 390px;
  }

  .team-card {
    padding: 20px;
  }

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

  .progress-step {
    display: none;
    min-height: 54px;
  }

  .progress-step.active {
    display: flex;
  }

  .progress-step + .progress-step::before {
    display: none;
  }

  .recruitment-form {
    padding: 22px 17px;
  }

  .form-grid,
  .choice-grid,
  .review-grid,
  .career-aside {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .left-actions,
  .form-actions .right-actions,
  .form-actions .btn {
    width: 100%;
  }

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

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
