/*
Theme Name: Mobile School
Theme URI: https://mobileschool.by
Author: Mobile School
Description: Custom landing page theme for Mobile School.
Version: 0.1
*/

:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --white: #ffffff;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 24px 80px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,245,247,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 55, 180, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.logo:hover .logo-mark {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 55, 180, 0.27);
}
.logo-text {
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #333336;
  font-size: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,113,227,0.24);
}
.button-secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--border);
}

.hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 82px 28px 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 750;
}
.lead {
  max-width: 610px;
  margin: 30px 0 0;
  font-size: 22px;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.025em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}
.fact {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 16px;
  min-height: 86px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.04);
}
.fact strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.035em;
}
.fact span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}
.hero-visual {
  margin-top: -34px;
  transform: none;
}
.hero-visual-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}
.hero-visual img {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 0;
}
.visual-caption {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 28px;
}
.section h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.section-text {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}
.cards {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}
.card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}
.card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 17px;
}
.apply {
  background: #111;
  color: #fff;
  border-radius: 36px;
  padding: 52px;
}
.apply p { color: rgba(255,255,255,0.72); }
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 28px 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.apply-light {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 56px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.apply-light .button {
  margin-top: 28px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-window {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  color: var(--text);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.25);
}

.modal-window h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.modal-window p {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f5f5f7;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.apply-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: var(--text);
}

.apply-form p {
  margin: 0 0 16px;
}

.apply-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.apply-form input,
.apply-form textarea,
.apply-form select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #f5f5f7;
  color: var(--text);
}

.apply-form textarea {
  min-height: 110px;
  resize: vertical;
}

.apply-form input[type="submit"] {
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.apply-form .privacy-consent {
  margin: 4px 0 18px;
}

.apply-form .privacy-consent .wpcf7-list-item {
  margin: 0;
}

.apply-form .privacy-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.apply-form .privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
}

.apply-form .privacy-consent a,
.legal-document a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.modal-open {
  overflow: hidden;
}

.result-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  min-height: 260px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.result-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #f5f5f7;
  font-size: 28px;
  margin-bottom: 24px;
}

.result-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.result-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.why-section {
  padding-top: 96px;
}

.why-list {
  margin-top: 52px;
  display: grid;
  gap: 18px;
}

.why-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #f5f5f7;
  font-size: 30px;
}

.why-item h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.why-item p {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.why-item strong {
  display: block;
  margin-top: 18px;
  font-size: 19px;
}

.why-item-accent {
  background: #eef5ff;
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.18);
}

.why-item-accent .why-icon {
  background: rgba(0, 113, 227, 0.10);
}

.why-item-accent p {
  color: var(--muted);
}

.why-item-accent strong {
  color: var(--blue);
}

.honest-section {
  max-width: none;
  background: #fbfbfd;
  padding-left: max(28px, calc((100vw - 1240px) / 2 + 28px));
  padding-right: max(28px, calc((100vw - 1240px) / 2 + 28px));
}

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

.honest-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  min-height: 300px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.honest-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 24px;
}

.honest-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.honest-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.portfolio-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.portfolio-preview {
  height: 310px;
  position: relative;
  overflow: hidden;
}

.portfolio-content {
  flex: 1;
  padding: 28px;
}

.portfolio-content h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.portfolio-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

/* 2D Game */

.portfolio-game {
  background: linear-gradient(180deg, #dbeafe, #eff6ff);
}

.game-player {
  position: absolute;
  left: 44px;
  bottom: 86px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #2563eb;
  box-shadow: 0 18px 35px rgba(37,99,235,0.28);
}

.game-platform {
  position: absolute;
  height: 18px;
  border-radius: 999px;
  background: #1d4ed8;
}

.platform-one {
  left: 30px;
  right: 30px;
  bottom: 58px;
}

.platform-two {
  right: 42px;
  top: 92px;
  width: 130px;
}

.game-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 12px 25px rgba(250,204,21,0.35);
}

.coin-one {
  right: 84px;
  top: 54px;
}

.coin-two {
  right: 152px;
  top: 138px;
}

/* Secret Vault */

