:root {
    --brand: #1E88E5;
    --brand-2: #1565C0;
    --accent: #0D47A1;
    --bg: #F8FAFB;
    --grad: linear-gradient(135deg, #1E88E5 0%, #0D47A1 100%);
    --step--1: 0.9rem;
    --step--2: 0.8rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 251, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding-block: var(--space-3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s var(--ease-out);
}

.brand:hover {
    opacity: 0.7;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--brand);
    color: white;
    border-radius: var(--radius-2);
}

.brand-dot {
    color: var(--brand);
}

.header-nav {
    display: none;
    align-items: center;
    gap: var(--space-5);
}

.header-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--step--1);
    font-weight: 500;
    transition: color 0.2s var(--ease-out);
}

.header-nav a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font: inherit;
    font-size: var(--step--1);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid currentColor;
}

.btn-ghost:hover {
    background: rgba(30, 136, 229, 0.08);
    transform: translateY(-1px);
}

.btn-header {
    padding: var(--space-2) var(--space-4);
    font-size: var(--step--2);
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--step-0);
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    padding-block: clamp(5rem, 12vw, 8rem) var(--space-9);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(30, 136, 229, 0.12), transparent),
        radial-gradient(ellipse 70% 50% at 70% 80%, rgba(13, 71, 161, 0.08), transparent);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: var(--space-8);
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--step--2);
    font-weight: 600;
    color: var(--brand);
    background: rgba(30, 136, 229, 0.1);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-4);
}

.hero-lead {
    font-size: var(--step-1);
    color: var(--muted);
    margin-bottom: var(--space-5);
    max-width: 60ch;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
    margin-bottom: var(--space-6);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 500;
    color: var(--text);
}

.hero-points svg {
    flex-shrink: 0;
    color: var(--brand);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}

.hero-meta > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.meta-k {
    font-size: var(--step--2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 600;
}

.meta-v {
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--text);
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-3);
}

.media-badge {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    background: white;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.media-badge strong {
    font-size: var(--step-3);
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
}

.media-badge span {
    font-size: var(--step--2);
    color: var(--muted);
    font-weight: 600;
}

.section {
    padding-block: var(--space-9);
}

.section-head {
    text-align: center;
    max-width: 70ch;
    margin-inline: auto;
    margin-bottom: var(--space-8);
}

.section-head--left {
    text-align: left;
    margin-inline: 0;
}

.eyebrow {
    display: inline-block;
    font-size: var(--step--1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin-bottom: var(--space-3);
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.9);
}

.section-head h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-4);
}

.section-sub {
    font-size: var(--step-0);
    color: var(--muted);
    line-height: 1.7;
}

.section-conditions {
    background: white;
}

.cond-grid {
    display: grid;
    gap: var(--space-5);
}

.cond-card {
    background: var(--surface);
    padding: var(--space-5);
    border-radius: var(--radius-2);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease-out);
}

.cond-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
    border-color: rgba(30, 136, 229, 0.3);
}

.cond-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(30, 136, 229, 0.1);
    color: var(--brand);
    border-radius: var(--radius-2);
    margin-bottom: var(--space-4);
}

.cond-card h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.cond-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: var(--step--1);
}

.section-offer {
    background: var(--surface);
}

.offer-grid {
    display: grid;
    gap: var(--space-4);
}

.offer-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
}

.offer-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.offer-item h3 {
    font-size: var(--step-0);
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--text);
}

.offer-item p {
    color: var(--muted);
    font-size: var(--step--1);
    line-height: 1.6;
}

.section-duties {
    background: white;
}

.duties-list {
    display: grid;
    gap: var(--space-5);
    list-style: none;
    counter-reset: duty;
}

.duty {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-5);
    align-items: start;
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2);
    transition: all 0.25s var(--ease-out);
}

.duty:hover {
    transform: translateX(6px);
    border-color: rgba(30, 136, 229, 0.4);
    box-shadow: var(--shadow-1);
}

.duty-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--brand);
    color: white;
    font-size: var(--step-1);
    font-weight: 800;
    border-radius: var(--radius-2);
    flex-shrink: 0;
}

.duty-body h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.duty-body p {
    color: var(--muted);
    line-height: 1.6;
}

.section-req {
    background: var(--surface);
}

.req-wrap {
    display: grid;
    gap: var(--space-8);
    align-items: center;
}

.req-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-2);
}

.req-list {
    display: grid;
    gap: var(--space-4);
    list-style: none;
}

.req-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3);
    align-items: start;
}

.req-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(30, 136, 229, 0.12);
    color: var(--brand);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.req-list strong {
    display: block;
    font-size: var(--step-0);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-1);
}

.req-list span {
    display: block;
    font-size: var(--step--1);
    color: var(--muted);
    line-height: 1.6;
}

.section-location {
    background: white;
}

.loc-grid {
    display: grid;
    gap: var(--space-8);
    align-items: start;
}

.loc-facts {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
    margin-block: var(--space-5);
}

.loc-facts li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 500;
    color: var(--text);
}

.loc-facts svg {
    flex-shrink: 0;
    color: var(--brand);
}

.loc-map {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-3);
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.loc-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section-company {
    background: var(--accent);
    color: white;
}

.section-company .section-head h2,
.section-company .company-lead,
.section-company .company-text {
    color: white;
}

.company-inner {
    max-width: 90ch;
    margin-inline: auto;
}

