:root {
  --bg: #fafbfc;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #212326;
  --accent: #008060;
  --accent-2: #5c5f62;
  --danger: #e51c1c;
  --ring: rgba(0,128,96,0.12);
  --radius: 6px;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: 24px;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}

.card {
  background: var(--card);
  border: 1px solid #e3e3e3;
  border-radius: var(--radius);
  padding: 18px 18px 18px 18px;
  box-shadow: 0 2px 8px rgba(33,35,38,0.03);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin: 8px 0 14px;
  color: var(--text);
  font-size: 1.06rem;
}

.section-title .badge {
  font-size: 13px;
  color: #fff;
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 1000px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,128,96,0.08);
}

form {
  display: grid;
  gap: 16px;
}

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

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

@media(max-width: 720px) {
  .col-6, .col-4 { grid-column: span 12; }
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 7px;
  font-weight: 500;
}

input, select {
  width: 100%;
  padding: 13px 12px;
  border-radius: var(--radius);
  border: 1px solid #d3d5d7;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: none;
}

input::placeholder {
  color: #b7b7b7;
  opacity: 1;
  font-weight: 400;
}

input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ring);
}

input.error, select.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(229,28,28,0.07);
}

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

.btn {
  width: 100%;
  padding: 15px 0;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,128,96,0.08);
  transition: background .15s, box-shadow .15s, transform .06s;
  letter-spacing: 0.02em;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:active {
  background: #00664c;
  transform: translateY(1px);
}

.error-msg {
  display: none;
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  background: #fff6f6;
  border: 1px solid #ffdcdc;
  color: var(--danger);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d9f5ee;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
  margin-left: 7px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ssl-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #c1eccf;
  border-radius: 8px;
  background: #f5fef8;
  font-size: 13px;
  color: var(--accent);
}

.ssl-seal i {font-size: 18px; color: var(--accent);}

/* Banner superior */
.header-banner {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

/* Logos de pago (Stripe + tarjetas) */
.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.payment-logos img {
  width: 100%;
  max-width: 390px;
  height: auto;
  filter: none;
  opacity: 0.92;
}