.page-reserva {
  background:
    radial-gradient(circle at 10% 0%, rgba(189, 43, 49, 0.16), transparent 34rem),
    radial-gradient(circle at 100% 25%, rgba(215, 173, 72, 0.09), transparent 28rem),
    var(--bg);
}

.page-shell {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 38px 0 56px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--gold-light);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.logo-frame {
  display: grid;
  width: 124px;
  height: 124px;
  overflow: hidden;
  background: #050505;
  border: 2px solid #5c6067;
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  place-items: center;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.logo-frame-small {
  width: 114px;
  height: 114px;
  margin: 0 auto;
}

.brand-name {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 46px);
  background: linear-gradient(145deg, rgba(25, 28, 33, 0.98), rgba(15, 17, 20, 0.98));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold), transparent 88%);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.subtitle {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.notice {
  display: flex;
  gap: 12px;
  margin: 25px 0 30px;
  padding: 14px 16px;
  color: #e8ddc4;
  background: rgba(215, 173, 72, 0.08);
  border: 1px solid rgba(215, 173, 72, 0.22);
  border-radius: 13px;
  font-size: 0.91rem;
}

.notice-icon {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-weight: 900;
}

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

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

label,
.field-legend {
  display: block;
  margin-bottom: 8px;
  color: #e8e8e5;
  font-size: 0.9rem;
  font-weight: 700;
}

.required {
  color: var(--gold-light);
}

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid #363b44;
  border-radius: 11px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  min-height: 50px;
  padding: 0 14px;
}

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

input::placeholder,
textarea::placeholder {
  color: #777c85;
}

input:focus,
select:focus,
textarea:focus {
  background: #1c2026;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 173, 72, 0.13);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.field-hint {
  min-height: 19px;
  margin: 6px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.kids-hint {
  display: none;
  color: var(--gold-light);
}

.kids-hint.visible {
  display: block;
}

.error-message {
  min-height: 18px;
  margin: 5px 2px 0;
  color: var(--danger);
  font-size: 0.78rem;
}

.confirmation {
  margin: 1px 0 0;
  padding: 0;
  border: 0;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.check-row input {
  flex: 0 0 auto;
  width: 19px;
  min-height: 19px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.check-row span {
  color: #d6d7d9;
  font-size: 0.89rem;
}

.check-row__label {
  margin: 0;
  cursor: pointer;
}

.check-row__link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.check-row__link:hover,
.check-row__link:focus-visible {
  color: #ffe09a;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  padding: 0 20px;
  color: #15110a;
  background: linear-gradient(115deg, #c9972f, var(--gold-light));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 11px 28px rgba(215, 173, 72, 0.2);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, filter 160ms ease;
}

.submit-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
  transform: none;
}

.status-message {
  display: none;
  margin: 18px 0 0;
  padding: 15px 16px;
  border-radius: 12px;
  font-size: 0.91rem;
}

.status-message.success {
  display: block;
  color: #dff8e9;
  background: rgba(95, 201, 139, 0.11);
  border: 1px solid rgba(95, 201, 139, 0.34);
}

.status-message.error {
  display: block;
  color: #ffe3e4;
  background: rgba(255, 115, 120, 0.1);
  border: 1px solid rgba(255, 115, 120, 0.3);
}

.info-card {
  margin-top: 22px;
  padding: clamp(22px, 5vw, 34px);
  background: rgba(18, 20, 24, 0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.tips {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tips li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tips li::before {
  position: absolute;
  top: 0.48em;
  left: 1px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.address {
  margin: 22px 0 0;
  padding-top: 18px;
  color: #e5e5e2;
  border-top: 1px solid var(--border);
  font-size: 0.91rem;
  font-weight: 700;
}

.address span {
  display: block;
  margin-top: 4px;
  color: var(--gold-light);
  font-weight: 600;
}

.success-screen {
  display: none;
  min-height: calc(100vh - 94px);
  align-items: center;
  justify-content: center;
}

.success-screen.visible {
  display: flex;
}

.success-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(27px, 6vw, 50px);
  background: linear-gradient(145deg, rgba(25, 28, 33, 0.99), rgba(14, 16, 19, 0.99));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.success-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--success), var(--gold), transparent 88%);
}

.success-header {
  text-align: center;
}

.success-check {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 18px auto 14px;
  color: #08150e;
  background: var(--success);
  border-radius: 50%;
  place-items: center;
  font-size: 1.55rem;
  font-weight: 900;
}

.success-card h2 {
  max-width: 610px;
  margin: 0 auto;
  font-size: clamp(1.7rem, 5vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.success-copy {
  display: grid;
  gap: 15px;
  margin: 27px 0 0;
}

.success-copy p {
  margin: 0;
  color: #c4c6cb;
  font-size: 0.96rem;
}

.success-location {
  display: block;
  margin-top: 25px;
  padding: 18px;
  color: var(--text);
  background: rgba(215, 173, 72, 0.08);
  border: 1px solid rgba(215, 173, 72, 0.25);
  border-radius: 13px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.success-location:hover,
.success-location:focus-visible {
  background: rgba(215, 173, 72, 0.14);
  border-color: rgba(215, 173, 72, 0.52);
  transform: translateY(-2px);
}

.success-location strong,
.success-location span {
  display: block;
}

.success-location strong {
  margin-bottom: 5px;
  color: var(--gold-light);
}

.success-location small {
  display: block;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.whatsapp-action {
  margin-top: 22px;
  text-align: center;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  color: #06160d;
  background: linear-gradient(115deg, #20bd67, #61df91);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.2);
  font-weight: 900;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.whatsapp-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.whatsapp-help {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.secondary-button {
  display: block;
  margin: 24px auto 0;
  padding: 12px 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid #3b4048;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.secondary-button:hover {
  color: var(--text);
  border-color: var(--gold);
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 780px);
    padding-top: 24px;
  }

  .form-card {
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .field-full {
    grid-column: auto;
  }

  .notice {
    margin-bottom: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
