/* Página Reservas — complementa index3.css (variables :root heredadas) */

.page-hero-reservas {
  background: linear-gradient(145deg, var(--mw-footer) 0%, #243d62 45%, #1a3050 100%);
  color: var(--mw-white);
  position: relative;
  overflow: hidden;
}

.page-hero-reservas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(132, 255, 254, 0.1), transparent 50%);
  pointer-events: none;
}

.page-hero-reservas .inner {
  width: var(--container);
  margin-inline: auto;
  padding: 2.25rem 0 2.75rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero-reservas h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.page-hero-reservas p {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.section-reservas {
  padding: 2.5rem 0;
}

.section-reservas .wrap {
  width: var(--container);
  margin-inline: auto;
}

/* Espacio entre el cuadro canvas y el aviso siguiente (mismo flujo que antes) */
.section-reservas .container ~ .wrap {
  margin-top: 1.25rem;
}

/* Contenedores tipo Bootstrap (solo para el bloque del canvas, como reservas.php) */
.section-reservas .container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.section-reservas .container.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-reservas .container .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-reservas .col-lg-12 {
  width: 100%;
}

.section-reservas .mb-0 {
  margin-bottom: 0;
}

.section-reservas .my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Clearfix: el float de #cuadrocom2 no debe romper el layout */
.section-reservas .col-lg-12.mb-0.my-2::after {
  content: "";
  display: block;
  clear: both;
}

#cuadrito canvas {
  display: block;
  max-width: none;
}

/* Avisos */
.callout {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  border: 1px solid transparent;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 0.65rem;
}

.callout a {
  font-weight: 600;
}

.callout-warning {
  background: #fff8e6;
  border-color: rgba(255, 170, 0, 0.45);
  color: #5c4a1a;
}

.callout-success {
  background: #ecf8f0;
  border-color: rgba(25, 135, 84, 0.25);
  color: #1e3d2e;
}

.callout-success h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--mw-heading);
}

.callout-success ol {
  margin: 0;
  padding-left: 1.25rem;
}

.callout-success li {
  margin-bottom: 0.5rem;
}

/* Formulario */
.form-section {
  padding: 2rem 0 3rem;
}

.form-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  background: var(--mw-surface);
  border: 1px solid var(--mw-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.5rem 2.5rem 3rem;
  }
}

.form-card__head {
  text-align: center;
  margin-bottom: 2rem;
}

.form-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mw-navy) 0%, #1e3a6b 100%);
  color: var(--mw-white);
}

.form-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.form-card__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.5rem;
  color: var(--mw-heading);
}

.form-card__head .sub {
  margin: 0;
  color: var(--mw-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mw-navy-deep);
  margin-bottom: 0.35rem;
}

.form-field .hint {
  font-weight: 400;
  color: var(--mw-muted);
  font-size: 0.8125rem;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--mw-text);
  background: var(--mw-white);
  border: 1px solid var(--mw-border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--mw-subheading);
  box-shadow: 0 0 0 3px rgba(0, 88, 174, 0.15);
}

.form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-field select {
  cursor: pointer;
  appearance: auto;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit .btn-primary {
  width: 100%;
  border: none;
  font: inherit;
  cursor: pointer;
}

.form-note {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--mw-muted);
  line-height: 1.5;
}

/* Contacto rápido bajo formulario */
.contact-strip {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid var(--mw-border);
}

@media (min-width: 720px) {
  .contact-strip {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.contact-strip article {
  text-align: center;
}

.contact-strip .icon-badge {
  margin-left: auto;
  margin-right: auto;
}

.contact-strip h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--mw-navy-deep);
}

.contact-strip p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mw-muted);
}

.main-nav > li > a.nav-current {
  background: var(--mw-sky);
  color: var(--mw-heading);
}

.contact-strip .icon-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}
