* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: #333;
  background: #fafafa;
}

.quote-page {
  position: relative;
  min-height: 100vh;
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 452px;
  gap: 78px;
  align-items: start;
}

.quote-content {
  padding-top: 88px;
}

.quote-logo {
  position: absolute;
  top: 70px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #333;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
}

.quote-logo img {
  width: 24px;
  height: 24px;
}

.quote-copy {
  margin-top: 0;
}

.quote-copy h1 {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: 3.05rem;
  line-height: 1.16;
  font-weight: 500;
}

.quote-copy ul {
  max-width: 500px;
  display: grid;
  gap: 14px;
  list-style: none;
}

.quote-copy li {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
  color: #52525b;
  font-size: 1.08rem;
}

.quote-copy li::before {
  content: '✓';
  display: block;
  margin-top: 0.26em;
  width: 18px;
  height: 18px;
  color: #fff;
  background: #1d1e20;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.trusted {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid #e4e4e7;
}

.trusted p {
  margin-bottom: 18px;
  color: #52525b;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 24px;
}

.trusted-grid span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.trusted-grid svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.quote-form-card {
  align-self: center;
  width: 100%;
  padding: 32px;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #f8fafc 100%);
  border: 1px solid #aebdcc;
  border-radius: 12px;
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.08),
    0 0 0 5px rgba(59, 130, 246, 0.05);
}

.quote-form {
  display: grid;
  gap: 24px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #333;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #333;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.2;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #71717a;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.quote-form-status {
  min-height: 20px;
  margin-top: -8px;
  color: #b91c1c;
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-form-status:empty {
  display: none;
}

.quote-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-form button {
  flex: 0 0 188px;
  min-height: 48px;
  padding: 12px 16px;
  color: #fff;
  background: #1d1e20;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quote-form button:hover {
  background: rgba(29, 30, 32, 0.9);
}

.quote-form button:disabled {
  cursor: default;
}

.quote-form button:disabled:not(.quote-form-button-success) {
  background: rgba(29, 30, 32, 0.74);
}

.quote-form button.quote-form-button-success {
  background: #15803d;
}

.quote-form-actions p {
  color: #52525b;
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-form-actions a {
  color: #1d1e20;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 940px) {
  .quote-page {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 36px 22px;
  }

  .quote-content {
    padding-top: 84px;
  }

  .quote-logo {
    top: 36px;
    left: 22px;
  }

  .quote-copy h1 {
    font-size: 2.7rem;
  }

  .quote-form-card {
    align-self: start;
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .quote-page {
    padding: 30px 20px;
  }

  .quote-content {
    padding-top: 78px;
  }

  .quote-logo {
    top: 30px;
    left: 20px;
  }

  .quote-copy h1 {
    font-size: 2.4rem;
  }

  .trusted-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
  }

  .trusted-grid span {
    font-size: 1.08rem;
  }

  .quote-form-card {
    padding: 22px;
  }

  .quote-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .quote-form button {
    flex-basis: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-form button,
  .quote-form input,
  .quote-form textarea {
    transition: none;
  }
}
