:root {
  --blue: #073b92;
  --blue-dark: #062b6e;
  --magenta: #d313a6;
  --magenta-dark: #af0c8b;
  --orange: #ff8a1f;
  --ink: #172039;
  --muted: #5d6680;
  --line: #dce3f3;
  --soft: #f6f8ff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 59, 146, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 243, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 142px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--blue-dark);
  font-weight: 700;
}

.top-nav a {
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--magenta);
}

.section-band {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(6, 43, 110, 0.96) 0%, rgba(7, 59, 146, 0.84) 44%, rgba(211, 19, 166, 0.45) 100%),
    url("/img/hero-nowvet.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.success-card h1 {
  margin: 14px 0 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--magenta);
  box-shadow: 0 14px 30px rgba(211, 19, 166, 0.28);
}

.button.primary:hover {
  background: var(--magenta-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.price-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.price-panel span {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.price-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2 {
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.benefits {
  background: var(--soft);
}

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

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #dbe6fa;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(211, 19, 166, 0.16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255, 138, 31, 0.12), transparent 38%);
  box-shadow: 0 16px 40px rgba(23, 32, 57, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(7, 59, 146, 0.05);
  border-radius: 50%;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 19, 166, 0.35);
  box-shadow: 0 22px 52px rgba(23, 32, 57, 0.13);
}

.benefit-card.wide {
  grid-column: span 2;
}

.benefit-card.featured {
  min-height: 250px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 59, 146, 0.96), rgba(211, 19, 166, 0.9)),
    radial-gradient(circle at 92% 24%, rgba(255, 255, 255, 0.24), transparent 26%);
  border-color: transparent;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  color: var(--blue);
  background: #edf4ff;
}

.benefit-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card:nth-child(even) .benefit-icon {
  color: var(--magenta);
  background: #fff0fb;
}

.benefit-card:nth-child(2) .benefit-icon {
  color: var(--orange);
  background: #fff4e8;
}

.benefit-card.featured .benefit-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.benefit-kicker {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 10px;
  color: var(--blue-dark);
  font-size: 1.22rem;
  line-height: 1.24;
}

.benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.benefit-card.featured .benefit-kicker,
.benefit-card.featured h3,
.benefit-card.featured p {
  color: var(--white);
}

.benefit-card.featured p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
}

.steps {
  background: var(--white);
}

.step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-list::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--blue));
  opacity: 0.28;
}

.step-item {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #ffe1c3;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf5, #ffffff);
  box-shadow: 0 14px 34px rgba(7, 59, 146, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-item:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 19, 166, 0.35);
  box-shadow: 0 18px 42px rgba(7, 59, 146, 0.13);
}

.step-number {
  position: absolute;
  top: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--magenta);
  font-size: 0.95rem;
  font-weight: 900;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 26px 0 22px;
  border-radius: 50%;
  color: var(--blue);
  background: #edf4ff;
}

.step-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-item:nth-child(even) .step-icon {
  color: var(--magenta);
  background: #fff0fb;
}

.step-item:nth-child(3) .step-icon {
  color: var(--orange);
  background: #fff4e8;
}

.step-item h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.14rem;
  line-height: 1.25;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.contract-section {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

.alert {
  max-width: 960px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 8px;
  line-height: 1.5;
}

.alert.error {
  color: #841b1b;
  background: #fff1f1;
  border: 1px solid #ffc9c9;
}

.alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.contract-form {
  max-width: 1120px;
}

fieldset,
.summary-panel {
  margin: 0 0 22px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 59, 146, 0.08);
}

legend {
  padding: 0 10px;
  color: var(--blue-dark);
  font-size: 1.1rem;
  font-weight: 900;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.span-2 {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd8ec;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(211, 19, 166, 0.18);
  border-color: var(--magenta);
}

.upload-box {
  display: grid;
  gap: 16px;
}

.upload-label {
  display: block;
  padding: 22px;
  border: 2px dashed #b9c6e2;
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcff;
}

.upload-label strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

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

.preview-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 1;
  background: var(--soft);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.summary-panel h3 {
  margin: 10px 0 8px;
  color: var(--blue-dark);
  font-size: 1.6rem;
}

.summary-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.summary-item {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-item strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-dark);
}

.payment-note {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #fff8f0;
  color: var(--muted);
}

.payment-note strong {
  color: var(--blue-dark);
}

.submit-button {
  width: min(100%, 340px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer img {
  width: 118px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--white);
  border-color: var(--magenta);
  background: var(--magenta);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
}

.success-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.success-card {
  width: min(100%, 680px);
  padding: clamp(28px, 5vw, 50px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.success-card img {
  width: 150px;
  margin-bottom: 30px;
}

.success-card h1 {
  color: var(--blue-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.success-card p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.request-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #fff7ef;
  border-left: 4px solid var(--orange);
  font-weight: 800;
}

.request-status strong {
  color: var(--magenta);
}

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

.success-detail-panel,
.next-step-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-label {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.success-detail-panel h2 {
  margin: 8px 0 14px;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.15;
}

.success-detail-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.success-detail-panel dl div {
  display: grid;
  gap: 2px;
}

.success-detail-panel dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.success-detail-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.next-step-note {
  display: grid;
  gap: 4px;
  margin: 18px 0 24px;
  background: #fbfcff;
}

.next-step-note strong {
  color: var(--blue-dark);
}

.next-step-note span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero,
  .summary-panel {
    grid-template-columns: 1fr;
  }

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

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

  .step-list::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .top-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .benefit-grid,
  .step-list,
  .form-grid,
  .summary-grid,
  .preview-grid,
  .success-details {
    grid-template-columns: 1fr;
  }

  .benefit-card.wide,
  .span-2 {
    grid-column: auto;
  }

  .price-panel {
    padding: 22px;
  }
}
