* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
  color: #18202a;
}

.page-wrap {
  min-height: 100vh;
  padding: 36px 16px 60px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.site-header {
  text-align: center;
  margin-bottom: 26px;
}

.site-header h1 {
  margin: 0 0 8px;
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #101828;
}

.site-header p {
  margin: 0;
  font-size: 18px;
  color: #475467;
}

.card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.10);
  border: 1px solid #e4e7ec;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 900;
  color: #101828;
}

.intro {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #475467;
}

.quote-summary {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f1720 0%, #182433 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
}

.quote-summary h3 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.premium-summary {
  margin-bottom: 28px;
}

.summary-section {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.summary-section h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-grid div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}

.quote-grid strong {
  color: #fff;
}

.locked-price-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5e7aa 0%, #d7b85b 100%);
  color: #101828;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(215,184,91,0.28);
}

.locked-price-label {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.locked-price-value {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(16, 24, 40, 0.78);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}

.urgency-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  text-align: center;
}

.form-section {
  margin-top: 8px;
}

.form-section h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #101828;
}

.section-intro {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #667085;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 800;
  color: #344054;
}

.optional {
  color: #98a2b3;
  font-weight: 600;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1.5px solid #d0d5dd;
  border-radius: 16px;
  background: #fff;
  color: #101828;
  padding: 14px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input,
select {
  min-height: 54px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c4a74b;
  box-shadow: 0 0 0 4px rgba(213, 184, 90, 0.18);
}

.payment-panel {
  margin-top: 26px;
  padding-top: 6px;
}

.payment-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #475467;
}

.pay-btn {
  width: 100%;
  min-height: 64px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5e7aa 0%, #d7b85b 100%);
  color: #101828;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(215,184,91,0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(215,184,91,0.28);
}

.pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.status {
  margin-top: 14px;
  min-height: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #b42318;
}

/* SUCCESS PAGE */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
}

.success-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.10);
  border: 1px solid #e4e7ec;
  text-align: center;
}

.success-card-tight {
  max-width: 720px;
  padding: 28px 24px;
}

.success-logo {
  display: block;
  margin: 0 auto 16px;
}

.success-logo-small {
  width: 150px;
  max-width: 65%;
  margin-bottom: 14px;
}

.success-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.success-card h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
  color: #101828;
}

.success-intro {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.65;
  color: #475467;
}

.success-price-box {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5e7aa 0%, #d7b85b 100%);
  color: #101828;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(215,184,91,0.20);
}

.success-price-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-price-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.success-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 22px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: #344054;
  font-weight: 700;
}

.success-info {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  text-align: left;
}

.success-info-item {
  padding: 16px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #eaecf0;
}

.success-info-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #101828;
}

.success-info-item span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #475467;
}

.success-note {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #667085;
}

.back-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #101828;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.back-btn:hover {
  opacity: 0.92;
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 20px 12px 40px;
  }

  .site-header h1 {
    font-size: 40px;
  }

  .site-header p {
    font-size: 15px;
  }

  .card {
    padding: 18px;
    border-radius: 22px;
  }

  .card h2 {
    font-size: 30px;
  }

  .quote-grid,
  .grid,
  .trust-strip,
  .success-trust-strip {
    grid-template-columns: 1fr;
  }

  .locked-price-value {
    font-size: 34px;
  }

  .summary-section {
    padding: 12px;
  }

  .success-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .success-card h1 {
    font-size: 32px;
  }

  .success-intro {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .success-card-tight {
    padding: 22px 18px;
  }

  .success-logo-small {
    width: 120px;
  }

  .success-price-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .success-price-value {
    font-size: 24px;
  }
}

.success-booking-summary {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #eaecf0;
  text-align: left;
}

.success-booking-summary h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #101828;
}

.success-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.success-summary-grid div {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eceff3;
  font-size: 14px;
  line-height: 1.5;
  color: #475467;
}

.success-summary-grid strong {
  color: #101828;
}

@media (max-width: 768px) {
  .success-summary-grid {
    grid-template-columns: 1fr;
  }
}
