/* Base */
:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--slate-900);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.page--loading {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header,
.site-footer {
  width: 100%;
  padding: 14px 0;
}

.site-header--brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  padding-bottom: 4px;
  position: relative;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-text {
  font-weight: 700;
  color: #1f4b8c;
  text-decoration: none;
  font-size: 15px;
}

.brand-text:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  color: var(--slate-700);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links--header {
  z-index: 20;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 32px;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1f4b8c;
  border-radius: 2px;
}

.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 40%, #1e40af 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 28px;
  margin: 12px 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  box-shadow: var(--shadow);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 6px;
}

.hero__title {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 12px;
  line-height: 1.1;
}

.hero__desc {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.page-title-block {
  text-align: center;
  margin: 2px 0 14px;
}

.page-title {
  font-size: clamp(32px, 5vw, 46px);
  margin: 0;
  font-weight: 800;
  color: var(--slate-900);
}

.page-subtitle {
  margin-top: 4px;
  color: var(--blue);
  font-weight: 800;
  font-size: 22px;
}

.pr-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.pr-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0;
}

.pr-card--image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.pr-card--image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.pr-card--form {
  padding: 22px;
  border: 1px solid #e2e8f0;
}

.pr-card__title {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--slate-900);
}

.pr-card__subtitle {
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 14px;
}

.pr-form {
  display: grid;
  gap: 12px;
}

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

.pr-field label {
  display: block;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
  font-size: 14px;
}

.pr-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d7dce3;
  font-size: 15px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.pr-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}

.req {
  color: #d14343;
  margin-left: 4px;
}

.pr-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 13px 14px;
}

.pr-questions {
  margin: 18px auto 8px;
  text-align: center;
}

.pr-questions__title {
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.pr-questions .footer-email {
  justify-content: center;
}

.hero__img-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 600;
  color: var(--white);
}

.badge--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.panel {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 16px 0;
}

.panel--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.panel__title {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--slate-900);
}

.panel__subtitle {
  margin: 0 0 10px;
  color: var(--slate-700);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--slate-700);
}

.list li + li {
  margin-top: 8px;
}

.muted {
  color: var(--slate-500);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: #1f45c5;
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--white);
  color: var(--blue);
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.form {
  display: grid;
  gap: 12px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.form label {
  display: block;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.form__hint {
  font-size: 14px;
  color: var(--slate-500);
  margin: 4px 0 0;
}

.form__message {
  font-weight: 600;
  color: var(--slate-700);
}

.form__message--error {
  color: #b91c1c;
}

.form__message--success {
  color: #15803d;
}

.pr-aux {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
}

.highlight-block {
  background: var(--slate-100);
  border-radius: 12px;
  padding: 12px;
  color: var(--slate-700);
}

.loader {
  text-align: center;
  color: var(--slate-700);
}

.loader__spinner {
  margin: 0 auto 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.card {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.site-footer--brand {
  margin-top: 20px;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--slate-700);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-700);
  font-weight: 600;
}

.footer-email svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.footer-bottom {
  color: var(--slate-500);
  font-weight: 600;
}

.center {
  text-align: center;
}

.not-found {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 40px 12px;
}

.not-found img {
  max-width: 720px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 960px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }
  .site-header--brand {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-links--header {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 999;
    margin-top: 8px;
  }
  .nav-links--header.nav-links--open {
    display: flex !important;
  }
}
