:root {
  color-scheme: light;
  --ink: #17202b;
  --muted: #687384;
  --red: #bc1f2d;
  --red-dark: #811721;
  --steel: #2b425c;
  --silver: #f2f5f7;
  --line: #d9e0e7;
  --paper: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.brand span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--steel));
  border-radius: 50%;
  font-size: 24px;
  font-weight: 950;
}
.brand strong { color: var(--steel); font-size: 18px; font-weight: 950; }
nav { display: flex; justify-content: center; gap: 24px; color: var(--steel); font-size: 14px; font-weight: 850; }
.header-phone { padding: 12px 16px; color: #fff; background: var(--red); border-radius: 4px; font-weight: 950; }

.hero {
  position: relative;
  min-height: calc(100vh - 81px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0e141c;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(14,20,28,.9), rgba(14,20,28,.5), rgba(14,20,28,.08)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: clamp(40px, 9vw, 110px) clamp(18px, 5vw, 70px);
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: rgba(12, 18, 27, 0.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.eyebrow {
  margin: 0 0 12px;
  color: #ffb0b6;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: 0; }
h2 { margin-bottom: 16px; color: var(--steel); font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: 0; }
h3 { margin-bottom: 9px; color: var(--steel); font-size: 22px; }
p { color: var(--muted); font-size: 17px; line-height: 1.58; }
.hero-card p { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}
.button.primary { color: #fff; background: var(--red); }
.button.secondary { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.32); }
.button.light { color: var(--steel); background: #fff; }
.button.wide { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .62; }
.address-chip { display: inline-flex; margin-top: 24px; padding: 10px 13px; color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; font-weight: 850; }

.status-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--steel); }
.status-row div { min-height: 120px; padding: 25px clamp(18px, 3vw, 34px); color: #fff; border-right: 1px solid rgba(255,255,255,.15); }
.status-row strong { display: block; margin-bottom: 6px; font-size: 24px; }
.status-row span { color: rgba(255,255,255,.72); font-weight: 750; }

.services, .workflow, .payment-section { padding: clamp(58px, 8vw, 98px) clamp(18px, 5vw, 70px); }
.section-title { max-width: 820px; margin-bottom: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--silver);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
}
.service-grid span { display: inline-flex; margin-bottom: 38px; color: var(--red); font-weight: 950; }

.workflow {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  background: #0e141c;
}
.workflow h2 { color: #fff; }
.workflow-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.workflow-steps article { padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; }
.workflow-steps b { display: block; margin-bottom: 9px; color: #fff; font-size: 20px; }
.workflow-steps span { color: rgba(255,255,255,.72); line-height: 1.5; }

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(370px, .7fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
  background: #fff;
}
.payment-copy { position: sticky; top: 118px; }
.payment-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.payment-metrics div { padding: 20px; background: var(--silver); border: 1px solid var(--line); border-radius: 6px; }
.payment-metrics strong { display: block; margin-bottom: 6px; color: var(--red); font-size: 22px; }
.payment-metrics span { color: var(--muted); font-weight: 800; }

.checkout-panel {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(23, 32, 43, .14);
}
.warning { margin-bottom: 18px; padding: 12px 14px; color: #704600; background: #fff4d2; border: 1px solid #f0cb76; border-radius: 5px; font-size: 14px; font-weight: 800; }
.checkout-label, .amount-label, .card-fields label { display: block; margin: 16px 0 7px; color: var(--steel); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.checkout-label { margin-top: 0; color: var(--red); }
.checkout-head p:last-child, .field-help { color: var(--muted); }
.amount-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #b9c6d6; border-radius: 5px; background: #fff; }
.amount-input span { padding: 0 14px; color: var(--steel); font-size: 20px; font-weight: 950; }
input { width: 100%; min-height: 48px; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #b9c6d6; border-radius: 5px; font: inherit; }
.amount-input input { border: 0; border-left: 1px solid #b9c6d6; border-radius: 0; }
.field-help { margin: 8px 0 0; font-size: 13px; }
.paypal-field { min-height: 48px; padding: 12px 13px; border: 1px solid #b9c6d6; border-radius: 5px; background: #fff; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 13px; font-weight: 900; }
.divider::before, .divider::after { flex: 1; height: 1px; content: ""; background: var(--line); }
.result-message { min-height: 22px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.result-message.success { color: #147d48; font-weight: 900; }
.result-message.error { color: #b42318; font-weight: 900; }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 70px);
  color: #fff;
  background: var(--red-dark);
}
.contact h2, .contact p, .contact .eyebrow { color: #fff; }
.contact p { opacity: .8; }

@media (max-width: 1020px) {
  .site-header, .workflow, .payment-section { grid-template-columns: 1fr; }
  nav { justify-content: flex-start; flex-wrap: wrap; }
  .payment-copy { position: static; }
  .status-row, .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand { min-width: 0; }
  h1 { font-size: 40px; }
  .status-row, .service-grid, .workflow-steps, .payment-metrics, .field-row { grid-template-columns: 1fr; }
  .hero-card { margin: 32px 18px; }
  .contact { align-items: flex-start; flex-direction: column; }
  .checkout-panel { padding: 18px; }
}
