:root {
  --green: #009688;
  --green-dark: #056b62;
  --ink: #101820;
  --muted: #64748b;
  --line: #e5e7eb;
  --bg: #f6f8f7;
  --card: #fff;
  --gold: #d4a43f;
  --red: #ef4444;
  --shadow: 0 18px 45px rgba(16,24,32,.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
}

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

.sav-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 78px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
}

.brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
}

.sav-nav > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sav-nav > div a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}

.sav-nav > div a:hover {
  background: #eef7f5;
  color: var(--green-dark);
}

.sav-page {
  padding: 54px 7% 90px;
}

.sav-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 26px;
}

.sav-hero > div,
.machine-card,
.sav-form,
.sav-side article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.sav-hero > div {
  min-height: 280px;
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(0,150,136,.12), rgba(212,164,63,.1)),
    #fff;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.sav-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.machine-card {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(7,17,31,.05), rgba(0,150,136,.08)),
    #fff;
}

.machine-card span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-card strong {
  font-size: 28px;
  line-height: 1.1;
}

.machine-card p {
  color: var(--muted);
  line-height: 1.6;
}

.sav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.sav-form {
  padding: clamp(22px, 4vw, 34px);
}

.form-head {
  margin-bottom: 20px;
}

.form-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

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

label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
  font: inherit;
}

textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0,150,136,.55);
  box-shadow: 0 0 0 4px rgba(0,150,136,.1);
}

.primary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.primary:disabled {
  cursor: wait;
  opacity: .7;
}

.hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.sav-side {
  display: grid;
  gap: 14px;
}

.sav-side article {
  padding: 20px;
}

.sav-side i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #e8f5f3;
  color: var(--green-dark);
}

.sav-side h3 {
  font-size: 20px;
  margin-bottom: 7px;
}

.sav-side p {
  color: var(--muted);
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: min(420px, calc(100vw - 48px));
  padding: 15px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: .2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 720px) {
  .sav-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .sav-page {
    padding: 34px 20px 70px;
  }

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