.portfolio-vault {
  background: linear-gradient(180deg, #111827, #374151);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-phone {
  width: 150px;
  height: 250px;
  border-radius: 34px;
  background: #0f172a;
  border: 8px solid rgba(255,255,255,0.16);
  padding: 24px 18px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.35);
}

.vault-lock {
  width: 54px;
  height: 44px;
  margin: 0 auto 26px;
  border-radius: 12px;
  background: #e5e7eb;
  position: relative;
}

.vault-lock::before {
  content: "";
  position: absolute;
  left: 11px;
  top: -28px;
  width: 32px;
  height: 34px;
  border: 7px solid #e5e7eb;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}

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

.vault-grid span {
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
}

/* Weather */

.portfolio-weather {
  background: linear-gradient(180deg, #bfdbfe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-phone {
  width: 150px;
  height: 250px;
  border-radius: 34px;
  padding: 28px 20px;
  background: linear-gradient(180deg, #2563eb, #60a5fa);
  color: #fff;
  text-align: center;
  box-shadow: 0 26px 60px rgba(37,99,235,0.28);
}

.weather-sun {
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 12px rgba(250,204,21,0.22);
}

.weather-degree {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.08em;
}

.weather-line {
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}

.weather-line.short {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-preview {
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f5f5f7;
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.process-section {
  padding-top: 96px;
}

.process-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.process-number {
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-step h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.process-step p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.program-section {
  padding-top: 96px;
}

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

.program-module {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.program-number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.program-module h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.program-module p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.program-summary {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  background: #eef5ff;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 24px;
}

.program-summary strong {
  font-size: 20px;
  color: var(--blue);
}

.program-summary span {
  color: var(--muted);
  font-size: 17px;
}

@media (max-width: 920px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .program-module {
    grid-template-columns: 1fr;
  }

  .program-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
  }
}

@media (max-width: 920px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .why-item {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 920px) {
  .result-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .apply-light {
    padding: 32px 24px;
  }

  .modal-window {
    padding: 32px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .header-inner { padding: 16px 20px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 20px 64px;
    gap: 42px;
  }
  .lead { font-size: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 62px 20px; }
  .apply { padding: 34px 24px; }
}
@media (max-width: 560px) {
  .button { width: 100%; }
  .header-inner > .button { width: auto; }
  .logo { gap: 9px; font-size: 18px; }
  .logo-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .hero-actions { flex-direction: column; }
  .facts { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .lead { font-size: 18px; }
}

.teacher-section {
  padding-top: 96px;
}

.teacher-layout {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.teacher-content,
.teacher-story {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.04);
}

.teacher-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.teacher-fact {
  padding: 20px;
  border-radius: 22px;
  background: #f5f5f7;
}

.teacher-fact strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.teacher-fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.teacher-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teacher-story p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.teacher-story p:last-child {
  margin-bottom: 0;
}

.teacher-quote {
  color: var(--text) !important;
  font-size: 22px !important;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (max-width: 920px) {
  .teacher-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .teacher-facts {
    grid-template-columns: 1fr;
  }
}

.price-section {
  padding-top: 96px;
}

.price-card {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.05);
}

.price-main {
  padding: 44px;
  background: #eef5ff;
}

.price-label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.price-value {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.price-amount {
  font-size: clamp(64px, 8vw, 96px);
  line-height: 0.9;
  font-weight: 750;
  letter-spacing: -0.075em;
}

.price-currency {
  padding-bottom: 10px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.price-main p {
  max-width: 420px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.price-includes {
  padding: 44px;
}

.price-includes h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.price-includes ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.price-includes li {
  position: relative;
  padding: 12px 0 12px 34px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
}

.price-includes li:last-child {
  border-bottom: none;
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,113,227,0.10);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .price-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .price-main,
  .price-includes {
    padding: 30px 24px;
  }
}

.salary-section {
  padding-top: 96px;
}

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

.salary-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.04);
}

.salary-card-accent {
  background: #eef5ff;
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 22px 65px rgba(0, 113, 227, 0.09);
}

.salary-card-header {
  min-height: 62px;
}

.salary-language {
  display: block;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.salary-card-accent .salary-language {
  color: var(--blue);
}

.salary-role {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.salary-value {
  margin-top: 34px;
  font-size: clamp(29px, 2.3vw, 38px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.salary-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.salary-note {
  margin-top: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.salary-note p {
  margin: 0;
  max-width: 980px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.salary-note .salary-sources {
  margin-top: 10px;
  font-size: 13px;
}

.salary-sources a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.3);
  text-underline-offset: 3px;
}

.salary-sources a:hover {
  text-decoration-color: var(--blue);
}

@media (max-width: 1100px) {
  .salary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .salary-grid {
    grid-template-columns: 1fr;
  }

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

  .salary-value {
    white-space: normal;
  }
}

.price-equivalents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.price-equivalent {
  padding: 9px 14px;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.salary-usd {
  margin-top: 12px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.final-contact-section {
  padding-top: 96px;
  padding-bottom: 56px;
}

.final-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;

  padding: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.05);
}

.final-contact-cta h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.final-contact-cta p {
  max-width: 590px;
  margin: 22px 0 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.final-contact-list {
  display: grid;
  gap: 12px;
}

.final-contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;

  min-height: 86px;
  padding: 16px 20px;

  background: #f5f5f7;
  border: 1px solid transparent;
  border-radius: 22px;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.final-contact-item:hover {
  transform: translateY(-2px);
  background: #eef5ff;
  border-color: rgba(0, 113, 227, 0.14);
}

.final-contact-icon {
  width: 48px;
  height: 48px;

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

  border-radius: 16px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}

.final-contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.final-contact-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.final-contact-value {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.site-legal-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.15fr) minmax(230px, 0.85fr);
  gap: 48px;
  margin-top: 28px;
  padding: 44px 48px 28px;
  color: rgba(255, 255, 255, 0.68);
  background: #111;
  border-radius: 32px;
}

.site-legal-logo {
  display: inline-block;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-legal-brand p {
  max-width: 260px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.site-legal-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-legal-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.site-legal-operator address {
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.site-legal-registration {
  display: grid;
  align-content: start;
  gap: 24px;
}

.site-legal-registration strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.site-legal-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-legal-bottom a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 4px;
}

.site-legal-bottom a:hover,
.site-legal-logo:hover {
  color: #fff;
}

.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.legal-page {
  padding: 72px 28px 96px;
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.05);
}

.legal-document h1 {
  max-width: 780px;
  margin: 12px 0 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-document-updated {
  margin: 18px 0 42px;
  color: var(--muted);
  font-size: 15px;
}

.legal-document section + section {
  margin-top: 36px;
}

.legal-document h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.legal-document p {
  margin: 12px 0;
}

.legal-document ul {
  margin: 12px 0;
  padding-left: 24px;
}

.legal-document li + li {
  margin-top: 6px;
}

.legal-document ol {
  margin: 12px 0;
  padding-left: 26px;
}

.legal-document strong {
  color: var(--text);
}

.legal-document-intro {
  max-width: 760px;
  padding: 22px 24px;
  background: #eef5ff;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 20px;
}

.legal-document-short {
  max-width: 820px;
}

.legal-callout {
  margin-top: 38px;
  padding: 22px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  background: #f5f5f7;
  border-radius: 18px;
}

.legal-consent-sample {
  padding: 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  background: #fff8e8;
  border: 1px solid rgba(180, 120, 0, 0.16);
  border-radius: 18px;
}

@media (max-width: 920px) {
  .final-contact-card {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 40px;
  }
}

@media (max-width: 560px) {
  .final-contact-section {
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .final-contact-card {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .final-contact-cta h2 {
    font-size: 42px;
  }

  .final-contact-cta p {
    font-size: 17px;
  }

  .final-contact-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 78px;
    padding: 14px 16px;
  }

  .final-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .final-contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .legal-page {
    padding: 40px 16px 64px;
  }

  .legal-document {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .legal-document h1 {
    font-size: 42px;
  }

  .legal-document h2 {
    font-size: 23px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 16px;
  }
}

@media (max-width: 920px) {
  .site-legal-footer {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 40px;
  }

  .site-legal-registration {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-legal-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 24px 24px;
    border-radius: 28px;
  }

  .site-legal-registration {
    grid-column: auto;
  }

  .site-legal-bottom {
    display: grid;
    gap: 12px;
  }

  .site-legal-links {
    display: grid;
    justify-content: start;
    gap: 10px;
  }
}
