/* Estilos generales inspirados en avis.mx */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #222222;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: #d50025; /* rojo Avis */
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 18px;
}

.header-step {
  font-size: 14px;
  opacity: 0.9;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 880px;
  width: 100%;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .card {
    grid-template-columns: 1fr;
  }
}

.card-title {
  font-size: 24px;
  margin: 0 0 12px;
}

.card-subtitle {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.summary-section-title {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #999999;
  margin-bottom: 8px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.summary-label {
  color: #666666;
}

.summary-value {
  font-weight: 600;
}

.summary-divider {
  border: 0;
  border-top: 1px solid #eeeeee;
  margin: 16px 0;
}

.price-main {
  font-size: 22px;
  font-weight: 700;
}

.price-detail {
  font-size: 12px;
  color: #777777;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #fff3f6;
  color: #c20020;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #d50025;
}

.actions-title {
  font-size: 13px;
  color: #555555;
  margin: 20px 0 10px;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .button-row {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.05s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: #d50025;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(213, 0, 37, 0.45);
}

.btn-primary:hover {
  background-color: #bd001f;
  box-shadow: 0 10px 26px rgba(213, 0, 37, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #ffffff;
  border-color: #d50025;
  color: #d50025;
}

.btn-outline:hover {
  background-color: #fff3f5;
}

.btn-muted {
  background-color: #f2f2f2;
  color: #555555;
}

.btn-muted:hover {
  background-color: #e6e6e6;
}

.btn-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-left: 8px;
}

.small-note {
  font-size: 11px;
  color: #888888;
  margin-top: 10px;
}

.car-panel {
  background: linear-gradient(145deg, #800014, #d50025);
  border-radius: 12px;
  padding: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.car-name {
  font-weight: 700;
  font-size: 18px;
}

.car-tagline {
  font-size: 13px;
  opacity: 0.85;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  opacity: 0.95;
}

.footer {
  font-size: 11px;
  color: #888888;
  text-align: center;
  padding: 12px;
}

/* Estilos para páginas de gracias */
.thanks-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 28px 24px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.thanks-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #999999;
  margin-bottom: 6px;
}

.thanks-title {
  font-size: 26px;
  margin: 0 0 10px;
}

.thanks-highlight {
  color: #d50025;
}

.thanks-text {
  font-size: 14px;
  color: #555555;
  margin-bottom: 22px;
}

.variant-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #f2f2f2;
  font-size: 11px;
  color: #555555;
  margin-bottom: 12px;
}

.variant-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.variant-dot-1 {
  background-color: #d50025;
}

.variant-dot-2 {
  background-color: #f5a623;
}

.variant-dot-3 {
  background-color: #00a86b;
}

.nps-placeholder {
  border-radius: 10px;
  border: 1px dashed #dddddd;
  padding: 14px 12px;
  font-size: 12px;
  color: #999999;
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: #555555;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