.company-head {
    text-align: center;
    margin-bottom: var(--space-7);
}

.company-grid {
    display: grid;
    gap: var(--space-4);
    margin-bottom: var(--space-7);
}

.company-lead {
    font-size: var(--step-1);
    line-height: 1.6;
}

.company-text {
    font-size: var(--step-0);
    opacity: 0.9;
    line-height: 1.7;
}

.company-stats {
    display: grid;
    gap: var(--space-5);
    padding-top: var(--space-7);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-stats > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.company-stats strong {
    font-size: var(--step-3);
    font-weight: 900;
    line-height: 1;
}

.company-stats span {
    font-size: var(--step--1);
    opacity: 0.85;
    font-weight: 500;
}

.section-form {
    background: var(--surface);
}

.form-wrap {
    display: grid;
    gap: var(--space-8);
    align-items: start;
}

.form-usps {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    list-style: none;
    margin-top: var(--space-5);
}

.form-usps li {
    position: relative;
    padding-left: var(--space-5);
    color: var(--muted);
    font-size: var(--step--1);
}

.form-usps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 900;
}

.form-card {
    background: white;
    padding: var(--space-7);
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-2);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--text);
}

.response-form {
    display: grid;
    gap: var(--space-4);
}

.field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.field label {
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--text);
}

.field label span {
    color: var(--brand);
}

.field label .opt {
    font-weight: 400;
    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;
    padding: var(--space-3);
    font: inherit;
    font-size: var(--step-0);
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2);
    transition: all 0.2s var(--ease-out);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

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

.field-err {
    font-size: var(--step--2);
    color: #D32F2F;
    font-weight: 500;
}

.form-note {
    font-size: var(--step--2);
    color: var(--muted);
    text-align: center;
    margin-top: var(--space-2);
}

.form-success {
    text-align: center;
    padding: var(--space-7) var(--space-5);
}

.success-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(30, 136, 229, 0.12);
    color: var(--brand);
    border-radius: 50%;
    margin-bottom: var(--space-5);
}

.form-success h3 {
    font-size: var(--step-2);
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.form-success p {
    color: var(--muted);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--space-9);
}

.footer-grid {
    display: grid;
    gap: var(--space-7);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.brand--footer {
    color: white;
}

.footer-about {
    font-size: var(--step--1);
    opacity: 0.7;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: var(--step-0);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-2);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--step--1);
    transition: color 0.2s var(--ease-out);
}

.footer-col a:hover {
    color: white;
}

.footer-plain {
    font-size: var(--step--1);
    opacity: 0.6;
}

.footer-bottom {
    padding-block: var(--space-5);
    text-align: center;
    font-size: var(--step--2);
    opacity: 0.6;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(20px);
}

html.js .reveal.in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .hero-grid,
    .req-wrap,
    .loc-grid,
    .form-wrap {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .company-stats {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (min-width: 1024px) {
    .cond-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* --- Стили для блоков, оставшихся без оформления --- */
.brand-name {
  font-weight: 500;
  font-size: var(--step-0, 1rem);
  letter-spacing: -0.01em;
  color: var(--text, #1F2421);
}

.brand-dot {
  color: var(--brand, #C4612F);
  font-weight: 600;
}

.form-copy {
  margin-block-end: var(--space-6, 24px);
  padding: var(--space-4, 16px);
  background: var(--surface, #FBF9F5);
  border: 1px solid var(--border, #E7E1D7);
  border-radius: var(--radius-2, 12px);
  color: var(--muted, #5C635D);
  font-size: var(--step--1, 0.9rem);
  line-height: 1.5;
}

.loc-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
  padding: var(--space-5, 20px);
  background: var(--surface, #FBF9F5);
  border: 1px solid var(--border, #E7E1D7);
  border-radius: var(--radius-2, 12px);
  font-size: var(--step--1, 0.9rem);
  line-height: 1.6;
}

.loc-info p {
  margin: 0;
  color: var(--text, #1F2421);
}

.loc-info strong {
  font-weight: 500;
  color: var(--text, #1F2421);
}

.req-content {
  display: grid;
  gap: var(--space-4, 16px);
  margin-block-start: var(--space-5, 20px);
}

@media (min-width: 768px) {
  .req-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Недостающие дизайн-токены (значения из theme.css платформы) --- */
:root{
  --font-sans: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --text: #14141c;
  --container: 1160px;
  --space-5: 24px;
  --border: #e7e7ef;
  --space-3: 12px;
  --space-2: 8px;
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --radius-2: 16px;
  --muted: #6a6a7b;
  --radius-pill: 999px;
  --space-4: 16px;
  --space-6: 32px;
  --space-9: 96px;
  --space-8: 64px;
  --space-1: 4px;
  --radius-3: 22px;
  --shadow-3: 0 2px 4px rgba(20, 20, 40, .06), 0 24px 60px rgba(20, 20, 40, .14);
  --shadow-2: 0 1px 2px rgba(20, 20, 40, .06), 0 10px 24px rgba(20, 20, 40, .08);
  --step-3: clamp(1.8rem, 1.5rem + 1.6vw, 2.6rem);
  --surface: #ffffff;
  --shadow-1: 0 1px 2px rgba(20, 20, 40, .06);
  --space-7: 48px;
  --step-2: clamp(1.45rem, 1.3rem + .9vw, 1.9rem);
}
